]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
posix_spawn_file_actions_addopen needs to copy the path argument (BZ 17048)
[thirdparty/glibc.git] / ChangeLog
CommitLineData
89e435f3
FW
12014-06-11 Florian Weimer <fweimer@redhat.com>
2
3 [BZ #17048]
4 * posix/spawn_int.h (struct __spawn_action): Make the path string
5 non-const to support deallocation.
6 * posix/spawn_faction_addopen.c
7 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8 * posix/spawn_faction_destroy.c
9 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10 path in all spawn_do_open actions.
11 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12 posix_spawn_file_actions_addopen.
13
c3a2ebe1
CM
142014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15
16 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19 conditional code always true.
20 (__libc_vfork): New alias.
21
9503784a
RM
222014-06-11 Roland McGrath <roland@hack.frob.com>
23
c9cab3d2
RM
24 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26
d3996c79
RM
27 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
28
ba5ec611
RM
29 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31
f12b4814
RM
32 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34
9503784a
RM
35 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37
e23d3d26
VR
382014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39
40 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
41 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42 multiarch strcmp for PPC64.
43 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
45 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
46 multiarch optimizations.
47 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48 (__libc_ifunc_impl_list): Likewise.
49
42b1161e
SP
502014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51
52 * benchtests/scripts/validate_benchout.py: New script.
53 * benchtests/Makefile (bench-func): Call it.
54 * benchtests/scripts/benchout.schema.json: New file.
55
2d0fc4dc
CM
562014-06-10 Chris Metcalf <cmetcalf@tilera.com>
57
4a594c34
AZ
58 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
59 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
60 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
61 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
62 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
63 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
64 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
65 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
66 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
67 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
68 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
69 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
70 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
71 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
72 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
73 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
74 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 75 Moved ...
4a594c34 76 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 77 ... here.
4a594c34 78 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 79 Moved ...
4a594c34
AZ
80 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
81 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 82 Moved ...
4a594c34 83 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 84 ... here.
4a594c34 85 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 86 Moved ...
4a594c34 87 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 88 ... here.
4a594c34 89 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 90 Moved ...
4a594c34
AZ
91 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
92 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 93 Moved ...
4a594c34 94 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 95 ... here.
4a594c34 96 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 97 Moved ...
4a594c34 98 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 99 ... here.
4a594c34 100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 101 Moved ...
4a594c34
AZ
102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 104 Moved ...
4a594c34 105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 106 ... here.
4a594c34 107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 108 Moved ...
4a594c34 109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 110 ... here.
4a594c34 111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 112 Moved ...
4a594c34 113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 114 ... here.
4a594c34 115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 116 Moved ...
4a594c34
AZ
117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 119 Moved ...
4a594c34 120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 121 ... here.
4a594c34 122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 123 Moved ...
4a594c34 124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 125 ... here.
4a594c34 126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 127 Moved ...
4a594c34 128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 129 ... here.
4a594c34 130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 131 Moved ...
4a594c34
AZ
132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 134 Moved ...
4a594c34 135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 136 ... here.
4a594c34 137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 138 Moved ...
4a594c34 139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 140 ... here.
4a594c34 141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 142 Moved ...
4a594c34
AZ
143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 145 Moved ...
4a594c34 146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 147 ... here.
4a594c34 148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 149 Moved ...
4a594c34
AZ
150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 152 Moved ...
4a594c34
AZ
153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 155 Moved ...
4a594c34 156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 157 ... here.
4a594c34 158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 159 Moved ...
4a594c34 160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 161 ... here.
4a594c34 162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 163 Moved ...
4a594c34 164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 165 ... here.
4a594c34 166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 167 Moved ...
4a594c34
AZ
168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 170 Moved ...
4a594c34 171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 172 ... here.
4a594c34 173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 174 Moved ...
4a594c34 175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 176 ... here.
4a594c34
AZ
177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
178 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 182 Moved ...
4a594c34 183 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 184 ... here.
4a594c34
AZ
185 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
190 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
192 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
194 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
196 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 198 Moved ...
4a594c34
AZ
199 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
200 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 201 Moved ...
4a594c34
AZ
202 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
204 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 206 Moved ...
4a594c34
AZ
207 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
208 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
210 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
211 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
212 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
213 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 214
0570cfed
W
2152014-06-10 Wilco <wdijkstr@arm.com>
216
217 * math/test-fenv-return.c: New file.
218 * math/Makefile: Add new test test-fenv-return.
219
f8ba1b56
JM
2202014-06-10 Joseph Myers <joseph@codesourcery.com>
221
222 [BZ #17042]
223 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
224 when x - 1 is zero.
225 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
226 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
227 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
228 0.0L for an argument of 1.0L.
229 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
230 Likewise.
231 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
232 value when x - 1 is zero.
233 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
234 * sysdeps/i386/fpu/libm-test-ulps: Update.
235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
236
2c3520d9
BO
2372014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
238
239 [BZ #15119]
240 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
241
acaa4d24
RM
2422014-06-09 Roland McGrath <roland@hack.frob.com>
243
244 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
245 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
246
962b744d
RM
2472014-06-09 Roland McGrath <roland@hack.frob.com>
248
d752f0cc
RM
249 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
250 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
251
34eda6d1
RM
252 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
253 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
254
50f0a637
RM
255 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
256 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
257
08f41f04
RM
258 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
259 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
260
962b744d
RM
261 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
262 if not already defined.
263 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
264 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
265 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
266 (TLS_INIT_TP): Use it.
267 (TLS_DEFINE_INIT_TP): New macro.
268 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
269
09f19b05
JM
2702014-06-09 Joseph Myers <joseph@codesourcery.com>
271
272 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
273 constant.
274 [POSIX] (IXANY): Likewise.
275 [POSIX] (OLCUC): Likewise.
276 [POSIX || POSIX2008] (CBAUD): Do not allow.
277 [POSIX || POSIX2008] (DEFECHO): Likewise.
278 [POSIX || POSIX2008] (ECHOCTL): Likewise.
279 [POSIX || POSIX2008] (ECHOKE): Likewise.
280 [POSIX || POSIX2008] (ECHOPRT): Likewise.
281 [POSIX || POSIX2008] (EXTA): Likewise.
282 [POSIX || POSIX2008] (EXTB): Likewise.
283 [POSIX || POSIX2008] (FLUSHO): Likewise.
284 [POSIX || POSIX2008] (LOBLK): Likewise.
285 [POSIX || POSIX2008] (PENDIN): Likewise.
286 [POSIX || POSIX2008] (SWTCH): Likewise.
287 [POSIX || POSIX2008] (VDISCARD): Likewise.
288 [POSIX || POSIX2008] (VDSUSP): Likewise.
289 [POSIX || POSIX2008] (VLNEXT): Likewise.
290 [POSIX || POSIX2008] (VREPRINT): Likewise.
291 [POSIX || POSIX2008] (VSTATUS): Likewise.
292 [POSIX || POSIX2008] (VWERASE): Likewise.
293 (B*): Change to B[0123456789]*.
294 * conform/data/time.h-data [POSIX || UNIX98]
295 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
296 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
297 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
298 [POSIX] (tm_*): Do not allow.
299
686554bf
JM
3002014-06-07 Joseph Myers <joseph@codesourcery.com>
301
302 * Makefile (install): Don't set LANGUAGE.
303 * Makefile.in (install): Likewise.
304 * assert/Makefile (test-assert-ENV): Remove variable.
305 (test-assert-perr-ENV): Likewise.
306 * elf/Makefile (neededtest4-ENV): Likewise.
307 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
308 [$(cross-compiling) = no]: Don't set LANGUAGE.
309 * io/ftwtest-sh (LANG): Remove variable.
310 * libio/Makefile (tst-widetext-ENV): Likewise.
311 * manual/install.texi (Running make install): Don't refer to
312 environment settings for make install.
313 * INSTALL: Regenerated.
314 * nptl/tst-tls6.sh: Don't set LANG.
315 * posix/globtest.sh (LANG): Remove variable.
316 * string/Makefile (tester-ENV): Likewise.
317 (inl-tester-ENV): Likewise.
318 (noinl-tester-ENV): Likewise.
319 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
320 [$(cross-compiling) = no]: Don't set LANGUAGE.
321 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
322 without explicit environment settings.
323
68e6b6b1
RM
3242014-06-06 Roland McGrath <roland@hack.frob.com>
325
326 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
327 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
328 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
329 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
330
4d3ae034
CM
3312014-06-06 Chris Metcalf <cmetcalf@tilera.com>
332
333 * crypt/crypt-private.h [DOS]: Add some includes taken from the
334 other files in the crypt directory.
335 * crypt/crypt.c: Remove duplicate includes.
336 * crypt/crypt-entry.c: Likewise.
337 * crypt/crypt_util.c: Likewise.
338
8540f6d2
JM
3392014-06-06 Joseph Myers <joseph@codesourcery.com>
340
341 * Makeconfig (run-program-env): New variable.
342 (run-program-prefix-before-env): Likewise.
343 (run-program-prefix-after-env): Likewise.
344 (run-program-prefix): Define in terms of new variables.
345 (built-program-cmd-before-env): New variable.
346 (built-program-cmd-after-env): Likewise.
347 (built-program-cmd): Define in terms of new variables.
348 (test-program-prefix-before-env): New variable.
349 (test-program-prefix-after-env): Likewise.
350 (test-program-prefix): Define in terms of new variables.
351 (test-program-cmd-before-env): New variable.
352 (test-program-cmd-after-env): Likewise.
353 (test-program-cmd): Define in terms of new variables.
354 * Rules (make-test-out): Use $(run-program-env).
355 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
356 (help): Do not mention environment variables. Mention
357 --timeoutfactor option.
358 (timeoutfactor): New variable.
359 (blacklist_exports): Remove function.
360 (exports): Remove variable.
361 (command): Do not include ${exports}.
362 * manual/install.texi (Configuring and compiling): Do not mention
363 test wrappers preserving environment variables. Mention that last
364 assignment to a variable must take precedence.
365 * INSTALL: Regenerated.
366 * benchtests/Makefile (run-bench): Use $(run-program-env).
367 * catgets/Makefile ($(objpfx)test1.cat): Use
368 $(built-program-cmd-before-env), $(run-program-env) and
369 $(built-program-cmd-after-env).
370 ($(objpfx)test2.cat): Do not specify environment variables
371 explicitly.
372 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
373 $(run-program-env) and $(built-program-cmd-after-env).
374 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
375 $(run-program-env) and $(test-program-cmd-after-env).
376 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
377 explicitly.
378 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
379 run_program_env and test_program_cmd_after_env arguments.
380 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
381 * elf/tst-pathopt.sh: Use run_program_env argument.
382 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
383 $(test-wrapper-env) and $(run-program-env).
384 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
385 run_program_env arguments.
386 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
387 * intl/Makefile ($(objpfx)tst-gettext.out): Use
388 $(test-program-prefix-before-env), $(run-program-env) and
389 $(test-program-prefix-after-env).
390 ($(objpfx)tst-gettext2.out): Likewise.
391 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
392 run_program_env and test_program_prefix_after_env arguments.
393 * intl/tst-gettext2.sh: Likewise.
394 * intl/tst-gettext4.sh: Do not set environment variables
395 explicitly.
396 * intl/tst-gettext6.sh: Likewise.
397 * intl/tst-translit.sh: Likewise.
398 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
399 $(test-program-prefix-before-env), $(run-program-env) and
400 $(test-program-prefix-after-env).
401 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
402 run_program_env and test_program_prefix_after_env arguments.
403 * math/Makefile (run-regen-ulps): Use $(run-program-env).
404 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
405 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
406 explicitly with each use of ${test_wrapper_env}.
407 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
408 $(test-program-prefix-before-env), $(run-program-env) and
409 $(test-program-prefix-after-env).
410 * posix/tst-getconf.sh: Do not set environment variables
411 explicitly.
412 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
413 run_program_env and test_program_prefix_after_env arguments.
414 * stdio-common/tst-printf.sh: Do not set environment variables
415 explicitly.
416 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
417 $(test-program-prefix-before-env), $(run-program-env) and
418 $(test-program-prefix-after-env).
419 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
420 run_program_env and test_program_prefix_after_env arguments.
421 Split $test calls into $test_pre and $test.
422 * timezone/Makefile (build-testdata): Use
423 $(built-program-cmd-before-env), $(run-program-env) and
424 $(built-program-cmd-after-env).
425
ed36bfa1
AZ
4262014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
427
428 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
429 strlen for non SHARED builds.
430
fc75bf46
SP
4312014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
432
433 * nptl/allocatestack.c (check_list): Inlined function...
434 (__reclaim_stacks): ... here.
435
d89b3d80
OB
4362014-06-05 Ondřej Bílka <neleai@seznam.cz>
437
438 [BZ #15698]
439 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
440 memory overrun.
441
2bf18041
JM
4422014-06-05 Joseph Myers <joseph@codesourcery.com>
443
444 * Rules (make-test-out): Include
445 LOCPATH=$(common-objpfx)localedata in default environment.
446 * debug/Makefile (tst-chk1-ENV): Remove variable.
447 (tst-chk2-ENV): Likewise.
448 (tst-chk3-ENV): Likewise.
449 (tst-chk4-ENV): Likewise.
450 (tst-chk5-ENV): Likewise.
451 (tst-chk6-ENV): Likewise.
452 (tst-lfschk1-ENV): Likewise.
453 (tst-lfschk2-ENV): Likewise.
454 (tst-lfschk3-ENV): Likewise.
455 (tst-lfschk4-ENV): Likewise.
456 (tst-lfschk5-ENV): Likewise.
457 (tst-lfschk6-ENV): Likewise.
458 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
459 (tst-iconv7-ENV): Likewise.
460 * intl/Makefile (LOCPATH-ENV): Likewise.
461 (tst-codeset-ENV): Likewise.
462 (tst-gettext3-ENV): Likewise.
463 (tst-gettext5-ENV): Likewise.
464 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
465 (tst-fopenloc-ENV): Likewise.
466 (tst-fgetws-ENV): Remove variable.
467 (tst-ungetwc1-ENV): Likewise.
468 (tst-ungetwc2-ENV): Likewise.
469 (bug-ungetwc2-ENV): Likewise.
470 (tst-swscanf-ENV): Likewise.
471 (bug-ftell-ENV): Likewise.
472 (tst-fgetwc-ENV): Likewise.
473 (tst-fseek-ENV): Likewise.
474 (tst-ftell-partial-wide-ENV): Likewise.
475 (tst-ftell-active-handler-ENV): Likewise.
476 (tst-ftell-append-ENV): Likewise.
477 * posix/Makefile (tst-fnmatch-ENV): Likewise.
478 (tst-regexloc-ENV): Likewise.
479 (bug-regex1-ENV): Likewise.
480 (tst-regex-ENV): Likewise.
481 (tst-regex2-ENV): Likewise.
482 (bug-regex5-ENV): Likewise.
483 (bug-regex6-ENV): Likewise.
484 (bug-regex17-ENV): Likewise.
485 (bug-regex18-ENV): Likewise.
486 (bug-regex19-ENV): Likewise.
487 (bug-regex20-ENV): Likewise.
488 (bug-regex22-ENV): Likewise.
489 (bug-regex23-ENV): Likewise.
490 (bug-regex25-ENV): Likewise.
491 (bug-regex26-ENV): Likewise.
492 (bug-regex30-ENV): Likewise.
493 (bug-regex32-ENV): Likewise.
494 (bug-regex33-ENV): Likewise.
495 (bug-regex34-ENV): Likewise.
496 (bug-regex35-ENV): Likewise.
497 (tst-rxspencer-ENV): Likewise.
498 (tst-rxspencer-no-utf8-ENV): Likewise.
499 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
500 (tst-sscanf-ENV): Likewise.
501 (tst-swprintf-ENV): Likewise.
502 (tst-swscanf-ENV): Likewise.
503 (test-vfprintf-ENV): Likewise.
504 (scanf13-ENV): Likewise.
505 (bug14-ENV): Likewise.
506 (tst-grouping-ENV): Likewise.
507 * stdlib/Makefile (tst-strtod-ENV): Likewise.
508 (tst-strtod3-ENV): Likewise.
509 (tst-strtod4-ENV): Likewise.
510 (tst-strtod5-ENV): Likewise.
511 (testmb2-ENV): Likewise./
512 * string/Makefile (tst-strxfrm-ENV): Likewise.
513 (tst-strxfrm2-ENV): Likewise.
514 (bug-strcoll1-ENV): Likewise.
515 (test-strcasecmp-ENV): Likewise.
516 (test-strncasecmp-ENV): Likewise.
517 * time/Makefile (tst-strptime-ENV): Likewise.
518 (tst-ftime_l-ENV): Likewise.
519 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
520 (tst-mbrtowc-ENV): Likewise.
521 (tst-wcrtomb-ENV): Likewise.
522 (tst-mbrtowc2-ENV): Likewise.
523 (tst-c16c32-1-ENV): Likewise.
524 (tst-mbsnrtowcs-ENV): Likewise.
525
cd1fb604
OB
5262014-06-05 Ondřej Bílka <neleai@seznam.cz>
527
528 * manual/resource.texi (How to get information about the memory
529 subsystem?): Fix typo.
530 Reported by Peon de la Parra Ivan <peon@keba.com>
531
b42eca7d
GY
5322014-06-03 Guo Yixuan <culu.gyx@gmail.com>
533
534 [BZ #16882]
535 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
536 (pthread_spin_lock): Branch out of spin loop to proper location.
537 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
538 (pthread_spin_lock): Likewise.
539
902b71f9
DM
540 * nptl/tst-spin4.c: New test.
541 * nptl/Makefile (tests): Add tst-spin4.
542
f9d2d032
AS
5432014-06-03 Andreas Schwab <schwab@suse.de>
544
545 [BZ #15946]
546 * resolv/res_send.c (send_dg): Reload file descriptor after
547 calling reopen.
548
cf7bfd28
SL
5492014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
550
551 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
552
111cc714
RH
5532014-06-03 Richard Henderson <rth@redhat.com>
554
89b4bd6b
RH
555 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
556 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
557 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
558 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
559 in the SAVE_PID block.
560 (__libc_vfork): New alias.
71840409 561 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 562
111cc714
RH
563 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
564 child in registers, not on the stack. Remove RESET_PID conditionals.
565 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
566
ccc39911
MS
5672014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
568
569 * sysdeps/aarch64/libm-test-ulps: Regenerate.
570
693096cc
W
5712014-06-03 Wilco <wdijkstr@arm.com>
572
573 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
574 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
575 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
576 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
577 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
578 Likewise.
579
0b4366bc
W
5802014-06-03 Wilco <wdijkstr@arm.com>
581
582 * sysdeps/aarch64/fpu/math_private.h
583 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
584 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
585 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
586 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
587 Fix declarations.
588
8747cd03
KS
5892014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
590
591 * crypt/crypt-private.h: Include ufc-crypt.h.
592 (__b64_from_24bit): Declare extern.
593 * crypt/crypt_util.c(__b64_from_24bit): New function.
594 (b64t): New static const variable.
595 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
596 (b64t): Remove variable.
597 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
598 * crypt/sha256-crypt.c: Include crypt-private.h.
599 (b64t): Remove variable.
600 (__sha256_crypt_r): Remove b64_from_24bit and replace
601 with __b64_from_24bit.
602 * crypt/sha512-crypt.c: Likewise.
603
d936d379
RM
6042014-06-02 Roland McGrath <roland@hack.frob.com>
605
606 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
607 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
608 Label the code __libc_vfork rather than __vfork.
609 [!NOT_IN_libc] (vfork): Define as weak alias.
610 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
611 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
612 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
613
9fa76613
SP
6142014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
615
616 * malloc/malloc.c (malloc_info): Fix format specifier for
617 n_mmaps.
618
a88dadbe
W
6192014-06-02 Wilco <wdijkstr@arm.com>
620
621 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
622 FPCR write.
623
c95b3011
W
6242014-06-02 Wilco <wdijkstr@arm.com>
625
626 [BZ #17009]
627 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
628 Rewrite to reduce FPCR/FPSR accesses.
629
6b4d7a90
DM
6302014-06-01 David S. Miller <davem@davemloft.net>
631
632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
633
30f3d07c
DM
6342014-05-31 David S. Miller <davem@davemloft.net>
635
636 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
637 to occur in round to nearest mode when |x| >= 2.0
638
74f31c18
RH
6392014-05-30 Richard Henderson <rth@twiddle.net>
640
f0712b54
RH
641 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
642 (PSEUDO_RET_NOERRNO): Remove.
643 (ret): Don't redefine.
644 (ret_NOERRNO): Define in terms of ret.
645 (ret_ERRVAL): Likewise.
646
74f31c18
RH
647 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
648 use of PSEUDO_RET; perform the error check directly.
649
30477995
MM
6502014-05-30 Marko Myllynen <myllynen@redhat.com>
651
652 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
653 with __int128_t.
654
62a58816
SP
6552014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
656
657 * malloc/malloc (malloc_info): Fix formatting.
658
4d653a59
SP
6592014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
660 Roland McGrath <roland@hack.frob.com>
661
662 * malloc/malloc (malloc_info): Also print mmapped statistics.
663
5190c17f
RM
6642014-05-30 Roland McGrath <roland@hack.frob.com>
665
666 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
667 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
668
987c0269
OB
6692014-05-30 Ondřej Bílka <neleai@seznam.cz>
670
671 * malloc/malloc.c (malloc_info): Inline mi_arena.
672
af4e8ef9
RH
6732014-05-29 Richard Henderson <rth@twiddle.net>
674
1670e207
RH
675 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
676 Remove comma before expanding ASM_ARGS_##nr.
677 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
678 Make _x0 a strict output; make _x8 a strict input; adjust expansion
679 of ASM_ARGS_##nr.
680 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
681 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
682 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
683 (ASM_ARGS_1): Add leading comma.
684
11a28aee
RH
685 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
686 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
687 to __errno_location.
688 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
689 Remove the expected plt for __errno_location.
690
a17e5ffb 691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 692 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
693 call to __read_tp.
694
b5be4597
RH
695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
696 Always allocate 64 bytes of stack frame. Use ldp/stp to create
697 it and break it down.
698 (DOCARGS_0, DOCARGS_1): Do nothing.
699 (DOCARGS_2): Update to store into the new stack frame.
700 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
701 (UNDOCARGS_1): Update to restore from the new stack frame.
702 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
703 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
704
645d44ab
RH
705 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
706 (SINGLE_THREAD_P): New parameter for result regno.
707 (PSEUDO): Update to match; use cbz instead of beq.
708
a8b4f04a
RH
709 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
710 Use ENTRY to define the _nocancel entry point. Share the syscall
711 and syscall error check paths with the cancel path.
712 (PSEUDO_END): New.
713
af4e8ef9
RH
714 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
715 whitespace; tabs before and after asm mnemonics.
716
26b0d2e1
EW
7172014-05-29 Eric Wong <normalperson@yhbt.net>
718
719 [BZ #15132]
720 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
721 Call fstat64 or stat64 internally, depending on arguments passed.
722 Replace stat buffer argument with file descriptor argument.
723 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
724 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
725 Pass fd to __internal_statvfs instead of calling fstat64.
726 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
727 Pass fd to __internal_statvfs64 instead of calling fstat64.
728 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
729 Pass -1 to __internal_statvfs instead of calling stat64.
730 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
731 Pass -1 to __internal_statvfs64 instead of calling stat64.
732
1efe2bd9
RM
7332014-05-28 Roland McGrath <roland@hack.frob.com>
734
0d3b7a19
RM
735 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
736 that was previously under [RESET_PID].
737 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
738
1efe2bd9
RM
739 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
740 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
741
a6bea3ca
RM
7422014-05-27 Roland McGrath <roland@hack.frob.com>
743
30b6629e
RM
744 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
745
a6bea3ca
RM
746 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
747 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
748
3dfb9a5c
OB
7492014-05-27 Ondřej Bílka <neleai@seznam.cz>
750
751 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
752
774f9285
AS
7532014-05-27 Andreas Schwab <schwab@suse.de>
754
755 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
756 TLS_INIT_TP macro.
757 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
758 * elf/rtld.c (init_tls, dl_main): Likewise.
759 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
760 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
761 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
762 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
763 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
764 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
765 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
766 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
767 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
768 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
769 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
770 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
771 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
772 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
773 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
774 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
775 * sysdeps/generic/tls.h: Update description.
776
36ffe739
WN
7772014-05-27 Will Newton <will.newton@linaro.org>
778
779 [BZ #16990]
780 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
781 and restore r2 rather than just restoring.
782
2482ae43
SP
7832014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
784
785 [BZ #16724]
786 * libio/tst-ftell-append.c: New test case.
787 * libio/Makefile (tests): Add test case.
788 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
789 append mode.
790 * libio/wfileops.c (do_ftell_wide): Likewise.
791
3d1024e8
AZ
7922014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
793
bab90016
AZ
794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
795
c7a8d667
AZ
796 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
797 ...
798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
800 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
801 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
802 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
803 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
804 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
805 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
807 Moved ...
808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
809 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
810 Moved ...
811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
812 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
813 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
814 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
815 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
816 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
817 ...
818 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
819 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
820 Moved ...
821 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
822 here.
823 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
824 ...
825 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
826 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
827 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
828
daee7851
AZ
829 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
830 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
831 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
832 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
833
50a40819
AZ
834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
835 merge into ...
836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
838 ...
839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
841 ...
842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
844 Moved ...
845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
846 here.
847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
848 Moved ...
849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
851 Moved ...
852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
853
8464c2a1
AZ
854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
855 conditional [RESET_PID].
856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
857 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
858 removed.
859 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
860 removed.
861
3d1024e8
AZ
862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
863 <tcb-offsets.h>.
864 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
865 (__libc_vfork): New strong alias.
866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
867 removed.
868 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
869 Removed.
870
871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
872 <tcb-offsets.h>.
873 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
874 (__libc_vfork): New strong alias.
875 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
876 removed.
877 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
878 removed.
879
fdfd175d
CD
8802014-05-26 Carlos O'Donell <carlos@redhat.com>
881
882 * malloc/malloc.c (mi_arena): New function.
883 (malloc_info): Remove nested function mi_arena. Call non-nosted
884 function mi_arena.
885
d298c416
AZ
8862014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887
888 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
889 by insrwi.
890 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
891 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
892 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
893 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
894 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
895 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
896 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
897
b60ea6ff
AS
8982014-05-26 Andreas Schwab <schwab@suse.de>
899
900 [BZ #16984]
901 * locale/programs/repertoire.c (repertoire_read): Add slash
902 between I18NPATH element and file name.
903 * locale/programs/locfile.c (locfile_read): Likewise.
904
67365926
SL
9052014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
906
907 * nptl/pthread_mutexattr_settype.c
908 (__pthread_mutexattr_settype):
909 Disable lock elision for PTHREAD_MUTEX_NORMAL.
910
f8bdf1f0
SL
9112014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
912
913 * nptl/tst-mutex5 (do_test):
914 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
915
15eaf6ff
SP
9162014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
917
918 * benchtests/README: Document 'init' directive.
919 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
920 BENCH_INIT.
921 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
922 (parse_file): Recognize 'init' directive.
923
75f11331
KM
9242014-05-26 Kyle McMartin <kyle@redhat.com>
925
926 [BZ #16796]
927 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
928 alignment of struct pthread.
929
c3ec475c
SP
9302014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
931
932 [BZ #16878]
933 * nscd/netgroupcache.c (addgetnetgrentX): Look for
934 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
935 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
936 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
937
82aab97c
RH
9382014-05-25 Richard Henderson <rth@twiddle.net>
939
aa2f176d
RH
940 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
941 (SINGLE_THREAD_P_PIC): Remove.
942 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
943 (SINGLE_THREAD_P_PIC): Remove.
944
ca3cfa40
RH
945 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
946 branch to syscall error ...
947 (PSEUDO): ... here.
948 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
949 from __local_syscall_error to .Lsyscall_error.
950 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
951 (SYSCALL_ERROR): Update label name.
952
6e6c2d01
RH
953 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
954 Do not use DOARGS/UNDOARGS.
955 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
956 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
957 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
958 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
959 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
960
c69abcee
RH
961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
962 block comment.
963
82aab97c
RH
964 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
965 define if !NOT_IN_libc.
966 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
967 define with non-default symbol versions.
968
8820e3ac
RH
9692014-05-23 Richard Henderson <rth@twiddle.net>
970
900e445f
RH
971 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
972 (vfork, __vfork): Define via compat_symbol.
973
8820e3ac
RH
974 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
975 [!HAVE_IFUNC] (vfork_compat): Remove.
976 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
977
e59252a5
JM
9782014-05-23 Joseph Myers <joseph@codesourcery.com>
979
980 [BZ #16978]
981 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
982 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
983 variable.
984
132c7f5f
RH
9852014-05-23 Richard Henderson <rth@twiddle.net>
986
bc89e962
RH
987 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
988 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
989 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
990 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
991
992 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
993 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
994 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
995 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
996 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
997 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
998 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
999 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1000 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1001 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1002 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1003 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1004 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1005 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1006 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1007 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1008 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1009 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1010 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1011 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1013 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1014 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1015 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1016 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1017 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1019 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1020 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1021 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1023 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1025 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1026 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1027 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1029 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1031 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1032 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1033 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1034 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1035 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1036 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1037 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1038 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1039 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1040 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1041 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1042 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1043 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1044 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1045 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1046 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1047 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1048
e2fa4bc2
RH
1049 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1050 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1051 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1052 before exiting on error.
1053 (__libc_vfork): New strong alias.
1054 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1055 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1056
279b24e2
RH
1057 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1058 that was previously under [RESET_PID].
1059 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1060
132c7f5f
RH
1061 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1062
b72592e7
JM
10632014-05-23 Joseph Myers <joseph@codesourcery.com>
1064
1065 [BZ #16977]
1066 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1067 value when x - 1 is zero.
1068 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1069 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1070 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1071 0.0L for an argument of 1.0L.
1072 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1073 Likewise.
1074 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1075 value when x - 1 is zero.
1076 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1077 * sysdeps/i386/fpu/libm-test-ulps: Update.
1078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1079
2302d679
RV
10802014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1081
1082 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1083 alphasort and versionsort.
1084
32999d63
AZ
10852014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1086
1087 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1088 macro.
1089 [copysignf]: Likewise.
1090
019324d0
SP
10912014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1092
1093 * crypt/md5-crypt.c: Fix formatting.
1094
34fff5c2
KS
10952014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1096
1097 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1098 (b64_from_24bit): New function.
1099
3d2badac
AZ
11002014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1101
1102 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1103 libc_hidden_builtin_def to ifunc.
1104 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1105 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1106
f7bb179f 11072014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1108
1109 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1110 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1111
4134b50d
JM
11122014-05-21 Joseph Myers <joseph@codesourcery.com>
1113
bb7d0337
JM
1114 * nscd/Depend (linuxthreads): Remove.
1115 (nptl): Add.
1116 * resolv/Depend (linuxthreads): Remove.
1117 * rt/Depend (linuxthreads): Remove.
1118
4134b50d
JM
1119 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1120 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1121 $(common-objpfx)elf/.
1122 (link-libc-before-gnulib): Likewise.
1123 (elfobjdir): Remove variable.
1124 * Makefile (install): Use $(elf-objpfx) instead of
1125 $(common-objpfx)elf/.
1126 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1127 $(elfobjdir)/.
1128 (link-libc-deps): Likewise.
1129 ($(common-objpfx)libc.so): Likewise.
1130 ($(common-objpfx)linkobj/libc.so): Likewise.
1131 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1132 instead of $(common-objpfx)elf/.
1133 (symbolic-link-list): Likewise.
1134 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1135 [$(cross-compiling) = no]: Likewise.
1136 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1137 $(elfobjdir)/.
1138 (static-gnulib-arch): Likewise.
1139 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1140 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1141 $(common-objpfx)elf/.
1142
3612eb8f
RH
11432014-05-21 Richard Henderson <rth@redhat.com>
1144
a6b3657b
RH
1145 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1146 (SINGLE_THREAD_P): Use the correct width load. Fold
1147 into the ldr offset.
1148
3612eb8f
RH
1149 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1150 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1151
175cef41
JM
11522014-05-20 Joseph Myers <joseph@codesourcery.com>
1153
1154 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1155 (libgcc_s_resume): Use __attribute_used__.
1156 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1157 Likewise.
1158
e13bccd3
AZ
11592014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1160
1161 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1162 optimization when used with float constants.
1163
7c112a38
AZ
1164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1165
ae75a883
AJ
11662014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1167
1168 [BZ #16915]
1169 * locale/nl_langinfo_l.c: Make direct reference to every
1170 _nl_current_CATEGORY symbol.
1171 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1172 (tests-static): Add tst-langinfo-static.
1173 (tests-special): Add tst-langinfo-static.out.
1174 ($(objpfx)tst-langinfo.out): Redirect output.
1175 ($(objpfx)tst-langinfo-static.out): New.
1176 * localedata/tst-langinfo.sh: Send output to stdout.
1177 * localedata/tst-langinfo-static.c: New file.
1178
4406c41c
AJ
1179 [BZ #16965]
1180 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1181 when the shift amount is modulo the limb size.
1182
4c0a1e63
RH
11832014-05-20 Richard Henderson <rth@redhat.com>
1184
de9d8f20
RH
1185 [BZ #16967]
1186 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1187 Change type of sa_flags from unsigned int to int.
1188
4c0a1e63
RH
1189 [BZ #16966]
1190 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1191
1192 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1193
a60339aa
WN
11942014-05-20 Will Newton <will.newton@linaro.org>
1195
1196 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1197 Test the return value of the system call in the nocancel case.
1198
7d05a816
YR
11992014-05-20 Will Newton <will.newton@linaro.org>
1200 Yvan Roux <yvan.roux@linaro.org>
1201
1202 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1203 #include of asm/ptrace.h.
1204 (PTRACE_GET_THREAD_AREA): Remove #undef.
1205 (PTRACE_GETHBPREGS): Likewise.
1206 (PTRACE_SETHBPREGS): Likewise.
1207 (struct user_regs_struct): New structure.
1208 (struct user_fpsimd_struct): New structure.
1209 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1210 #include of asm/ptrace.h and second #include of sys/user.h.
1211 (PTRACE_GET_THREAD_AREA): Remove #undef.
1212 (PTRACE_GETHBPREGS): Likewise.
1213 (PTRACE_SETHBPREGS): Likewise.
1214 (ELF_NGREG): Use new struct user_regs_struct.
1215 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1216
af121e37
AZ
12172014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1218
1219 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1220 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1221
834caf06
JM
12222014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1223
1224 [BZ #16958]
1225 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1226 membar to avoid block loads/stores to overlap previous stores.
1227
e184a918
RH
12282014-05-17 Richard Henderson <rth@redhat.com>
1229
1230 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1231 Create the __##syscall_name##_nocancel entry point.
1232 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1233 Remove; let the sysdep-cancel.h code create it.
1234
f56c7a6a
DM
12352014-05-17 David S. Miller <davem@davemloft.net>
1236
1237 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1238 Protect with __USE_GNU.
1239 (TIOCSET_TEMPT): Likewise.
1240 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1241 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1242 these are already provided in bits/ioctl-types.h
1243
f75616b2
RM
12442014-05-16 Roland McGrath <roland@hack.frob.com>
1245
3edeca86
RM
1246 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1247 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1248
f75616b2
RM
1249 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1250 Use wait4 regardless of [__NR_waitpid].
1251
deb0f7f6
MR
12522014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1253
1254 PR libgcc/60166
1255 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1256 (_FP_NANSIGN_Q): Set the quiet bit.
1257
79520f4b
JM
12582014-05-16 Joseph Myers <joseph@codesourcery.com>
1259
1260 * benchtests/Makefile
1261 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1262 not $(common-objpfx)math/libm.so.
1263 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1264 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1265 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1266 $(common-objpfx)dlfcn/libdl.so.
1267 ($(objpfx)tst-audit8): Depend on $(libm), not
1268 $(common-objpfx)math/libm.so.
1269 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1270 not $(common-objpfx)dlfcn/libdl.so.
1271 * math/Makefile
1272 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1273 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1274 [$(build-shared) = yes].
1275 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1276 $(common-objpfx)nptl/libpthread.so.
1277 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1278 $(common-objpfx)math/libm.so$(libm.so-version) or
1279 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1280 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1281 $(common-objpfx)dlfcn/libdl.so.
1282 * setjmp/Makefile (link-libm): Remove variable.
1283 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1284 * stdio-common/Makefile (link-libm): Remove variable.
1285 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1286 * stdlib/Makefile (link-libm): Remove variable.
1287 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1288 ($(objpfx)tst-strtod-round): Likewise.
1289 ($(objpfx)tst-tininess): Likewise.
1290 ($(objpfx)tst-strtod-underflow): Likewise.
1291 ($(objpfx)tst-strtod6): Likewise.
1292 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1293 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1294 $(common-objpfx)dlfcn/libdl.so.
1295
026b0fe4
AZ
12962014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297
1298 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1299 BSD terminal modes definitions.
1300
def4bcb2
RM
13012014-05-16 Roland McGrath <roland@hack.frob.com>
1302
fe39b021
RM
1303 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1304 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1305
1d1fc46e 1306 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1307 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1308 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1309 Don't do #include_next.
1310 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1311 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1312 Don't do #include_next.
1313 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1314 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1315 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1316 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1317
c72399fb
AM
13182014-05-16 Allan McRae <allan@archlinux.org>
1319
d51d659d
AM
1320 * po/sv.po: Update Swedish translation from translation project.
1321
c72399fb
AM
1322 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1323 in sed expression.
1324
d0583c40
AJ
13252014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1326
1327 [BZ #16917]
1328 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1329 errno if the TIOCGPTN ioctl fails with an error different than
1330 EINVAL.
1331 * login/tst-ptsname.c: New file.
1332 * login/Makefile (tests): Add tst-ptsname.
1333
d16e6ec7
AJ
1334 [BZ #16943]
1335 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1336 and prlimit64.
1337
cf26a0cb
SP
13382014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1339
1340 [BZ #16849]
1341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1342 herrno to return EAI_AGAIN.
1343
5675da1e
RM
13442014-05-14 Roland McGrath <roland@hack.frob.com>
1345
a5d87b3d
RM
1346 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1347 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1348 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1349 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1351 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1352 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1353 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1355 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1356 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1357 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1358 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1359 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1361 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1362 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1363 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1364 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1365 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1375 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1377 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1381 Moved ...
1382 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1384 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1386 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1388 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1390 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1392 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1394 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1396 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1398 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1400 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1402 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1404 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1406 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1408 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1410 Moved ...
1411 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1415 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1417 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1419 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1421 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1423 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1425 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1427 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1429 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1431 Moved ...
1432 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1435
039890a6
RM
1436 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1437 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1438 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1439 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1440 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1441 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1442 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1443 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1444 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1445 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1446 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1447 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1448 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1449 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1450 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1451 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1452 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1453 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1454 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1455 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1456 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1457 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1458 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1459 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1460 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1461 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1462 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1463 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1464 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1465 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1466 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1467
65c89320
RM
1468 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1469 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1470
348f8e8c
RM
1471 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1472 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1473 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1474 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1475 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1477 Moved ...
1478 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1480 Moved ...
1481 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1482 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1483 Moved ...
1484 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1485 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1486 Moved ...
1487 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1488 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1489 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1490 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1491 Moved ...
1492 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1493 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1494 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1495 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1496 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1497 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1498 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1499 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1500 Moved ...
1501 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1502 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1503 Moved ...
1504 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1505 ... here.
1506 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1507 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1508 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1509 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1510 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1511 Moved ...
1512 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1513 ... here.
1514 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1515 Moved ...
1516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1517 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1518 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1519 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1520 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1522 Moved ...
1523 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1525 Moved ...
1526 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1527 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1528 Moved ...
1529 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1530 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1531 Moved ...
1532 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1533 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1534 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1535 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1536 Moved ...
1537 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1538 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1539 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1540 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1541 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1542 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1543 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1544 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1545 Moved ...
1546 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1547 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1548 Moved ...
1549 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1550 ... here.
1551 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1552 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1553 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1554 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1555 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1556 Moved ...
1557 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1558 ... here.
1559 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1560 Moved ...
1561 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1562 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1563 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1564 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1565 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1566 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1567 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1568 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1569 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1571 Moved ...
1572 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1573 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1574 Moved ...
1575 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1576 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1577 Moved ...
1578 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1579 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1580 Moved ...
1581 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1582 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1583 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1584 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1585 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1586 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1587 Moved ...
1588 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1589 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1590 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1591 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1592 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1593 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1594 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1595 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1596 Moved ...
1597 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1598 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1599 Moved ...
1600 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1601 ... here.
1602 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1603 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1604 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1605 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1606 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1607 Moved ...
1608 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1609 ... here.
1610 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1611 Moved ...
1612 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1613 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1614 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1615 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1616 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1617 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1618 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1619 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1620 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1621 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1622 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1623
5085af05
RM
1624 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1625 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1626
708f0813
RM
1627 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1628 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1629
c96067bc
RM
1630 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1631 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1632 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1633 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1634 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1635 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1636 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1637 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1638 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1639 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1640 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1641 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1642 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1643 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1644 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1646 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1647 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1648 Moved ...
1649 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1651 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1652 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1653 Moved ...
1654 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1656 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1658 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1659 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1660 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1662 Moved ...
1663 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1664 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1665 Moved ...
1666 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1668 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1669 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1670 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1672 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1674 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1676 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1677 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1678 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1679 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1680 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1681 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1682 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1683
ec136444
RM
1684 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1685 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1686 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1687 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1688 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1689
2fbdf533
RM
1690 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1691 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1692 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1693 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1694 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1695 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1696 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1697 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1698 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1699 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1700
4c68138b
RM
1701 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1702 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1703
4eaae765
RM
1704 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1705 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1706 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1707 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1708 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1709 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1710 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1711 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1712 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1713 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1714 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1715 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1716 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1717 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1719 Update #include.
1720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1721 Likewise.
1722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1723 Likewise.
1724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1725 Likewise.
1726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1727 Likewise.
1728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1729 Likewise.
1730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1731 Likewise.
1732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1733 Likewise.
1734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1735 Likewise.
1736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1737 Likewise.
4ef6befa
RM
1738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1740 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1742 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1743 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1744 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1745 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1746 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1747 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1748 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1749 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1750 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1751 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1752 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1753
941d7dfd
RM
1754 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1755 that was previously under [RESET_PID].
1756 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1757 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1758 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1759
1b731c35
RM
1760 * sysdeps/i386/nptl/Implies: New file.
1761 * sysdeps/x86_64/nptl/Implies: New file.
1762 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1763 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1764 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1765 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1766
e2787137
RM
1767 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1768 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1769 (__libc_vfork): New strong alias.
1770 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1771 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1772
1773 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1774 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1775 (__libc_vfork): New strong alias.
1776 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1777 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1778
5675da1e
RM
1779 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1780 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1781 (__libc_vfork): New strong alias.
1782 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1783 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1784 * nptl/pt-vfork.c: New file.
1785 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1786 (libpthread: GLIBC_2.20): New version set (empty).
1787
4f02e2b8
WN
17882014-05-14 Will Newton <will.newton@linaro.org>
1789
1790 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1791 rather than #if.
1792
0bf061d3
JM
17932014-05-14 Joseph Myers <joseph@codesourcery.com>
1794
1a84c3d6
JM
1795 [BZ #16564]
1796 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1797 arguments with exponent 65 or above.
1798 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1799 arguments 0x1p113L or above.
1800 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1801 to arguments 0x1p107L or above.
1802 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1803 positive arguments with exponent 65 or above.
1804 * math/auto-libm-test-in: Add more tests of log1p.
1805 * math/auto-libm-test-out: Regenerated.
1806
01dbacd2
JM
1807 [BZ #16928]
1808 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1809 non-finite arguments is +0.
1810 * math/s_cacosf.c (__cacosf): Likewise.
1811 * math/s_cacosl.c (__cacosl): Likewise.
1812 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1813 * sysdeps/i386/fpu/libm-test-ulps: Update.
1814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1815
913d03c8
JM
1816 [BZ #16927]
1817 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1818 value.
1819 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1820 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1821 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1822 for explicit high bit of mantissa when testing for argument equal
1823 to 1.
1824 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1825 * sysdeps/i386/fpu/libm-test-ulps: Update.
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1827
0bf061d3
JM
1828 [BZ #16516]
1829 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1830 (__erf): Scale by 16 instead of 8 in potentially underflowing
1831 case. Ensure exception if result actually underflows.
1832 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1833 (__erff): Scale by 16 instead of 8 in potentially underflowing
1834 case. Ensure exception if result actually underflows.
1835 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1836 (efx8): Remove variable.
1837 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1838 case. Ensure exception if result actually underflows.
1839 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1840 (efx8): Remove variable.
1841 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1842 case. Ensure exception if result actually underflows.
1843 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1844 (efx8): Remove variable.
1845 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1846 case. Ensure exception if result actually underflows.
1847 * math/auto-libm-test-in: Add more tests of erf.
1848 * math/auto-libm-test-out: Regenerated.
1849
73ba67cb
AS
18502014-05-14 Andreas Schwab <schwab@suse.de>
1851
3d8c8bff
AS
1852 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1853 Remove code conditionalized on USE___THREAD.
1854
73ba67cb
AS
1855 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1856 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1857 not definedness.
1858
5c521ecd
JM
18592014-05-14 Joseph Myers <joseph@codesourcery.com>
1860
5e7698c6
JM
1861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1862 Define unconditionally.
1863 (__ASSUME_O_CLOEXEC): Likewise.
1864 (__ASSUME_SOCK_CLOEXEC): Likewise.
1865 (__ASSUME_IN_NONBLOCK): Likewise.
1866 (__ASSUME_PIPE2): Likewise.
1867 (__ASSUME_EVENTFD2): Likewise.
1868 (__ASSUME_SIGNALFD4): Likewise.
1869 (__ASSUME_DUP3): Likewise.
1870 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1871 (__ASSUME_DUP3): Do not define.
1872 (__ASSUME_EVENTFD2): Likewise.
1873 (__ASSUME_IN_NONBLOCK): Likewise.
1874 (__ASSUME_O_CLOEXEC): Likewise.
1875 (__ASSUME_PIPE2): Likewise.
1876 (__ASSUME_SIGNALFD4): Likewise.
1877 (__ASSUME_SOCK_CLOEXEC): Likewise.
1878 (__ASSUME_UTIMES): Undefine.
1879 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1880 (__ASSUME_UTIMES): Do not define.
1881 (__ASSUME_O_CLOEXEC): Likewise.
1882 (__ASSUME_SOCK_CLOEXEC): Likewise.
1883 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1884 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1885 0x020621].
1886 (__ASSUME_PIPE2): Likewise.
1887 (__ASSUME_EVENTFD2): Likewise.
1888 (__ASSUME_SIGNALFD4): Likewise.
1889 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1890 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1891 Do not define.
1892 (__ASSUME_EVENTFD2): Likewise.
1893 (__ASSUME_SIGNALFD4): Likewise.
1894 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1895 (__ASSUME_32BITUIDS): Likewise.
1896 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1897 (__ASSUME_IPC64): Likewise.
1898 (__ASSUME_ST_INO_64_BIT): Likewise.
1899 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1900 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1901 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1902 (__ASSUME_UTIMES): Do not define.
1903 (__ASSUME_PSELECT): Likewise.
1904 (__ASSUME_PPOLL): Likewise.
1905 (__ASSUME_O_CLOEXEC): Likewise.
1906 (__ASSUME_SOCK_CLOEXEC): Likewise.
1907 (__ASSUME_IN_NONBLOCK): Likewise.
1908 (__ASSUME_PIPE2): Likewise.
1909 (__ASSUME_EVENTFD2): Likewise.
1910 (__ASSUME_SIGNALFD4): Likewise.
1911 (__ASSUME_DUP3): Likewise.
1912 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1913 (__ASSUME_UTIMES): Likewise.
1914 (__ASSUME_O_CLOEXEC): Likewise.
1915 (__ASSUME_SOCK_CLOEXEC): Likewise.
1916 (__ASSUME_IN_NONBLOCK): Likewise.
1917 (__ASSUME_PIPE2): Likewise.
1918 (__ASSUME_EVENTFD2): Likewise.
1919 (__ASSUME_SIGNALFD4): Likewise.
1920 (__ASSUME_DUP3): Likewise.
1921 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1922 (__ASSUME_UTIMES): 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/mips/kernel-features.h (__ASSUME_IPC64):
1931 Likewise.
1932 (__ASSUME_UTIMES): Likewise.
1933 (__ASSUME_EVENTFD2): Likewise.
1934 (__ASSUME_SIGNALFD4): Likewise.
1935 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1936 (__ASSUME_O_CLOEXEC): Likewise.
1937 (__ASSUME_SOCK_CLOEXEC): Likewise.
1938 (__ASSUME_IN_NONBLOCK): Likewise.
1939 (__ASSUME_PIPE2): Likewise.
1940 (__ASSUME_EVENTFD2): Likewise.
1941 (__ASSUME_SIGNALFD4): Likewise.
1942 (__ASSUME_DUP3): Likewise.
1943 (__ASSUME_UTIMES): Undefine.
1944
5c521ecd
JM
1945 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1946 feclearexcept. Remove symbol versioning code.
1947 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1948 symbol versioning code.
1949 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1950 symbol versioning code.
1951 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1952 feupdateenv. Remove symbol versioning code.
1953 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1954 fegetexceptflag. Remove symbol versioning code.
1955 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1956 fesetexceptflag. Remove symbol versioning code.
1957 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1958 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1959 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1960 (__posix_fadvise64_l32): Remove prototype.
1961 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1962 code.
1963
5da9dfad
RM
19642014-05-13 Roland McGrath <roland@hack.frob.com>
1965
1966 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1967 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1968 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1969 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1970
893b4f37
SK
19712014-05-13 Sami Kerola <kerolasa@iki.fi>
1972
1973 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1974 current working directory
1975
e0db6517
RM
19762014-05-13 Roland McGrath <roland@hack.frob.com>
1977
58aa195d
RM
1978 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1979 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1980 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1981 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1982 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1983 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1984 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1985 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1997 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2001 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2002 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2005 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2007 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2009 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2010 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2011 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2012 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2013 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2014 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2015 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2016 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2017 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2018 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2019 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2020
8c6d01f0
RM
2021 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2022 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2023
2024 * sysdeps/unix/sysv/linux/arm/Makefile
2025 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2026 Add rt-aeabi_unwind_cpp_pr1.
2027 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2028 Add nptl-aeabi_unwind_cpp_pr1.
2029 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2030 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2031 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2032 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2033 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2034 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2035
2036 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2037 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2038 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2039 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2040
bba6da4e
RM
2041 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2042 Deconditionalize the code that was previously under [RESET_PID].
2043 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2044
e0db6517
RM
2045 * sysdeps/generic/exit-thread.h: New file.
2046 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2047 * include/unistd.h (__exit_thread): Remove declaration.
2048 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2049 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2050 * csu/libc-start.c: Include <exit-thread.h>.
2051 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2052 * nptl/pthread_create.c: Include <exit-thread.h>.
2053 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2054 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2055 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2056 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2057 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2058 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2059 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2060 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2061 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2062 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2063 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2064 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2065 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2066 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2067 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2068 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2069 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2070
01eb16fd
AS
20712014-05-13 Andreas Schwab <schwab@suse.de>
2072
2073 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2074
637461d9
JM
20752014-05-12 Joseph Myers <joseph@codesourcery.com>
2076
2077 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2078 (__ASSUME_UTIMES): Do not condition on kernel version.
2079 (__ASSUME_PSELECT): Define unconditionally.
2080 (__ASSUME_PPOLL): Likewise.
2081 (__ASSUME_ATFCTS): Likewise.
2082 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2083 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2084 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2085 (__ASSUME_UTIMENSAT): Define unconditionally.
2086 (__ASSUME_PRIVATE_FUTEX): Likewise.
2087 (__ASSUME_FALLOCATE): Likewise.
2088 (__ASSUME_O_CLOEXEC): Likewise.
2089 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2090 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2091 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2092 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2093 (__ASSUME_IN_NONBLOCK): Likewise.
2094 (__ASSUME_PIPE2): Likewise.
2095 (__ASSUME_EVENTFD2): Likewise.
2096 (__ASSUME_SIGNALFD4): Likewise.
2097 (__ASSUME_DUP3): Likewise.
2098 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2099 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2100 (__ASSUME_AT_RANDOM): Likewise.
2101 (__ASSUME_PREADV): Likewise.
2102 (__ASSUME_PWRITEV): Likewise.
2103 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2104 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2105 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2106 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2107 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2108 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2109 (__ASSUME_O_CLOEXEC): Define unconditionally.
2110 (__ASSUME_PSELECT): Do not undefine conditionally.
2111 (__ASSUME_PPOLL): Likewise.
2112 (__ASSUME_ATFCTS): Likewise.
2113 (__ASSUME_SET_ROBUST_LIST): Likewise.
2114 (__ASSUME_UTIMENSAT): Likewise.
2115 (__ASSUME_FDATASYNC): Define unconditionally.
2116 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2117 (__ASSUME_SIGFRAME_V2): Likewise.
2118 )__ASSUME_EVENTFD2): Likewise.
2119 (__ASSUME_SIGNALFD4): Likewise.
2120 (__ASSUME_PSELECT): Do not undefine conditionally.
2121 (__ASSUME_PPOLL): Likewise.
2122 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2123 (__ASSUME_PSELECT): Define unconditionally.
2124 (__ASSUME_PPOLL): Likewise.
2125 (__ASSUME_O_CLOEXEC): Likewise.
2126 (__ASSUME_SOCK_CLOEXEC): Likewise.
2127 (__ASSUME_IN_NONBLOCK): Likewise.
2128 (__ASSUME_PIPE2): Likewise.
2129 (__ASSUME_EVENTFD2): Likewise.
2130 (__ASSUME_SIGNALFD4): Likewise.
2131 (__ASSUME_DUP3): Likewise.
2132 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2133 (__ASSUME_O_CLOEXEC): Likewise.
2134 (__ASSUME_SOCK_CLOEXEC): Likewise.
2135 (__ASSUME_IN_NONBLOCK): Likewise.
2136 (__ASSUME_PIPE2): Likewise.
2137 (__ASSUME_EVENTFD2): Likewise.
2138 (__ASSUME_SIGNALFD4): Likewise.
2139 (__ASSUME_DUP3): Likewise.
2140 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2141 (__ASSUME_EVENTFD2): Likewise.
2142 (__ASSUME_SIGNALFD4): Likewise.
2143 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2144
315eb1d8
AS
21452014-05-12 Andreas Schwab <schwab@suse.de>
2146
2147 [BZ #16932]
2148 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2149 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2150 than maximum RPC packet size.
2151 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2152 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2153 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2154 (_nss_nis_getservbyport_r): Likewise.
2155
91df99f7
WN
21562014-05-12 Will Newton <will.newton@linaro.org>
2157
2158 * malloc/Makefile (tests): Add tst-mallopt.
2159 * malloc/tst-mallopt.c: New file.
2160
0a982a29
RM
21612014-05-09 Roland McGrath <roland@hack.frob.com>
2162
2163 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2164 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2165
0ded08a5
AZ
21662014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2167
2168 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2169 (tst-tlsmod6.so): Likewise.
2170
55d4d550
RM
21712014-05-09 Roland McGrath <roland@hack.frob.com>
2172
2173 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2174
77d08aca
JM
21752014-05-09 Joseph Myers <joseph@codesourcery.com>
2176
2177 [BZ #16064]
2178 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2179 and <dl-procinfo.h>.
2180 (__fegetenv): Save SSE state in envp->__eip if supported.
2181 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2182 envp->__eip if supported.
2183 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2184 and <dl-procinfo.h>.
2185 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2186 __data_offset and __data_selector in environment to 0. Set SSE
2187 state if supported.
2188 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2189 test-fenv-sse.
2190 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2191 -mfpmath=sse.
2192 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2193
28162f4d
WN
21942014-05-09 Will Newton <will.newton@linaro.org>
2195
2196 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2197 and libc_relro_required for ARM.
2198 * sysdeps/arm/preconfigure: Regenerate.
2199
5a414ff7
DV
22002014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2201 Stefan Liebler <stli@linux.vnet.ibm.com>
2202
2203 * config.make.in (enable-lock-elision): New Makefile variable.
2204 * configure.ac: Likewise.
2205 * configure: Regenerate.
2206 * sysdeps/s390/configure.ac:
2207 Add check for gcc transactions support.
2208 * sysdeps/s390/configure: Regenerate.
2209 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2210 Build elision files if enabled.
2211 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2212 Add lock elision support for s390.
2213 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2214 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2215 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2216 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2217 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2218 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2219 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2220 Likewise.
2221 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2222 Likewise.
2223 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2224 Likewise.
2225 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2226 Likewise.
2227 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2228 (__lll_timedlock_elision, __lll_lock_elision)
2229 (__lll_unlock_elision, __lll_trylock_elision)
2230 (lll_timedlock_elision, lll_lock_elision)
2231 (lll_unlock_elision, lll_trylock_elision): Add.
2232 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2233 (pthread_mutex_t): Add lock elision support for s390.
2234
1a2f40e5
W
22352014-05-14 Wilco <wdijkstr@arm.com>
2236
2237 * sysdeps/arm/fclrexcpt.c: Cleanup.
2238 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2239 * sysdeps/arm/feenablxcpt.c: Cleanup.
2240 * sysdeps/arm/fegetenv.c: Cleanup.
2241 * sysdeps/arm/fegetexcept.c: Cleanup.
2242 * sysdeps/arm/fegetround.c: Cleanup.
2243 * sysdeps/arm/feholdexcpt.c: Cleanup.
2244 * sysdeps/arm/fesetenv.c: Cleanup.
2245 * sysdeps/arm/fesetround.c: Cleanup.
2246 * sysdeps/arm/feupdateenv.c: Cleanup.
2247 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2248 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2249 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2250 * sysdeps/arm/ftestexcept.c: Cleanup.
2251 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2252 * sysdeps/arm/setfpucw.c: Cleanup.
2253
f63c86fe
WN
22542014-05-09 Will Newton <will.newton@linaro.org>
2255
2256 * sysdeps/arm/armv7/strcmp.S: New file.
2257 * NEWS: Mention addition of ARMv7 optimized strcmp.
2258
7a1a51b5
RM
22592014-05-08 Roland McGrath <roland@hack.frob.com>
2260
95afbbe5
RM
2261 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2262 look for %.ac rather than %.in.
2263
2264 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2265 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2266 * sysdeps/mach/hurd/configure: Regenerated.
2267 * sysdeps/unix/sysv/linux/configure: Regenerated.
2268
7a1a51b5
RM
2269 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2270
5057ad3b
SE
22712014-05-07 Steve Ellcey <sellcey@mips.com>
2272
2273 [BZ# 16922]
2274 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2275 (LONG_SUB): Ditto.
2276 (PTR_SUB): Ditto.
2277
8dc97517
AS
22782014-05-07 Andreas Schwab <schwab@suse.de>
2279
2280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2281 when skipping over non-matching result from nscd.
2282
ce0c5b8f
OB
22832014-05-07 Ondřej Bílka <neleai@seznam.cz>
2284
2285 [BZ #16876]
2286 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2287
a1189263
OB
2288 [BZ #16877]
2289 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2290 nscd security class.
ce0c5b8f 2291
0f58d252
RM
22922014-05-06 Roland McGrath <roland@hack.frob.com>
2293
2294 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2295 * sysdeps/arm/unwind.h: ... here.
2296
83df9ad0
AJ
22972014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2298
ce0c5b8f
OB
2299 [BZ# 16916]
2300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2301 Define.
83df9ad0 2302
f360f94a
VR
23032014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2304
2305 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2306 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2307 multiarch strncpy for PPC64.
2308 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2309 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2311 multiarch optimizations.
2312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2313 (__libc_ifunc_impl_list): Likewise.
2314 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2315 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2316 multiarch stpncpy for PPC64.
2317 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2318 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2319
978a41c3
AS
23202014-05-06 Andreas Schwab <schwab@suse.de>
2321
2322 [BZ #16912]
2323 * gmon/mcount.c (_MCOUNT_DECL): Use
2324 atomic_compare_and_exchange_bool_acq instead of
2325 catomic_compare_and_exchange_bool_acq.
2326
eb1ed03d
RM
23272014-05-05 Roland McGrath <roland@hack.frob.com>
2328
fe658845
RM
2329 * elf/Makefile (others, install-bin): Remove pldd.
2330 (pldd-modules): Variable removed.
2331 ($(objpfx)pldd): Target removed.
2332 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2333 (others, install-bin): Append pldd here.
2334 ($(objpfx)pldd): New target.
2335
eb1ed03d
RM
2336 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2337 to 0, so the first #if test emitted later doesn't see it undefined.
2338 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2339 * sysdeps/gnu/errlist.c: Regenerated.
2340
19c4bec0
AZ
23412014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2342
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2344 [libc_hidden_builtin_def]: Define to empty value.
2345 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2346 [libc_hidden_builtin_def]: Likewise.
2347 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2348 [libc_hidden_builtin_def]: Likewise.
2349 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2350 [libc_hidden_builtin_def]: Likewise.
2351 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2352 __redirect_memcpy and define ifunc as default hidden symbol.
2353 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2354 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2355
7776e669
AC
23562014-05-04 Adam Conrad <adconrad@0c3.net>
2357
2358 * locale/iso-4217.def: Reintroduce XDR currency.
2359
d69aeb12
AM
23602014-05-04 Allan McRae <allan@archlinux.org>
2361
2362 * po/eo.po: Update Esperanto translation from translation project.
2363
8f1df5cf
CD
23642014-05-02 Carlos O'Donell <carlos@redhat.com>
2365
2366 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2367 and FEATURE_INDEX_MAX to 1.
2368 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2369
13e402e7
SE
23702014-05-01 Steve Ellcey <sellcey@mips.com>
2371
2372 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2373 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2374 * iconvdata/big5.c (ONE_DIRECTION): Define.
2375 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2376 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2377 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2378 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2379 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2380 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2381 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2382 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2383 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2384 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2385 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2386 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2387 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2388 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2389 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2390 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2391 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2392 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2393 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2394 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2395 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2396 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2397 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2398 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2399 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2400 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2401 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2402 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2403 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2404 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2405 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2406 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2407 * iconvdata/johab.c (ONE_DIRECTION): Define.
2408 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2409 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2410 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2411 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2412 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2413 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2414 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2415 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2416 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2417 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2418
c727f032
RM
24192014-05-01 Roland McGrath <roland@hack.frob.com>
2420
8f2f08d0
RM
2421 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2422 (_IO_JUMPS_OFFSET): Define to 0.
2423
c727f032
RM
2424 * nptl/sysdeps/pthread/bits/libc-lock.h
2425 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2426 (__libc_lock_define_initialized_recursive): Always define using
2427 initializer. Modern compilers treat uninitialized (implicit zero) and
2428 explicit zero initializers the same (i.e. put the datum in bss).
2429
a849e800
AS
24302014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2431
2432 * nscd/nscd-client.h: Include <string.h>.
2433
5331255b
DM
24342014-05-01 David S. Miller <davem@davemloft.net>
2435
2436 [BZ #16885]
2437 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2438 multiple zero bytes exist at the end of a string.
2439 Reported by Aurelien Jarno <aurelien@aurel32.net>
2440
2441 * string/test-strcmp.c (check): Add explicit test for situations where
2442 there are multiple zero bytes after the first.
2443
4fdfe821
AS
24442014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2445
2446 [BZ #16890]
2447 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2448 when compiling wprintf.
2449 * stdio-common/tstdiomisc.c (t3): New function.
2450 (main): Call it.
2451
0cdddc25
SE
24522014-05-01 Steve Ellcey <sellcey@mips.com>
2453
2454 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2455 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2456 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2457 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2458
6426d77e
SE
24592014-05-01 Steve Ellcey <sellcey@mips.com>
2460
2461 * stdlib/longlong.h: Updated from GCC.
2462
6d96f5e4
WN
24632014-05-01 Will Newton <will.newton@linaro.org>
2464 Bernard Ogden <bernie.ogden@linaro.org>
2465
7470db0c
WN
2466 * NEWS: Update fixed bug list.
2467
6d96f5e4
WN
2468 [BZ #15119]
2469 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2470
211d653c
DM
24712014-04-30 David S. Miller <davem@davemloft.net>
2472
4fa262fa
DM
2473 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2474 (libc_feholdexcept_setround_sparc_ctx): New function.
2475 (libc_fesetenv_sparc_ctx): Likewise.
2476 (libc_feupdateenv_sparc_ctx): Likewise.
2477 (libc_feholdsetround_sparc_ctx): Likewise.
2478 (libc_feholdexcept_setround_ctx): Define.
2479 (libc_feholdexcept_setroundf_ctx): Likewise.
2480 (libc_feholdexcept_setroundl_ctx): Likewise.
2481 (libc_fesetenv_ctx): Likewise.
2482 (libc_fesetenvf_ctx): Likewise.
2483 (libc_fesetenvl_ctx): Likewise.
2484 (libc_feupdateenv_ctx): Likewise.
2485 (libc_feupdateenvf_ctx): Likewise.
2486 (libc_feupdateenvl_ctx): Likewise.
2487 (libc_feresetround_ctx): Likewise.
2488 (libc_feresetroundf_ctx): Likewise.
2489 (libc_feresetroundl_ctx): Likewise.
2490 (libc_feholdsetround_ctx): Likewise.
2491 (libc_feholdsetroundf_ctx): Likewise.
2492 (libc_feholdsetroundl_ctx): Likewise.
2493
1d3d93ef
DM
2494 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2495 with __USE_GNU instead of XOPEN cpp guards.
2496
8aa583c3
DM
2497 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2498 0.
2499
211d653c
DM
2500 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2501 with XOPEN cpp guards.
2502
60c8f1f6
JB
25032014-04-30 Julian Brown <julian@codesourcery.com>
2504
2505 [BZ #16888]
2506 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2507 handling.
2508
9a461d46
JM
25092014-04-30 Joseph Myers <joseph@codesourcery.com>
2510
d0f5b3f8
JM
2511 [BZ #9894]
2512 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2513 Change to 2.6.32.
2514 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2515 * sysdeps/unix/sysv/linux/configure: Regenerated.
2516 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2517 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2518 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2519 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2520 * README: Update reference to required Linux kernel version.
2521 * manual/install.texi (Linux): Update reference to required Linux
2522 kernel headers version.
2523 * INSTALL: Regenerated.
2524
9a461d46
JM
2525 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2526 header inclusion.
2527 [POSIX] (limits.h): Likewise.
2528 [POSIX] (math.h): Likewise.
2529 [POSIX] (sys/wait.h): Likewise.
2530 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2531 function.
2532 [POSIX] (stddef.h): Do not allow header inclusion.
2533
1775babf
AZ
25342014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2535
57f41c40 2536 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2537
8f630cca
YY
25382014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2539
2540 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2541 Return immediately after lll_futex_wake.
2542
1cdeb237
SP
25432014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2544
bc8f194c
SP
2545 [BZ #16791]
2546 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2547 structure.
2548 (datahead_init_pos): Call datahead_init_common early.
2549 (datahead_init_neg): Likewise.
2550
1cdeb237
SP
2551 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2552 datahead_init_neg): New functions.
2553 * nscd/aicache.c (addhstaiX): Use them.
2554 * nscd/grpcache.c (cache_addgr): Likewise.
2555 * nscd/hstcache.c (cache_addhst): Likewise.
2556 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2557 * nscd/netgroupcache.c (do_notfound): Likewise.
2558 (addgetnetgrentX): Likewise.
2559 (addinnetgrX): Likewise.
2560 * nscd/pwdcache.c (cache_addpw): Likewise.
2561 * nscd/servicescache.c (cache_addserv): Likewise.
2562
16b293a7
SP
25632014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2564 Atsushi Onoe <atsushi@onoe.org>
2565
2566 [BZ #14308]
2567 [BZ #12994]
2568 [BZ #13651]
2569 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2570 one response is valid.
2571 * resolv/res_send.c (send_dg): Check for validity of other
2572 response if the current response is a referral.
2573
a28a9b94
SE
25742014-04-29 Steve Ellcey <sellcey@mips.com>
2575
2576 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2577
2ca180e9
SL
25782014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2579
2580 [BZ #16823]
2581 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2582 Always divide by positive zero when computing -Inf result.
2583 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2584 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2585
18f2945a
AZ
25862014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2587
2588 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2589 FPSCR if value do not change.
2590 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2591 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2592 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2593 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2594 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2595 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2596 function.
2597
5abebba4
CD
25982014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2599
2600 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2601 * sysdeps/unix/sysv/linux/hppa: Move directory from
2602 ports/systeps/unix/sysv/linux/hppa.
2603 * README: Update listing for hppa-*-linux-gnu.
2604
f7ed60c2
OB
26052014-04-28 Ondřej Bílka <neleai@seznam.cz>
2606
fff763a5
OB
2607 [BZ #16754]
2608 * manual/stdio.texi (Hook functions): Fix types of stream hook
2609 functions.
f7ed60c2
OB
2610 [BZ #16854]
2611 * socket/sys/socket.h: Fix typo in comment.
2612
df639d73
WD
26132014-04-28 Wilco <wdijkstr@arm.com>
2614
f7ed60c2 2615 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2616 * sysdeps/arm/math_private.h: New file.
2617 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2618
48332d82
L
26192014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2620
2621 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2622 with __int128_t.
2623 (La_x86_64_retval): Likewise.
2624
e5e0d9a4
IB
26252014-04-24 Ian Bolton <ian.bolton@arm.com>
2626
2627 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2628 fpsr if value didn't change.
2629 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2630 to fpcr if value didn't change.
2631 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2632 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2633 fpsr or fpcr if value didn't change.
2634 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2635 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2636 fpcr if value didn't change.
2637 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2638 to fpsr if value didn't change.
2639
bacc75f7
SP
26402014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2641
2642 * nptl/tst-sem3.c: Use test-skeleton.c
2643 (main): Rename to do_test. Use return instead of
2644 exit.
2645 * nptl/tst-sem4.c: Use test-skeleton.c
2646 (main): Rename to do_test.
2647
a059d359
DM
26482014-04-22 David S. Miller <davem@davemloft.net>
2649
2650 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2651 (struct sigaction): New struct member __glibc_reserved0, change
2652 type of sa_flags to int.
2653
ea6c92f3
YZ
26542014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2655
2656 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2657 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2658
766c4a36
SP
26592014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2660
2661 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2662 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2663
140cc7ab
VK
26642014-04-22 Will Newton <will.newton@linaro.org>
2665 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2666
2667 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2668 (__longjmp): Add longjmp and longjmp_target SystemTap
2669 probes.
2670 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2671 (__sigsetjmp): Add setjmp SystemTap probe.
2672
c54e5cf7
CD
26732014-04-17 Carlos O'Donell <carlos@redhat.com>
2674
2675 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2676 match manual order.
2677
75ffb047
AZ
26782014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2679
2680 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2681
2cd925f7
AZ
2682 * sysdeps/powerpc/fpu/fenv_private.h
2683 (libc_feholdexcept_setroundl_ctx): Define to
2684 libc_feholdexcept_setround_ppc_ctx.
2685 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2686 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2687 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2688 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2689
39e6cd8d
IB
26902014-04-17 Ian Bolton <ian.bolton@arm.com>
2691
2692 * sysdeps/aarch64/math-tests.h: New file.
2693
f9281df9
SY
26942014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2695
2696 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2697 New.
2698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2699 Check and set bit_AVX2_Usable.
2700 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2701 macro.
2702 (bit_AVX2): Likewise.
2703 (index_AVX2_Usable): Likewise.
2704 (CPUID_AVX2): Likewise.
2705 (HAS_AVX2): Likewise.
2706
37d35007
WN
27072014-04-17 Will Newton <will.newton@linaro.org>
2708
7c677662
WN
2709 * manual/setjmp.texi (System V contexts): Add note that
2710 calling setcontext on a context created by a call to a
2711 signal handler is undefined. Update text to note that
2712 setcontext from a signal handler is possible but not
2713 recommended.
2714
37d35007 2715 [BZ #16629]
e04a4e9d
WN
2716 * stdlib/tst-setcontext.c: Include signal.h.
2717 (main): Check that the signal stack before and
2718 after swapcontext is the same.
2719
37d35007
WN
2720 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2721 Re-implement to restore registers in user code and avoid
2722 rt_sigreturn system call.
2723
423a7160
W
27242014-04-17 Wilco <wdijkstr@arm.com>
2725
2726 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2727 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2728 * math/test-fenv.c: Skip exception trap tests on targets which only
2729 support non-stop mode.
2730
bc93ab29
IB
27312014-04-17 Ian Bolton <ian.bolton@arm.com>
2732 Wilco Dijkstra <wilco.dijkstra@arm.com>
2733
2734 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2735 (libc_feholdsetround_aarch64_ctx)
2736 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2737 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2738 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2739 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2740 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2741 (libc_feresetround_noexl_ctx): Define.
2742
95fc5fa3
RH
27432014-04-16 Richard Henderson <rth@redhat.com>
2744
ddb04724
RH
2745 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2746
d77c0899
RH
2747 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2748 unwind tables.
2749
a3df56fc
RH
2750 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2751 const from the non-libc, non-ldso copy.
2752
95fc5fa3
RH
2753 * sysdeps/alpha/libm-test-ulps: Regenerate.
2754
7e0b6763
IB
27552014-04-16 Ian Bolton <ian.bolton@arm.com>
2756 Wilco Dijkstra <wilco.dijkstra@arm.com>
2757
2758 * sysdeps/aarch64/fpu/math_private.h: New file.
2759
a9ea2e0c
MS
27602014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2761
2762 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2763
ea8ba7cd
IZ
27642014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2765
2766 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2767 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2769 Intel MPX bound registers before _dl_profile_fixup.
2770 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2771 registers after _dl_profile_fixup. Save and restore bound
2772 registers bnd0/bnd1 when calling _dl_call_pltexit.
2773 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2774 (LR_BND_OFFSET): Likewise.
2775 (LRV_BND0_OFFSET): Likewise.
2776 (LRV_BND1_OFFSET): Likewise.
2777
9f2a4fbc
ST
27782014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2779
2780 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2781 to...
2782 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2783 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2784 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2785 fields.
9f2a4fbc 2786
fd15a59b
ST
27872014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2788
2789 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2790
f19dfa0a
SL
27912014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2792
2793 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2794
4fa8bc3b
SL
27952014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2796
2797 [BZ #14770]
2798 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2799 * sysdeps/s390/configure: Regenerate.
2800
8ea587db
SL
2801 [BZ #16824]
2802 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2803 Set round-to-nearest internally to reduce error accumulation.
2804
aa5f0ff1
AM
28052014-04-16 Alan Modra <amodra@gmail.com>
2806
2807 [BZ #16740]
2808 [BZ #16619]
2809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2810 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2811 * NEWS: Update fixed bug list.
aa5f0ff1 2812
bb9c256f
SP
28132014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2814
2815 * benchtests/Makefile: Depend on libraries in build directory.
2816 (bench-math): Separate out math tests.
2817 (bench-pthread): Separate out pthread tests.
2818 (bench): Include math and pthread tests.
2819
f737dfd0
CD
28202014-04-14 Carlos O'Donell <carlos@redhat.com>
2821
2822 [BZ #16831]
2823 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2824 _dl_debug_initialize.
2825
0699f766
CD
2826 * configure.ac: Remove SELinux header check.
2827 * configure: Regenerate.
2828 * nscd/selinux.c (perms): Array of const char* to permission names.
2829 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2830 default policy. Call string_to_security_class and string_to_av_perm to
2831 translate strings. Enforce default policy and call avs_has_perm with
2832 results of translated strings.
2833
809bd45f
DM
28342014-04-13 David S. Miller <davem@davemloft.net>
2835
2836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2837
89e691f2
AM
28382014-04-12 Allan McRae <allan@archlinux.org>
2839
2840 [BZ #16838]
2841 * manual/string.texi (Collation Functions): Fix qsort argument
2842 order in example.
2843 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2844
9c9daaeb
CM
28452014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2846
2847 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2848 Make the test a no-op if there are no exceptions defined.
2849
95561fb9
PP
28502014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2851
fe8d072c 2852 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2853 enable-hardcoded-path-in-tests
2854
970c602a
WN
28552014-04-11 Will Newton <will.newton@linaro.org>
2856
2857 * benchtests/Makefile (extra-objs): Add json-lib.o.
2858 (bench-func): Tidy up JSON output.
2859 * benchtests/bench-skeleton.c: Include json-lib.h.
2860 (main): Use JSON library functions to do output of
2861 benchmark results.
2862 * benchtests/bench-timing-type.c (main): Output the
2863 timing type simply, leaving formatting to the user.
2864 * benchtests/json-lib.c: New file.
2865 * benchtests/json-lib.h: Likewise.
2866
36875b06
TR
28672014-04-11 Torvald Riegel <triegel@redhat.com>
2868
2869 [BZ #15215]
2870 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2871 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2872 memory barriers. Add comments.
2873 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2874 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2875 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2876 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2877 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2878 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2879
579db35a
SL
28802014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2881
2882 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2883 * sysdeps/s390/s390-64/configure.ac: ... this ...
2884 * sysdeps/s390/configure.ac: ... to here.
2885 * sysdeps/s390/s390-32/configure: Delete file.
2886 * sysdeps/s390/s390-64/configure: Delete file.
2887 * sysdeps/s390/configure: Regenerate.
2888
c12e9f37
JAPH
28892014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2890
2891 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2892
439bda32
WN
28932014-04-11 Will Newton <will.newton@linaro.org>
2894
2895 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2896 to zero if it is not defined elsewhere. (mtrim): Test
2897 the value of MALLOC_DEBUG with #if rather than #ifdef.
2898
6a5d6ea1
TR
28992014-04-10 Torvald Riegel <triegel@redhat.com>
2900
2901 * benchtests/pthread_once-inputs: New file.
2902 * benchtests/pthread_once-source.c: New file.
2903 * benchtests/README: Update documentation.
2904
a4c75cfd
IZ
29052014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2906 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2909 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2910 * sysdeps/x86_64/configure: Regenerated.
2911 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2912 macro.
2913 (REGISTER_SAVE_RAX): Likewise.
2914 (REGISTER_SAVE_RCX): Likewise.
2915 (REGISTER_SAVE_RDX): Likewise.
2916 (REGISTER_SAVE_RSI): Likewise.
2917 (REGISTER_SAVE_RDI): Likewise.
2918 (REGISTER_SAVE_R8): Likewise.
2919 (REGISTER_SAVE_R9): Likewise.
2920 (REGISTER_SAVE_BND0): Likewise.
2921 (REGISTER_SAVE_BND1): Likewise.
2922 (REGISTER_SAVE_BND2): Likewise.
2923 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2924 bound registers when calling _dl_fixup.
2925
27822ce6
AZ
29262014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927
2928 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2929 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2930 of its definition.
27822ce6
AZ
2931 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2932 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2933 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2934 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2935 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2936 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2937 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2938
a88ddc90
PTB
29392014-04-09 Peter Brett <peter@peter-b.co.uk>
2940
2941 [BZ #15514]
2942 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2943 pathconf(_PC_NAME_MAX).
2944
01f8eac2
AZ
29452014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2946
2947 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2948 Remove macro usage.
2949 (__PTHREAD_SPINS): Move definition to ...
2950 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2951 (__PTHREAD_SPINS): ... here.
2952 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2953 (__PTHREAD_SPIN): Likewise.
2954 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2955 (__PTHREAD_SPIN): Likewise.
2956 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2957 (__PTHREAD_SPIN): Likewise.
2958 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2959 (__PTHREAD_SPIN): Likewise.
2960 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2961 (__PTHREAD_SPIN): Likewise.
2962 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2963 (__PTHREAD_SPIN): Likewise.
2964 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2965 (__PTHREAD_SPIN): Likewise.
2966 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2967 (__PTHREAD_SPIN): Likewise.
2968 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2969 (__PTHREAD_SPIN): Likewise.
2970 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2971 (__PTHREAD_SPIN): Likewise.
2972 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2973 (__PTHREAD_SPIN): Likewise.
2974 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2975 (__PTHREAD_SPIN): Likewise.
2976
de21c33c
AZ
2977 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2978 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2979 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2980 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2981 imply folder.
2982 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2983 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2984 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2985 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2986 correct imply path.
2987 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2988 strlen symbol for non multi-arch builds.
2989 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2990 missing hidden_def and weak_alias.
2991
862c472e
CD
29922014-04-08 Carlos O'Donell <carlos@redhat.com>
2993
2994 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2995
8667f90e
WN
29962014-04-07 Will Newton <will.newton@linaro.org>
2997
2998 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2999 and contents. [!_LIBC] Remove #ifndef and contents.
3000 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3001 * string/memccpy.c (__memccpy): Use ANSI prototype.
3002 * string/memfrob.c (memfrob): Likewise.
3003 * string/strcoll.c (STRCOLL): Likewise.
3004 * string/strlen.c (strlen): Likewise.
3005 * string/strtok.c (STRTOK): Likewise.
3006 * string/strcat.c: Remove unused #include of memcopy.h.
3007 (strcat): Use ANSI prototype.
3008 * string/strchr.c: Remove unused #include of memcopy.h.
3009 (strchr): Use ANSI prototype.
3010 * string/strcmp.c: Remove unused #include of memcopy.h.
3011 (strcmp): Use ANSI prototype.
3012 * string/strcpy.c: Remove unused #include of memcopy.h.
3013 (strcpy): Use ANSI prototype.
3014
7ffa9423
AZ
30152014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3016
3017 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3018 * config.make.in (config-extra-cppflags): Set it from
3019 libc_extra_cppflags.
3020 * configure.ac (libc_extra_cflags): Make it accumulate over
3021 configure fragments.
3022 (libc_extra_cppflags): New flag.
3023 * configure. Regenerate.
3024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3025 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3026 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3028
8bd70862
AZ
3029 [BZ #16815]
3030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3031 result for FE_DOWNWARD rounding mode.
3032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3033 Likewise.
3034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3035
d42f3448
CM
30362014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3037
3038 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3039 in function argument name.
3040
1c21d115
DS
30412014-04-03 David Svoboda <svoboda@cert.org>
3042
3043 [BZ #5666]
3044 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3045 explicitly.
3046
fcccd512
RM
30472014-04-03 Roland McGrath <roland@hack.frob.com>
3048
3049 * elf/dl-unmap-segments.h: New file.
3050 * sysdeps/generic/ldsodefs.h
3051 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3052 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3053 * elf/dl-fptr.c: Likewise.
3054 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3055 * sysdeps/aarch64/tlsdesc.c: Likewise.
3056 * sysdeps/arm/tlsdesc.c: Likewise.
3057 * sysdeps/i386/tlsdesc.c: Likewise.
3058 * sysdeps/tile/dl-runtime.c: Likewise.
3059 * sysdeps/x86_64/tlsdesc.c: Likewise.
3060 * elf/dl-load.h: New file.
3061 * elf/dl-load.c: Include it.
3062 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3063 Macros moved to dl-load.h.
3064 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3065 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3066 Use _dl_unmap_segments in place of __munmap.
3067 Break out segment-mapping loop into ...
3068 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3069
f6488e2b
WN
30702014-04-03 Will Newton <will.newton@linaro.org>
3071
3072 * elf/dl-lookup.c (do_lookup_x): Remove comment
3073 referring to nested function and move variable
3074 declarations down to before first use.
3075
6f05bafe
JM
30762014-04-02 Joseph Myers <joseph@codesourcery.com>
3077
a84e78c8
JM
3078 [BZ #16799]
3079 [BZ #16800]
3080 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3081 with 0 numerator.
3082 * math/s_catanf.c (__catanf): Likewise.
3083 * math/s_catanh.c (__catanh): Likewise.
3084 * math/s_catanhf.c (__catanhf): Likewise.
3085 * math/s_catanhl.c (__catanhl): Likewise.
3086 * math/s_catanl.c (__catanl): Likewise.
3087 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3088 by positive zero when computing -Inf result.
3089 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3090 (catanh_test): Likewise.
3091 * sysdeps/i386/fpu/libm-test-ulps: Update.
3092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3093
6f05bafe
JM
3094 [BZ #16789]
3095 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3096 instead of using underflowing value in computing result.
3097 * math/s_clog10.c (__clog10): Likewise.
3098 * math/s_clog10f.c (__clog10f): Likewise.
3099 * math/s_clog10l.c (__clog10l): Likewise.
3100 * math/s_clogf.c (__clogf): Likewise.
3101 * math/s_clogl.c (__clogl): Likewise.
3102 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3103 (clog10_test): Likewise.
3104 * sysdeps/i386/fpu/libm-test-ulps: Update.
3105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3106
b0abbc21
AM
31072014-04-02 Alan Modra <amodra@gmail.com>
3108
3109 [BZ #16739]
3110 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3111 output when value is near a power of two. Use int64_t for lx and
3112 remove casts. Use decimal rather than hex exponent constants.
3113 Don't use long double multiplication when double will suffice.
3114 * math/libm-test.inc (nextafter_test_data): Add tests.
3115 * NEWS: Add 16739 and 16786 to bug list.
3116
af6b1797
AM
3117 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3118
483818d7
AM
3119 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3120
f6c55796
WN
31212014-04-01 Will Newton <will.newton@linaro.org>
3122
3123 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3124 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3125
13f7fe35
FW
31262014-04-01 Florian Weimer <fweimer@redhat.com>
3127
3128 [BZ #13347]
3129 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3130 * nptl/tst-setuid2.c: New file.
3131 * nptl/Makefile (xtests): Add tst-setuid2.
3132
c859b32e
AM
31332014-04-01 Alan Modra <amodra@gmail.com>
3134
3135 [BZ #16786]
3136 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3137
54fa2475
JM
31382014-03-31 Joseph Myers <joseph@codesourcery.com>
3139
8795b4a4
JM
3140 [BZ #6803]
3141 [BZ #6804]
3142 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3143 set errno as appropriate.
3144 * math/w_scalbf.c (__scalbf): Likewise.
3145 * math/w_scalbl.c (__scalbl): Likewise.
3146 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3147 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3148 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3149 Add more NaN tests.
3150
54fa2475
JM
3151 [BZ #16349]
3152 * math/w_atan2.c: Include <errno.h>.
3153 (__atan2): Set errno for result underflowing to zero.
3154 * math/w_atan2f.c: Include <errno.h>.
3155 (__atan2f): Set errno for result underflowing to zero.
3156 * math/w_atan2l.c: Include <errno.h>.
3157 (__atan2l): Set errno for result underflowing to zero.
3158 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3159 tests.
3160 * math/auto-libm-test-out: Regenerated.
3161
757d9dd5
AZ
31622014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3163
3164 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3165 Encode instruction correctly in little endian.
3166 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3167 Likewise.
3168 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3169 Likewise.
3170 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3171 Likewise.
3172 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3173 Likewise.
3174
d7a68734
JM
31752014-03-31 Joseph Myers <joseph@codesourcery.com>
3176
47c5adeb
JM
3177 [BZ #9894]
3178 * sysdeps/unix/sysv/linux/kernel-features.h
3179 [__sparc__ && !__arch64__ && !__sparc_v9__]
3180 (__ASSUME_SET_ROBUST_LIST): Do not define.
3181 [__sparc__ && !__arch64__ && !__sparc_v9__]
3182 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3183 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3184 Likewise.
3185 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3186 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3187 (__ASSUME_REQUEUE_PI): Likewise.
3188 (__ASSUME_SET_ROBUST_LIST): Likewise.
3189 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3190 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3191 Undefine.
3192 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3193 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3194 Likewise.
3195 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3196 Likewise.
3197 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3198 Likewise.
3199 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3200 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3201 Undefine.
3202 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3203 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3204 Likewise.
3205
d7a68734
JM
3206 [BZ #16648]
3207 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3208 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3209 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3210
c760f5c2
WN
32112014-03-31 Will Newton <will.newton@linaro.org>
3212
3213 * benchtests/Makefile (bench): Add ffs and ffsll to list
3214 of tests.
3215 * benchtests/ffs-inputs: New file.
3216 * benchtests/ffsll-inputs: Likewise.
3217
ea6029b1
JM
32182014-03-29 Joseph Myers <joseph@codesourcery.com>
3219
3220 [BZ #16770]
3221 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3222 too large before casting to int.
3223 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3224 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3225 * math/libm-test.inc (scalb_test_data): Add more tests.
3226
cf806aff
SP
32272014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3228
56737508
SP
3229 * benchtests/Makefile (DETAILED_OPT): New make option.
3230 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3231 set.
3232 * benchtests/bench-skeleton.c: Include stdbool.h.
3233 (main): Store and print timings per input.
3234 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3235 member to each argument value.
3236 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3237 (_print_arg_data): Initialize per-input timing to 0.
3238
cb5e4aad
SP
3239 * benchtests/Makefile (timing-type): New binary.
3240 (bench-clean): Also remove bench-timing-type.
3241 (bench): New target for timing-type.
3242 (bench-func): Print output in JSON format.
3243 * benchtests/bench-skeleton.c (main): Print output in JSON
3244 format.
3245 * benchtests/bench-timing-type.c: New file.
3246 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3247 (TIMING_PRINT_STATS): Remove.
3248 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3249 name separately.
3250
cf806aff
SP
3251 * benchtests/bench-modf.c: Remove.
3252 * benchtests/modf-inputs: New inputs file.
3253
289e0779
JM
32542014-03-28 Joseph Myers <joseph@codesourcery.com>
3255
3256 [BZ #16362]
3257 * math/s_clog10.c (M_PI_LOG10E): New macro.
3258 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3259 imaginary parts are 0.
3260 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3261 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3262 imaginary parts are 0.
3263 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3264 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3265 imaginary parts are 0.
3266 * math/libm-test.inc (clog10_test_data): Update expected results
3267 for when real and imaginary parts are 0.
3268
277ae3f1
PP
32692014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3270
3271 * elf/dl-load.c: Finish conversion of __builtin_expect into
3272 __glibc_{un}likely.
3273
03a7091f
JM
32742014-03-27 Joseph Myers <joseph@codesourcery.com>
3275
3276 [BZ #16348]
3277 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3278 1+x for argument with exponent below -67.
3279 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3280 Likewise.
3281 * math/auto-libm-test-in: Add more tests of exp.
3282 * math/auto-libm-test-out: Regenerated.
3283
ea7d8b95
SP
32842014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3285
dd3022d7
SP
3286 [BZ #16759]
3287 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3288 (nscd_getnetgrent): Use it.
3289
ea7d8b95
SP
3290 [BZ #16760]
3291 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3292 of stpcpy.
3293
df5b85da
AK
32942014-03-27 Andi Kleen <ak@linux.intel.com>
3295
57f41c40
AS
3296 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3297 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3298 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3299 (lll_robust_unlock): Remove out of line section. Use cfi
3300 intrinsics.
df5b85da 3301 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3302 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3303 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3304 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3305 (lll_robust_unlock): Remove out of line section. Use cfi
3306 intrinsics.
df5b85da
AK
3307 (LLL_STUB_UNWIND_INFO*): Remove.
3308
fbd6b5a4
SP
33092014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3310
3311 [BZ #16758]
3312 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3313 blank values.
3314
1b26b855
PP
33152014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3316
3317 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3318
9be36fb8
JM
33192014-03-26 Joseph Myers <joseph@codesourcery.com>
3320
3321 [BZ #16198]
3322 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3323 fnstenv.
3324 * math/test-fenv-preserve.c: New file.
3325 * math/Makefile (tests): Add test-fenv-preserve.
3326
60a2f3c1
WN
33272014-03-26 Will Newton <will.newton@linaro.org>
3328
3329 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3330
a5e5f1e2
RM
33312014-03-25 Roland McGrath <roland@hack.frob.com>
3332
3333 * scripts/versionlist.awk: Partition the version sets and emit all
3334 GLIBC_* (sorted) before all others (sorted).
3335
00f4012a
JM
33362014-03-25 Joseph Myers <joseph@codesourcery.com>
3337
3338 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3339 GLIBC_2.2.5 version.
3340
7bc5a741
AZ
33412014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3342
3343 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3344 calls.
3345
7578473b
AZ
3346 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3347 previous change.
3348
f3f1dab3
AZ
3349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3350
6da36183
AS
33512014-03-25 Andreas Schwab <schwab@suse.de>
3352
3353 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3354 label to be used after in6ailist is initialized.
3355
f3f1dab3 33562014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3357
7578473b 3358 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3359 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3360
046651c1
JM
33612014-03-25 Joseph Myers <joseph@codesourcery.com>
3362
3363 [BZ #16357]
3364 [BZ #16599]
3365 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3366 min_plus_half.
3367 (fp_formats): Update initializers.
3368 (init_fp_formats): Initialize new field.
3369 (output_for_one_input_case): Allow underflow for results up to
3370 min_plus_half.
3371 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3372 * math/auto-libm-test-in: Don't mark some underflows from asin and
3373 atanh as spurious.
3374 * math/auto-libm-test-out: Regenerated.
3375 * sysdeps/i386/fpu/libm-test-ulps: Update.
3376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3377
003e49ed
AS
33782014-03-25 Andreas Schwab <schwab@suse.de>
3379
3380 * libio/Makefile (tst-ftell-partial-wide-ENV)
3381 (tst-ftell-active-handler-ENV): Define.
3382
de031874
SL
33832014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3384
3385 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3386
55a81e3b
PP
33872014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3388
3389 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3390
f3426898
JM
33912014-03-24 Joseph Myers <joseph@codesourcery.com>
3392
3393 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3394 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3395 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3396
a42faf59
PP
33972014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3398
3399 [BZ #16634]
a42faf59 3400 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3401 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3402 (open_path): Change from boolean 'secure' to complete flag 'mode'
3403 (_dl_map_object): Adjust.
a42faf59
PP
3404 * elf/Makefile (tests): Add tst-dlopen-aout.
3405 * elf/tst-dlopen-aout.c: New test.
3406
50936127
SL
34072014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3408
3409 [BZ #16714]
3410 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3411 (struct stat): Rename member pad0 to __glibc_reserved0.
3412
26011b5c
SL
3413 [BZ #16712]
3414 * sysdeps/s390/s390-32/bits/wordsize.h
3415 (__WORDSIZE32_SIZE_ULONG): New define.
3416 * sysdeps/s390/s390-64/bits/wordsize.h
3417 (__WORDSIZE32_SIZE_ULONG): Likewise.
3418 * sysdeps/generic/stdint.h (SIZE_MAX):
3419 Define as UL if __WORDSIZE32_SIZE_ULONG.
3420
a2d86bf1
SL
3421 [BZ #16713]
3422 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3423 (__glibc_reserved0): New variable.
3424 (sa_flags): Change type to int.
3425
78b6eebc
SL
3426 * posix/Makefile (before-compile): Use += before-compile instead
3427 of a :=.
3428
f1399b5a
SL
3429 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3430 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3431
a071766e
AS
34322014-03-20 Andreas Schwab <schwab@suse.de>
3433
3434 [BZ #16743]
3435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3436 non-matching result from nscd.
3437
27c673b8
SP
34382014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3439
3440 * scripts/bench.py: Moved to ...
3441 * benchtests/scripts/bench.py: ... here.
3442 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3443
44152e4b
AS
34442014-03-24 Andreas Schwab <schwab@suse.de>
3445
3446 [BZ #16002]
3447 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3448 alloca_account and account alloca use for struct in6ailist.
3449
b376a11a
JM
34502014-03-24 Joseph Myers <joseph@codesourcery.com>
3451
3452 [BZ #16284]
3453 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3454 rounding mode to recompute results that overflow to infinity or
3455 underflow to zero.
3456 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3457 bug 16284.
3458 * math/auto-libm-test-out: Regenerated.
3459 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3460 (ccosh_test): Likewise.
3461 (csin_test_data): Use plus_oflow.
3462 (csin_test): Use ALL_RM_TEST.
3463 (csinh_test_data): Use plus_oflow.
3464 (csinh_test): Use ALL_RM_TEST.
3465 * sysdeps/i386/fpu/libm-test-ulps: Update.
3466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3467
f7be7376
JM
34682014-03-21 Joseph Myers <joseph@codesourcery.com>
3469
1ca2d03e
JM
3470 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3471 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3472 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3473
f7be7376
JM
3474 [BZ #16731]
3475 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3476 when x - 1 is zero.
3477 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3478 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3479 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3480 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3481 argument is 1.
3482 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3483 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3484 zero.
3485 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3486 * sysdeps/i386/fpu/libm-test-ulps: Update.
3487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3488
fdf4534d
SP
34892014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3490
df26ea53
SP
3491 * scripts/bench.pl: Remove file.
3492 * scripts/bench.py: New benchmark script.
3493 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3494 * benchtests/README: Mention python dependency.
3495 * scripts/pylintrc: New file.
3496 * scripts/pylint: New file.
3497
fdf4534d
SP
3498 * bits/mathdef.h: Use #ifdef instead of #if.
3499 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3500 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3501 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3502 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3503 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3504 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3505
6f23d093
AZ
35062014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3507 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3508
3509 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3511 and strpbrk-ppc64 objects.
3512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3513 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3514 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3515 multiarch strpbrk for POWER7.
3516 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3517 multiarch strpbrk for PPC64.
3518 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3519 ifunc selector.
3520 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3521 strpbrk for POWER7.
3522
8c92dfff
JM
35232014-03-20 Joseph Myers <joseph@codesourcery.com>
3524
3525 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3526 (atan_test): Likewise.
3527 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3528 (atanh_test): Use ALL_RM_TEST.
3529 (atan2_test_data): Likewise.
3530 (cabs_test): Likewise.
3531 (cacosh_test): Likewise.
3532 (carg_test): Likewise.
3533 (casin_test): Likewise.
3534 (casinh_test): Likewise.
3535 (cbrt_test): Likewise.
3536 (csqrt_test): Likewise.
3537 (erf_test): Likewise.
3538 (erfc_test): Likewise.
3539 (pow10_test): Likewise.
3540 (exp2_test): Likewise.
3541 (hypot_test): Likewise.
3542 (j0_test): Likewise.
3543 (j1_test): Likewise.
3544 (lgamma_test): Likewise.
3545 (gamma_test): Likewise.
3546 (sincos_test): Likewise.
3547 (tanh_test): Likewise.
3548 (y0_test): Likewise.
3549 (y1_test): Likewise.
3550 * sysdeps/i386/fpu/libm-test-ulps: Update.
3551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3552
6eaf95cb
AZ
35532014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3554
a387428c
SP
3555 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3557 and strcspn-ppc64 objects.
3558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3559 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3560 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3561 multiarch strcspn for POWER7.
3562 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3563 multiarch strcspn for PPC64.
3564 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3565 ifunc selector.
3566 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3567 strcspn for POWER7.
3568
ae3a5dff
JM
35692014-03-20 Joseph Myers <joseph@codesourcery.com>
3570
3571 * math/gen-libm-test.pl (generate_testfile): Expect only function
3572 name as argument to AUTO_TESTS_* and pass results for all rounding
3573 modes to parse_args.
3574 (parse_auto_input): Separate inputs of automatic tests from
3575 outputs before storing in %auto_tests.
3576 * math/libm-test.inc (acos_test_data): Update call to
3577 AUTO_TESTS_f_f.
3578 (acos_test): Use ALL_RM_TEST.
3579 (acos_tonearest_test_data): Remove.
3580 (acos_test_tonearest): Likewise.
3581 (acos_towardzero_test_data): Likewise.
3582 (acos_test_towardzero): Likewise.
3583 (acos_downward_test_data): Likewise.
3584 (acos_test_downward): Likewise.
3585 (acos_upward_test_data): Likewise.
3586 (acos_test_upward): Likewise.
3587 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3588 (asin_test_data): Likewise.
3589 (asin_test): Use ALL_RM_TEST.
3590 (asin_tonearest_test_data): Remove.
3591 (asin_test_tonearest): Likewise.
3592 (asin_towardzero_test_data): Likewise.
3593 (asin_test_towardzero): Likewise.
3594 (asin_downward_test_data): Likewise.
3595 (asin_test_downward): Likewise.
3596 (asin_upward_test_data): Likewise.
3597 (asin_test_upward): Likewise.
3598 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3599 (atan_test_data): Likewise.
3600 (atanh_test_data): Likewise.
3601 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3602 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3603 (carg_test_data): Likewise.
3604 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3605 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3606 (ccosh_test_data): Likewise.
3607 (cexp_test_data): Likewise.
3608 (clog_test_data): Likewise.
3609 (clog10_test_data): Likewise.
3610 (cos_test_data): Update call to AUTO_TESTS_f_f.
3611 (cos_test): Use ALL_RM_TEST.
3612 (cos_tonearest_test_data): Remove.
3613 (cos_test_tonearest): Likewise.
3614 (cos_towardzero_test_data): Likewise.
3615 (cos_test_towardzero): Likewise.
3616 (cos_downward_test_data): Likewise.
3617 (cos_test_downward): Likewise.
3618 (cos_upward_test_data): Likewise.
3619 (cos_test_upward): Likewise.
3620 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3621 (cosh_test): Use ALL_RM_TEST.
3622 (cosh_tonearest_test_data): Remove.
3623 (cosh_test_tonearest): Likewise.
3624 (cosh_towardzero_test_data): Likewise.
3625 (cosh_test_towardzero): Likewise.
3626 (cosh_downward_test_data): Likewise.
3627 (cosh_test_downward): Likewise.
3628 (cosh_upward_test_data): Likewise.
3629 (cosh_test_upward): Likewise.
3630 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3631 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3632 (ctan_test_data): Likewise.
3633 (ctan_test): Use ALL_RM_TEST.
3634 (ctan_tonearest_test_data): Remove.
3635 (ctan_test_tonearest): Likewise.
3636 (ctan_towardzero_test_data): Likewise.
3637 (ctan_test_towardzero): Likewise.
3638 (ctan_downward_test_data): Likewise.
3639 (ctan_test_downward): Likewise.
3640 (ctan_upward_test_data): Likewise.
3641 (ctan_test_upward): Likewise.
3642 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3643 (ctanh_test): Use ALL_RM_TEST.
3644 (ctanh_tonearest_test_data): Remove.
3645 (ctanh_test_tonearest): Likewise.
3646 (ctanh_towardzero_test_data): Likewise.
3647 (ctanh_test_towardzero): Likewise.
3648 (ctanh_downward_test_data): Likewise.
3649 (ctanh_test_downward): Likewise.
3650 (ctanh_upward_test_data): Likewise.
3651 (ctanh_test_upward): Likewise.
3652 (erf_test_data): Update call to AUTO_TESTS_f_f.
3653 (erfc_test_data): Likewise.
3654 (exp_test_data): Likewise.
3655 (exp_test): Use ALL_RM_TEST.
3656 (exp_tonearest_test_data): Remove.
3657 (exp_test_tonearest): Likewise.
3658 (exp_towardzero_test_data): Likewise.
3659 (exp_test_towardzero): Likewise.
3660 (exp_downward_test_data): Likewise.
3661 (exp_test_downward): Likewise.
3662 (exp_upward_test_data): Likewise.
3663 (exp_test_upward): Likewise.
3664 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3665 (exp10_test): Use ALL_RM_TEST.
3666 (exp10_tonearest_test_data): Remove.
3667 (exp10_test_tonearest): Likewise.
3668 (exp10_towardzero_test_data): Likewise.
3669 (exp10_test_towardzero): Likewise.
3670 (exp10_downward_test_data): Likewise.
3671 (exp10_test_downward): Likewise.
3672 (exp10_upward_test_data): Likewise.
3673 (exp10_test_upward): Likewise.
3674 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3675 (expm1_test_data): Likewise.
3676 (expm1_test): Use ALL_RM_TEST.
3677 (expm1_tonearest_test_data): Remove.
3678 (expm1_test_tonearest): Likewise.
3679 (expm1_towardzero_test_data): Likewise.
3680 (expm1_test_towardzero): Likewise.
3681 (expm1_downward_test_data): Likewise.
3682 (expm1_test_downward): Likewise.
3683 (expm1_upward_test_data): Likewise.
3684 (expm1_test_upward): Likewise.
3685 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3686 (fma_test): Use ALL_RM_TEST.
3687 (fma_towardzero_test_data): Remove.
3688 (fma_test_towardzero): Likewise.
3689 (fma_downward_test_data): Likewise.
3690 (fma_test_downward): Likewise.
3691 (fma_upward_test_data): Likewise.
3692 (fma_test_upward): Likewise.
3693 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3694 (j0_test_data): Update call to AUTO_TESTS_f_f.
3695 (j1_test_data): Likewise.
3696 (jn_test_data): Update call to AUTO_TESTS_if_f.
3697 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3698 (log_test_data): Update call to AUTO_TESTS_f_f.
3699 (log10_test_data): Likewise.
3700 (log1p_test_data): Likewise.
3701 (log2_test_data): Likewise.
3702 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3703 (pow_tonearest_test_data): Likewise.
3704 (sin_test_data): Update call to AUTO_TESTS_f_f.
3705 (sin_test): Use ALL_RM_TEST.
3706 (sin_tonearest_test_data): Remove.
3707 (sin_test_tonearest): Likewise.
3708 (sin_towardzero_test_data): Likewise.
3709 (sin_test_towardzero): Likewise.
3710 (sin_downward_test_data): Likewise.
3711 (sin_test_downward): Likewise.
3712 (sin_upward_test_data): Likewise.
3713 (sin_test_upward): Likewise.
3714 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3715 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3716 (sinh_test): Use ALL_RM_TEST.
3717 (sinh_tonearest_test_data): Remove.
3718 (sinh_test_tonearest): Likewise.
3719 (sinh_towardzero_test_data): Likewise.
3720 (sinh_test_towardzero): Likewise.
3721 (sinh_downward_test_data): Likewise.
3722 (sinh_test_downward): Likewise.
3723 (sinh_upward_test_data): Likewise.
3724 (sinh_test_upward): Likewise.
3725 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3726 (sqrt_test): Use ALL_RM_TEST.
3727 (sqrt_tonearest_test_data): Remove.
3728 (sqrt_test_tonearest): Likewise.
3729 (sqrt_towardzero_test_data): Likewise.
3730 (sqrt_test_towardzero): Likewise.
3731 (sqrt_downward_test_data): Likewise.
3732 (sqrt_test_downward): Likewise.
3733 (sqrt_upward_test_data): Likewise.
3734 (sqrt_test_upward): Likewise.
3735 (tan_test_data): Update call to AUTO_TESTS_f_f.
3736 (tan_test): Use ALL_RM_TEST.
3737 (tan_tonearest_test_data): Remove.
3738 (tan_test_tonearest): Likewise.
3739 (tan_towardzero_test_data): Likewise.
3740 (tan_test_towardzero): Likewise.
3741 (tan_downward_test_data): Likewise.
3742 (tan_test_downward): Likewise.
3743 (tan_upward_test_data): Likewise.
3744 (tan_test_upward): Likewise.
3745 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3746 (tgamma_test_data): Likewise.
3747 (y0_test_data): Likewise.
3748 (y1_test_data): Likewise.
3749 (yn_test_data): Update call to AUTO_TESTS_if_f.
3750 (main): Do not call removed functions.
3751
d71aeee8
JM
37522014-03-19 Joseph Myers <joseph@codesourcery.com>
3753
3754 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3755 (ldexp_test_data): Remove.
3756 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3757 scalbn_test_data.
3758 (scalb_test): Use ALL_RM_TEST.
3759
baaf1ded
AS
37602014-03-19 Andreas Schwab <schwab@suse.de>
3761
3762 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3763
b1115e91
JM
37642014-03-19 Joseph Myers <joseph@codesourcery.com>
3765
3766 [BZ #16649]
3767 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3768 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3769 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3770 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3771 (__ASSUME_PREADV): Undefine.
3772 (__ASSUME_PWRITEV): Likewise.
3773
0283ecca
RM
37742014-03-18 Roland McGrath <roland@hack.frob.com>
3775
7d375303
RM
3776 * bits/mman-linux.h: Add comment about non-Linux use.
3777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3778 bits/mman-linux.h resting place.
3779
0283ecca
RM
3780 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3781 * bits/mman-linux.h: ... here.
3782
aebe1003
AZ
37832014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3784
3785 * conform/conformtest.pl: Add standard definition when calling C
3786 preprocessor on data files.
3787 (checknamespace): Remove unused variable.
3788
b29b6bb8
JM
37892014-03-18 Joseph Myers <joseph@codesourcery.com>
3790
3791 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3792 minus_oflow, plus_uflow and minus_uflow in expected results.
3793 * math/libm-test.inc (scalbn_test_data): Add more tests of
3794 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3795 minus_uflow.
3796 (scalbn_test): Use ALL_RM_TEST.
3797 (scalbln_test_data): Add more tests of negative arguments. Use
3798 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3799 (scalbln_test): Use ALL_RM_TEST.
3800
c8f8fa15
RM
38012014-03-18 Roland McGrath <roland@hack.frob.com>
3802
3803 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3804
fede7a5f
WN
38052014-03-18 Will Newton <will.newton@linaro.org>
3806
3807 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3808 inaccurate comment.
3809
80cf0a58
JM
38102014-03-18 Joseph Myers <joseph@codesourcery.com>
3811
3812 * Makerules [!subdir] (check-abi): Exit with error status if a
3813 test failed.
3814
b3620862
JM
38152014-03-17 Joseph Myers <joseph@codesourcery.com>
3816
3817 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3818 for rint. Include results for all rounding modes.
3819 (nearbyint_test): Use ALL_RM_TEST.
3820 (rint_test_data): Include all tests used for nearbyint.
3821
788bba36
WN
38222014-03-17 Will Newton <will.newton@linaro.org>
3823
04ec140a
WN
3824 * nptl/sysdeps/pthread/pthread.h: Revert previous
3825 change.
3826
7579d8d5
WN
3827 * sysdeps/generic/ldsodefs.h: Revert previous
3828 change.
3829
c15cf13a
WN
3830 * libio/genops.c: Revert previous change.
3831 * libio/libioP.h: Likewise.
3832 * stdio-common/vfprintf.c: Likewise.
3833
d0ac1324
WN
3834 * sysdeps/generic/math_private.h: Revert previous
3835 change.
3836
9290130a
WN
3837 * sysdeps/generic/math_private.h: Check whether
3838 HAVE_RM_CTX is defined with #ifdef rather
3839 than #if.
3840
afb466fc
WN
3841 * argp/argp-fmtstream.h: Check whether
3842 __STRICT_ANSI__ is defined with #ifdef rather
3843 than #if.
3844 * argp/argp.h: Likewise.
3845
f7efd7c3
WN
3846 * libio/genops.c: Check whether
3847 _IO_JUMPS_OFFSET is defined with #ifdef rather
3848 than #if.
3849 * libio/libioP.h: Likewise.
3850 * stdio-common/vfprintf.c: Likewise.
3851
53f1bed3
WN
3852 * sysdeps/generic/ldsodefs.h: Check whether
3853 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3854 than #if.
3855
788bba36
WN
3856 * nptl/sysdeps/pthread/pthread.h: Check
3857 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3858 its value.
3859
fcd89ebe
SP
38602014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3861
ae42bbc5
SP
3862 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3863 setting O_APPEND.
3864 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3865 test case.
3866
ea33158c
SP
3867 [BZ #16680]
3868 * libio/fileops.c (_IO_file_open): Seek to end of file but
3869 don't cache the offset.
3870 (get_file_offset): Remove function.
3871 (do_ftell): Use cached offset when available.
3872 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3873 don't cache the offset.
3874 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3875 case.
3876 (do_one_test): Call it.
3877 (do_ftell_test): Fix up expected old offset for a+ mode.
3878 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3879 available.
3880
b1dbb426
SP
3881 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3882 up test status with function return status.
3883 (do_write_test): Likewise.
3884 (do_append_test): Likewise.
3885
fcd89ebe
SP
3886 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3887 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3888 Remove.
3889
9962a2d3
JM
38902014-03-17 Joseph Myers <joseph@codesourcery.com>
3891
3892 * math/gen-libm-test.pl (parse_args): Handle results specified for
3893 each rounding mode separately.
3894 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3895 tests and results from lrint_tonearest_test_data,
3896 lrint_towardzero_test_data, lrint_downward_test_data and
3897 lrint_upward_test_data.
3898 (lrint_test): Use ALL_RM_TEST.
3899 (lrint_tonearest_test_data): Remove.
3900 (lrint_test_tonearest): Likewise.
3901 (lrint_towardzero_test_data): Likewise.
3902 (lrint_test_towardzero): Likewise.
3903 (lrint_downward_test_data): Likewise.
3904 (lrint_test_downward): Likewise.
3905 (lrint_upward_test_data): Likewise.
3906 (lrint_test_upward): Likewise.
3907 (llrint_test_data): Merge in per-rounding-mode tests and results
3908 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3909 llrint_downward_test_data and llrint_upward_test_data.
3910 (llrint_test): Use ALL_RM_TEST.
3911 (llrint_tonearest_test_data): Remove.
3912 (llrint_test_tonearest): Likewise.
3913 (llrint_towardzero_test_data): Likewise.
3914 (llrint_test_towardzero): Likewise.
3915 (llrint_downward_test_data): Likewise.
3916 (llrint_test_downward): Likewise.
3917 (llrint_upward_test_data): Likewise.
3918 (llrint_test_upward): Likewise.
3919 (rint_test_data): Merge in per-rounding-mode tests and results
3920 from rint_tonearest_test_data, rint_towardzero_test_data,
3921 rint_downward_test_data and rint_upward_test_data. Add
3922 per-rounding-mode results for tests not in those arrays.
3923 (rint_test): Use ALL_RM_TEST.
3924 (rint_tonearest_test_data): Remove.
3925 (rint_test_tonearest): Likewise.
3926 (rint_towardzero_test_data): Likewise.
3927 (rint_test_towardzero): Likewise.
3928 (rint_downward_test_data): Likewise.
3929 (rint_test_downward): Likewise.
3930 (rint_upward_test_data): Likewise.
3931 (rint_test_upward): Likewise.
3932 (main): Don't call removed functions.
3933
5006148e
RM
39342014-03-14 Roland McGrath <roland@hack.frob.com>
3935
3936 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3937 "Compiled on ..." crapola. It is anti-useful.
3938
d6fe5e58
JM
39392014-03-14 Joseph Myers <joseph@codesourcery.com>
3940
3941 * scripts/evaluate-test.sh: Handle fourth argument to determine
3942 whether test run should stop on failure.
3943 * Makeconfig (stop-on-test-failure): New variable.
3944 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3945 $(stop-on-test-failure).
3946 * Makefile (tests): Give a summary of results from testing and
3947 exit with failure status if they include an ERROR or FAIL.
3948 (xtests): Likewise.
3949 * manual/install.texi (Configuring and compiling): Mention
3950 stop-on-test-failure=y.
3951 * INSTALL: Regenerated.
3952
498a2233
RM
39532014-03-14 Roland McGrath <roland@hack.frob.com>
3954
22dbc19d
RM
3955 * scripts/versionlist.awk: New file.
3956 * Makerules [$(build-shared) = yes]
3957 (postclean-generated): Add Versions.def, not Versions.def.v and
3958 Versions.def.v.i.
3959 ($(common-objpfx)Versions.def.v.i): Target removed.
3960 ($(common-objpfx)Versions.def): New target.
3961 ($(common-objpfx)Versions.all): Depend on that rather that
3962 $(common-objpfx)Versions.def.v.
3963 * Versions.def: File removed.
3964
498a2233
RM
3965 * Makeconfig (+gccwarn): Add -Wundef.
3966 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3967 a dl-sysdep.h breaking its contract.
3968 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3969 * include/stackinfo.h: New file.
3970 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3971 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3972 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3973 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3974 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3975 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3976 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3977 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3978 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3979 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3980 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3981 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3982 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3983 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3984 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3985
c7de5025
AZ
39862014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3987
3988 [BZ #16707]
3989 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3990 implementation.
3991 * math/libm-test.inc (round_test_data): Add more tests.
3992
98fb27a3
AZ
3993 [BZ #16706]
3994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3995 implementation.
3996 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3997
374f7f61
AZ
3998 [BZ #16701]
3999 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4000 implementation.
4001 * math/libm-test.inc (ceil_test_data): Add more tests.
4002
4655c291
AZ
4003 * math/libm-test.inc (trunc_test_data): Add more tests related to
4004 BZ#16414.
4005
d7329d4b
RM
40062014-03-14 Roland McGrath <roland@hack.frob.com>
4007
4008 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4009 with #if rather than #ifdef.
4010 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4011
aa4de9ce
L
40122014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4013
4014 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4015 first. Disable AVX-512 GCC support if assembler doesn't support
4016 it.
4017 * sysdeps/x86_64/configure: Regenerated.
4018
2e03fae7
CD
40192014-03-13 Carlos O'Donell <carlos@redhat.com>
4020
4021 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4022 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4023 (__old_pthread_attr_setstack): Likewise.
4024 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4025 [!_STACK_GROWS_DOWN]: Likewise.
4026
43ca83ec
MF
40272014-03-13 Mike Frysinger <vapier@gentoo.org>
4028
4029 * config.make.in (have-bash2): Delete.
4030 * configure.ac (libc_cv_have_bash2): Delete.
4031 * configure: Regenerate.
4032 * elf/Makefile (common-ldd-rewrite): Rename to ...
4033 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4034 (sh-ldd-rewrite): Delete.
4035 (bash-ldd-rewrite): Delete.
4036 (have-bash2): Delete checks.
57f41c40
AS
4037 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4038 ldd-rewrite.
c66e48b4
MF
4039
4040 * config.make.in (have-ksh): Delete.
4041 (KSH): Delete.
4042 * configure.ac (libc_cv_have_ksh): Delete.
4043 * configure: Regenerate.
4044
b93834ef
MF
4045 * elf/Makefile: Delete $(have-ksh) check.
4046 ($(objpfx)sotruss): Change KSH to BASH.
4047 * elf/sotruss.ksh: Rename to ...
4048 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4049 function style to match POSIX. Drop ksh vim mode setting.
4050
f3a4632a
MF
4051 * manual/time.texi (Specifying the Time Zone with TZ): Change
4052 Tuesday to Thursday.
4053
5896c8bd
MF
4054 * debug/tst-longjmp_chk2.c: Update header comment.
4055 (stackoverflow_handler): Add comment. Call assert on pass value.
4056
2d63a517
IZ
40572014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4058
4059 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4060 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4061 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4062 (La_x86_64_vector): Add zmm.
4063 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4064 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4065 ($(objpfx)tst-audit10): New target.
4066 ($(objpfx)tst-audit10.out): Likewise.
4067 (tst-audit10-ENV): New.
4068 (AVX512-CFLAGS): Likewise.
4069 (CFLAGS-tst-audit10.c): Likewise.
4070 (CFLAGS-tst-auditmod10a.c): Likewise.
4071 (CFLAGS-tst-auditmod10b.c): Likewise.
4072 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4073 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4074 * sysdeps/x86_64/configure: Regenerated.
4075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4076 AVX-512 zmm register support.
4077 (_dl_x86_64_save_sse): Likewise.
4078 (_dl_x86_64_restore_sse): Likewise.
4079 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4080 size vector registers.
4081 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4082 (ZMM_SIZE): Likewise.
4083 * sysdeps/x86_64/tst-audit10.c: New file.
4084 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4085 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4086
44c4e5d5
RM
40872014-03-13 Roland McGrath <roland@hack.frob.com>
4088
4089 * configure.ac (HAVE_EHDR_START): New check.
4090 * configure: Regenerated.
4091 * config.h.in (HAVE_EHDR_START): New #undef.
4092 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4093 assuming the lowest-addressed segment maps the start of the file.
4094
acd6e389
JM
40952014-03-13 Joseph Myers <joseph@codesourcery.com>
4096
4097 * INSTALL: Regenerated.
4098
6f918f36
WN
40992014-03-13 Will Newton <will.newton@linaro.org>
4100
4101 * manual/setjmp.texi (System V contexts): Improve
4102 clarity and grammar of documentation.
4103
798212a0
PP
41042014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4105
4106 [BZ #16381]
798212a0 4107 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4108 (tests-pie): Add tst-pie2.
798212a0
PP
4109 * elf/tst-pie2.c: New file.
4110 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4111 for ET_EXEC.
4112 * elf/rtld.c (map_doit): Load executable as lt_executable.
4113 (dl_main): Likewise.
4114
abe6d90c
JM
41152014-03-12 Joseph Myers <joseph@codesourcery.com>
4116
4117 [BZ #16642]
4118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4119 (__ASSUME_PSELECT): Undefine.
4120
dd3946c6
AZ
41212014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4122
4123 [BZ #16689]
4124 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4125 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4126 static build.
4127 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4128 selector for static builds.
4129
c44496df
SP
41302014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4131
4132 [BZ #16695]
4133 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4134 key in the buffer.
4135
27c7220a
AZ
41362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4137
57f41c40
AS
4138 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4139 IFUNC selector for static builds.
27c7220a 4140
600fa361
JM
41412014-03-11 Joseph Myers <joseph@codesourcery.com>
4142
76c96cf7
JM
4143 * sysdeps/mips/math_private.h [__mips_hard_float]
4144 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4145 libc_feresetround_mips_ctx.
4146 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4147 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4148 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4149
600fa361
JM
4150 [BZ #16677]
4151 * math/s_nextafter.c (__nextafter): Do not return value from
4152 overflowing computation.
4153 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4154 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4155 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4156 Likewise.
4157 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4158 Likewise.
4159 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4160 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4161
d7706c32
RM
41622014-03-11 Roland McGrath <roland@hack.frob.com>
4163
4164 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4165 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4166 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4167 the new mov targetting sp.
4168
4facea47
AZ
41692014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4170
4171 [BZ #16683]
4172 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4173 Define it for static builds as well.
4174 (NO_BZERO_IMPL): Likewise.
4175
e65caf1f
VR
41762014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4177
4178 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4179 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4180 multiarch strspn for PPC64.
4181 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4182 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4184 (__libc_ifunc_impl_list): Likewise.
4185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4186 multiarch optimizations
4187 * string/strspn.c (strspn): Using macro to redefine symbol name.
4188
ba9cc071
AZ
41892014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4190 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4191
4192 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4193 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4194 multiarch strncat for PPC64.
4195 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4196 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4198 (__libc_ifunc_impl_list): Likewise.
4199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4200 multiarch optimizations
4201
8b4ff974
SP
42022014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4203
4204 [BZ #16639]
4205 * nscd/nscd.service: Make service type forking.
4206
54b46a4b
AZ
42072014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4208
4209 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4210 sign in non default rounding modes.
4211 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4212
e9996ef7
JM
42132014-03-08 Joseph Myers <joseph@codesourcery.com>
4214
4215 * math/libm-test.inc (ALL_RM_TEST): New macro.
4216 (ceil_test): Use ALL_RM_TEST.
4217 (cimag_test): Likewise.
4218 (conj_test): Likewise.
4219 (copysign_test): Likewise.
4220 (cproj_test): Likewise.
4221 (creal_test): Likewise.
4222 (fabs_test): Likewise.
4223 (floor_test): Likewise.
4224 (fmax_test): Likewise.
4225 (fmin_test): Likewise.
4226 (fmod_test): Likewise.
4227 (fpclassify_test): Likewise.
4228 (frexp_test): Likewise.
4229 (ilogb_test): Likewise.
4230 (isfinite_test): Likewise.
4231 (finite_test): Likewise.
4232 (isgreater_test): Likewise.
4233 (isgreaterequal_test): Likewise.
4234 (isinf_test): Likewise.
4235 (isless_test): Likewise.
4236 (islessequal_test): Likewise.
4237 (islessgreater_test): Likewise.
4238 (isnan_test): Likewise.
4239 (isnormal_test): Likewise.
4240 (issignaling_test): Likewise.
4241 (isunordered_test): Likewise.
4242 (logb_test): Likewise.
4243 (logb_downward_test_data): Remove.
4244 (logb_test_downward): Likewise.
4245 (lround_test): Use ALL_RM_TEST.
4246 (llround_test): Likewise.
4247 (modf_test): Likewise.
4248 (nexttoward_test): Likewise.
4249 (remainder_test): Likewise.
4250 (drem_test): Likewise.
4251 (remainder_tonearest_test_data): Likewise.
4252 (remainder_test_tonearest): Likewise.
4253 (drem_test_tonearest): Likewise.
4254 (remainder_towardzero_test_data): Likewise.
4255 (remainder_test_towardzero): Likewise.
4256 (drem_test_towardzero): Likewise.
4257 (remainder_downward_test_data): Likewise.
4258 (remainder_test_downward): Likewise.
4259 (drem_test_downward): Likewise.
4260 (remainder_upward_test_data): Likewise.
4261 (remainder_test_upward): Likewise.
4262 (drem_test_upward): Likewise.
4263 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4264 (round_test): Use ALL_RM_TEST.
4265 (signbit_test): Likewise.
4266 (trunc_test): Likewise.
4267 (significand_test): Likewise.
4268 (main): Don't call removed functions.
4269
bc61d27c
JM
42702014-03-07 Joseph Myers <joseph@codesourcery.com>
4271
5c780849
JM
4272 [BZ #16674]
4273 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4274 || __USE_XOPEN2K8].
4275 (ILL_ILLOPN): Likewise.
4276 (ILL_ILLADR): Likewise.
4277 (ILL_ILLTRP): Likewise.
4278 (ILL_PRVOPC): Likewise.
4279 (ILL_PRVREG): Likewise.
4280 (ILL_COPROC): Likewise.
4281 (ILL_BADSTK): Likewise.
4282 (FPE_INTDIV): Likewise.
4283 (FPE_INTOVF): Likewise.
4284 (FPE_FLTDIV): Likewise.
4285 (FPE_FLTOVF): Likewise.
4286 (FPE_FLTUND): Likewise.
4287 (FPE_FLTRES): Likewise.
4288 (FPE_FLTINV): Likewise.
4289 (FPE_FLTSUB): Likewise.
4290 (SEGV_MAPERR): Likewise.
4291 (SEGV_ACCERR): Likewise.
4292 (BUS_ADRALN): Likewise.
4293 (BUS_ADRERR): Likewise.
4294 (BUS_OBJERR): Likewise.
4295 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4296 (TRAP_TRACE): Likewise.
4297 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4298 __USE_XOPEN2K8].
4299 (CLD_KILLED): Likewise.
4300 (CLD_DUMPED): Likewise.
4301 (CLD_TRAPPED): Likewise.
4302 (CLD_STOPPED): Likewise.
4303 (CLD_CONTINUED): Likewise.
4304 (POLL_IN): Likewise.
4305 (POLL_OUT): Likewise.
4306 (POLL_MSG): Likewise.
4307 (POLL_ERR): Likewise.
4308 (POLL_PRI): Likewise.
4309 (POLL_HUP): Likewise.
4310 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4311 Likewise.
4312 (ILL_ILLOPN): Likewise.
4313 (ILL_ILLADR): Likewise.
4314 (ILL_ILLTRP): Likewise.
4315 (ILL_PRVOPC): Likewise.
4316 (ILL_PRVREG): Likewise.
4317 (ILL_COPROC): Likewise.
4318 (ILL_BADSTK): Likewise.
4319 (FPE_INTDIV): Likewise.
4320 (FPE_INTOVF): Likewise.
4321 (FPE_FLTDIV): Likewise.
4322 (FPE_FLTOVF): Likewise.
4323 (FPE_FLTUND): Likewise.
4324 (FPE_FLTRES): Likewise.
4325 (FPE_FLTINV): Likewise.
4326 (FPE_FLTSUB): Likewise.
4327 (SEGV_MAPERR): Likewise.
4328 (SEGV_ACCERR): Likewise.
4329 (BUS_ADRALN): Likewise.
4330 (BUS_ADRERR): Likewise.
4331 (BUS_OBJERR): Likewise.
4332 (BUS_MCEERR_AR): Likewise.
4333 (BUS_MCEERR_AO): Likewise.
4334 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4335 (TRAP_TRACE): Likewise.
4336 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4337 __USE_XOPEN2K8].
4338 (CLD_KILLED): Likewise.
4339 (CLD_DUMPED): Likewise.
4340 (CLD_TRAPPED): Likewise.
4341 (CLD_STOPPED): Likewise.
4342 (CLD_CONTINUED): Likewise.
4343 (POLL_IN): Likewise.
4344 (POLL_OUT): Likewise.
4345 (POLL_MSG): Likewise.
4346 (POLL_ERR): Likewise.
4347 (POLL_PRI): Likewise.
4348 (POLL_HUP): Likewise.
4349 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4350 (ILL_ILLOPN): Likewise.
4351 (ILL_ILLADR): Likewise.
4352 (ILL_ILLTRP): Likewise.
4353 (ILL_PRVOPC): Likewise.
4354 (ILL_PRVREG): Likewise.
4355 (ILL_COPROC): Likewise.
4356 (ILL_BADSTK): Likewise.
4357 (FPE_INTDIV): Likewise.
4358 (FPE_INTOVF): Likewise.
4359 (FPE_FLTDIV): Likewise.
4360 (FPE_FLTOVF): Likewise.
4361 (FPE_FLTUND): Likewise.
4362 (FPE_FLTRES): Likewise.
4363 (FPE_FLTINV): Likewise.
4364 (FPE_FLTSUB): Likewise.
4365 (SEGV_MAPERR): Likewise.
4366 (SEGV_ACCERR): Likewise.
4367 (BUS_ADRALN): Likewise.
4368 (BUS_ADRERR): Likewise.
4369 (BUS_OBJERR): Likewise.
4370 (BUS_MCEERR_AR): Likewise.
4371 (BUS_MCEERR_AO): Likewise.
4372 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4373 (TRAP_TRACE): Likewise.
4374 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4375 __USE_XOPEN2K8].
4376 (CLD_KILLED): Likewise.
4377 (CLD_DUMPED): Likewise.
4378 (CLD_TRAPPED): Likewise.
4379 (CLD_STOPPED): Likewise.
4380 (CLD_CONTINUED): Likewise.
4381 (POLL_IN): Likewise.
4382 (POLL_OUT): Likewise.
4383 (POLL_MSG): Likewise.
4384 (POLL_ERR): Likewise.
4385 (POLL_PRI): Likewise.
4386 (POLL_HUP): Likewise.
4387 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4388 Likewise.
4389 (ILL_ILLOPN): Likewise.
4390 (ILL_ILLADR): Likewise.
4391 (ILL_ILLTRP): Likewise.
4392 (ILL_PRVOPC): Likewise.
4393 (ILL_PRVREG): Likewise.
4394 (ILL_COPROC): Likewise.
4395 (ILL_BADSTK): Likewise.
4396 (ILL_BADIADDR): Likewise.
4397 (ILL_BREAK): Likewise.
4398 (FPE_INTDIV): Likewise.
4399 (FPE_INTOVF): Likewise.
4400 (FPE_FLTDIV): Likewise.
4401 (FPE_FLTOVF): Likewise.
4402 (FPE_FLTUND): Likewise.
4403 (FPE_FLTRES): Likewise.
4404 (FPE_FLTINV): Likewise.
4405 (FPE_FLTSUB): Likewise.
4406 (FPE_DECOVF): Likewise.
4407 (FPE_DECDIV): Likewise.
4408 (FPE_DECERR): Likewise.
4409 (FPE_INVASC): Likewise.
4410 (FPE_INVDEC): Likewise.
4411 (SEGV_MAPERR): Likewise.
4412 (SEGV_ACCERR): Likewise.
4413 (SEGV_PSTKOVF): Likewise.
4414 (BUS_ADRALN): Likewise.
4415 (BUS_ADRERR): Likewise.
4416 (BUS_OBJERR): Likewise.
4417 (BUS_MCEERR_AR): Likewise.
4418 (BUS_MCEERR_AO): Likewise.
4419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4420 (TRAP_TRACE): Likewise.
4421 (TRAP_BRANCH): Likewise.
4422 (TRAP_HWBKPT): Likewise.
4423 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4424 __USE_XOPEN2K8].
4425 (CLD_KILLED): Likewise.
4426 (CLD_DUMPED): Likewise.
4427 (CLD_TRAPPED): Likewise.
4428 (CLD_STOPPED): Likewise.
4429 (CLD_CONTINUED): Likewise.
4430 (POLL_IN): Likewise.
4431 (POLL_OUT): Likewise.
4432 (POLL_MSG): Likewise.
4433 (POLL_ERR): Likewise.
4434 (POLL_PRI): Likewise.
4435 (POLL_HUP): Likewise.
4436 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4437 (ILL_ILLOPN): Likewise.
4438 (ILL_ILLADR): Likewise.
4439 (ILL_ILLTRP): Likewise.
4440 (ILL_PRVOPC): Likewise.
4441 (ILL_PRVREG): Likewise.
4442 (ILL_COPROC): Likewise.
4443 (ILL_BADSTK): Likewise.
4444 (FPE_INTDIV): Likewise.
4445 (FPE_INTOVF): Likewise.
4446 (FPE_FLTDIV): Likewise.
4447 (FPE_FLTOVF): Likewise.
4448 (FPE_FLTUND): Likewise.
4449 (FPE_FLTRES): Likewise.
4450 (FPE_FLTINV): Likewise.
4451 (FPE_FLTSUB): Likewise.
4452 (SEGV_MAPERR): Likewise.
4453 (SEGV_ACCERR): Likewise.
4454 (BUS_ADRALN): Likewise.
4455 (BUS_ADRERR): Likewise.
4456 (BUS_OBJERR): Likewise.
4457 (BUS_MCEERR_AR): Likewise.
4458 (BUS_MCEERR_AO): Likewise.
4459 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4460 (TRAP_TRACE): Likewise.
4461 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4462 __USE_XOPEN2K8].
4463 (CLD_KILLED): Likewise.
4464 (CLD_DUMPED): Likewise.
4465 (CLD_TRAPPED): Likewise.
4466 (CLD_STOPPED): Likewise.
4467 (CLD_CONTINUED): Likewise.
4468 (POLL_IN): Likewise.
4469 (POLL_OUT): Likewise.
4470 (POLL_MSG): Likewise.
4471 (POLL_ERR): Likewise.
4472 (POLL_PRI): Likewise.
4473 (POLL_HUP): Likewise.
4474 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4475 (ILL_ILLOPN): Likewise.
4476 (ILL_ILLADR): Likewise.
4477 (ILL_ILLTRP): Likewise.
4478 (ILL_PRVOPC): Likewise.
4479 (ILL_PRVREG): Likewise.
4480 (ILL_COPROC): Likewise.
4481 (ILL_BADSTK): Likewise.
4482 (FPE_INTDIV): Likewise.
4483 (FPE_INTOVF): Likewise.
4484 (FPE_FLTDIV): Likewise.
4485 (FPE_FLTOVF): Likewise.
4486 (FPE_FLTUND): Likewise.
4487 (FPE_FLTRES): Likewise.
4488 (FPE_FLTINV): Likewise.
4489 (FPE_FLTSUB): Likewise.
4490 (SEGV_MAPERR): Likewise.
4491 (SEGV_ACCERR): Likewise.
4492 (BUS_ADRALN): Likewise.
4493 (BUS_ADRERR): Likewise.
4494 (BUS_OBJERR): Likewise.
4495 (BUS_MCEERR_AR): Likewise.
4496 (BUS_MCEERR_AO): Likewise.
4497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4498 (TRAP_TRACE): Likewise.
4499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4500 __USE_XOPEN2K8].
4501 (CLD_KILLED): Likewise.
4502 (CLD_DUMPED): Likewise.
4503 (CLD_TRAPPED): Likewise.
4504 (CLD_STOPPED): Likewise.
4505 (CLD_CONTINUED): Likewise.
4506 (POLL_IN): Likewise.
4507 (POLL_OUT): Likewise.
4508 (POLL_MSG): Likewise.
4509 (POLL_ERR): Likewise.
4510 (POLL_PRI): Likewise.
4511 (POLL_HUP): Likewise.
4512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4513 (ILL_ILLOPN): Likewise.
4514 (ILL_ILLADR): Likewise.
4515 (ILL_ILLTRP): Likewise.
4516 (ILL_PRVOPC): Likewise.
4517 (ILL_PRVREG): Likewise.
4518 (ILL_COPROC): Likewise.
4519 (ILL_BADSTK): Likewise.
4520 (FPE_INTDIV): Likewise.
4521 (FPE_INTOVF): Likewise.
4522 (FPE_FLTDIV): Likewise.
4523 (FPE_FLTOVF): Likewise.
4524 (FPE_FLTUND): Likewise.
4525 (FPE_FLTRES): Likewise.
4526 (FPE_FLTINV): Likewise.
4527 (FPE_FLTSUB): Likewise.
4528 (SEGV_MAPERR): Likewise.
4529 (SEGV_ACCERR): Likewise.
4530 (BUS_ADRALN): Likewise.
4531 (BUS_ADRERR): Likewise.
4532 (BUS_OBJERR): Likewise.
4533 (BUS_MCEERR_AR): Likewise.
4534 (BUS_MCEERR_AO): Likewise.
4535 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4536 (TRAP_TRACE): Likewise.
4537 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4538 __USE_XOPEN2K8].
4539 (CLD_KILLED): Likewise.
4540 (CLD_DUMPED): Likewise.
4541 (CLD_TRAPPED): Likewise.
4542 (CLD_STOPPED): Likewise.
4543 (CLD_CONTINUED): Likewise.
4544 (POLL_IN): Likewise.
4545 (POLL_OUT): Likewise.
4546 (POLL_MSG): Likewise.
4547 (POLL_ERR): Likewise.
4548 (POLL_PRI): Likewise.
4549 (POLL_HUP): Likewise.
4550 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4551 (ILL_ILLOPN): Likewise.
4552 (ILL_ILLADR): Likewise.
4553 (ILL_ILLTRP): Likewise.
4554 (ILL_PRVOPC): Likewise.
4555 (ILL_PRVREG): Likewise.
4556 (ILL_COPROC): Likewise.
4557 (ILL_BADSTK): Likewise.
4558 (ILL_DBLFLT): Likewise.
4559 (ILL_HARDWALL): Likewise.
4560 (FPE_INTDIV): Likewise.
4561 (FPE_INTOVF): Likewise.
4562 (FPE_FLTDIV): Likewise.
4563 (FPE_FLTOVF): Likewise.
4564 (FPE_FLTUND): Likewise.
4565 (FPE_FLTRES): Likewise.
4566 (FPE_FLTINV): Likewise.
4567 (FPE_FLTSUB): Likewise.
4568 (SEGV_MAPERR): Likewise.
4569 (SEGV_ACCERR): Likewise.
4570 (BUS_ADRALN): Likewise.
4571 (BUS_ADRERR): Likewise.
4572 (BUS_OBJERR): Likewise.
4573 (BUS_MCEERR_AR): Likewise.
4574 (BUS_MCEERR_AO): Likewise.
4575 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4576 (TRAP_TRACE): Likewise.
4577 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4578 __USE_XOPEN2K8].
4579 (CLD_KILLED): Likewise.
4580 (CLD_DUMPED): Likewise.
4581 (CLD_TRAPPED): Likewise.
4582 (CLD_STOPPED): Likewise.
4583 (CLD_CONTINUED): Likewise.
4584 (POLL_IN): Likewise.
4585 (POLL_OUT): Likewise.
4586 (POLL_MSG): Likewise.
4587 (POLL_ERR): Likewise.
4588 (POLL_PRI): Likewise.
4589 (POLL_HUP): Likewise.
4590 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4591 (ILL_ILLOPN): Likewise.
4592 (ILL_ILLADR): Likewise.
4593 (ILL_ILLTRP): Likewise.
4594 (ILL_PRVOPC): Likewise.
4595 (ILL_PRVREG): Likewise.
4596 (ILL_COPROC): Likewise.
4597 (ILL_BADSTK): Likewise.
4598 (FPE_INTDIV): Likewise.
4599 (FPE_INTOVF): Likewise.
4600 (FPE_FLTDIV): Likewise.
4601 (FPE_FLTOVF): Likewise.
4602 (FPE_FLTUND): Likewise.
4603 (FPE_FLTRES): Likewise.
4604 (FPE_FLTINV): Likewise.
4605 (FPE_FLTSUB): Likewise.
4606 (SEGV_MAPERR): Likewise.
4607 (SEGV_ACCERR): Likewise.
4608 (BUS_ADRALN): Likewise.
4609 (BUS_ADRERR): Likewise.
4610 (BUS_OBJERR): Likewise.
4611 (BUS_MCEERR_AR): Likewise.
4612 (BUS_MCEERR_AO): Likewise.
4613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4614 (TRAP_TRACE): Likewise.
4615 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4616 __USE_XOPEN2K8].
4617 (CLD_KILLED): Likewise.
4618 (CLD_DUMPED): Likewise.
4619 (CLD_TRAPPED): Likewise.
4620 (CLD_STOPPED): Likewise.
4621 (CLD_CONTINUED): Likewise.
4622 (POLL_IN): Likewise.
4623 (POLL_OUT): Likewise.
4624 (POLL_MSG): Likewise.
4625 (POLL_ERR): Likewise.
4626 (POLL_PRI): Likewise.
4627 (POLL_HUP): Likewise.
4628 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4629 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4630
bc61d27c
JM
4631 [BZ #16670]
4632 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4633 before #include of <time.h>.
4634 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4635 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4636 (test-xfail-UNIX98/sched.h/conform): Likewise.
4637
302949e2
MS
46382014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4639
4640 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4641 error absence of trapping exception support.
4642 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4643
a00f522a
JM
46442014-03-07 Joseph Myers <joseph@codesourcery.com>
4645
6f99f280
JM
4646 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4647 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4648 * timezone/Makefile (testdata): Move definition above include of
4649 Rules.
4650 (test-zones): New variable.
4651 (tests-special): Add zone files.
4652 (build-testdata): Use $(evaluate-test).
4653
0b20a9e8
JM
4654 * elf/Makefile (tests-special): Rename tests to end with .out.
4655 ($(objpfx)noload-mem): Likewise.
4656 ($(objpfx)tst-leaks1-mem): Likewise.
4657 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4658 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4659 $(objpfx)test-iconvconfig.out.
4660 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4661 set -e inside subshell and redirect output to file.
4662 * iconvdata/Makefile (generated): Rename tests to end with .out.
4663 Correct type.
4664 (tests-special): Rename tests to end with .out.
4665 ($(objpfx)mtrace-tst-loading): Likewise.
4666 * intl/Makefile (generated): Likewise.
4667 (tests-special): Likewise.
4668 ($(objpfx)mtrace-tst-gettext): Likewise.
4669 * misc/Makefile (generated): Likewise.
4670 (tests-special): Likewise.
4671 ($(objpfx)tst-error1-mem): Likewise.
4672 * nptl/Makefile (tests-special): Likewise.
4673 ($(objpfx)tst-stack3-mem): Likewise.
4674 (generated): Likewise.
4675 * posix/Makefile (generated): Likewise.
4676 (tests-special): Likewise.
4677 (xtests-special): Likewise.
4678 ($(objpfx)tst-fnmatch-mem): Likewise.
4679 ($(objpfx)bug-regex2-mem): Likewise.
4680 ($(objpfx)bug-regex14-mem): Likewise.
4681 ($(objpfx)bug-regex21-mem): Likewise.
4682 ($(objpfx)bug-regex31-mem): Likewise.
4683 ($(objpfx)tst-vfork3-mem): Likewise.
4684 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4685 ($(objpfx)tst-pcre-mem): Likewise.
4686 ($(objpfx)tst-boost-mem): Likewise.
4687 ($(objpfx)bug-ga2-mem): Likewise.
4688 ($(objpfx)bug-glob2-mem): Likewise.
4689 * resolv/Makefile (generate): Likewise.
4690 (tests-special): Likewise.
4691 (xtests-special): Likewise.
4692 (generated): Likewise.
4693 ($(objpfx)mtrace-tst-leaks): Likewise.
4694 ($(objpfx)mtrace-tst-leaks2): Likewise.
4695
265d52ab
JM
4696 * scripts/merge-test-results.sh: New file.
4697 * Makefile (tests-special-notdir): New variable.
4698 (tests): Run merge-test-results.sh.
4699 (xtests): Likewise.
4700 * Rules (tests-special-notdir): New variable.
4701 (xtests-special-notdir): Likewise.
4702 (tests): Run merge-test-results.sh
4703 (xtests): Likewise.
4704
54ee292d
JM
4705 * Makeconfig (test-xfail-name): New variable.
4706 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4707 compute variable name for expected failures.
4708 * conform/Makefile (conformtest-headers-data): New variable.
4709 (conformtest-standards): Likewise.
4710 (conformtest-headers-ISO): Likewise.
4711 (conformtest-headers-ISO99): Likewise.
4712 (conformtest-headers-ISO11): Likewise.
4713 (conformtest-headers-POSIX): Likewise.
4714 (conformtest-headers-XPG3): Likewise.
4715 (conformtest-headers-XPG4): Likewise.
4716 (conformtest-headers-UNIX98): Likewise.
4717 (conformtest-headers-XOPEN2K): Likewise.
4718 (conformtest-headers-POSIX2008): Likewise.
4719 (conformtest-headers-XOPEN2K8): Likewise.
4720 (conformtest-header-list-base): Likewise.
4721 (conformtest-header-list-tests): Likewise.
4722 (conformtest-header-base): Likewise.
4723 (conformtest-header-tests): Likewise.
4724 (tests-special): Add $(conformtest-header-list-tests). If
4725 [$(fast-check) && !$(cross-compiling)], add
4726 $(conformtest-header-tests) instead of
4727 $(objpfx)run-conformtest.out.
4728 (generated): Add $(conformtest-header-list-base). If
4729 [$(fast-check) && !$(cross-compiling)], add
4730 $(conformtest-header-base). Remove previous setting.
4731 ($(conformtest-header-list-tests)): New target.
4732 (test-xfail-run-conformtest): Remove variable.
4733 ($(objpfx)run-conformtest.out): Remove target.
4734 (test-xfail-ISO11/complex.h/conform): New variable.
4735 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4736 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4737 (test-xfail-XPG3/varargs.h/conform): Likewise.
4738 (test-xfail-XPG4/varargs.h/conform): Likewise.
4739 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4740 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4741 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4742 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4743 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4744 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4745 (test-xfail-XPG3/ftw.h/conform): Likewise.
4746 (test-xfail-XPG3/grp.h/conform): Likewise.
4747 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4748 (test-xfail-XPG3/limits.h/conform): Likewise.
4749 (test-xfail-XPG3/pwd.h/conform): Likewise.
4750 (test-xfail-XPG3/search.h/conform): Likewise.
4751 (test-xfail-XPG3/signal.h/conform): Likewise.
4752 (test-xfail-XPG3/stdio.h/conform): Likewise.
4753 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4754 (test-xfail-XPG3/string.h/conform): Likewise.
4755 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4756 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4757 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4758 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4759 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4760 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4761 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4762 (test-xfail-XPG3/termios.h/conform): Likewise.
4763 (test-xfail-XPG3/time.h/conform): Likewise.
4764 (test-xfail-XPG3/unistd.h/conform): Likewise.
4765 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4766 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4767 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4768 (test-xfail-XPG4/netdb.h/conform): Likewise.
4769 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4770 (test-xfail-XPG4/signal.h/conform): Likewise.
4771 (test-xfail-XPG4/stdio.h/conform): Likewise.
4772 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4773 (test-xfail-XPG4/stropts.h/conform): Likewise.
4774 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4775 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4776 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4777 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4778 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4779 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4780 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4781 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4782 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4783 (test-xfail-XPG4/termios.h/conform): Likewise.
4784 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4785 (test-xfail-XPG4/unistd.h/conform): Likewise.
4786 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4787 (test-xfail-POSIX/sched.h/conform): Likewise.
4788 (test-xfail-POSIX/signal.h/conform): Likewise.
4789 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4790 (test-xfail-POSIX/tar.h/conform): Likewise.
4791 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4792 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4793 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4794 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4795 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4796 (test-xfail-UNIX98/sched.h/conform): Likewise.
4797 (test-xfail-UNIX98/signal.h/conform): Likewise.
4798 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4799 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4800 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4801 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4802 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4803 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4804 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4805 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4806 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4807 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4808 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4809 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4810 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4811 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4812 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4813 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4814 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4815 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4816 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4817 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4818 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4819 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4820 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4821 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4822 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4823 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4824 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4825 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4826 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4827 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4828 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4829 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4830 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4831 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4832 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4833 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4834 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4835 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4836 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4837 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4838 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4839 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4840 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4841 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4842 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4843 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4844 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4845 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4846 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4847 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4848 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4849 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4850 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4851 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4852 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4853 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4854 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4855 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4856 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4857 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4858 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4859 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4860 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4861 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4862 (conformtest-cc-flags): Likewise.
4863 ($(conformtest-header-tests): New target.
4864 * conform/check-header-lists.sh: New file.
4865 * conform/run-conformtest.sh: Remove.
4866
a00f522a
JM
4867 * conform/conformtest.pl: Allow ' and \ in values given for
4868 constants.
4869 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4870 inclusion.
4871 [POSIX] (sys/types.h): Likewise.
4872 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4873 inclusion.
4874 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4875 inclusion.
4876 * conform/data/signal.h-data (SIGIO): Remove expectation.
4877 [XPG3] (SIGBUS): Do not expect.
4878 [POSIX || XPG3] (SIGPOLL): Likewise.
4879 [POSIX || XPG3] (SIGPROF): Likewise.
4880 [POSIX || XPG3] (SIGSYS): Likewise.
4881 [XPG3] (SIGTRAP): Likewise.
4882 [POSIX || XPG3] (SIGURG): Likewise.
4883 [POSIX || XPG3] (SIGVTALRM): Likewise.
4884 [POSIX || XPG3] (SIGXCPU): Likewise.
4885 [POSIX || XPG3] (SIGXFSZ): Likewise.
4886 [POSIX] (SA_SIGINFO): Expect.
4887 [XPG3] (siginfo_t): Do not expect type or contents.
4888 [POSIX] (si_pid): Do not expect element.
4889 [POSIX] (si_uid): Likewise.
4890 [POSIX] (si_addr): Likewise.
4891 [POSIX] (si_status): Likewise.
4892 [POSIX] (si_band): Likewise.
4893 [XPG4] (si_value): Likewise.
4894 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4895 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4896 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4897 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4898 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4899 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4900 [POSIX || XPG3] (ILL_COPROC): Likewise.
4901 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4902 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4903 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4904 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4905 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4906 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4907 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4908 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4909 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4910 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4911 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4912 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4913 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4914 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4915 [POSIX || XPG3] (CLD_EXITED): Likewise.
4916 [POSIX || XPG3] (CLD_KILLED): Likewise.
4917 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4918 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4919 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4920 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4921 [POSIX || XPG3] (POLL_IN): Likewise.
4922 [POSIX || XPG3] (POLL_OUT): Likewise.
4923 [POSIX || XPG3] (POLL_MSG): Likewise.
4924 [POSIX || XPG3] (POLL_ERR): Likewise.
4925 [POSIX || XPG3] (POLL_PRI): Likewise.
4926 [POSIX || XPG3] (POLL_HUP): Likewise.
4927 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4928 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4929 (SIG*): Do not allow.
4930 [XPG3] (si_*): Likewise.
4931 [XPG3] (SI_*): Likewise.
4932 [XPG3 || XPG4] (sigev_*): Likewise.
4933 [XPG3 || XPG4] (SIGEV_*): Likewise.
4934 [XPG3 || XPG4] (sival_*): Likewise.
4935 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4936 [POSIX || XPG3] (BUS_*): Likewise.
4937 [POSIX || XPG3] (CLD_*): Likewise.
4938 [POSIX || XPG3] (FPE_*): Likewise.
4939 [POSIX || XPG3] (ILL_*): Likewise.
4940 [POSIX || XPG3] (POLL_*): Likewise.
4941 [POSIX || XPG3] (SEGV_*): Likewise.
4942 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4943 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4944 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4945 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4946 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4947 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4948 Specify type and value.
4949 (TVERSLEN): Likewise.
4950 (REGTYPE): Likewise.
4951 (AREGTYPE): Likewise.
4952 (LNKTYPE): Likewise.
4953 (SYMTYPE): Likewise.
4954 (CHRTYPE): Likewise.
4955 (BLKTYPE): Likewise.
4956 (DIRTYPE): Likewise.
4957 (FIFOTYPE): Likewise.
4958 (CONTTYPE): Likewise.
4959 (TSUID): Likewise.
4960 (TSGID): Likewise.
4961 (TSVTX): Likewise.
4962 (TUREAD): Likewise.
4963 (TUWRITE): Likewise.
4964 (TUEXEC): Likewise.
4965 (TGREAD): Likewise.
4966 (TGWRITE): Likewise.
4967 (TGEXEC): Likewise.
4968 (TOREAD): Likewise.
4969 (TOWRITE): Likewise.
4970 (TOEXEC): Likewise.
4971 [POSIX] (TSVTX): Expect constant.
4972
aa97dee1
JM
49732014-03-06 Joseph Myers <joseph@codesourcery.com>
4974
f214606a
JM
4975 * Makefile (tests): Change dependencies to ....
4976 (tests-special): ... additions to this variable.
4977 (tests): Depend on $(tests-special).
4978 * Makerules (check-abi-list): New variable.
4979 (check-abi): Depend on $(check-abi-list).
4980 [$(subdir) = elf] (tests-special): Add
4981 $(objpfx)check-abi-libc.out.
4982 [$(build-shared) = yes && subdir] (tests-special): Add
4983 $(check-abi-list).
4984 [$(build-shared) = yes && subdir] (tests): Do not depend on
4985 check-abi.
4986 * Rules (tests): Depend on $(tests-special).
4987 (xtests): Depend on $(xtests-special).
4988 * catgets/Makefile (tests): Change dependencies to ....
4989 (tests-special): ... additions to this variable.
4990 * conform/Makefile (tests): Change dependencies to ....
4991 (tests-special): ... additions to this variable.
4992 * elf/Makefile (tests): Change dependencies to ....
4993 (tests-special): ... additions to this variable.
4994 * grp/Makefile (tests): Change dependencies to ....
4995 (tests-special): ... additions to this variable.
4996 * iconv/Makefile (xtests): Change dependencies to ....
4997 (xtests-special): ... additions to this variable.
4998 * iconvdata/Makefile (tests): Change dependencies to ....
4999 (tests-special): ... additions to this variable.
5000 * intl/Makefile (tests): Change dependencies to ....
5001 (tests-special): ... additions to this variable. Also add
5002 $(objpfx)tst-gettext.out.
5003 * io/Makefile (tests): Change dependencies to ....
5004 (tests-special): ... additions to this variable.
5005 * libio/Makefile (tests): Change dependencies to ....
5006 (tests-special): ... additions to this variable.
5007 * malloc/Makefile (tests): Change dependencies to ....
5008 (tests-special): ... additions to this variable.
5009 * misc/Makefile (tests): Change dependencies to ....
5010 (tests-special): ... additions to this variable.
5011 * nptl/Makefile (tests): Change dependencies to ....
5012 (tests-special): ... additions to this variable.
5013 * nptl_db/Makefile (tests): Change dependencies to ....
5014 (tests-special): ... additions to this variable.
5015 * posix/Makefile (tests): Change dependencies to ....
5016 (tests-special): ... additions to this variable.
5017 (xtests): Change dependencies to ....
5018 (xtests-special): ... additions to this variable.
5019 * resolv/Makefile (tests): Change dependencies to ....
5020 (tests-special): ... additions to this variable.
5021 (xtests): Change dependencies to ....
5022 (xtests-special): ... additions to this variable.
5023 * stdio-common/Makefile (tests): Change dependencies to ....
5024 (tests-special): ... additions to this variable.
5025 (do-tst-unbputc): Remove target.
5026 (do-tst-printf): Likewise.
5027 * stdlib/Makefile (tests): Change dependencies to ....
5028 (tests-special): ... additions to this variable.
5029 * string/Makefile (tests): Change dependencies to ....
5030 (tests-special): ... additions to this variable.
5031 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5032 (tests-special): ... additions to this variable.
5033
81700b53
JM
5034 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5035 whole file.
5036 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5037 whole file.
5038 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5039 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5040
2ea18461
JM
5041 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5042 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5043 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5044 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5045 * conform/data/libgen.h-data [XPG3]: Likewise.
5046 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5047 * conform/data/ndbm.h-data [XPG3]: Likewise.
5048 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5049 * conform/data/netdb.h-data [XPG3]: Likewise.
5050 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5051 * conform/data/poll.h-data [XPG3]: Likewise.
5052 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5053 * conform/data/strings.h-data [XPG3]: Likewise.
5054 * conform/data/stropts.h-data [XPG3]: Likewise.
5055 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5056 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5057 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5058 Likewise.
5059 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5060 * conform/data/sys/time.h-data [XPG3]: Likewise.
5061 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5062 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5063 * conform/data/sys/un.h-data [XPG3]: Likewise.
5064 * conform/data/syslog.h-data [XPG3]: Likewise.
5065 * conform/data/ucontext.h-data [XPG3]: Likewise.
5066 * conform/data/utmpx.h-data [XPG3]: Likewise.
5067 * conform/data/varargs.h-data [UNIX98]: Enable file.
5068
355bc986
JM
5069 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5070
215db402
JM
5071 * math/libm-test.inc (struct test_f_f_data): Move expected results
5072 into structure for each rounding mode.
5073 (struct test_ff_f_data): Likewise.
5074 (struct test_ff_f_data_nexttoward): Likewise.
5075 (struct test_fi_f_data): Likewise.
5076 (struct test_fl_f_data): Likewise.
5077 (struct test_if_f_data): Likewise.
5078 (struct test_fff_f_data): Likewise.
5079 (struct test_c_f_data): Likewise.
5080 (struct test_f_f1_data): Likewise.
5081 (struct test_fF_f1_data): Likewise.
5082 (struct test_ffI_f1_data): Likewise.
5083 (struct test_c_c_data): Likewise.
5084 (struct test_cc_c_data): Likewise.
5085 (struct test_f_i_data): Likewise.
5086 (struct test_ff_i_data): Likewise.
5087 (struct test_f_l_data): Likewise.
5088 (struct test_f_L_data): Likewise.
5089 (struct test_fFF_11_data): Likewise.
5090 (RM_): New macro.
5091 (RM_FE_DOWNWARD): Likewise.
5092 (RM_FE_TONEAREST): Likewise.
5093 (RM_FE_TOWARDZERO): Likewise.
5094 (RM_FE_UPWARD): Likewise.
5095 (RUN_TEST_LOOP_f_f): Update references to expected results.
5096 (RUN_TEST_LOOP_2_f): Likewise.
5097 (RUN_TEST_LOOP_fff_f): Likewise.
5098 (RUN_TEST_LOOP_c_f): Likewise.
5099 (RUN_TEST_LOOP_f_f1): Likewise.
5100 (RUN_TEST_LOOP_fF_f1): Likewise.
5101 (RUN_TEST_LOOP_fI_f1): Likewise.
5102 (RUN_TEST_LOOP_ffI_f1): Likewise.
5103 (RUN_TEST_LOOP_c_c): Likewise.
5104 (RUN_TEST_LOOP_cc_c): Likewise.
5105 (RUN_TEST_LOOP_f_i): Likewise.
5106 (RUN_TEST_LOOP_f_i_tg): Likewise.
5107 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5108 (RUN_TEST_LOOP_f_b): Likewise.
5109 (RUN_TEST_LOOP_f_b_tg): Likewise.
5110 (RUN_TEST_LOOP_f_l): Likewise.
5111 (RUN_TEST_LOOP_f_L): Likewise.
5112 (RUN_TEST_LOOP_fFF_11): Likewise.
5113 * math/gen-libm-test.pl (parse_args): Output four copies of
5114 expected results for each test.
5115
67737b8f
JM
5116 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5117 (__ASSUME_UTIMES): Remove.
5118 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5119 (__ASSUME_UTIMES): Likewise.
5120
aa97dee1
JM
5121 * math/gen-auto-libm-tests.c: Update comment on output format.
5122 (output_for_one_input_case): Generate before-rounding and
5123 after-rounding information as conditions on output flags not
5124 floating-point format.
5125 * math/auto-libm-test-out: Regenerated.
5126 * math/gen-libm-test.pl (cond_value): New function.
5127 (or_cond_value): Use cond_value.
5128 (generate_testfile): Handle conditional exceptions.
5129
e6b6a857
JM
51302014-03-05 Joseph Myers <joseph@codesourcery.com>
5131
2f0a0f44
JM
5132 * math/libm-test.inc (max_valid_error): New variable.
5133 (init_max_error): Take new argument specifying whether function
5134 results are exactly determined. Set max_valid_error and bound
5135 other variables for errors based on this argument.
5136 (set_max_error): Do not record results above max_valid_error.
5137 (check_float_internal): Only accept errors of up to 0.5ulps if
5138 also at most max_valid_error.
5139 (START): Take new argument EXACT and pass it to init_max_error.
5140 (acos_test): Update call to START.
5141 (acos_test_tonearest): Likewise.
5142 (acos_test_towardzero): Likewise.
5143 (acos_test_downward): Likewise.
5144 (acos_test_upward): Likewise.
5145 (acosh_test): Likewise.
5146 (asin_test): Likewise.
5147 (asin_test_tonearest): Likewise.
5148 (asin_test_towardzero): Likewise.
5149 (asin_test_downward): Likewise.
5150 (asin_test_upward): Likewise.
5151 (asinh_test): Likewise.
5152 (atan_test): Likewise.
5153 (atanh_test): Likewise.
5154 (atan2_test): Likewise.
5155 (cabs_test): Likewise.
5156 (cacos_test): Likewise.
5157 (cacosh_test): Likewise.
5158 (carg_test): Likewise.
5159 (casin_test): Likewise.
5160 (casinh_test): Likewise.
5161 (catan_test): Likewise.
5162 (catanh_test): Likewise.
5163 (cbrt_test): Likewise.
5164 (ccos_test): Likewise.
5165 (ccosh_test): Likewise.
5166 (ceil_test): Likewise.
5167 (cexp_test): Likewise.
5168 (cimag_test): Likewise.
5169 (clog_test): Likewise.
5170 (clog10_test): Likewise.
5171 (conj_test): Likewise.
5172 (copysign_test): Likewise.
5173 (cos_test): Likewise.
5174 (cos_test_tonearest): Likewise.
5175 (cos_test_towardzero): Likewise.
5176 (cos_test_downward): Likewise.
5177 (cos_test_upward): Likewise.
5178 (cosh_test): Likewise.
5179 (cosh_test_tonearest): Likewise.
5180 (cosh_test_towardzero): Likewise.
5181 (cosh_test_downward): Likewise.
5182 (cosh_test_upward): Likewise.
5183 (cpow_test): Likewise.
5184 (cproj_test): Likewise.
5185 (creal_test): Likewise.
5186 (csin_test): Likewise.
5187 (csinh_test): Likewise.
5188 (csqrt_test): Likewise.
5189 (ctan_test): Likewise.
5190 (ctan_test_tonearest): Likewise.
5191 (ctan_test_towardzero): Likewise.
5192 (ctan_test_downward): Likewise.
5193 (ctan_test_upward): Likewise.
5194 (ctanh_test): Likewise.
5195 (ctanh_test_tonearest): Likewise.
5196 (ctanh_test_towardzero): Likewise.
5197 (ctanh_test_downward): Likewise.
5198 (ctanh_test_upward): Likewise.
5199 (erf_test): Likewise.
5200 (erfc_test): Likewise.
5201 (exp_test): Likewise.
5202 (exp_test_tonearest): Likewise.
5203 (exp_test_towardzero): Likewise.
5204 (exp_test_downward): Likewise.
5205 (exp_test_upward): Likewise.
5206 (exp10_test): Likewise.
5207 (exp10_test_tonearest): Likewise.
5208 (exp10_test_towardzero): Likewise.
5209 (exp10_test_downward): Likewise.
5210 (exp10_test_upward): Likewise.
5211 (pow10_test): Likewise.
5212 (exp2_test): Likewise.
5213 (expm1_test): Likewise.
5214 (expm1_test_tonearest): Likewise.
5215 (expm1_test_towardzero): Likewise.
5216 (expm1_test_downward): Likewise.
5217 (expm1_test_upward): Likewise.
5218 (fabs_test): Likewise.
5219 (fdim_test): Likewise.
5220 (floor_test): Likewise.
5221 (fma_test): Likewise.
5222 (fma_test_towardzero): Likewise.
5223 (fma_test_downward): Likewise.
5224 (fma_test_upward): Likewise.
5225 (fmax_test): Likewise.
5226 (fmin_test): Likewise.
5227 (fmod_test): Likewise.
5228 (fpclassify_test): Likewise.
5229 (frexp_test): Likewise.
5230 (hypot_test): Likewise.
5231 (ilogb_test): Likewise.
5232 (isfinite_test): Likewise.
5233 (finite_test): Likewise.
5234 (isgreater_test): Likewise.
5235 (isgreaterequal_test): Likewise.
5236 (isinf_test): Likewise.
5237 (isless_test): Likewise.
5238 (islessequal_test): Likewise.
5239 (islessgreater_test): Likewise.
5240 (isnan_test): Likewise.
5241 (isnormal_test): Likewise.
5242 (issignaling_test): Likewise.
5243 (isunordered_test): Likewise.
5244 (j0_test): Likewise.
5245 (j1_test): Likewise.
5246 (jn_test): Likewise.
5247 (ldexp_test): Likewise.
5248 (lgamma_test): Likewise.
5249 (gamma_test): Likewise.
5250 (lrint_test): Likewise.
5251 (lrint_test_tonearest): Likewise.
5252 (lrint_test_towardzero): Likewise.
5253 (lrint_test_downward): Likewise.
5254 (lrint_test_upward): Likewise.
5255 (llrint_test): Likewise.
5256 (llrint_test_tonearest): Likewise.
5257 (llrint_test_towardzero): Likewise.
5258 (llrint_test_downward): Likewise.
5259 (llrint_test_upward): Likewise.
5260 (log_test): Likewise.
5261 (log10_test): Likewise.
5262 (log1p_test): Likewise.
5263 (log2_test): Likewise.
5264 (logb_test): Likewise.
5265 (logb_test_downward): Likewise.
5266 (lround_test): Likewise.
5267 (llround_test): Likewise.
5268 (modf_test): Likewise.
5269 (nearbyint_test): Likewise.
5270 (nextafter_test): Likewise.
5271 (nexttoward_test): Likewise.
5272 (pow_test): Likewise.
5273 (pow_test_tonearest): Likewise.
5274 (pow_test_towardzero): Likewise.
5275 (pow_test_downward): Likewise.
5276 (pow_test_upward): Likewise.
5277 (remainder_test): Likewise.
5278 (drem_test): Likewise.
5279 (remainder_test_tonearest): Likewise.
5280 (drem_test_tonearest): Likewise.
5281 (remainder_test_towardzero): Likewise.
5282 (drem_test_towardzero): Likewise.
5283 (remainder_test_downward): Likewise.
5284 (drem_test_downward): Likewise.
5285 (remainder_test_upward): Likewise.
5286 (drem_test_upward): Likewise.
5287 (remquo_test): Likewise.
5288 (rint_test): Likewise.
5289 (rint_test_tonearest): Likewise.
5290 (rint_test_towardzero): Likewise.
5291 (rint_test_downward): Likewise.
5292 (rint_test_upward): Likewise.
5293 (round_test): Likewise.
5294 (scalb_test): Likewise.
5295 (scalbn_test): Likewise.
5296 (scalbln_test): Likewise.
5297 (signbit_test): Likewise.
5298 (sin_test): Likewise.
5299 (sin_test_tonearest): Likewise.
5300 (sin_test_towardzero): Likewise.
5301 (sin_test_downward): Likewise.
5302 (sin_test_upward): Likewise.
5303 (sincos_test): Likewise.
5304 (sinh_test): Likewise.
5305 (sinh_test_tonearest): Likewise.
5306 (sinh_test_towardzero): Likewise.
5307 (sinh_test_downward): Likewise.
5308 (sinh_test_upward): Likewise.
5309 (sqrt_test): Likewise.
5310 (sqrt_test_tonearest): Likewise.
5311 (sqrt_test_towardzero): Likewise.
5312 (sqrt_test_downward): Likewise.
5313 (sqrt_test_upward): Likewise.
5314 (tan_test): Likewise.
5315 (tan_test_tonearest): Likewise.
5316 (tan_test_towardzero): Likewise.
5317 (tan_test_downward): Likewise.
5318 (tan_test_upward): Likewise.
5319 (tanh_test): Likewise.
5320 (tgamma_test): Likewise.
5321 (trunc_test): Likewise.
5322 (y0_test): Likewise.
5323 (y1_test): Likewise.
5324 (yn_test): Likewise.
5325 (significand_test): Likewise.
5326
e6b6a857
JM
5327 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5328 individual tests in comment.
5329 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5330 (prev_max_error): New variable.
5331 (prev_real_max_error): Likewise.
5332 (prev_imag_max_error): Likewise.
5333 (compare_ulp_data): Don't refer to test names in comment.
5334 (find_test_ulps): Remove function.
5335 (find_function_ulps): Likewise.
5336 (find_complex_function_ulps): Likewise.
5337 (init_max_error): Take function name as argument. Look up ulps
5338 for that function.
5339 (print_ulps): Remove function.
5340 (print_max_error): Use prev_max_error instead of calling
5341 find_function_ulps.
5342 (print_complex_max_error): Use prev_real_max_error and
5343 prev_imag_max_error instead of calling find_complex_function_ulps.
5344 (check_float_internal): Take max_ulp parameter instead of calling
5345 find_test_ulps. Don't call print_ulps.
5346 (check_float): Update call to check_float_internal.
5347 (check_complex): Update calls to check_float_internal.
5348 (START): Pass argument to init_max_error.
5349 * math/gen-libm-test.pl (%results): Don't include "kind"
5350 information.
5351 (parse_ulps): Don't handle ulps of individual tests.
5352 (print_ulps_file): Likewise.
5353 (output_ulps): Likewise.
5354 * math/README.libm-test: Update.
5355 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5356 individual tests.
5357 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5358 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5359 * sysdeps/arm/libm-test-ulps: Likewise.
5360 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5361 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5362 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5363 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5364 * sysdeps/microblaze/libm-test-ulps: Likewise.
5365 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5366 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5368 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5369 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5370 * sysdeps/sh/libm-test-ulps: Likewise.
5371 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5372 * sysdeps/tile/libm-test-ulps: Likewise.
5373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5374
45adef3c
JM
53752014-03-04 Joseph Myers <joseph@codesourcery.com>
5376
5377 * math/libm-test.inc (print_complex_max_error): Check separately
5378 whether real and imaginary errors are within allowed range and
5379 pass 0 to print_complex_function_ulps instead of value within
5380 allowed range.
5381
000232b9
SP
53822014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5383
d4b17258
SP
5384 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5385 formatting.
5386 (get_handles_fopen): Likewise.
5387 (do_write_test): Likewise.
5388
091eff71
SP
5389 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5390
fa3cd248
SP
5391 * libio/fileops.c (do_ftell): Use cached offset when
5392 available.
5393 * libio/iofwide.c (do_ftell_wide): Likewise.
5394 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5395 _IO_file_attach.
5396 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5397
000232b9
SP
5398 [BZ #16532]
5399 * libio/libioP.h (get_file_offset): New function.
5400 * libio/fileops.c (get_file_offset): Likewise.
5401 (do_ftell): Likewise.
5402 (_IO_new_file_seekoff): Split out ftell logic.
5403 * libio/wfileops.c (do_ftell_wide): Likewise.
5404 (_IO_wfile_seekoff): Split out ftell logic.
5405 * libio/tst-ftell-active-handler.c: New test case.
5406 * libio/Makefile (tests): Add it.
5407
116f4d1a
RM
54082014-03-03 Roland McGrath <roland@hack.frob.com>
5409
5410 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5411 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5412
532a6035
SP
54132014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5414
5415 [BZ #16639]
5416 * nscd/connections.c (nscd_init): Call do_exit.
5417 (start_threads): Call do_exit and notify_parent.
5418 (begin_drop_privileges): Call do_exit.
5419 (finish_drop_privileges): Likewise.
5420 * nscd/selinux.c (preserve_capabilities): Likewise.
5421 (install_real_capabilities): Likewise.
5422 (nscd_selinux_enabled): Likewise.
5423 (avc_create_thread): Likewise.
5424 (avc_alloc_lock): Likewise.
5425 (nscd_avc_init): Likewise.
5426 * nscd/nscd.c (parent_fd): New static variable.
5427 (main): Create a pipe between parent and child processes.
5428 Skip closing parent_fd.
5429 (monitor_child): New function.
5430 (do_exit): Likewise.
5431 (notify_parent): Likewise.
5432 * nscd/nscd.h (notify_parent): Likewise.
5433 (do_exit): Likewise.
5434
d6285c9f
CD
54352014-03-03 Carlos O'Donell <carlos@redhat.com>
5436
5437 * malloc/malloc.c (__libc_calloc): Revert last change.
5438
2b85d2a0
AZ
54392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5440
5441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5442
c7debbdf
RS
54432014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5444
5445 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5447 implementation.
5448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5449 (__libc_ifunc_impl_list): Likewise.
5450 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5451 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5452 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5453 * string/strrchr.c: Define STRRCHR.
5454
235eed86
OB
54552014-02-28 Ondřej Bílka <neleai@seznam.cz>
5456
5457 * benchtest/bench-strtok.c (simple_strtok): Delete.
5458 (strtok_string): Use as benchmark.
5459 * string/strtok (STRTOK): New macro.
5460
8e25d1e7
CD
54612014-02-28 Carlos O'Donell <carlos@redhat.com>
5462
ef563f92
CD
5463 * manual/threads.texi: Add header and standard comments to all
5464 functions.
5465
8e25d1e7
CD
5466 * elf/dl-lookup.c (check_match): New function.
5467 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5468 (do_lookup_x): Remove nested function check_match. Use non-nested
5469 function check_match.
5470
ff71cc37
RM
54712014-02-28 Roland McGrath <roland@hack.frob.com>
5472
f08e9a26
RM
5473 * csu/Makefile (generated, before-compile): Use += rather than =.
5474 * catgets/Makefile (generated, generated-dirs): Likewise.
5475 * debug/Makefile (generated): Likewise.
5476 * dlfcn/Makefile (generated): Likewise.
5477 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5478 * iconvdata/Makefile (before-compile, generated): Likewise.
5479 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5480 * libio/Makefile (generated): Likewise.
5481 * malloc/Makefile (generated): Likewise.
5482 * manual/Makefile (generated, generated-dirs): Likewise.
5483 * misc/Makefile (generated): Likewise.
5484 * posix/Makefile (generated): Likewise.
5485 * resolv/Makefile (generated): Likewise.
5486 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5487 * timezone/Makefile (generated, generated-dirs): Likewise.
5488
ff71cc37
RM
5489 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5490
fe13a20c
AZ
54912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5492
57f41c40
AS
5493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5494 power8 implementation.
5495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5496 file: POWER8 llround ifunc implementation.
5497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5498 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5499 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5500 POWER8 llround implementation.
5501
57f41c40
AS
5502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5503 power8 implementation.
5504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5505 file: POWER8 llrint ifunc implementation.
5506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5507 Add POWER8 implementation.
1ad8950a
AZ
5508 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5509 POWER8 llrint implementation.
5510
57f41c40
AS
5511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5512 power8 implementation.
5513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5514 file: POWER8 finite ifunc implementation.
5515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5516 Add POWER8 implementation.
cac626d6
AZ
5517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5518 Likewise.
5519 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5520 POWER8 finite implementation.
5521 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5522
57f41c40
AS
5523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5524 power8 implementation.
5525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5526 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5528 POWER8 implementation.
5529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5530 Likewise.
57f41c40
AS
5531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5532 isinf implementation.
4393fc11
AZ
5533 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5534
57f41c40
AS
5535 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5536 (INIT_ARCH): Add hwcap2 initialization.
5537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5538 power8 implementation.
5539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5540 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5542 POWER8 implementation.
5543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5544 Likewise.
57f41c40
AS
5545 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5546 isnan implementation.
487972ae
AZ
5547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5548
7d92b787
JY
55492014-02-27 Joey Ye <joey.ye@arm.com>
5550
5551 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5552 (_FP_NANFRAC_Q): Set to zero.
5553
1cadc858
SP
55542014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5555
5556 [BZ #16623]
5557 * math/auto-libm-test-in: New test inputs.
5558 * math/auto-libm-test-out: Regenerate.
5559 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5560 and DA.
5561 (__cos): Likewise.
5562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5563
f8c17e79
JM
55642014-02-27 Joseph Myers <joseph@codesourcery.com>
5565
5566 * scripts/evaluate-test.sh: Take new argument indicating whether
5567 failure is expected.
5568 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5569 indicating whether failure is expected.
5570 * conform/Makefile (test-xfail-run-conformtest): New variable.
5571 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5572 level.
5573 * posix/Makefile (test-xfail-annexc): New variable.
5574 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5575
a5f891ac
JM
55762014-02-26 Joseph Myers <joseph@codesourcery.com>
5577
5578 * argp/Makefile: Include Makeconfig immediately after defining
5579 subdir.
5580 * assert/Makefile: Likewise.
5581 * benchtests/Makefile: Likewise.
5582 * catgets/Makefile: Likewise.
5583 * conform/Makefile: Likewise.
5584 * crypt/Makefile: Likewise.
5585 * csu/Makefile: Likewise.
5586 (all): Remove target.
5587 * ctype/Makefile: Include Makeconfig immediately after defining
5588 subdir.
5589 * debug/Makefile: Likewise.
5590 * dirent/Makefile: Likewise.
5591 * dlfcn/Makefile: Likewise.
5592 * gmon/Makefile: Likewise.
5593 * gnulib/Makefile: Likewise.
5594 * grp/Makefile: Likewise.
5595 * gshadow/Makefile: Likewise.
5596 * hesiod/Makefile: Likewise.
5597 * hurd/Makefile: Likewise.
5598 (all): Remove target.
5599 * iconvdata/Makefile: Include Makeconfig immediately after
5600 defining subdir.
5601 * inet/Makefile: Likewise.
5602 * intl/Makefile: Likewise.
5603 * io/Makefile: Likewise.
5604 * libio/Makefile: Likewise.
5605 (all): Remove target.
5606 * locale/Makefile: Include Makeconfig immediately after defining
5607 subdir.
5608 * login/Makefile: Likewise.
5609 * mach/Makefile: Likewise.
5610 (all): Remove target.
5611 * malloc/Makefile: Include Makeconfig immediately after defining
5612 subdir.
5613 (all): Remove target.
5614 * manual/Makefile: Include Makeconfig immediately after defining
5615 subdir.
5616 * math/Makefile: Likewise.
5617 * misc/Makefile: Likewise.
5618 * nis/Makefile: Likewise.
5619 * nss/Makefile: Likewise.
5620 * po/Makefile: Likewise.
5621 (all): Remove target.
5622 * posix/Makefile: Include Makeconfig immediately after defining
5623 subdir.
5624 * pwd/Makefile: Likewise.
5625 * resolv/Makefile: Likewise.
5626 * resource/Makefile: Likewise.
5627 * rt/Makefile: Likewise.
5628 * setjmp/Makefile: Likewise.
5629 * shadow/Makefile: Likewise.
5630 * signal/Makefile: Likewise.
5631 * socket/Makefile: Likewise.
5632 * soft-fp/Makefile: Likewise.
5633 * stdio-common/Makefile: Likewise.
5634 * stdlib/Makefile: Likewise.
5635 * streams/Makefile: Likewise.
5636 * string/Makefile: Likewise.
5637 * sunrpc/Makefile: Likewise.
5638 (all): Remove target.
5639 * sysvipc/Makefile: Include Makeconfig immediately after defining
5640 subdir.
5641 * termios/Makefile: Likewise.
5642 * time/Makefile: Likewise.
5643 * timezone/Makefile: Likewise.
5644 (all): Remove target.
5645 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5646 subdir.
5647 * wctype/Makefile: Likewise.
5648
5b456e9d
SE
56492014-02-26 Steve Ellcey <sellcey@mips.com>
5650
5651 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5652 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5653 (libc_feholdexcept_setround_mips): Ditto.
5654 (libc_feholdsetround): New.
5655 (libc_feholdsetroundf): New.
5656 (libc_feholdsetroundl): New.
5657 (libc_feupdateenv_test_mips): New.
5658 (libc_feupdateenv_test): New.
5659 (libc_feupdateenv_testf): New.
5660 (libc_feupdateenv_testl): New.
5661 (libc_feresetround): New.
5662 (libc_feresetroundf): New.
5663 (libc_feresetroundl): New.
5664 (libc_fetestexcept_mips): New.
5665 (libc_fetestexcept): New.
5666 (libc_fetestexceptf): New.
5667 (libc_fetestexceptl): New.
5668 (HAVE_RM_CTX): New.
5669 (libc_feholdexcept_setround_mips_ctx): New.
5670 (libc_feholdexcept_setround_ctx): New.
5671 (libc_feholdexcept_setroundf_ctx): New.
5672 (libc_feholdexcept_setroundl_ctx): New.
5673 (libc_fesetenv_mips_ctx): New.
5674 (libc_fesetenv_ctx): New.
5675 (libc_fesetenv_ctxf): New.
5676 (libc_fesetenv_ctxl): New.
5677 (libc_feupdateenv_mips_ctx): New.
5678 (libc_feupdateenv_ctx): New.
5679 (libc_feupdateenvf_ctx): New.
5680 (libc_feupdateenvl_ctx): New.
5681 (libc_feholdsetround_mips_ctx): New.
5682 (libc_feholdsetround_ctx): New.
5683 (libc_feholdsetroundf_ctx): New.
5684 (libc_feholdsetroundl_ctx): New.
5685 (libc_feresetround_mips_ctx): New.
5686 (libc_feresetround_ctx): New.
5687 (libc_feresetroundf_ctx): New.
5688 (libc_feresetroundl_ctx): New.
5689
085d0e35
CD
56902014-02-26 Carlos O'Donell <carlos@redhat.com>
5691
f067bf1f
CD
5692 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5693
085d0e35
CD
5694 * manual/ipc.texi: New file.
5695 * manual/Makefile (chapters): Add ipc.
5696 * manual/job.texi: Add "Inter-Process Communication" to next.
5697 * manual/process.texi: Add "Inter-Process Communication" to prev.
5698
86e58c08
AZ
56992014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5700
5701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5702
4248f0da
OB
57032014-02-26 Ondřej Bílka <neleai@seznam.cz>
5704
5705 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5706
cf822e3c
OB
5707 * manual/arith.texi: Fix spaces after sentences.
5708 * manual/charset.texi: Likewise.
5709 * manual/errno.texi: Likewise.
5710 * manual/install.texi: Likewise.
5711 * manual/llio.texi: Likewise.
5712 * manual/locale.texi: Likewise.
5713 * manual/maint.texi: Likewise.
5714 * manual/math.texi: Likewise.
5715 * manual/memory.texi: Likewise.
5716 * manual/message.texi: Likewise.
5717 * manual/probes.texi: Likewise.
5718 * manual/resource.texi: Likewise.
5719 * manual/signal.texi: Likewise.
5720 * manual/socket.texi: Likewise.
5721 * manual/stdio.texi: Likewise.
5722 * manual/string.texi: Likewise.
5723 * manual/time.texi: Likewise.
5724 * manual/users.texi: Likewise.
5725
ade40b10
CD
57262014-02-25 Carlos O'Donell <carlos@redhat.com>
5727
5728 [BZ #16632]
5729 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5730 _DEFAULT_SOURCE is defined.
5731
d0503676
CD
57322014-02-25 Ulrich Drepper <drepper@gmail.com>
5733 Carlos O'Donell <carlos@redhat.com>
5734
5735 [BZ #16613]
5736 * elf/dl-tls.c (_dl_count_modids): New function.
5737 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5738 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5739 audit library and increment generation counter.
5740 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5741 * elf/tst-audit9.c: New file.
5742 * elf/tst-auditmod9a.c: New file.
5743 * elf/tst-auditmod9b.c: New file.
5744 * elf/Makefile: Add rules to build and run tst-audit9.
5745
4cbf380c
FW
57462014-02-25 Florian Weimer <fweimer@redhat.com>
5747
5748 [BZ #15347]
5749 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5750
80a56cc3
WN
57512014-02-25 Will Newton <will.newton@linaro.org>
5752
5753 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5754 (__longjmp): Restore sp and lr before restoring callee
5755 saved registers. Add longjmp and longjmp_target
5756 SystemTap probe point.
5757 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5758 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5759 Define to zero to match jmpbuf layout.
5760 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5761 (__sigsetjmp): Save sp and lr before saving callee
5762 saved registers. Add setjmp SystemTap probe point.
5763
3ea0f74e
SL
57642014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5765
5766 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5767
b04acb26
AS
57682014-02-24 Andreas Schwab <schwab@suse.de>
5769
5770 [BZ #15804]
5771 * elf/pldd.c (wait_for_ptrace_stop): New function.
5772 (main): Call it after attaching.
5773
098ad55c
RM
57742014-02-22 Roland McGrath <roland@hack.frob.com>
5775
d4ec6ae1
RM
5776 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5777 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5778 Versions files is now verboten.
5779 * hurd/Versions (libc: GLIBC_2.0):
5780 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5781 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5782 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5783 * mach/Versions: Likewise.
5784
098ad55c
RM
5785 * csu/Versions: Remove unused %include.
5786 * resolv/Versions: Likewise.
5787
acd7f096
JM
57882014-02-21 Joseph Myers <joseph@codesourcery.com>
5789
f0881698
JM
5790 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5791 ($(objpfx)check-local-headers.out): Likewise.
5792 ($(objpfx)begin-end-check.out): Likewise.
5793 * Makerules (check-abi-%.out): Likewise.
5794 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5795 ($(objpfx)test2.cat): Likewise.
5796 ($(objpfx)de/libc.cat): Likewise.
5797 ($(objpfx)test-gencat.out): Likewise.
5798 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5799 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5800 ($(objpfx)noload-mem): Likewise.
5801 ($(objpfx)tst-pathopt.out): Likewise.
5802 ($(objpfx)tst-rtld-load-self.out): Likewise.
5803 ($(objpfx)tst-array1-cmp.out): Likewise.
5804 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5805 ($(objpfx)tst-array2-cmp.out): Likewise.
5806 ($(objpfx)tst-array3-cmp.out): Likewise.
5807 ($(objpfx)tst-array4-cmp.out): Likewise.
5808 ($(objpfx)tst-array5-cmp.out): Likewise.
5809 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5810 ($(objpfx)check-textrel.out): Likewise.
5811 ($(objpfx)check-execstack.out): Likewise.
5812 ($(objpfx)check-localplt.out): Likewise.
5813 ($(objpfx)order2-cmp.out): Likewise.
5814 ($(objpfx)tst-leaks1-mem): Likewise.
5815 ($(objpfx)tst-leaks1-static-mem): Likewise.
5816 ($(objpfx)tst-initorder-cmp.out): Likewise.
5817 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5818 ($(objpfx)tst-unused-dep.out): Likewise.
5819 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5820 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5821 * iconv/Makefile (test-iconvconfig): Likewise.
5822 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5823 ($(objpfx)iconv-test.out): Likewise.
5824 ($(objpfx)tst-tables.out): Likewise.
5825 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5826 ($(objpfx)tst-gettext.out): Likewise.
5827 ($(objpfx)tst-translit.out): Likewise.
5828 ($(objpfx)tst-gettext2.out): Likewise.
5829 ($(objpfx)tst-gettext4.out): Likewise.
5830 ($(objpfx)tst-gettext6.out): Likewise.
5831 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5832 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5833 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5834 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5835 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5836 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5837 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5838 ($(objpfx)wordexp-tst.out): Likewise.
5839 ($(objpfx)annexc.out): Likewise.
5840 ($(objpfx)tst-fnmatch-mem): Likewise.
5841 ($(objpfx)bug-regex2-mem): Likewise.
5842 ($(objpfx)bug-regex14-mem): Likewise.
5843 ($(objpfx)bug-regex21-mem): Likewise.
5844 ($(objpfx)bug-regex31-mem): Likewise.
5845 ($(objpfx)tst-vfork3-mem): Likewise.
5846 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5847 ($(objpfx)tst-pcre-mem): Likewise.
5848 ($(objpfx)tst-boost-mem): Likewise.
5849 ($(objpfx)tst-getconf.out): Likewise.
5850 ($(objpfx)bug-ga2-mem): Likewise.
5851 ($(objpfx)bug-glob2-mem): Likewise.
5852 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5853 ($(objpfx)mtrace-tst-leaks2): Likewise.
5854 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5855 ($(objpfx)tst-printf.out): Likewise.
5856 ($(objpfx)tst-setvbuf1.out): Likewise.
5857 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5858 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5859 ($(objpfx)tst-fmtmsg.out): Likewise.
5860 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5861 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5862
acd7f096
JM
5863 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5864 * bits/sigaction.h [__USE_MISC]: Likewise.
5865 * bits/waitstatus.h: Update #endif comments.
5866 * ctype/ctype.h: Likewise.
5867 * dirent/dirent.h: Likewise.
5868 [__USE_MISC]: Remove redundant conditionals.
5869 * grp/grp.h: Update #endif comments.
5870 [__USE_GNU]: Remove redundant conditionals.
5871 [__USE_MISC]: Likewise.
5872 * inet/netinet/in.h [__USE_GNU]: Likewise.
5873 * io/sys/stat.h [__USE_MISC]: Likewise.
5874 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5875 * libio/bits/stdio.h: Update #endif comments.
5876 [__USE_MISC]: Remove redundant conditionals.
5877 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5878 * libio/stdio.h: Update #endif comments.
5879 [__USE_MISC]: Remove redundant conditionals.
5880 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5881 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5882 * math/math.h: Update #else and #endif comments.
5883 [__USE_MISC]: Remove redundant conditionals.
5884 * misc/sys/uio.h: Update #endif comments.
5885 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5886 * posix/glob.h [__USE_MISC]: Likewise.
5887 * posix/sys/types.h: Update #endif comments.
5888 [__USE_MISC]: Remove redundant conditionals.
5889 * posix/sys/wait.h: Update #endif comments.
5890 [__USE_MISC]: Remove redundant conditionals.
5891 * posix/unistd.h: Update #endif comments.
5892 [__USE_MISC]: Remove redundant conditionals.
5893 * pwd/pwd.h [__USE_GNU]: Likewise.
5894 [__USE_MISC]: Likewise.
5895 * resolv/netdb.h [__USE_GNU]: Likewise.
5896 * signal/signal.h: Update #endif comments.
5897 [__USE_MISC]: Remove redundant conditionals.
5898 * stdlib/stdlib.h: Update #else and #endif comments.
5899 [__USE_MISC]: Remove redundant conditionals.
5900 [__USE_GNU]: Likewise.
5901 * string/bits/string2.h [__USE_MISC]: Likewise.
5902 * string/string.h: Update #endif comments.
5903 [__USE_MISC]: Remove redundant conditionals.
5904 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5905 Likewise.
5906 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5907 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5908 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5909 Likewise.
5910 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5911 Likewise.
5912 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5913 comments.
5914 [__USE_MISC]: Remove redundant conditionals.
5915 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5916 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5917 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5918 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5919 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5920 Likewise.
5921 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5922 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5923 Likewise.
5924 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5925 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5926 Likewise.
5927 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5928 Likewise.
5929 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5930 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5931 Likewise.
5932 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5933 Likewise.
5934 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5935 * sysdeps/x86/bits/string.h: Update #endif comments.
5936 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5937 conditionals.
5938 * time/sys/time.h: Update #endif comments.
5939 * time/time.h: Likewise.
5940 [__USE_MISC]: Remove redundant conditionals.
5941
a5d82e4e
YG
59422014-02-21 Yury Gribov <y.gribov@samsung.com>
5943
5944 [BZ #16600]
5945 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5946
9a80491d
AS
59472014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5948
5949 * Versions.def (librt): Add GLIBC_2.17.
5950
105fa381
AC
59512014-02-21 Adam Conrad <adconrad@0c3.net>
5952
5953 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5954 synonym for _SYS_AUXV_H to allow direct inclusion.
5955 * sysdeps/sparc/bits/hwcap.h: Likewise.
5956 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5957 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5958 * sysdeps/sparc/sysdep.h: Likewise.
5959
b8cd1c4e
SP
59602014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5961
5962 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5963
bd939d23
RS
59642014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5965
5966 * benchtests/bench-strrchr.c: Print length instead of position.
5967
5d7b57ca
JM
59682014-02-20 Joseph Myers <joseph@codesourcery.com>
5969
bc688c10
JM
5970 [BZ #16611]
5971 * sysdeps/unix/sysv/linux/kernel-features.h
5972 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5973 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5974 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5975 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5976 Likewise.
5977 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5978 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5979 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5980 (__ASSUME_SENDMMSG): Define instead of using previous
5981 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5982 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5983 (__ASSUME_SENDMMSG_SYSCALL): Define.
5984 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5985 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5986 Likewise.
5987 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5988 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5989 Likewise.
5990 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5991 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5992 Likewise.
5993 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5994 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5995 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5996 [__ASSUME_SENDMMSG]: Change conditionals to
5997 [__ASSUME_SENDMMSG_SOCKETCALL].
5998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5999 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6000 Define.
6001 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6002 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6003 Likewise.
6004 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6005 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6006 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6007 [!__ASSUME_SENDMMSG]: Change conditional to
6008 [!__ASSUME_SENDMMSG_SOCKETCALL].
6009 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6010 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6011 Define.
6012
0e31b18c
JM
6013 [BZ #16610]
6014 * sysdeps/unix/sysv/linux/kernel-features.h
6015 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6016 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6017 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6018 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6019 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6020 [__i386__ || __sparc__]
6021 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6022 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6023 (__ASSUME_RECVMMSG): Define instead of using previous
6024 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6025 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6026 (__ASSUME_RECVMMSG_SYSCALL): Define.
6027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6028 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6029 Likewise.
6030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6031 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6032 Likewise.
6033 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6034 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6035 Likewise.
6036 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6037 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6038 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6039 [__ASSUME_RECVMMSG]: Change condition to
6040 [__ASSUME_RECVMMSG_SOCKETCALL].
6041 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6042 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6043 Define.
6044 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6045 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6046 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6047 Likewise.
6048 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6049 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6050 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6051 [!__ASSUME_RECVMMSG]: Change condition to
6052 [!__ASSUME_RECVMMSG_SOCKETCALL].
6053 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6054 (__ASSUME_RECVMMSG_SYSCALL): Define.
6055
dd481ccf
JM
6056 [BZ #16609]
6057 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6058 __powerpc__ || __s390__ || __sh__ || __sparc__]
6059 (__ASSUME_SOCKETCALL): Define.
6060 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6061 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6062 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6063 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6064 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6065 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6066 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6067 (__ASSUME_ACCEPT4): Define instead of using previous
6068 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6069 __powerpc__ || __sparc__ || __s390__)] condition.
6070 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6071 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6072 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6073 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6074 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6075 [!__ASSUME_ACCEPT4]: Change condition to
6076 [!__ASSUME_ACCEPT4_SOCKETCALL].
6077 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6078 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6079 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6081 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6082 __ASSUME_ACCEPT4_SYSCALL.
6083 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6084 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6085 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6086 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6087 __ASSUME_ACCEPT4_SYSCALL.
6088 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6089 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6090 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6091 [__ASSUME_ACCEPT4]: Change condition to
6092 [__ASSUME_ACCEPT4_SOCKETCALL].
6093 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6094 (__ASSUME_SOCKETCALL): Define.
6095 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6096 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6097 (__ASSUME_SOCKETCALL): Define.
6098 (__ASSUME_ACCEPT4): Remove.
6099 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6100 Define.
6101 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6102 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6103 Likewise.
6104 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6105 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6106
5d7b57ca
JM
6107 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6108 macro.
6109 (HWCAP_ARM_LPAE): Likewise.
6110 (HWCAP_ARM_EVTSTRM): Likewise.
6111 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6112 Add vpfd32, lpae and evtstrm.
6113 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6114 Increase to 22.
6115
63689d61
JM
61162014-02-19 Joseph Myers <joseph@codesourcery.com>
6117
6118 * math/auto-libm-test-in: Add tests of clog10.
6119 * math/auto-libm-test-out: Regenerated.
6120 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6121 * sysdeps/i386/fpu/libm-test-ulps: Update.
6122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6123
ab09bf61
AS
61242014-02-18 Andreas Schwab <schwab@suse.de>
6125
6126 [BZ #16574]
6127 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6128 Store non-zero if the second buffer was newly allocated.
6129 (send_dg): Likewise.
6130 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6131 to send_vc and send_dg.
6132 (res_nsend): Pass NULL for ansp2_malloced.
6133 * resolv/res_query.c (__libc_res_nquery): Add parameter
6134 answerp2_malloced and pass it down to __libc_res_nsend.
6135 (res_nquery): Pass additional NULL to __libc_res_nquery.
6136 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6137 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6138 second answer buffer if answerp2_malloced was set.
6139 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6140 (__libc_res_nquerydomain): Add parameter
6141 answerp2_malloced and pass it down to __libc_res_nquery.
6142 (res_nquerydomain): Pass additional NULL to
6143 __libc_res_nquerydomain.
6144 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6145 additional NULL to __libc_res_nsend and __libc_res_nquery.
6146 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6147 additional NULL to __libc_res_nsearch.
6148 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6149 parameter of __libc_res_nsearch to check for separately allocated
6150 second buffer.
6151 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6152 __libc_res_nquery.
6153 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6154 additional NULL to __libc_res_nquery.
6155 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6156 __libc_res_nsearch.
6157 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6158 * include/resolv.h: Update prototypes of __libc_res_nquery,
6159 __libc_res_nsearch, __libc_res_nsend.
6160
a4fb7861
JM
61612014-02-18 Joseph Myers <joseph@codesourcery.com>
6162
c6af2d89
JM
6163 * math/auto-libm-test-in: Add tests of fma.
6164 * math/auto-libm-test-out: Regenerated.
6165 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6166 (fma_towardzero_test_data): Likewise.
6167 (fma_downward_test_data): Likewise.
6168 (fma_upward_test_data): Likewise.
6169 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6170 mpc_mode.
6171 (rounding_modes): Add values for new field.
6172 (func_calc_method): Add value mpfr_fff_f.
6173 (func_calc_desc): Add mpfr_fff_f union field.
6174 (test_function): Add field exact_args.
6175 (FUNC): Add macro argument EXACT_ARGS.
6176 (FUNC_mpfr_f_f): Update call to FUNC.
6177 (FUNC_mpfr_f_f): Likewise.
6178 (FUNC_mpfr_ff_f): Likewise.
6179 (FUNC_mpfr_if_f): Likewise.
6180 (FUNC_mpc_c_f): Likewise.
6181 (FUNC_mpc_c_c): Likewise.
6182 (test_functions): Add fma. Update calls to FUNC.
6183 (handle_input_arg): Add argument exact_args.
6184 (add_test): Update call to handle_input_arg.
6185 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6186 (output_for_one_input_case): Update call to calc_generic_results.
6187 Recalculate exact zero results in each rounding mode.
6188
a4fb7861
JM
6189 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6190 non-negative before setting low bit.
6191 * math/auto-libm-test-in: Mark one asin test possibly having
6192 spurious underflow.
6193 * math/auto-libm-test-out: Regenerated.
6194 * sysdeps/i386/fpu/libm-test-ulps: Update.
6195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6196
ef114eaf
DH
61972014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6198
2b7f4f2c
SP
6199 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6200 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6201 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6202 * README: Add missing listing for microblaze*-*-linux-gnu.
6203
c70a4b1d
MF
62042014-02-16 Mike Frysinger <vapier@gentoo.org>
6205
6206 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6207 * sysdeps/unix/sysv/linux/ia64: Move directory from
6208 ports/sysdeps/unix/sysv/linux/ia64.
6209 * README: Update listing for ia64-*-linux-gnu.
6210
591aeaf7
TD
62112014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6212 Joseph Myers <joseph@codesourcery.com>
6213
6214 * Makeconfig (test-name): New variable.
6215 (evaluate-test): Likewise.
6216 * Makerules (do-test-clean): Remove .test-result files.
6217 (common-mostlyclean): Likewise.
6218 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6219 * scripts/evaluate-test.sh: New file.
6220
6e89caf1
JM
62212014-02-14 Joseph Myers <joseph@codesourcery.com>
6222
7f98f180
JM
6223 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6224 separate $(objpfx)tst-fopenloc-cmp.out and
6225 $(objpfx)tst-fopenloc-mem.out targets.
6226 (tests): Update dependencies.
6227 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6228 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6229 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6230 (tst-rxspencer-no-utf8-ARGS): New variable.
6231 (tst-rxspencer-no-utf8-ENV): Likewise.
6232 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6233 instead of $(objpfx)tst-rxspencer-mem.
6234 ($(objpfx)tst-rxspencer-mem): Change target to
6235 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6236 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6237 * posix/tst-rxspencer-no-utf8.c: New file.
6238
6e89caf1
JM
6239 * elf/Makefile ($(objpfx)order.out): Remove rule.
6240 [$(run-built-tests) = yes] (tests): Depend on
6241 $(objpfx)order-cmp.out.
6242 ($(objpfx)order-cmp.out): New rule.
6243 [$(run-built-tests) = yes] (tests): Depend on
6244 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6245 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6246 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6247 $(objpfx)tst-array5-static-cmp.out.
6248 ($(objpfx)tst-array1.out): Remove rule.
6249 ($(objpfx)tst-array1-cmp.out): New rule.
6250 ($(objpfx)tst-array1-static.out): Remove rule.
6251 ($(objpfx)tst-array1-static-cmp.out): New rule.
6252 ($(objpfx)tst-array2.out): Remove rule.
6253 ($(objpfx)tst-array2-cmp.out): New rule.
6254 ($(objpfx)tst-array3.out): Remove rule.
6255 ($(objpfx)tst-array3-cmp.out): New rule.
6256 ($(objpfx)tst-array4.out): Remove rule.
6257 ($(objpfx)tst-array4-cmp.out): New rule.
6258 ($(objpfx)tst-array5.out): Remove rule.
6259 ($(objpfx)tst-array5-cmp.out): New rule.
6260 ($(objpfx)tst-array5-static.out): Remove rule.
6261 ($(objpfx)tst-array5-static-cmp.out): New rule.
6262 [$(run-built-tests) = yes] (tests): Depend on
6263 $(objpfx)order2-cmp.out.
6264 ($(objpfx)order2.out): Remove rule.
6265 ($(objpfx)order2-cmp.out): New rule.
6266 ($(objpfx)tst-initorder.out): Remove rule.
6267 [$(run-built-tests) = yes] (tests): Depend on
6268 $(objpfx)tst-initorder-cmp.out.
6269 ($(objpfx)tst-initorder-cmp.out): New rule.
6270 ($(objpfx)tst-initorder2.out): Remove rule.
6271 [$(run-built-tests) = yes] (tests): Depend on
6272 $(objpfx)tst-initorder2-cmp.out.
6273 ($(objpfx)tst-initorder2-cmp.out): New rule.
6274 [$(run-built-tests) = yes] (tests): Depend on
6275 $(objpfx)tst-unused-dep-cmp.out.
6276 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6277 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6278 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6279 on $(objpfx)tst-setvbuf1-cmp.out.
6280 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6281 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6282 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6283 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6284 ($(objpfx)tst-svc.out): Remove rule.
6285 ($(objpfx)tst-svc-cmp.out): New rule.
6286
ed9a38e2
JM
62872014-02-13 Joseph Myers <joseph@codesourcery.com>
6288
6289 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6290 * ctype/ctype.h [__USE_MISC]: Likewise.
6291 * dirent/dirent.h [__USE_MISC]: Likewise.
6292 * grp/grp.h [__USE_MISC]: Likewise.
6293 * io/fcntl.h [__USE_MISC]: Likewise.
6294 * io/sys/stat.h [__USE_MISC]: Likewise.
6295 * libio/stdio.h [__USE_MISC]: Likewise.
6296 * posix/unistd.h [__USE_MISC]: Likewise.
6297 * pwd/pwd.h [__USE_MISC]: Likewise.
6298 * stdlib.h [__USE_MISC]: Likewise.
6299 * string/bits/string2.h [__USE_MISC]: Likewise.
6300 * string/string.h [__USE_MISC]: Likewise.
6301 * time/time.h [__USE_MISC]: Likewise.
6302
d6680619
AS
63032014-02-13 Andreas Schwab <schwab@suse.de>
6304
6305 [BZ #16574]
6306 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6307 second answer buffer if it was separately allocated.
6308
ace614b8
JM
63092014-02-12 Joseph Myers <joseph@codesourcery.com>
6310
743151ae
JM
6311 * sysdeps/mips/math-tests.h: Include <features.h>.
6312 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6313 (ROUNDING_TESTS_long_double): Do not define.
6314 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6315 (EXCEPTION_TESTS_long_double): Likewise.
6316 * sysdeps/mips/mips64/libm-test-ulps: Update.
6317
498afc54
JM
6318 * include/features.h (__USE_BSD): Remove macro definitions.
6319 (__USE_SVID): Likewise.
6320 (_BSD_SOURCE): Likewise.
6321 (_SVID_SOURCE): Likewise.
6322 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6323 from definition of _DEFAULT_SOURCE.
6324 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6325 [_DEFAULT_SOURCE].
6326 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6327 * bits/mman.h [__USE_BSD]: Likewise.
6328 * bits/termios.h [__USE_BSD]: Likewise.
6329 * bits/waitstatus.h [__USE_BSD]: Likewise.
6330 * ctype/ctype.h [__USE_SVID]: Likewise.
6331 * dirent/dirent.h [__USE_BSD]: Likewise.
6332 * grp/grp.h [__USE_SVID]: Likewise.
6333 [__USE_BSD]: Likewise.
6334 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6335 * io/fcntl.h [__USE_BSD]: Likewise.
6336 * io/ftw.h [__USE_BSD]: Likewise.
6337 * io/sys/stat.h [__USE_BSD]: Likewise.
6338 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6339 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6340 * libio/stdio.h [__USE_SVID]: Likewise.
6341 [__USE_BSD]: Likewise.
6342 * math/math.h [__USE_SVID]: Likewise.
6343 [__USE_BSD]: Likewise.
6344 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6345 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6346 * misc/search.h [__USE_SVID]: Likewise.
6347 * misc/sys/mman.h [__USE_BSD]: Likewise.
6348 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6349 * misc/sys/uio.h [__USE_BSD]: Likewise.
6350 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6351 * posix/glob.h [__USE_BSD]: Likewise.
6352 * posix/regex.h [__USE_BSD]: Likewise.
6353 * posix/sys/types.h [__USE_BSD]: Likewise.
6354 [__USE_SVID]: Likewise.
6355 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6356 * posix/sys/wait.h [__USE_BSD]: Likewise.
6357 [__USE_SVID]: Likewise.
6358 * posix/unistd.h [__USE_BSD]: Likewise.
6359 [__USE_SVID]: Likewise.
6360 * pwd/pwd.h [__USE_SVID]: Likewise.
6361 * resolv/netdb.h [__USE_BSD]: Likewise.
6362 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6363 * signal/signal.h [__USE_BSD]: Likewise.
6364 [__USE_SVID]: Likewise.
6365 * socket/sys/socket.h [__USE_BSD]: Likewise.
6366 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6367 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6368 [__USE_SVID]: Likewise.
6369 * string/bits/string2.h [__USE_BSD]: Likewise.
6370 [__USE_SVID]: Likewise.
6371 * string/bits/string3.h [__USE_BSD]: Likewise.
6372 * string/endian.h [__USE_BSD]: Likewise.
6373 * string/string.h [__USE_SVID]: Likewise.
6374 [__USE_BSD]: Likewise.
6375 * string/strings.h [__USE_BSD]: Likewise.
6376 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6377 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6378 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6379 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6380 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6381 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6382 Likewise.
6383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6384 Likewise.
6385 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6386 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6387 Likewise.
6388 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6389 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6390 Likewise.
6391 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6392 Likewise.
6393 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6394 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6395 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6396 Likewise.
6397 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6398 Likewise.
6399 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6400 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6401 * termios/termios.h [__USE_BSD]: Likewise.
6402 * time/sys/time.h [__USE_BSD]: Likewise.
6403 * time/time.h [__USE_BSD]: Likewise.
6404 [__USE_SVID]: Likewise.
6405
dd7b064c
JM
6406 * Makefile (subdir_targets): Remove subdir_lint.out.
6407
a2c4c199
JM
6408 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6409 (do-tst-printf): Likewise.
6410 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6411 $(objpfx)tst-printf.out.
6412
8756f740
JM
6413 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6414
1b6dd3f1
JM
6415 * Makerules (check-abi-%): Change target to
6416 $(objpfx)check-abi-%.out.
6417 (check-abi target): Update dependencies.
6418 (check-abi-pattern variable): Redirect output of diff to $@.
6419 (check-abi variable): Likewise.
6420 * elf/Makefile (check-abi): Update dependencies.
6421
ace614b8
JM
6422 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6423 unused.
6424 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6425 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6426 subnormal range.
6427 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6428 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6429 value has largest subnormal exponent.
6430 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6431 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6432 * sysdeps/aarch64/soft-fp/sfp-machine.h
6433 (_FP_TININESS_AFTER_ROUNDING): New macro.
6434 * sysdeps/alpha/soft-fp/sfp-machine.h
6435 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6436 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6437 Likewise.
6438 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6439 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6440 * sysdeps/mips/soft-fp/sfp-machine.h
6441 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6442 * sysdeps/powerpc/soft-fp/sfp-machine.h
6443 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6444 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6445 Likewise.
6446 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6447 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6448 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6449 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6450 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6451 Likewise.
6452
fbfdf9cb
DAS
64532014-02-12 Dylan Alex Simon <dylan@dylex.net>
6454
6455 [BZ #16545]
6456 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6457 model 1.
6458
68b7efaa
RH
64592014-02-12 Richard Henderson <rth@redhat.com>
6460
c70a4b1d 6461 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6462 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6463 * sysdeps/unix/sysv/linux/alpha: Move directory from
6464 ports/sysdeps/unix/sysv/linux/alpha.
6465 * README: Update listing for alpha-*-linux-gnu.
6466
cb4a2928
JM
64672014-02-11 Joseph Myers <joseph@codesourcery.com>
6468
c941736c
JM
6469 * include/features.h: Update comment documenting feature test
6470 macros.
6471 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6472 _DEFAULT_SOURCE.
6473 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6474 (_SVID_SOURCE): Likewise.
6475 (_DEFAULT_SOURCE): Update description of default features.
6476 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6477 with _GNU_SOURCE.
6478 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6479 (S_ISVTX): Likewise.
6480 * manual/math.texi (Mathematical Constants): Likewise.
6481 * manual/signal.texi (Interrupted Primitives): Likewise.
6482 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6483 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6484 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6485 Don't refer to _SVID_SOURCE in warning text.
6486
e8d8d7ec
JM
6487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6488
cb4a2928
JM
6489 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6490 already defined.
6491 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6492 * sysdeps/mips/dl-lookup.c: Remove.
6493 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6494
7e6424e3
AK
64952014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6496
6497 [BZ #16447]
6498 * math/auto-libm-test-in: Add testcase for expl.
6499 * math/auto-libm-test-out: Regenerate.
6500 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6501 calculation of unsafe.
6502 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6503
75eff3fe
MS
65042014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6505
6506 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6507 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6508 ports/sysdeps/unix/sysv/linux/aarch64.
6509 * README: Update listing for aarch64*-*-linux-gnu.
6510
d35f1e80
WN
65112014-02-11 Will Newton <will.newton@linaro.org>
6512
6513 * manual/probes.texi (Mathematical Function Probes): Use
6514 "triggered" instead of "hit".
6515
7b3436d4
WN
6516 * manual/probes.texi (Internal Probes): Add documentation
6517 of setjmp, longjmp and longjmp_target probes.
6518
b4f12ca3
WN
6519 * include/stap-probe.h: Add comment about probe argument
6520 format.
6521
c13a72b7
WN
6522 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6523 definition. (tr_where, tr_freehook, tr_mallochook,
6524 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6525
195b8165
DM
65262014-02-11 David S. Miller <davem@davemloft.net>
6527
6528 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6529 processing int_tests.
6530
2ad7600b
JM
65312014-02-10 Joseph Myers <joseph@codesourcery.com>
6532
6533 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6534 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6535 * sysdeps/unix/sysv/linux/mips: Move directory from
6536 ports/sysdeps/unix/sysv/linux/mips.
6537 * README: Update listing for mips-*-linux-gnu and
6538 mips64-*-linux-gnu.
6539
73588a72
AS
65402014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6541
6542 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6543 * sysdeps/unix/sysv/linux/m68k: Move directory from
6544 ports/sysdeps/unix/sysv/linux/m68k.
6545 * README: Update listing for m68k-*-linux-gnu.
6546
4372980f
CM
65472014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6548
6549 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6550 * sysdeps/unix/sysv/linux/generic: Move directory from
6551 ports/sysdeps/unix/sysv/linux/generic.
6552 * sysdeps/unix/sysv/linux/tile: Move directory from
6553 ports/sysdeps/unix/sysv/linux/tile.
6554 * README: Update listing for tile*-*-linux-gnu.
6555
a1ffb40e
OB
65562014-02-10 Ondřej Bílka <neleai@seznam.cz>
6557
57f41c40
AS
6558 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6559 __builtin_expect.
a1ffb40e
OB
6560 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6561 * catgets/open_catalog.c (__open_catalog): Likewise.
6562 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6563 * debug/confstr_chk.c: Likewise.
6564 * debug/fread_chk.c (__fread_chk): Likewise.
6565 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6566 * debug/getgroups_chk.c: Likewise.
6567 * debug/mbsnrtowcs_chk.c: Likewise.
6568 * debug/mbsrtowcs_chk.c: Likewise.
6569 * debug/mbstowcs_chk.c: Likewise.
6570 * debug/memcpy_chk.c: Likewise.
6571 * debug/memmove_chk.c: Likewise.
6572 * debug/mempcpy_chk.c: Likewise.
6573 * debug/memset_chk.c: Likewise.
6574 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6575 * debug/strcat_chk.c (__strcat_chk): Likewise.
6576 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6577 * debug/strncat_chk.c (__strncat_chk): Likewise.
6578 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6579 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6580 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6581 * debug/wcpncpy_chk.c: Likewise.
6582 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6583 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6584 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6585 * debug/wcsncpy_chk.c: Likewise.
6586 * debug/wcsnrtombs_chk.c: Likewise.
6587 * debug/wcsrtombs_chk.c: Likewise.
6588 * debug/wcstombs_chk.c: Likewise.
6589 * debug/wmemcpy_chk.c: Likewise.
6590 * debug/wmemmove_chk.c: Likewise.
6591 * debug/wmempcpy_chk.c: Likewise.
6592 * debug/wmemset_chk.c: Likewise.
6593 * dirent/scandirat.c (SCANDIRAT): Likewise.
6594 * dlfcn/dladdr1.c (dladdr1): Likewise.
6595 * dlfcn/dladdr.c (dladdr): Likewise.
6596 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6597 * dlfcn/dlerror.c (__dlerror): Likewise.
6598 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6599 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6600 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6601 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6602 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6603 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6604 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6605 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6606 Likewise.
6607 * elf/dl-conflict.c: Likewise.
6608 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6609 * elf/dl-dst.h: Likewise.
6610 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6611 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6612 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6613 * elf/dl-init.c (call_init, _dl_init): Likewise.
6614 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6615 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6616 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6617 Likewise.
a1ffb40e
OB
6618 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6619 Likewise.
6620 * elf/dl-minimal.c (__libc_memalign): Likewise.
6621 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6622 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6623 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6624 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6625 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6626 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6627 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6628 * elf/dl-writev.h (_dl_writev): Likewise.
6629 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6630 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6631 (dl_main): Likewise.
a1ffb40e
OB
6632 * elf/setup-vdso.h (setup_vdso): Likewise.
6633 * grp/compat-initgroups.c (compat_call): Likewise.
6634 * grp/fgetgrent.c (fgetgrent): Likewise.
6635 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6636 * grp/putgrent.c (putgrent): Likewise.
6637 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6638 Likewise.
6639 * hurd/hurdinit.c: Likewise.
6640 * iconvdata/8bit-gap.c (struct): Likewise.
6641 * iconvdata/ansi_x3.110.c : Likewise.
6642 * iconvdata/big5.c : Likewise.
6643 * iconvdata/big5hkscs.c : Likewise.
6644 * iconvdata/cp1255.c: Likewise.
6645 * iconvdata/cp1258.c : Likewise.
6646 * iconvdata/cp932.c : Likewise.
6647 * iconvdata/euc-cn.c: Likewise.
6648 * iconvdata/euc-jisx0213.c : Likewise.
6649 * iconvdata/euc-jp.c: Likewise.
6650 * iconvdata/euc-jp-ms.c : Likewise.
6651 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6652 * iconvdata/gb18030.c : Likewise.
6653 * iconvdata/gbbig5.c (const): Likewise.
6654 * iconvdata/gbgbk.c: Likewise.
6655 * iconvdata/gbk.c : Likewise.
6656 * iconvdata/ibm1364.c : Likewise.
6657 * iconvdata/ibm930.c : Likewise.
6658 * iconvdata/ibm932.c: Likewise.
6659 * iconvdata/ibm933.c : Likewise.
6660 * iconvdata/ibm935.c : Likewise.
6661 * iconvdata/ibm937.c : Likewise.
6662 * iconvdata/ibm939.c : Likewise.
6663 * iconvdata/ibm943.c: Likewise.
6664 * iconvdata/iso_11548-1.c: Likewise.
6665 * iconvdata/iso-2022-cn.c : Likewise.
6666 * iconvdata/iso-2022-cn-ext.c : Likewise.
6667 * iconvdata/iso-2022-jp-3.c: Likewise.
6668 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6669 * iconvdata/iso-2022-kr.c : Likewise.
6670 * iconvdata/iso646.c (gconv_end): Likewise.
6671 * iconvdata/iso_6937-2.c : Likewise.
6672 * iconvdata/iso_6937.c : Likewise.
6673 * iconvdata/iso8859-1.c: Likewise.
6674 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6675 * iconvdata/shift_jisx0213.c : Likewise.
6676 * iconvdata/sjis.c : Likewise.
6677 * iconvdata/t.61.c : Likewise.
6678 * iconvdata/tcvn5712-1.c : Likewise.
6679 * iconvdata/tscii.c: Likewise.
6680 * iconvdata/uhc.c : Likewise.
6681 * iconvdata/unicode.c (gconv_end): Likewise.
6682 * iconvdata/utf-16.c (gconv_end): Likewise.
6683 * iconvdata/utf-32.c (gconv_end): Likewise.
6684 * iconvdata/utf-7.c (base64): Likewise.
6685 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6686 * iconv/gconv_close.c (__gconv_close): Likewise.
6687 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6688 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6689 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6690 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6691 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6692 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6693 * iconv/iconv.c (iconv): Likewise.
6694 * iconv/iconv_close.c: Likewise.
6695 * iconv/loop.c (SINGLE): Likewise.
6696 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6697 * include/atomic.h: Likewise.
6698 * inet/inet6_option.c (option_alloc): Likewise.
6699 * intl/bindtextdom.c (set_binding_values): Likewise.
6700 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6701 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6702 * intl/localealias.c (read_alias_file): Likewise.
6703 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6704 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6705 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6706 * libio/fmemopen.c (fmemopen): Likewise.
6707 * libio/iofgets.c (_IO_fgets): Likewise.
6708 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6709 * libio/iofgetws.c (fgetws): Likewise.
6710 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6711 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6712 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6713 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6714 * locale/findlocale.c (_nl_find_locale): Likewise.
6715 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6716 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6717 Likewise.
6718 * locale/setlocale.c (setlocale): Likewise.
6719 * login/programs/pt_chown.c (main): Likewise.
6720 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6721 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6722 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6723 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6724 * math/e_exp2l.c: Likewise.
6725 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6726 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6727 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6728 * math/s_catan.c (__catan): Likewise.
6729 * math/s_catanf.c (__catanf): Likewise.
6730 * math/s_catanh.c (__catanh): Likewise.
6731 * math/s_catanhf.c (__catanhf): Likewise.
6732 * math/s_catanhl.c (__catanhl): Likewise.
6733 * math/s_catanl.c (__catanl): Likewise.
6734 * math/s_ccosh.c (__ccosh): Likewise.
6735 * math/s_ccoshf.c (__ccoshf): Likewise.
6736 * math/s_ccoshl.c (__ccoshl): Likewise.
6737 * math/s_cexp.c (__cexp): Likewise.
6738 * math/s_cexpf.c (__cexpf): Likewise.
6739 * math/s_cexpl.c (__cexpl): Likewise.
6740 * math/s_clog10.c (__clog10): Likewise.
6741 * math/s_clog10f.c (__clog10f): Likewise.
6742 * math/s_clog10l.c (__clog10l): Likewise.
6743 * math/s_clog.c (__clog): Likewise.
6744 * math/s_clogf.c (__clogf): Likewise.
6745 * math/s_clogl.c (__clogl): Likewise.
6746 * math/s_csin.c (__csin): Likewise.
6747 * math/s_csinf.c (__csinf): Likewise.
6748 * math/s_csinh.c (__csinh): Likewise.
6749 * math/s_csinhf.c (__csinhf): Likewise.
6750 * math/s_csinhl.c (__csinhl): Likewise.
6751 * math/s_csinl.c (__csinl): Likewise.
6752 * math/s_csqrt.c (__csqrt): Likewise.
6753 * math/s_csqrtf.c (__csqrtf): Likewise.
6754 * math/s_csqrtl.c (__csqrtl): Likewise.
6755 * math/s_ctan.c (__ctan): Likewise.
6756 * math/s_ctanf.c (__ctanf): Likewise.
6757 * math/s_ctanh.c (__ctanh): Likewise.
6758 * math/s_ctanhf.c (__ctanhf): Likewise.
6759 * math/s_ctanhl.c (__ctanhl): Likewise.
6760 * math/s_ctanl.c (__ctanl): Likewise.
6761 * math/w_pow.c: Likewise.
6762 * math/w_powf.c: Likewise.
6763 * math/w_powl.c: Likewise.
6764 * math/w_scalb.c (sysv_scalb): Likewise.
6765 * math/w_scalbf.c (sysv_scalbf): Likewise.
6766 * math/w_scalbl.c (sysv_scalbl): Likewise.
6767 * misc/error.c (error_tail): Likewise.
6768 * misc/pselect.c (__pselect): Likewise.
6769 * nis/nis_callback.c (__nis_create_callback): Likewise.
6770 * nis/nis_call.c (__nisfind_server): Likewise.
6771 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6772 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6773 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6774 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6775 * nis/nis_lookup.c (nis_lookup): Likewise.
6776 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6777 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6778 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6779 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6780 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6781 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6782 * nis/nss_compat/compat-initgroups.c (add_group)
6783 (internal_getgrent_r): Likewise.
6784 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6785 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6786 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6787 (internal_getspnam_r): Likewise.
6788 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6789 (_nss_nis_getaliasbyname_r): Likewise.
6790 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6791 (_nss_nis_getntohost_r): Likewise.
6792 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6793 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6794 (_nss_nis_getgrgid_r): Likewise.
6795 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6796 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6797 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6798 (_nss_nis_gethostbyname4_r): Likewise.
6799 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6800 (initgroups_netid): Likewise.
a1ffb40e 6801 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6802 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6803 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6804 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6805 (_nss_nis_getprotobynumber_r): Likewise.
6806 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6807 (_nss_nis_getsecretkey): Likewise.
6808 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6809 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6810 (_nss_nis_getpwuid_r): Likewise.
6811 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6812 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6813 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6814 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6815 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6816 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6817 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6818 Likewise.
57f41c40
AS
6819 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6820 (_nss_nisplus_getntohost_r): Likewise.
6821 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6822 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6823 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6824 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6825 Likewise.
57f41c40
AS
6826 * nis/nss_nisplus/nisplus-initgroups.c
6827 (_nss_nisplus_initgroups_dyn): Likewise.
6828 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6829 (_nss_nisplus_getnetbyaddr_r): Likewise.
6830 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6831 (_nss_nisplus_getprotobynumber_r): Likewise.
6832 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6833 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6834 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6835 Likewise.
57f41c40
AS
6836 * nis/nss_nisplus/nisplus-service.c
6837 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6838 (_nss_nisplus_getservbyport_r): Likewise.
6839 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6840 (_nss_nisplus_getspnam_r): Likewise.
6841 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6842 Likewise.
a1ffb40e
OB
6843 * nscd/aicache.c (addhstaiX): Likewise.
6844 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6845 * nscd/connections.c (register_traced_file, send_ro_fd)
6846 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6847 (main_loop_epoll): Likewise.
a1ffb40e
OB
6848 * nscd/grpcache.c (addgrbyX): Likewise.
6849 * nscd/hstcache.c (addhstbyX): Likewise.
6850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6851 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6852 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6853 (addinnetgrX): Likewise.
6854 * nscd/nscd-client.h (__nscd_acquire_maplock)
6855 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6856 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6857 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6858 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6859 Likewise.
6860 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6861 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6862 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6863 (__nscd_get_map_ref): Likewise.
a1ffb40e 6864 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6865 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6866 Likewise.
a1ffb40e
OB
6867 * nscd/pwdcache.c (addpwbyX): Likewise.
6868 * nscd/selinux.c (preserve_capabilities): Likewise.
6869 * nscd/servicescache.c (addservbyX): Likewise.
6870 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6871 * posix/fnmatch.c (fnmatch): Likewise.
6872 * posix/getopt.c (_getopt_internal_r): Likewise.
6873 * posix/glob.c (glob, glob_in_dir): Likewise.
6874 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6875 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6876 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6877 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6878 * resolv/res_init.c: Likewise.
6879 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6880 * resolv/res_query.c (__libc_res_nquery): Likewise.
6881 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6882 Likewise.
6883 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6884 * stdio-common/perror.c (perror): Likewise.
6885 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6886 * stdio-common/tmpnam.c (tmpnam): Likewise.
6887 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6888 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6889 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6890 Likewise.
a1ffb40e
OB
6891 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6892 * stdlib/putenv.c (putenv): Likewise.
6893 * stdlib/setenv.c (__add_to_environ): Likewise.
6894 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6895 * stdlib/strtol_l.c (INTERNAL): Likewise.
6896 * string/memmem.c (memmem): Likewise.
6897 * string/strerror.c (strerror): Likewise.
6898 * string/strnlen.c (__strnlen): Likewise.
6899 * string/test-memmem.c (simple_memmem): Likewise.
6900 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6901 * sunrpc/pm_getport.c (__get_socket): Likewise.
6902 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6903 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6904 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6905 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6906 Likewise.
6907 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6908 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6909 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6910 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6911 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6912 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6913 Likewise.
6914 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6915 Likewise.
a1ffb40e
OB
6916 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6917 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6919 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6920 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6922 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6923 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6924 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6925 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6926 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6927 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6928 Likewise.
6929 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6930 Likewise.
6931 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6932 Likewise.
6933 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6934 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6935 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6937 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6938 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6939 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6943 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6944 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6945 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6946 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6948 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6949 Likewise.
a1ffb40e
OB
6950 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6951 Likewise.
6952 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6953 Likewise.
6954 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6955 Likewise.
6956 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6958 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6959 Likewise.
6960 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6961 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6962 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6963 * sysdeps/posix/sleep.c: Likewise.
6964 * sysdeps/posix/tempname.c: Likewise.
6965 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6966 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6967 Likewise.
57f41c40
AS
6968 * sysdeps/powerpc/powerpc32/dl-machine.h
6969 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6970 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6971 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6972 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6973 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6974 Likewise.
6975 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6976 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6977 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6978 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6979 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6980 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6981 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6982 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6983 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6984 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6985 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6986 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6987 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6989 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6990 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6991 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6992 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6993 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6994 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6995 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6996 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6997 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6998 Likewise.
6999 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7000 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7001 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7002 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7003 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7004 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7005 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7006 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7007 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7008 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7009 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7010 Likewise.
7011 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7012 (__posix_fallocate64_l64): Likewise.
7013 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7014 (posix_fallocate): Likewise.
57f41c40
AS
7015 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7016 Likewise.
a1ffb40e 7017 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7018 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7019 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7020 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7021 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7022 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7023 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7024 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7025 (__posix_fallocate64_l64): Likewise.
7026 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7027 Likewise.
7028 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7029 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7030 (__get_clockfreq): Likewise.
a1ffb40e
OB
7031 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7032 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7033 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7036 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7037 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7038 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7039 Likewise.
7040 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7041 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7042 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7043 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7044 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7045 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7046 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7047 Likewise.
7048 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7049 (posix_fallocate): Likewise.
7050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7051 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7052 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7053 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7054 (elf_machine_rela, elf_machine_rela_relative)
7055 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7056 * time/asctime.c (asctime_internal): Likewise.
7057 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7058 * time/tzset.c (__tzset_parse_tz): Likewise.
7059 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7060 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7061 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7062 * wcsmbs/wcsmbsload.h: Likewise.
7063
f3d338c9
OB
7064 [BZ #15894]
7065 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7066
57f41c40
AS
7067 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7068 (arena_get2): Remove THREAD_STATS conditionals.
7069 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7070 (__malloc_stats, int): Likewise.
bdfe308a 7071
d674667c
MF
70722014-02-08 Mike Frysinger <vapier@gentoo.org>
7073
7074 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7075 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7076
6349768c
MF
7077 * manual/setjmp.texi: Fix typos/grammar errors.
7078
0b7c7473
MF
7079 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7080 Only return early when n is <= 0. Delete unused return statement.
7081
ac8cc9e3
MF
7082 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7083 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7084 * debug/tst-longjmp_chk3.c: New file.
7085
c5bb8e23
MF
7086 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7087 (test_main): Replace code with set_fortify_handler call.
7088 * debug/test-strcpy_chk.c: Likewise.
7089 * debug/tst-chk1.c: Likewise.
7090 * debug/tst-longjmp_chk.c: Likewise.
7091 * test-skeleton.c: Include fcntl.h & paths.h
7092 (set_fortify_handler): Define.
7093
10444e42
MF
7094 * debug/tst-longjmp_chk.c: Add header comment and include
7095 ../test-skeleton.c.
7096 (do_test): Mark static.
7097 (TEST_FUNCTION): Define.
7098
1e805e8d
MF
7099 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7100 (IP_PMTUDISC_INTERFACE): Likewise.
7101 (IP_MULTICAST_IF): Likewise.
7102 (IP_MULTICAST_TTL): Likewise.
7103 (IP_MULTICAST_LOOP): Likewise.
7104 (IP_ADD_MEMBERSHIP): Likewise.
7105 (IP_DROP_MEMBERSHIP): Likewise.
7106 (IP_UNBLOCK_SOURCE): Likewise.
7107 (IP_BLOCK_SOURCE): Likewise.
7108 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7109 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7110 (IP_MSFILTER): Likewise.
7111 (MCAST_JOIN_GROUP): Likewise.
7112 (MCAST_BLOCK_SOURCE): Likewise.
7113 (MCAST_UNBLOCK_SOURCE): Likewise.
7114 (MCAST_LEAVE_GROUP): Likewise.
7115 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7116 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7117 (MCAST_MSFILTER): Likewise.
7118 (IP_MULTICAST_ALL): Likewise.
7119 (IP_UNICAST_IF): Likewise.
7120
73f79bb7
MF
7121 * timezone/Makefile: Delete $(have-ksh) check.
7122 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7123 * timezone/tzselect.ksh: Add +x mode bits.
7124
8da79b60
MF
7125 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7126 (ANON_INODE_FS_MAGIC): Likewise.
7127 (BDEVFS_MAGIC): Likewise.
7128 (BINFMTFS_MAGIC): Likewise.
7129 (BTRFS_TEST_MAGIC): Likewise.
7130 (CRAMFS_MAGIC_WEND): Likewise.
7131 (DEBUGFS_MAGIC): Likewise.
7132 (ECRYPTFS_SUPER_MAGIC): Likewise.
7133 (EXT3_SUPER_MAGIC): Likewise.
7134 (EXT4_SUPER_MAGIC): Likewise.
7135 (FUTEXFS_SUPER_MAGIC): Likewise.
7136 (HOSTFS_SUPER_MAGIC): Likewise.
7137 (HUGETLBFS_MAGIC): Likewise.
7138 (MINIX3_SUPER_MAGIC): Likewise.
7139 (MTD_INODE_FS_MAGIC): Likewise.
7140 (NILFS_SUPER_MAGIC): Likewise.
7141 (OPENPROM_SUPER_MAGIC): Likewise.
7142 (PIPEFS_MAGIC): Likewise.
7143 (PSTOREFS_MAGIC): Likewise.
7144 (QNX6_SUPER_MAGIC): Likewise.
7145 (RAMFS_MAGIC): Likewise.
7146 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7147 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7148 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7149 (SECURITYFS_MAGIC): Likewise.
7150 (SELINUX_MAGIC): Likewise.
7151 (SMACK_MAGIC): Likewise.
7152 (SOCKFS_MAGIC): Likewise.
7153 (SQUASHFS_MAGIC): Likewise.
7154 (STACK_END_MAGIC): Likewise.
7155 (TMPFS_MAGIC): Likewise.
7156 (USBDEVICE_SUPER_MAGIC): Likewise.
7157 (V9FS_MAGIC): Likewise.
7158 (XENFS_SUPER_MAGIC): Likewise.
7159 (CRAMFS_MAGIC): Fix typo in comment.
7160 (EXT2_SUPER_MAGIC): Update comment.
7161 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7162
464263cc
JM
71632014-02-08 Joseph Myers <joseph@codesourcery.com>
7164
c6bfe5c4
JM
7165 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7166 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7167 * sysdeps/unix/sysv/linux/arm: Move directory from
7168 ports/sysdeps/unix/sysv/linux/arm.
7169 * README: Update listing for arm-*-linux-gnueabi.
7170
464263cc
JM
7171 * README: Remove mention of am33.
7172
32749f6c
RM
71732014-02-07 Roland McGrath <roland@hack.frob.com>
7174
7175 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7176 than the comma operator, to avoid "rhs of comma has no effect"
7177 compiler warnings.
7178 (__sigfillset, __sigandset, __sigorset): Likewise.
7179 * include/signal.h (__sigemptyset): Likewise.
7180 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7181
d5b396c1
AM
71822014-02-07 Allan McRae <allan@archlinux.org>
7183
7184 * version.h (RELEASE): Set to "development".
7185 (VERSION): Set to "2.19.90"
7186 * NEWS: Add 2.20 section.
7187
3bfff2ed
CD
71882014-02-06 Carlos O'Donell <carlos@redhat.com>
7189
7190 [BZ #16529]
7191 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7192
ee7cc385
SP
71932014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7194
7195 * manual/contrib.texi: Update entry for Carlos O'Donell,
7196 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7197
f877c4f2
CD
71982014-02-05 Carlos O'Donell <carlos@rehdat.com>
7199
27e839f6
CD
7200 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7201
f877c4f2
CD
7202 * sysdeps/unix/sysv/linux/kernel-features.h
7203 [__LINUX_KERNEL_VERSION >= 0x020621]
7204 (__ASSUME_PROC_PID_TASK_COMM): Define.
7205
68159946
SP
72062014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7207
ba17cdbd
SP
7208 [BZ #16398]
7209 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7210 conversion when destination buffer does not have enough space.
7211 * libio/tst-ftell-partial-wide.c: New test case.
7212 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7213
68159946
SP
7214 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7215 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7216 Leonard and Allan McRae.
7217
2b528732
DM
72182014-02-04 David S. Miller <davem@davemloft.net>
7219
7220 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7221 32-bit.
7222
0ff82463
AZ
72232014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7224
57f41c40
AS
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7226 New file
c01603f7
AZ
7227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7228 New file
57f41c40
AS
7229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7230 New file.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7232 New file.
c01603f7
AZ
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7234 New file.
57f41c40
AS
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7236 New file.
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7238 New file.
c01603f7
AZ
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7240 New file.
7241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7242 New file.
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7244 New file.
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7246 New file.
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7248 New file.
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7250 New file.
7251
72522014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7253
0ff82463
AZ
7254 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7255 * shlib-versions: Likewise.
7256
1695c773
AZ
72572014-02-04 Roland McGrath <roland@hack.frob.com>
7258 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7259
7260 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7261 (abilist-pattern): New variable, set to %-le.abilist.
7262
7263 * Makerules (abilist-pattern): New variable.
7264 (vpath): Use $(abilist-pattern) in place of %.abilist.
7265 (check-abi-% pattern rule): Likewise.
7266 (check-abi, update-abi): Likewise.
7267
6c0ce4b4
EW
72682014-02-04 Eric Wong <normalperson@yhbt.net>
7269
7270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7271
481e3524
CD
72722014-02-03 Carlos O'Donell <carlos@redhat.com>
7273
7274 * manual/startup.texi: Add next, previous, and top entries for
7275 the `Program Arguments' and `Environment Variables' nodes.
7276
375592d3
AO
72772014-02-03 Alexandre Oliva <aoliva@redhat.com>
7278
7279 * manual/macros.texi: Add comments before MTASC-safety macros.
7280
f54838ba
AO
7281 * manual/users.texi: Document MTASC-safety properties.
7282
57f41c40
AS
7283 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7284 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7285 @deftypefun, and add @safety note.
7286 * manual/signal.texi: Move comments that analyze the above
7287 functions to their home place.
7288
fd3daba4
AM
72892014-02-03 Allan McRae <allan@archlinux.org>
7290
7291 * po/sl.po: Update Slovenian translation from translation project.
7292
597636d7
AO
72932014-02-02 Alexandre Oliva <aoliva@redhat.com>
7294
7295 * manual/time.texi (timegm): Add missing blank after @c.
7296 Reported by Joseph Myers <joseph@codesourcery.com>.
7297
ee196e3c
AO
72982014-02-01 Alexandre Oliva <aoliva@redhat.com>
7299
7300 * manual/check-safety.sh: New.
7301 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7302
f8d529d5
AO
7303 * manual/terminal.texi: Document MTASC-safety properties.
7304
de55fdf4
AO
7305 * manual/filesys.texi: Document MTASC-safety properties.
7306
c3299c08
AO
7307 * manual/errno.texi: Document MTASC-safety properties.
7308
06e90b14
AO
7309 * manual/intro.texi: Document safety identifiers and
7310 conditionals.
7311
1acd4371
AO
7312 * manual/string.texi (wcstok): Fix prototype.
7313 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7314
23e5b8cb
AO
7315 * manual/time.texi: Document MTASC-safety properties.
7316
11087373
AO
7317 * manual/string.texi: Document MTASC-safety properties.
7318
5da2c93d
AO
7319 * manual/threads.texi: Document MTASC-safety properties.
7320
171e9210
AO
7321 * manual/stdio.texi: Document MTASC-safety properties.
7322
d9e02532
AO
7323 * manual/syslog.texi: Document MTASC-safety properties.
7324
6af8bab7
AO
7325 * manual/sysinfo.texi: Document MTASC-safety properties.
7326
663b02d7
AO
7327 * manual/startup.texi: Document MTASC-safety properties.
7328
973f180b
AO
7329 * manual/socket.texi: Document MTASC-safety properties.
7330
8f3c25c8
AO
7331 * manual/signal.texi: Document MTASC-safety properties.
7332
542210fb
AO
73332014-01-31 Alexandre Oliva <aoliva@redhat.com>
7334
7335 * manual/setjmp.texi: Document MTASC-safety properties.
7336
433c45a2
AO
7337 * manual/search.texi: Document MTASC-safety properties.
7338
c8ce789c
AO
7339 * manual/resource.texi: Document MTASC-safety properties.
7340
19f5d29c
AO
7341 * manual/process.texi: Document MTASC-safety properties.
7342
e2dfb7f4
AO
7343 * manual/platform.texi: Document MTASC-safety properties.
7344
8c1413f5
AO
7345 * manual/pipe.texi: Document MTASC-safety properties.
7346
03483ada
AO
7347 * manual/pattern.texi: Document MTASC-safety properties.
7348
29e7e2df
AO
7349 * manual/message.texi: Document MTASC-safety properties.
7350
9f529d7c
AO
7351 [BZ #12751]
7352 * manual/memory.texi: Document MTASC-safety properties.
7353
27aaa791
AO
7354 * manual/math.texi: Document MTASC-safety properties.
7355
f2d58726
AO
7356 * manual/locale.texi: Document MTASC-safety properties.
7357
2cc3615c
AO
7358 * manual/llio.texi: Document MTASC-safety properties.
7359
d9f0ec97
AO
7360 * manual/libdl.texi: New.
7361
e7c4409a
AO
7362 * manual/lang.texi: Document MTASC-safety properties.
7363
27bdc63c
AO
7364 * manual/job.texi: Document MTASC-safety properties.
7365
a7b90ea9
AO
7366 * manual/getopt.texi: Document MTASC-safety properties.
7367
c49130e3
AO
7368 * manual/ctype.texi: Document MTASC-safety properties.
7369
0d23a5c1
MR
73702014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7371
7372 [BZ #16046]
7373 * csu/libc-tls.c (static_map): Remove variable.
7374 (__libc_setup_tls): Use main executable's link map for TLS data.
7375 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7376 casing for LM_ID_BASE and GL(dl_nns).
7377 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7378 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7379 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7380 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7381 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7382 member.
7383 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7384 l_phnum members.
7385
0037bb60
AO
73862014-01-30 Alexandre Oliva <aoliva@redhat.com>
7387
7388 * manual/debug.texi: Document MTASC-safety properties.
7389
409e00bd
L
73902014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7391
7392 [BZ #16510]
7393 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7394 of __x86_64__ when disabling x87 inline functions.
7395
86e60666
AO
73962014-01-29 Alexandre Oliva <aoliva@redhat.com>
7397
7398 * manual/charset.texi: Document MTASC-safety properties.
7399
76167637
AO
7400 * manual/crypt.texi: Document MTASC-safety properties.
7401
e567f2a0
AO
7402 * manual/conf.texi: Document MTASC-safety properties.
7403
b719dafd
AO
7404 * manual/arith.texi: Document MTASC-safety properties.
7405
4a16c662
AO
7406 * manual/argp.texi: Document MTASC-safety properties.
7407
0a57b83e
AO
7408 * manual/macros.texi: Introduce macros to document multi
7409 thread, asynchronous signal and asynchronous cancellation
7410 safety properties.
7411 * manual/intro.texi: Introduce the properties themselves.
7412
feab2397
KK
74132014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7414
7415 * sysdeps/sh/sh4/Makefile: New file.
7416
1c0d11bc
AS
74172014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7418
7419 * math/gen-libm-test.pl ($srcdir): New variable.
7420 ($auto_input): Use it.
7421
af37a8a3
SP
74222014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7423
d7b00f98
SP
7424 [BZ #16506]
7425 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7426 access beyond array bounds when parsing netgroups file.
7427
af37a8a3
SP
7428 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7429 the old buffer before realloc.
7430
0c00f062
AM
74312014-01-27 Allan McRae <allan@archlinux.org>
7432
7433 * po/fr.po: Update French translation from translation project.
7434
7d69a1b0
KK
74352014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7436
7437 * sysdeps/sh/libm-test-ulps: Regenerate.
7438
6e697ff7
DM
74392014-01-24 David S. Miller <davem@davemloft.net>
7440
7441 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7442
9cadb35c
KK
74432014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7444
7445 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7446 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7447
5d41dadf
SP
74482013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7449
7450 [BZ #16474]
7451 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7452 string pointers after reallocation.
7453
0bad441c
KK
74542014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7455
7456 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7457 __SH4A__ instead of __SH_FPU_ANY__.
7458
7007c661
KK
74592014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7460
7461 * sysdeps/sh/fpu_control.h: New file.
7462 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7463 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7464 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7465 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7466 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7467 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7468 * sysdeps/sh/sys/ucontext.h: Remove.
7469 * sysdeps/sh/sys: Remove directory.
7470
0f0c35e4
AK
74712014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7472
7473 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7474 s390/sys/ucontext.h.
7475 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7476 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7477
4959e284
L
74782014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7479
7480 [BZ #15605]
7481 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7482
d98720e0
AZ
74832014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7484
7485 [BZ#16431]
7486 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7487 Adjust the vDSO correctly for internal calls.
7488 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7489
91cbd0bc
AM
74902014-01-20 Allan McRae <allan@archlinux.org>
7491
7492 * po/ca.po: Update Catalan translation from translation project.
7493
7a02cfad
MF
74942014-01-16 Mike Frysinger <vapier@gentoo.org>
7495
7496 * sysdeps/s390/sotruss-lib.c: New file.
7497
736c304a
AZ
74982014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7499
7500 [BZ#16430]
6e077ee5 7501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7502 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7503 local calls issues by not having a PLT stub required for IFUNC calls.
7504 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7505
94d0cea0
JM
75062014-01-16 Joseph Myers <joseph@codesourcery.com>
7507
7508 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7509 * math/test-fpucw-static.c: Likewise.
7510
980cb518
SP
75112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7512
7513 [BZ #16453]
7514 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7515
2393fc01
AZ
75162014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7517
7518 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7519 implementation for powerpc.
7520
d359bcc2
OB
75212014-01-15 Ondřej Bílka <neleai@seznam.cz>
7522
7523 [BZ #14782]
7524 * sysdeps/posix/system.c (__libc_system): Do not enable
7525 asynchronous cancellation.
7526
7beb48cb
AK
75272014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7528
7529 [BZ #16427]
7530 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7531 handling only for numbers special also in the IEEE case.
7532
c20d5bf5
AK
75332014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7534
7535 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7536
e83bd4ee
AM
75372014-01-11 Allan McRae <allan@archlinux.org>
7538
76d0ea69
AM
7539 * po/bg.po: Update Bulgarian translation from translation project.
7540
e83bd4ee
AM
7541 * po/de.po: Update German translation from translation project.
7542
bc2ba20a
RM
75432014-01-10 Roland McGrath <roland@hack.frob.com>
7544
7545 * sysdeps/generic/gcc-compat.h: New file.
7546
649ecea2
SP
75472014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7548
7549 * benchtests/asin-inputs: Correct slow inputs.
7550 * benchtests/acos-inputs: Likewise.
7551
1b19c006
AM
75522014-01-10 Allan McRae <allan@archlinux.org>
7553
a46dab08
AM
7554 * po:sv.po: Update Swedish translation from translation project.
7555
421df74a
AM
7556 * po/vi.po: Update Vietnamese translation from translation project.
7557
d61c51a7
AM
7558 * po/eo.po: Update Esperanto translation from translation project.
7559
0339a319
AM
7560 * po/cs.po: Update Czech translation from translation project.
7561
94ad3e99
AM
7562 * po/nl.po: Update Dutch translation from translation project.
7563
e349ca71
AM
7564 * po/pl.po: Update Polish translation from translation project.
7565
ddf930c1
AM
7566 * po/ru.po: Update Russian translation from translation project.
7567
1b19c006
AM
7568 * po/uk.po: Update Ukrainian translation from translation project.
7569
9f236c49
BM
75702014-01-08 Brooks Moses <bmoses@google.com>
7571
7572 * elf/dl-load.c: Fix comment typo.
7573
cd6701cf
CD
75742014-01-08 Carlos O'Donell <carlos@redhat.com>
7575
7576 * po/header.pot: Rename to...
7577 * po/pot.header: ... this.
7578 * po/Makefile: Use pot.header.
7579
66671c84
YK
75802014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7581 Maxim Kuvyrkov <maxim@kugelworks.com>
7582
7583 [BZ #16394]
cd6701cf
CD
7584 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7585 SRC and DEST against LEN.
66671c84 7586
38f34581
AZ
75872014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7588
7589 [BZ #16414]
7590 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7591 implementation.
7592 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7593
75942014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7595
7596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7597
4c327f2a
JM
75982014-01-08 Joseph Myers <joseph@codesourcery.com>
7599
7600 [BZ #16408]
7601 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7602 for large positive arguments.
7603
b821f414
JM
76042014-01-07 Joseph Myers <joseph@codesourcery.com>
7605
1f0f2067
JM
7606 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7607
a5a326f6
JM
7608 * math/auto-libm-test-in: Mark various tests with
7609 xfail-rounding:ldbl-128ibm.
7610 * math/auto-libm-test-out: Regenerated.
7611
b821f414
JM
7612 [BZ #16407]
7613 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7614 Increase overflow threshold.
7615
94c8a4bc
OB
76162014-01-07 Ondřej Bílka <neleai@seznam.cz>
7617
7618 [BZ #14286]
7619 * stdio-common/vfprintf.c: Check for integer overflow.
7620
87ded0c3
AK
76212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7622
7623 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7624 the first argument and return value of __tls_get_addr_internal.
7625
c5eebdd0
AK
76262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7627
7628 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7629 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7630
05d138ef
AK
76312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7632
7633 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7634 * sysdeps/s390/rtld-global-offsets.sym: New file.
7635 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7636 GLIBC_2.19 symbol.
7637 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7638 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7639 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7640 ... this.
7641 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7642 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7643 ... this.
7644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7645 Regenerate.
7646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7647 Regenerate.
7648 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7649 halfs of GPRs for high_gprs contexts.
7650 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7651 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7652 field.
7653 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7654 uc_flags field.
7655 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7656 64 bit versions:
7657 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7658 for high GPRs (uc_high_gprs) and for future extensions
7659 (__reserved).
7660 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7661 for future extensions (__reserved).
7662 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7663 64 bit versions:
7664 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7665 SC_HIGHGPRS offset definition.
7666 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7667 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7668
93a45ff1
AK
7669 * Versions.def: Add GLIBC_2.19 for libpthread.
7670 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7671 siglongjmp for libpthread with GLIBC_2.19 symver.
7672 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7673 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7674 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7675 * sysdeps/s390/__longjmp.c: New file.
7676 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7677 * sysdeps/s390/longjmp.c: New file.
7678 * sysdeps/s390/setjmp.S: New file.
7679 * sysdeps/s390/sigjmp.S: New file.
7680 * sysdeps/s390/v1-longjmp.c: New file.
7681 * sysdeps/s390/v1-setjmp.h: New file.
7682 * sysdeps/s390/v1-sigjmp.c: New file.
7683 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7684 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7685 GLIBC_2.19 version.
7686 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7687 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7688 versioned symbols for ____longjmp_chk.
7689 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7690 Likewise.
7691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7692 Regenerate.
7693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7694 Regenerate.
7695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7696 Regenerate.
7697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7698 Regenerate.
7699 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7700 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7701 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7702 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7703 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7704 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7705 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7706 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7707 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7708 * sysdeps/s390/rtld-__longjmp.c: New file.
7709 * sysdeps/s390/rtld-setjmp.S: New file.
7710
eb3fc44b
JM
77112014-01-06 Joseph Myers <joseph@codesourcery.com>
7712
7713 [BZ #16400]
7714 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7715 Return -__logl (x) for small positive arguments without evaluating
7716 a polynomial.
7717
9341dde4
MF
77182014-01-06 Mike Frysinger <vapier@gentoo.org>
7719
7720 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7721 Rename to ...
7722 (__ptrace_peeksiginfo_args): ... this.
7723 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7724 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7726
4cff0293
AM
77272014-01-06 Allan McRae <allan@archlinux.org>
7728
7729 * inet/netinet/in.h: Fix typo in comment.
7730
75595dcf
AJ
77312014-01-05 Andreas Jaeger <aj@suse.de>
7732
7733 * sysdeps/i386/fpu/libm-test-ulps: Update.
7734
79c1e109
AM
77352014-01-05 Allan McRae <allan@archlinux.org>
7736
dd804818
AM
7737 * po/libc.pot: Regenerated.
7738
79c1e109
AM
7739 * malloc/memusagestat.c: Fix gettext call formatting.
7740
0c813d1f
SK
77412014-01-04 Sami Kerola <kerolasa@iki.fi>
7742
7743 * nscd/nscd.c: Improve usage() output.
7744
20f4a8d9
MF
77452014-01-04 Mike Frysinger <vapier@gentoo.org>
7746
7747 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7748 * sysdeps/unix/sysv/linux/configure: Regenerated.
7749 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7750 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7751
22562bb2
JM
77522014-01-03 Joseph Myers <joseph@codesourcery.com>
7753
7754 [BZ #16390]
7755 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7756 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7757
d7ad2d9b
AZ
77582014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7759
7760 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7761 extra tokens at end of #undef directive.
7762 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7763 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7764 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7765
7dd009d8
JM
77662014-01-03 Joseph Myers <joseph@codesourcery.com>
7767
24db925a
JM
7768 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7769
7dd009d8
JM
7770 * math/auto-libm-test-in: Mark various tests with
7771 xfail-rounding:ldbl-128ibm.
7772 * math/auto-libm-test-out: Regenerated.
7773
396e3ecf
JM
77742014-01-02 Joseph Myers <joseph@codesourcery.com>
7775
819e5d50
JM
7776 [BZ #16386]
7777 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7778 numbers with subnormal high part when calculating exponent.
7779
90b6a1e5
JM
7780 [BZ #16385]
7781 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7782 fabs.
7783
396e3ecf
JM
7784 [BZ #16384]
7785 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7786 M_LN2l.
7787 (__ieee754_acoshl): Use __log1pl not __log1p.
7788
6c8dbf00
OB
77892013-01-02 Ondřej Bílka <neleai@seznam.cz>
7790
57f41c40
AS
7791 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7792 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7793 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7794 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7795 (reused_arena, arena_get2): Convert to GNU style.
7796 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7797 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7798 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7799 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7800 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7801 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7802 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7803 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7804 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7805 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7806 * malloc/malloc.h: Likewise.
57f41c40
AS
7807 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7808 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7809 * malloc/mcheck.h: Likewise.
57f41c40
AS
7810 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7811 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7812 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7813 * malloc/morecore.c (__default_morecore): Likewise.
7814 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7815 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7816 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7817 (print_and_abort): Likewise.
6c8dbf00
OB
7818 * malloc/obstack.h: Likewise.
7819 * malloc/set-freeres.c (__libc_freeres): Likewise.
7820 * malloc/tst-mallocstate.c (main): Likewise.
7821 * malloc/tst-mtrace.c (main): Likewise.
7822 * malloc/tst-realloc.c (do_test): Likewise.
7823
d4124212
SP
78242013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7825
9a3c6a6f
SP
7826 [BZ #16366]
7827 * nscd/netgroupcache.c (do_notfound): New function.
7828 (addgetnetgrentX): Use it.
7829
d4124212
SP
7830 [BZ # 16365]
7831 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7832 NSS_STATUS_NOTFOUND.
7833
97b9a009
JM
78342014-01-01 Joseph Myers <joseph@codesourcery.com>
7835
7836 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7838
d4697bc9
AM
78392014-01-01 Allan McRae <allan@archlinux.org>
7840
ddb3687f
AM
7841 * scripts/update-copyrights: Update configure input file suffix.
7842
88726d48
AM
7843 * NEWS: Update copyright year.
7844 * catgets/gencat.c: Likewise.
7845 * csu/version.c: Likewise.
7846 * debug/catchsegv.sh: Likewise.
7847 * debug/pcprofiledump.c: Likewise.
7848 * debug/xtrace.sh: Likewise.
7849 * elf/ldconfig.c: Likewise.
7850 * elf/ldd.bash.in: Likewise.
7851 * elf/pldd.c: Likewise.
7852 * elf/sotruss.ksh: Likewise.
7853 * elf/sprof.c: Likewise.
7854 * iconv/iconv_prog.c: Likewise.
7855 * iconv/iconvconfig.c: Likewise.
7856 * locale/programs/locale.c: Likewise.
7857 * locale/programs/localedef.c: Likewise.
7858 * login/programs/pt_chown.c: Likewise.
7859 * malloc/memusage.sh: Likewise.
7860 * malloc/memusagestat.c: Likewise.
7861 * malloc/mtrace.pl: Likewise.
7862 * manual/libc.texinfo: Likewise.
7863 * nscd/nscd.c: Likewise.
7864 * nss/getent.c: Likewise.
7865 * nss/makedb.c: Likewise.
7866 * posix/getconf.c: Likewise.
7867 * scripts/test-installation.pl: Likewise.
7868
d4697bc9
AM
7869 * All files with FSF copyright notices: Update copyright dates
7870 using scripts/update-copyrights.
7871 * intl/plural.c: Regenerated.
7872 * locale/programs/charmap-kw.h: Likewise.
7873 * locale/programs/locfile-kw.h: Likewise.
7874
c8590f9d
MF
78752013-12-31 Mike Frysinger <vapier@gentoo.org>
7876
7877 * sysdeps/unix/sysv/linux/configure: Regenerated.
7878 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7879 the linux/fanotify.h header.
7880 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7881 HAVE_LINUX_FANOTIFY_H is defined.
7882
b19221b9
SP
78832013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7884
dd1d85e5
SP
7885 * benchtests/cos-inputs: New inputs.
7886 * benchtests/sin-inputs: Likewise.
7887
1acbb90f
SP
7888 * benchtests/atan-inputs: New inputs. Fix name of multiple
7889 precision fallback inputs.
7890
4c012ed3
SP
7891 * benchtests/atanh-inputs: New inputs.
7892 * benchtests/tanh-inputs: Likewise.
7893
eff98324
SP
7894 * benchtests/acosh-inputs: New inputs.
7895 * benchtests/asinh-inputs: Likewise.
7896
ce641152
SP
7897 * benchtests/cosh-inputs: New inputs.
7898 * benchtests/sinh-inputs: Likewise.
7899
b19221b9
SP
7900 * benchtests/acos-inputs: Add more inputs.
7901 * benchtests/asin-inputs: Likewise.
7902
030a4976 79032013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7904
030a4976 7905 [BZ #16375]
9dcc8f11
VS
7906 * manual/arith.texi: Fix spelling.
7907 * manual/charset.texi: Likewise.
7908 * manual/errno.texi: Likewise.
7909 * manual/filesys.texi: Likewise.
7910 * manual/lang.texi: Likewise.
7911 * manual/llio.texi: Likewise.
7912 * manual/locale.texi: Likewise.
7913 * manual/message.texi: Likewise.
7914 * manual/resource.texi: Likewise.
7915 * manual/search.texi: Likewise.
7916 * manual/setjmp.texi: Likewise.
7917 * manual/stdio.texi: Likewise.
7918 * manual/string.texi: Likewise.
7919 * manual/sysinfo.texi: Likewise.
7920 * manual/time.texi: Likewise.
7921
11520a57
CD
79222013-12-27 Carlos O'Donell <carlos@redhat.com>
7923
7924 * po/sl.po: New file.
7925
471103ae
MF
79262013-12-27 Mike Frysinger <vapier@gentoo.org>
7927
7928 * .gitignore: Add core/.gdbinit/.gdb_history.
7929
6c9642ed
AM
79302013-12-27 Allan McRae <allan@archlinux.org>
7931
7932 [BZ #16369]
7933 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7934 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7935
3f637079
BM
79362013-12-24 Brooks Moses <bmoses@google.com>
7937
7938 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7939 all compilers that claim C++98 compliance, not just GCC.
7940 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7941 Likewise.
7942
abc26e99
MK
79432013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7944
7945 * NEWS: Restore accidentally deleted bug-fix entries.
7946
362b47fe
MK
79472013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7948 Ondřej Bílka <neleai@seznam.cz>
7949
7950 [BZ #15073]
7951 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7952 have_lock.
362b47fe 7953
b9bcbbcb
OB
79542013-12-23 Ondřej Bílka <neleai@seznam.cz>
7955
7956 [BZ #12986]
7957 * manual/stdio.texi (String Input Conversions): Clarify that character
7958 classes are not supported.
7959
fb55fcd2
AZ
79602013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7961
7962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7963
ef7344f0
JM
79642013-12-22 Joseph Myers <joseph@codesourcery.com>
7965
4f40e4b3
JM
7966 [BZ #16337]
7967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7968 Calculate results for small negative arguments directly rather
7969 than using reflection formula with special underflow handling.
7970
ef7344f0
JM
7971 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7972 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7973 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7974 (fchflags): Likewise.
7975 (revoke): Likewise.
7976 (setlogin): Likewise.
7977 (sigaltstack): Likewise.
7978 (wait4): Likewise.
7979 (sigblock): Remove.
7980 (sigsetmask): Likewise.
7981 (wait3): Likewise.
7982 (waitpid): Likewise.
7983 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7984 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7985 file.
7986 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7987 * sysdeps/unix/bsd/Makefile: ... here.
7988 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7989 * sysdeps/unix/bsd/Versions: ... here.
7990 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7991 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7992 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7993 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7994 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7995 * sysdeps/unix/bsd/sigblock.c: ... here.
7996 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7997 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7998 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7999 * sysdeps/unix/bsd/sigvec.c: ... here.
8000 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8001 * sysdeps/unix/bsd/tcdrain.c: ... here.
8002 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8003 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8004 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8005 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8006 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8007 * sysdeps/unix/bsd/wait.c: ... here.
8008 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8009 * sysdeps/unix/bsd/wait3.c: ... here.
8010 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8011 * sysdeps/unix/bsd/waitpid.c: ... here.
8012
5b0626b9
JM
80132013-12-21 Joseph Myers <joseph@codesourcery.com>
8014
8015 [BZ #16356]
8016 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8017 round-to-nearest for [!USE_AS_EXPM1L].
8018 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8019 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8020 more tests of exp and exp10. Expect some exp10 tests to miss
8021 exceptions or fail in directed rounding modes.
8022 * math/auto-libm-test-out: Regenerated.
8023 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8024 (exp10_test_tonearest): New function.
8025 (exp10_towardzero_test_data): New array.
8026 (exp10_test_towardzero): New function.
8027 (exp10_downward_test_data): New array.
8028 (exp10_test_downward): New function.
8029 (exp10_upward_test_data): New array.
8030 (exp10_test_upward): New function.
8031 (main): Call the new functions.
8032 * sysdeps/i386/fpu/libm-test-ulps: Update.
8033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8034
7fda5682
JM
80352013-12-20 Joseph Myers <joseph@codesourcery.com>
8036
31e3a405
JM
8037 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8038 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8039 * math/auto-libm-test-out: Regenerated.
8040 * math/libm-test.inc (acosh_test_data): Add more tests.
8041 (atanh_test_data): Likewise.
8042 (ceil_test_data): Likewise.
8043 (copysign_test_data): Likewise.
8044 * sysdeps/i386/fpu/libm-test-ulps: Update.
8045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8046
85bff96a
JM
8047 * timezone/checktab.awk: Update from tzcode 2013i.
8048 * timezone/private.h: Likewise.
8049 * timezone/scheck.c: Likewise.
8050 * timezone/tzfile.h: Likewise.
8051 * timezone/tzselect.ksh: Likewise.
8052 * timezone/zdump.c: Likewise.
8053 * timezone/zic.c: Likewise.
8054
b7867a3b
JM
8055 * math/auto-libm-test-in: Add tests of cpow.
8056 * math/auto-libm-test-out: Regenerated.
8057 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8058 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8059 mpc_cc_c.
8060 (func_calc_desc): Add mpc_cc_c union field.
8061 (test_functions): Add cpow.
8062 (special_fill_2pi): New function.
8063 (special_real_inputs): Add 2pi.
8064 (calc_generic_results): Handle mpc_cc_c.
8065 * sysdeps/i386/fpu/libm-test-ulps: Update.
8066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8067
7fda5682
JM
8068 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8069 csqrt, ctan and ctanh.
8070 * math/auto-libm-test-out: Regenerated.
8071 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8072 (TEST_COND_x86): Likewise.
8073 (ccos_test_data): Use AUTO_TESTS_c_c.
8074 (ccosh_test_data): Likewise.
8075 (cexp_test_data): Likewise.
8076 (clog_test_data): Likewise.
8077 (csqrt_test_data): Likewise.
8078 (ctan_test_data): Likewise.
8079 (ctan_tonearest_test_data): Likewise.
8080 (ctan_towardzero_test_data): Likewise.
8081 (ctan_downward_test_data): Likewise.
8082 (ctan_upward_test_data): Likewise.
8083 (ctanh_test_data): Likewise.
8084 (ctanh_tonearest_test_data): Likewise.
8085 (ctanh_towardzero_test_data): Likewise.
8086 (ctanh_downward_test_data): Likewise.
8087 (ctanh_upward_test_data): Likewise.
8088 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8089 mpc_c_c.
8090 (func_calc_desc): Add mpc_c_c union field.
8091 (FUNC_mpc_c_c): New macro.
8092 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8093 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8094 ctanh.
8095 (special_fill_min_subnorm_p120): New function.
8096 (special_real_inputs): Add min_subnorm_p120.
8097 (calc_generic_results): Handle mpc_c_c.
8098 * sysdeps/i386/fpu/libm-test-ulps: Update.
8099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8100
5ff8d60e
SP
81012013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8102
57f41c40
AS
8103 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8104 (do_sin_slow): New functions.
8105 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8106 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8107
84ba214c
SP
8108 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8109 Use M to change sign of result instead of X. Assume X is
8110 positive.
8111 (csloww1): Likewise.
8112 (__sin): Adjust.
8113 (__cos): Adjust.
8114
975195e4
SP
8115 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8116 arguments A and DA.
8117 (__sin): Adjust.
8118 (__cos): Likewise.
8119
5ff8d60e
SP
8120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8121 (__cos): Likewise.
8122 (sloww1): Don't adjust sign of DX.
8123 (csloww1): Likewise.
8124 (sloww2): Use X directly and don't adjust sign of DX.
8125 (csloww2): Likewise.
8126
eb983568
JM
81272013-12-19 Joseph Myers <joseph@codesourcery.com>
8128
64a17f1a
JM
8129 * math/auto-libm-test-in: Add tests of cabs and carg.
8130 * math/auto-libm-test-out: Regenerated.
8131 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8132 (carg_test_data): Likewise.
8133 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8134 mpc_c_f.
8135 (func_calc_desc): Add mpc_c_f union field.
8136 (test_functions): Add cabs and carg.
8137 (calc_generic_results): Handle mpc_c_f.
8138
eb983568
JM
8139 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8140 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8141 as a macro and a compat symbol.
8142 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8143 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8144 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8145 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8146 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8147 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8148 not use .hidden.
8149 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8150 Likewise.
8151 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8152 Likewise.
8153 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8154 Likewise.
8155 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8156 Likewise.
8157 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8158 Likewise.
8159 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8160 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8161 from GLIBC_2.3.2.
8162
6eeb678a
AZ
81632013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8164
8165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8166
6f6fc482
JM
81672013-12-19 Joseph Myers <joseph@codesourcery.com>
8168
21fea2e2
JM
8169 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8170 trailing whitespace removed.
8171 * scripts/config.guess: Update to version 2013-11-29.
8172 * scripts/config.sub: Update to version 2013-10-01.
8173
6f6fc482
JM
8174 * math/auto-libm-test-in: Add tests of sincos.
8175 * math/auto-libm-test-out: Regenerated.
8176 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8177 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8178 mpfr_f_11.
8179 (func_calc_desc): Add mpfr_f_11 union field.
8180 (test_functions): Add sincos.
8181 (calc_generic_results): Handle mpfr_f_11.
8182 * sysdeps/i386/fpu/libm-test-ulps: Update.
8183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8184
83f5c32d
AS
81852013-12-19 Andreas Schwab <schwab@suse.de>
8186
8187 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8188 CALL_MCOUNT.
8189 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8190 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8191 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8192
c688b419
JM
81932013-12-19 Joseph Myers <joseph@codesourcery.com>
8194
335ee092
JM
8195 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8196 * sysdeps/i386/fpu/libm-test-ulps: Update.
8197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8198
f88acd39
JM
8199 [BZ #16293]
8200 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8201 round-to-nearest mode when using frndint.
8202 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8203 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8204 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8205 Likewise.
8206 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8207 sinh test to fail.
8208 * math/auto-libm-test-out: Regenerated.
8209 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8210 (TEST_COND_x86): Likewise.
8211 (expm1_tonearest_test_data): New array.
8212 (expm1_test_tonearest): New function.
8213 (expm1_towardzero_test_data): New array.
8214 (expm1_test_towardzero): New function.
8215 (expm1_downward_test_data): New array.
8216 (expm1_test_downward): New function.
8217 (expm1_upward_test_data): New array.
8218 (expm1_test_upward): New function.
8219 (main): Run the new test functions.
8220 * sysdeps/i386/fpu/libm-test-ulps: Update.
8221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8222
c688b419
JM
8223 * include/features.h: Update comment documenting feature test
8224 macros. Mention _DEFAULT_SOURCE in comment.
8225 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8226 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8227 _BSD_SOURCE and _SVID_SOURCE.
8228 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8229 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8230 !_SVID_SOURCE]: Likewise.
8231 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8232 (__USE_POSIX_IMPLICITLY): Define.
8233 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8234 (_POSIX_SOURCE): Undefine and redefine.
8235 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8236 (_POSIX_C_SOURCE): Likewise.
8237 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8238 (Feature Test Macros): Update documentation of default features.
8239
9f6e964c
RS
82402013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8241
8242 * benchtests/Makefile: Add bench-strtok.
8243 * benchtests/bench-strtok.c: New file: strtok benchtest.
8244
ee0a148a
AM
82452013-12-19 Allan McRae <allan@archlinux.org>
8246
8247 * manual/install.texi: Suppress menu for plain text output.
8248 * INSTALL: Regenerated.
8249
b9ab448f
BM
82502013-12-18 Brooks Moses <bmoses@google.com>
8251
8252 [BZ #15846]
8253 * misc/getauxval.c: Include errno.h.
8254 (__getauxval): Set errno to ENOENT if the requested type is not
8255 found.
8256 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8257 don't declare with __attribute_const__.
8258 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8259 * manual/startup.texi: Document that getauxval sets errno.
8260
23776487
JM
82612013-12-18 Joseph Myers <joseph@codesourcery.com>
8262
f889953b
JM
8263 * math/auto-libm-test-in: Add tests of jn and yn.
8264 * math/auto-libm-test-out: Regenerated.
8265 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8266 (yn_test_data): Likewise.
8267 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8268 mpfr_if_f.
8269 (func_calc_desc): Add mpfr_if_f union field.
8270 (FUNC_mpfr_if_f): New macro.
8271 (test_functions): Add jn and yn.
8272 (calc_generic_results): Assert type of second input for
8273 mpfr_ff_f. Handle mpfr_if_f.
8274 (output_for_one_input_case): Disable all checking for arguments
8275 fitting floating-point types in case of an integer argument.
8276 * sysdeps/i386/fpu/libm-test-ulps: Update.
8277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8278
23776487
JM
8279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8280 Don't expect fegetround reference in libm.so.
8281
cb756c6d
MS
82822013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8283
8284 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8285 $(config-cflags-nofma).
8286
2dec468f
JM
82872013-12-18 Joseph Myers <joseph@codesourcery.com>
8288
5953eb3a
JM
8289 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8290 * math/auto-libm-test-out: Regenerated.
8291
2dec468f
JM
8292 [BZ #16338]
8293 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8294 to determine exponent and adjust argument to have exponent of -1.
8295 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8296 log2.
8297 * math/auto-libm-test-out: Regenerated.
8298 * sysdeps/i386/fpu/libm-test-ulps: Update.
8299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8300
4d84e6ad
OB
83012013-12-18 Ondřej Bílka <neleai@seznam.cz>
8302
8303 * manual/probes.texi: Remove cases when per-thread arenas are
8304 disabled.
8305
1818483b
AS
83062013-12-18 Andreas Schwab <schwab@suse.de>
8307
8308 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8309 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8310 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8311 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8312 * sysdeps/i386/i686/multiarch/Makefile: Update.
8313 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8314
25de95bf
JM
83152013-12-17 Joseph Myers <joseph@codesourcery.com>
8316
8317 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8318 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8319
674762d9
PE
83202013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8321
ed27ed83 8322 [BZ #15968]
0748546f
PE
8323 Support TZ transition times < 00:00:00.
8324 This is needed for version-3 tz-format files; it supports time
8325 stamps past 2037 for America/Godthab (the only entry in the tz
8326 database for which this change is relevant).
8327 * manual/time.texi (TZ Variable): Document transition times
8328 from -167:59:59 through -00:00:01.
8329 * time/tzset.c (tz_rule): Time of day is now signed.
8330 (__tzset_parse_tz): Parse negative time of day.
8331
4480e934
PE
8332 Document TZ transition times >= 25:00:00.
8333 * manual/time.texi (TZ Variable): Document transition times from
8334 25:00:00 through 167:59:59. These are already supported, and this
8335 support will help with version-3 tz-format files.
8336
69947401
PE
8337 * manual/time.texi (TZ Variable): Modernize North America example
8338 to reflect current (i.e., 2007-and-later) daylight saving rules.
8339
674762d9
PE
8340 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8341
7011c262
JM
83422013-12-17 Joseph Myers <joseph@codesourcery.com>
8343
2fc6557e
JM
8344 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8345 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8348 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8349 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8350 * sysdeps/unix/bsd/clock.c: Likewise.
8351 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8352 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8353 * sysdeps/unix/bsd/init-posix.c: Likewise.
8354 * sysdeps/unix/bsd/poll.c: Likewise.
8355 * sysdeps/unix/bsd/ptsname.c: Likewise.
8356 * sysdeps/unix/bsd/seekdir.c: Likewise.
8357 * sysdeps/unix/bsd/setegid.c: Likewise.
8358 * sysdeps/unix/bsd/seteuid.c: Likewise.
8359 * sysdeps/unix/bsd/setgid.c: Likewise.
8360 * sysdeps/unix/bsd/setrgid.c: Likewise.
8361 * sysdeps/unix/bsd/setruid.c: Likewise.
8362 * sysdeps/unix/bsd/setsid.c: Likewise.
8363 * sysdeps/unix/bsd/setuid.c: Likewise.
8364 * sysdeps/unix/bsd/sigaction.c: Likewise.
8365 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8366 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8367 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8368 * sysdeps/unix/bsd/telldir.c: Likewise.
8369 * sysdeps/unix/bsd/times.c: Likewise.
8370 * sysdeps/unix/bsd/usleep.c: Likewise.
8371
029c7b25
JM
8372 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8373 ($(objpfx)libbsd-compat.a): Remove rule.
8374
7011c262
JM
8375 * include/features.h (__FAVOR_BSD): Do not define.
8376 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8377 features conflicting with POSIX.
8378 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8379 (_BSD_SOURCE): Remove description of not being a subset of other
8380 feature test macros.
8381 * manual/job.texi (getpgrp): Do not document BSD version.
8382 (getpgid): Do not document by reference to BSD getpgrp.
8383 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8384 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8385 * signal/signal.h [__FAVOR_BSD]: Likewise.
8386 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8387 instead of making contents conditional on [__FAVOR_BSD].
8388 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8389
affb6f78
AZ
83902013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8391
8392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8393
c88769dd
JM
83942013-12-17 Joseph Myers <joseph@codesourcery.com>
8395
6432a540
JM
8396 [BZ #16314]
8397 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8398 values below 2**-450, not 2**-500.
8399 * math/auto-libm-test-in: Don't allow spurious underflow from
8400 hypot.
8401 * math/auto-libm-test-out: Regenerated.
8402
c88769dd
JM
8403 [BZ #16316]
8404 [BZ #16330]
8405 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8406 values of ha and hb and sort them after adjusting subnormal
8407 arguments.
8408 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8409 Likewise.
8410 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8411 values of ea and eb and sort them after adjusting subnormal
8412 arguments.
8413 * math/auto-libm-test-in: Do not expect some hypot tests of
8414 subnormals to fail. Add more hypot tests.
8415 * math/auto-libm-test-out: Regenerated.
8416
29618f6b
KK
84172013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8418
8419 [BZ #13304]
8420 * sysdeps/sh/s_fma.c: New file.
8421 * sysdeps/sh/s_fmaf.c: New file.
8422 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8423 version.
8424 * sysdeps/sh/Implies: Add sh/soft-fp.
8425
eacfdfbf
RM
84262013-12-16 Roland McGrath <roland@hack.frob.com>
8427
8428 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8429 level of indirection to members `objname', `errstring', `malloced'.
8430 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8431 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8432 it as the __longjmp argument (just pass 1 instead).
8433 (_dl_catch_error): Initialize C with argument pointers and address of
8434 volatile local ERRCODE rather than copying values out of C at return.
8435
ff362e5b
JM
84362013-12-16 Joseph Myers <joseph@codesourcery.com>
8437
8438 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8439 * math/auto-libm-test-out: Regenerated.
8440 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8441 (hypot_test_data): Likewise.
8442 (pow_test_data): Likewise.
8443 (pow_tonearest_test_data): Likewise.
8444 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8445 mpfr_ff_f.
8446 (func_calc_desc): Add mpfr_ff_f union field.
8447 (FUNC_mpfr_ff_f): New macro.
8448 (test_functions): Add atan2, hypot and pow.
8449 (special_fill_min): New function.
8450 (special_fill_minus_min): Likewise.
8451 (special_fill_min_subnorm): Likewise.
8452 (special_fill_minus_min_subnorm): Likewise.
8453 (special_real_inputs): Add min, -min, min_subnorm and
8454 -min_subnorm.
8455 (calc_generic_results): Handle mpfr_ff_f.
8456 * sysdeps/i386/fpu/libm-test-ulps: Update.
8457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8458
5764c27f
WN
84592013-12-16 Will Newton <will.newton@linaro.org>
8460
8461 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8462 (Aligned Memory Blocks): Add documentation for aligned_alloc
8463 and suggest it as an alternative to posix_memalign.
8464 (Hooks for Malloc): Document __memalign_hook is also called
8465 for aligned_alloc. (Summary of Malloc): Add summary for
8466 aligned alloc. Document __memalign_hook is also called
8467 for aligned_alloc.
8468
0a096e44
WN
84692013-12-16 Will Newton <will.newton@linaro.org>
8470
8471 * manual/memory.texi (Malloc Examples): Clarify default
8472 alignment documentation. Suggest posix_memalign rather
8473 than memalign or valloc.
8474 (Aligned Memory Blocks): Remove suggestion to use memalign
8475 or valloc. Remove obsolete comment about BSD.
8476 Document memalign errno values and mark the function obsolete.
8477 Document posix_memalign returned error codes. Mark valloc
8478 as obsolete. (Hooks for Malloc): __memalign_hook is also
8479 called for posix_memalign and valloc.
8480 (Summary of Malloc): Add posix_memalign to function summary.
8481 __memalign_hook is also called for posix_memalign and valloc.
8482
8d561986
SP
84832013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8484
8485 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8486 TAYLOR_SIN.
8487 (__sin): Adjust.
8488 (__cos): Likewise.
8489 (sloww): Use mynumber union. Expand ternary operator into
8490 if-else statements.
8491 (cslow): use mynumber union.
8492
73616a74
AM
84932013-12-16 Allan McRae <allan@archlinux.org>
8494
9e8ac24b
AM
8495 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8496 * configure: Regenerated.
8497
6f8e37eb
AM
8498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8499
8894bad3
AM
8500 [BZ #14120]
8501 * configure.ac: Added --enable-maintainer-mode. Check for
8502 autoconf when enabled.
8503 * configure: Regenerated.
8504
73616a74
AM
8505 * nscd/nscd.service: New file.
8506 * nscd/nscd.tmpfiles: New file.
8507
584b18eb
OB
85082013-12-14 Ondřej Bílka <neleai@seznam.cz>
8509
8510 [BZ #12100]
8511 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8512 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8513 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8514 (strstr): Add __strstr_sse2_unaligned ifunc.
8515 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8516 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8517 (strcasestr): Remove __strcasestr_sse42 ifunc.
8518 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8521
8a5c7897
KK
85222013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8523
8524 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8525 * sysdeps/sh/bits/fenv.h: ... here.
8526 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8527
fd712ef3
AZ
85282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8529
8530 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8531
42fcb46c
AZ
8532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8533 hypotf multiarch implementations.
8534 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8535 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8536 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8537 multiarch hypot for PPC64.
8538 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8539 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8541 multiarch hypotf for PPC64.
8542
83efded4
AZ
8543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8544 modff multiarch implementations.
8545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8548 multiarch modf for PPC64.
8549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8552 multiarch modff for PPC64.
8553
43e246d2
AZ
8554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8555 and logl multiarch implementations.
8556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8559 multiarch logb for PPC64.
8560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8563 multiarch logb for PPC64.
8564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8567 multiarch logb for PPC64.
8568
8fdad123
AZ
8569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8570 isinff multiarch implementation.
8571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8572 file.
8573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8575 multiarch isinf for PPC64.
8576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8577 file.
8578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8579 multiarch isinff for PPC64.
8580
1481d706
AZ
8581 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8582 finitef multiarch implementation.
8583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8584 file.
8585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8587 multiarch finite for PPC64.
8588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8589 file.
8590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8591 multiarch finitef for PPC64.
8592
5ccd5fc8
AZ
8593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8594 lrint multiarch implementation.
8595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8596 file.
8597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8599 multiarch llrint for PPC64.
8600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8601 multiarch lrint for PPC64.
8602
2568f3fa
AZ
8603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8604 copysignf multiarch implementation.
8605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8606 file.
8607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8608 file.
8609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8610 multiarch copysign for PPC64.
8611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8612 multiarch copysignf for PPC64.
8613
1cb341fd
AZ
8614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8615 multiarch implementation.
8616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8617 file.
8618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8619 file.
8620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8621 file.
8622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8623 file.
8624 multiarch llround for PPC64.
8625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8626 multiarch trunc for PPC64.
8627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8628 multiarch truncf for PPC64.
8629
59a3e194
AZ
8630 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8631 multiarch implementation.
8632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8633 file.
8634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8635 file.
8636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8637 file.
8638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8639 file.
8640 multiarch llround for PPC64.
8641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8642 multiarch round for PPC64.
8643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8644 multiarch roundf for PPC64.
8645
357fd3b4
AZ
8646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8647 multiarch implementation.
8648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8649 file.
8650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8651 file.
8652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8653 file.
8654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8655 file.
8656 multiarch llround for PPC64.
8657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8658 multiarch floor for PPC64.
8659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8660 multiarch floorf for PPC64.
8661
96770f12
AZ
8662 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8663 multiarch implementation.
8664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8665 file.
8666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8667 file.
8668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8669 file.
8670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8671 file.
8672 multiarch llround for PPC64.
8673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8674 multiarch ceil for PPC64.
8675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8676 multiarch ceilf for PPC64.
8677
c3627f6e
AZ
8678 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8679 multiarch implementation.
8680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8681 file.
8682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8683 file.
8684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8685 file.
8686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8687 multiarch llround for PPC64.
8688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8689 multiarch lround for PPC64.
8690
b2284ad7
AZ
8691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8692 multiarch implementation.
8693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8696 file.
8697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8700 multiarch isnan for PPC64.
8701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8702 multiarch isnanf for PPC64.
8703
69bbc63d
AZ
8704 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8705 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8706 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8707 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8708 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8710
c24517c9
AZ
8711 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8712 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8714 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8715
a52374e8
AZ
8716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8717 multiarch implementations.
8718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8719 (__libc_ifunc_impl_list): Likewise.
8720 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8721 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8722 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8723 multiarch stpcpy for PPC64.
8724
7f5ec113
AZ
8725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8726 multiarch implementations.
8727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8728 (__libc_ifunc_impl_list): Likewise.
8729 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8730 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8731 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8732 multiarch strcpy for PPC64.
8733
e28bcd42
AZ
8734 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8735 redefine function name.
8736 (_wordcopy_fwd_dest_aligned): Likewise.
8737 (_wordcopy_bwd_aligned): Likewise.
8738 (_wordcopy_bwd_dest_aligned): Likewise.
8739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8740 multiarch implementations.
8741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8742 (__libc_ifunc_impl_list): Likewise.
8743 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8744 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8745 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8746 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8747 multiarch wcscpy for PPC64.
8748
92cacfce
AZ
8749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8750 multiarch implementations.
8751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8752 (__libc_ifunc_impl_list): Likewise.
8753 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8754 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8755 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8756 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8757 multiarch wcscpy for PPC64.
8758
7b714620
AZ
8759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8760 multiarch implementations.
8761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8762 (__libc_ifunc_impl_list): Likewise.
8763 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8764 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8765 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8766 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8767 multiarch wcsrchr for PPC64.
8768
16fd2ae3
AZ
8769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8770 multiarch implementations.
8771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8772 (__libc_ifunc_impl_list): Likewise.
8773 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8774 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8775 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8776 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8777 multiarch wcschr for PPC64.
8778
9ee2969b
AZ
8779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8780 multiarch implementations.
8781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8782 (__libc_ifunc_impl_list): Likewise.
8783 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8784 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8785 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8786 multiarch strchrnul for PPC64.
8787
372dc060
AZ
8788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8789 implementations.
8790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8791 (__libc_ifunc_impl_list): Likewise.
8792 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8793 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8794 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8795 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8796 strchr for PPC64.
8797
24c2c3b9
AZ
8798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8799 implementations.
8800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8801 (__libc_ifunc_impl_list): Likewise.
8802 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8803 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8804 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8805 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8806 strncmp for PPC64.
8807
1c92d9a0
AZ
8808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8809 multiarch implementations.
8810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8811 (__libc_ifunc_impl_list): Likewise.
8812 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8813 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8814 strncasecmp for PPC64.
8815 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8816 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8817 multiarch strncasecmp_l for PPC64.
8818
17de3ee3
AZ
8819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8820 multiarch implementations.
8821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8822 (__libc_ifunc_impl_list): Likewise.
8823 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8824 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8825 multiarch strcasecmp for PPC64.
8826 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8827 file.
8828 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8829 multiarch strcasecmp_l for PPC64.
8830
62982bf9
AZ
8831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8832 implementations.
8833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8834 (__libc_ifunc_impl_list): Likewise.
8835 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8836 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8837 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8838 strnlen for PPC64.
8839
a65f4904
AZ
8840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8841 implementations.
8842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8843 (__libc_ifunc_impl_list): Likewise.
8844 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8845 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8846 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8847 strlen for PPC64.
8848
1fd005ad
AZ
8849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8850 implementations.
8851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8852 (__libc_ifunc_impl_list): Likewise.
8853 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8854 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8855 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8856 rawmemrchr for PPC64.
8857
cd05ba91
AZ
8858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8859 implementation.
8860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8861 (__libc_ifunc_impl_list): Likewise.
8862 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8863 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8864 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8865 memrchr for PPC64.
8866
870f8676
AZ
8867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8868 implementation.
8869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8870 (__libc_ifunc_impl_list): Likewise.
8871 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8872 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8873 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8874 memchr for PPC64.
8875
f00be62b
AZ
8876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8877 implementation.
8878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8879 (__libc_ifunc_impl_list): Likewise.
8880 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8881 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8882 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8883 mempcpy for PPC64.
8884
8a29a3d0
AZ
8885 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8886 avoid cretion of __bzero symbol.
8887 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8888 Likewise.
8889 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8890 Likewise.
8891 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8892 Likewise.
8893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8894 multiarch implementations.
8895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8896 (__libc_ifunc_impl_list): Likewise.
8897 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8898 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8899 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8900 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8901 bzero for PPC32.
8902 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8903 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8904 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8905 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8906 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8907 memset for PPC64.
8908 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8909
07253fcf
AZ
8910 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8912 implementations.
8913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8914 (__libc_ifunc_impl_list): Likewise.
8915 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8916 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8917 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8918 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8919 memcmp for PPC64.
8920
b5beafbc
AZ
8921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8922 multiarch for POWER/PPC64.
8923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8924 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8925 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8926 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8927 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8929 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8931 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8932 memcpy for PPC64.
8933
5e6a4d4b
AZ
8934 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8935 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8936 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8937 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8938 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8939 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8940 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8941 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8942 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8943 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8944 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8945 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8946 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8947 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8948 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8956
ddfab6dc
KK
89572013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8958
8959 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8960
19b5525e
SP
89612013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8962
8963 * benchtests/Makefile (bench): Add exp2 and log2.
8964 (LDLIBS-bench-exp2): Add -lm.
8965 (LDLIBS-bench-log2): Likewise.
8966 * benchtests/exp2-inputs: New inputs file.
8967 * benchtests/log2-inputs: New inputs file.
8968 * benchtests/log-inputs: Add new inputs.
8969 * benchtests/tan-inputs: Likewise.
8970
196f7f5d
SP
89712013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8972
7a74607f
SP
8973 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8974 definition...
57f41c40
AS
8975 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8976 (csloww2): ... from here.
7a74607f 8977
196f7f5d
SP
8978 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8979 instead of structures.
8980 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8981 (POLYNOMIAL): Likewise.
8982 (TAYLOR_SLOW): Likewise.
8983 (__sin): Likewise.
8984 (__cos): Likewise.
8985 (slow1): Likewise.
8986 (slow2): Likewise.
8987 (sloww): Likewise.
8988 (sloww1); Likewise.
8989 (sloww2): Likewise.
8990 (bsloww1): Likewise.
8991 (bsloww2): Likewise.
8992 (cslow2): Likewise.
8993 (csloww): Likewise.
8994 (csloww1): Likewise.
8995 (csloww2): Likewise.
8996
0dfa665c
OB
89972013-12-10 Ondřej Bílka <neleai@seznam.cz>
8998
8999 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9000 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9001 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9002 * malloc/hooks.c (realloc_check): Likewise.
9003
5782a80f
OB
9004 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9005 * malloc/arena.c: Remove PER_THREAD conditional.
9006 [!PER_THREAD]: Remove code.
9007 (ptmalloc_unlock_all2): Likewise.
9008 (ptmalloc_init): Likewise.
9009 (_int_new_arena): Likewise.
9010 (arena_get2): Likewise.
9011 * malloc/hooks.c (__malloc_get_state): Likewise.
9012 (__malloc_set_state): Likewise.
9013 * malloc/malloc.c: Likewise.
9014 (struct malloc_state): Likewise.
9015 (struct malloc_par): Likewise.
9016 (__libc_realloc): Likewise.
9017 (__libc_mallopt): Likewise.
9018
aeb95445
AZ
90192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9020
9021 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9022
e8349efd
OB
90232013-12-09 Ondřej Bílka <neleai@seznam.cz>
9024
9025 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9026 macro to a function. Check for zero perturb_byte.
9027 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9028
f3eeb3fc 9029 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9030 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9031 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9032 force_reg by atomic_forced_read.
9033 * malloc/arena.c (ptmalloc_init): Likewise.
9034 * malloc/hooks.c (top_check): Likewise.
9035
be2f9009
AZ
90362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9037
9038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9039
e7b914bd
MT
90402013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9041
9042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9043
9f0be4f8
JM
90442013-12-08 Joseph Myers <joseph@codesourcery.com>
9045
9046 * math/auto-libm-test-in: Add tests of lgamma.
9047 * math/auto-libm-test-out: Regenerated.
9048 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9049 (M_LOG_2_SQRT_PIl): Likewise.
9050 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9051 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9052 mpfr_f_f1.
9053 (func_calc_desc): Add mpfr_f_f1 union field.
9054 (ARGS1): New macro.
9055 (ARGS2): Likewise.
9056 (ARGS3): Likewise.
9057 (ARGS4): Likewise.
9058 (RET1): Likewise.
9059 (RET2): Likewise.
9060 (CALC): Likewise.
9061 (FUNC): Likewise.
9062 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9063 (test_functions): Add lgamma.
9064 (calc_generic_results): Handle mpfr_f_f1.
9065 * sysdeps/i386/fpu/libm-test-ulps: Update.
9066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9067
24eeafdb
AZ
90682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9069
9070 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9071 __mpn_add_n for PowerPC64/POWER7.
9072 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9073 __mpn_sub_n for PowerPC64/POWER7.
9074
4a2c0fd4
AZ
9075 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9076 __mpn_addmul_1 for PowerPC64.
9077 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9078 __mpn_submul_1 for PowerPC64.
9079 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9080 for PowerPC64.
9081 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9082 for PowerPC64.
9083
4b5b548c
FS
90842013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9085
9086 [BZ #15089]
9087 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9088
0a3ac0aa
AZ
90892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9090
9091 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9092
ccdc8438
AZ
9093 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9094 add multiarch folders.
9095 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9096 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9097 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9098 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9099 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9100 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9101 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9102 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9103 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9104 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9105 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9112
2e973d99
AZ
9113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9114 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9116 New file.
9117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9118 New file.
9119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9120 multiarch __ieee754_hypot for PowerPC32.
9121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9122 New file.
9123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9124 New file.
9125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9126 multiarch __ieee754_hypotf for PowerPC32.
9127
2d9470b2
AZ
9128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9129 long_double_symbol only if __logbl is defined.
9130 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9131 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9132 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9133 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9135 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9136 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9137 path for implementation.
9138 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9139 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9141 logb, and logbl multiarch implementations for PowerPC32.
9142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9143 file.
9144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9145 file.
9146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9147 multiarch logb for PowerPC32.
9148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9149 file.
9150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9151 file.
9152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9153 multiarch logbf for PowerPC32.
9154 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9156 file.
9157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9158 multiarch logbl implementation for PowerPC32.
9159
5212ffce
AZ
9160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9161 and modff multiarch implementations.
9162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9163 New file.
9164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9165 New file.
9166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9167 multiarch modf for PowerPC32.
9168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9169 New file.
9170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9171 New file.
9172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9173 multiarch modff for PowerPC32.
9174
79dccf31
AZ
9175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9176 and lrintf multiarch implementations.
9177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9178 New file.
9179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9180 New file.
9181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9182 multiarch lrint for PowerPC32.
9183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9184 file: multiarch lrintf for PowerPC32.
9185
deb66480
AZ
9186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9187 and lroundf multiarch implementations.
9188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9189 New file.
9190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9191 New file.
9192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9193 New file.
9194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9195 multiarch lround for PowerPC32.
9196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9197 file: multiarch lroundf for PowerPC32.
9198
264b036b
AZ
9199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9200 copysign and copysignf multiarch implementations.
9201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9202 New file.
9203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9204 New file.
9205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9206 file: multiarch copysign for PowerPC32.
9207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9208 file: multiarch copysignf for PowerPC32.
9209
d47db6c9
AZ
9210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9211 and truncf multiarch implementations.
9212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9213 New file.
9214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9215 file.
9216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9217 multiarch trunc for PowerPC32.
9218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9219 New file.
9220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9221 New file.
9222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9223 multiarch truncf for PowerPC32.
9224
ddb60b5a
AZ
9225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9226 and roundf multiarch implementations.
9227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9228 New file.
9229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9230 file.
9231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9232 multiarch round for PowerPC32.
9233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9234 New file.
9235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9236 New file.
9237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9238 multiarch roundf for PowerPC32.
9239
bedcf49b
AZ
9240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9241 and floorf multiarch implementations.
9242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9243 New file.
9244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9245 file.
9246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9247 multiarch floor for PowerPC32.
9248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9249 New file.
9250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9251 New file.
9252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9253 multiarch floorf for PowerPC32.
9254
35ae5b40
AZ
9255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9256 and ceilf multiarch implementations.
9257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9258 New file.
9259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9260 file.
9261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9262 multiarch ceil for PowerPC32.
9263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9264 New file.
9265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9266 file.
9267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9268 multiarch ceilf for PowerPC32.
9269
ae1a4cd9
AZ
9270 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9271 is defined.
9272 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9273 FINITEF is defined.
9274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9275 and finitef multiarch implementations.
9276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9277 New file.
9278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9279 file.
9280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9281 multiarch finite for PowerPC32.
9282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9283 New file.
9284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9285 file: multiarch finitef for PowerPC32.
9286
64fffd65
AZ
9287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9288 and isinff multiarch implementations.
9289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9290 file.
9291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9292 file.
9293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9294 multiarch isinf for PowerPC32.
9295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9296 New file.
9297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9298 multiarch isinff for PowerPC32.
9299
8e4e7ba2
AZ
9300 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9301 alias when __isnan is defined.
9302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9303 and isnanf multiarch implementations.
9304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9305 file.
9306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9307 file.
9308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9309 file.
9310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9311 file.
9312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9313 multiarch isnan for PowerPC32.
9314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9315 New file.
9316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9317 New file.
9318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9319 multiarch isnanf for PowerPC32.
9320
ddba588e
AZ
9321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9322 and sqrtf multiarch implementations.
9323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9324 file.
9325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9326 file.
9327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9328 multiarch sqrt for PowerPC32.
9329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9330 file.
9331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9332 file.
9333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9334 multiarch sqrtf for PowerPC32.
9335
0f96a2f0
AZ
9336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9337 and llroundf multiarch implementations.
9338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9339 New file.
9340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9341 New file.
9342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9343 New file.
9344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9345 file: multiarch llround for PowerPC32.
9346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9347 file: multiarch llroundf for PowerPC32.
9348
c9b5d79e
AZ
9349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9350 multiarch PowerPC32 fpu implementations.
9351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9352 New file.
9353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9354 New file.
9355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9356 multiarch llrint for PowerPC32.
9357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9358 New file.
9359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9360 New file.
9361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9362 file.
9363
9cbb3aab
AZ
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9365
ea5a72f8
AZ
9366 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9367 file.
9368 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9369 file.
9370 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9371 file.
9372 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9373 multiarch wordcopy for PPC32.
9374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9375 wordcopy objects.
9376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9377 (__libc_ifunc_impl_list): Likewise.
9378 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9379 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9380 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9381 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9382 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9383 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9384
93be09e7
AZ
9385 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9387 file.
9388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9389 file.
9390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9391 file.
9392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9393 multiarch wcscpy for PPC32.
9394 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9395 multiarch objects.
9396 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9397 (__libc_ifunc_impl_list): Likewise.
9398 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9399 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9400 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9401 sysdeps/powerpc/power6/wcscpy.c.
9402
bb04e529
AZ
9403 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9405 file.
9406 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9407 file.
9408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9409 file.
9410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9411 multiarch wcsrchr for PPC32.
9412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
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/wcsrchr.c: Adjust to use
9419 sysdeps/powerpc/power6/wcsrchr.c.
9420
05b5cd1c
AZ
9421 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9422 file.
9423 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9424 file.
9425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9427 multiarch wcschr for PPc32.
9428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9429 multiarch objects.
9430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9431 (__libc_ifunc_impl_list): Likewise.
9432 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9433 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9434 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9435 sysdeps/powerpc/power6/wcschr.c.
9436
ba964147
AZ
9437 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9438 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9439 file.
9440 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9441 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9442 file: multiarch strchr for PPC32.
9443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9444 multiarch objects.
9445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9446 (__libc_ifunc_impl_list): Likewise.
9447
31c81aaa
AZ
9448 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9449 name.
9450 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9451 file.
9452 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9453 file.
9454 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9455 multiarch strchrnul for PPC32.
9456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9457 multiarch objects.
9458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9459 (__libc_ifunc_impl_list): Likewise.
9460
0d0607d9
AZ
9461 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9462 file.
9463 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9464 multiarch strncasecmp for PPC32.
9465 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9466 file.
9467 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9468 multiarch strncasecmp_l for PPC32.
9469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9470 strncasecmp multiarch objects.
9471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9472 (__libc_ifunc_impl_list): Likewise.
9473
4dfd5c86
AZ
9474 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9475 file.
9476 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9477 multiarch strncasecmp for PPC32.
9478 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9479 New file.
9480 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9481 multiarch strcasecmp_l for PPC32.
9482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9483 multiarch objects.
9484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9485 (__libc_ifunc_impl_list): Likewise.
9486
a19e01a3
AZ
9487 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9488 file.
9489 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9490 file.
9491 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9492 multiarch strncmp for PPC32.
9493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9494 multiarch objects.
9495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9496 (__libc_ifunc_impl_list): Likewise.
9497
ae9cf7a2
AZ
9498 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9499 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9500 file.
9501 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9502 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9504 multiarch objects.
9505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9506 (__libc_ifunc_impl_list): Likewise.
9507
3148bb7d
AZ
9508 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9509 file.
9510 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9511 file.
9512 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9514 multiarch objects.
9515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9516 (__libc_ifunc_impl_list): Likewise.
9517
7af8b946
AZ
9518 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9519 file.
9520 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9521 file.
9522 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9523 multiarch rawmemchr for PPC32.
9524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9525 multiarch objects.
9526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9527 (__libc_ifunc_impl_list): Likewise.
9528
03a6aa6a
AZ
9529 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9530 file.
9531 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9532 file.
9533 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9534 file: memrchr multiarch for PPC32.
9535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9536 multiarch objects.
9537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9538 (__libc_ifunc_impl_list): Likewise.
9539
1c62e6d9
AZ
9540 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9541 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9542 file.
9543 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9544 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9545 multiarch memchr for PPC32.
9546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9547 multiarch objects.
9548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9549 (__libc_ifunc_impl_list): Likewise.
9550
87da8bdb
AZ
9551 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9552 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9553 file.
9554 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9555 file.
9556 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9557 file: multiarch mempcpy for PPC32.
9558 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9559 multiarch objects.
9560 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9561 (__libc_ifunc_impl_list): Likewise.
9562
20ed4714
AZ
9563 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9564 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9565 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9566 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9567 multiarch bzero for PPC32.
9568 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9569 file.
9570 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9571 file.
9572 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9573 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9574 file: multiarch memset for PPC32.
9575 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9577 memset multiarch objects.
9578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9579 (__libc_ifunc_impl_list): Likewise.
9580
ab3e3a46
AZ
9581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9582 file.
9583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9585 memcmp for PPC32.
9586 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9588 multiarch objects.
9589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9590 (__libc_ifunc_impl_list): Likewise.
9591
930de6f0
AZ
9592 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9594 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9595 file.
9596 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9597 file.
9598 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9599 file.
9600 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9601 multiarch memcpy for PPC32.
9602 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9603 multiarch objects.
9604 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9605 (__libc_ifunc_impl_list): Likewise.
9606
4c628e00
AZ
9607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9608 support multiarch for POWER/PPC32.
9609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9610 Likewise.
9611 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9613 Implies file to make multiarch folder appers before the fpu and
9614 default folder for power4 configuration.
9615
f4479220
SP
96162013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9617
9618 * scripts/bench.pl: Append volatile keyword to type.
9619
8517800f
KK
96202013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9621
9622 * sysdeps/sh/sotruss-lib.c: New file.
9623 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9624
180138f1
AZ
96252013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9626
9627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9628
bbf37bdc
JM
96292013-12-05 Joseph Myers <joseph@codesourcery.com>
9630
e47cc4e0
JM
9631 [BZ #6810]
9632 * math/w_tgamma.c: Include <errno.h>.
9633 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9634 * math/w_tgammaf.c: Include <errno.h>.
9635 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9636 * math/w_tgammal.c: Include <errno.h>.
9637 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9638 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9639 underflow. Add more tgamma tests.
9640 * math/auto-libm-test-out: Regenerated.
9641 * sysdeps/i386/fpu/libm-test-ulps: Update.
9642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9643
bbf37bdc
JM
9644 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9645 sin, sinh, tan, tanh, tgamma, y0 and y1.
9646 * math/auto-libm-test-out: Regenerated.
9647 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9648 (TEST_COND_x86): Likewise.
9649 (M_E2l): Remove macro.
9650 (M_E3l): Likewise.
9651 (M_2_SQRT_PIl): Likewise.
9652 (M_SQRT_PIl): Likewise.
9653 (M_1_DIV_El): Likewise.
9654 (log_test_data): Use AUTO_TESTS_f_f.
9655 (log10_test_data): Likewise.
9656 (log1p_test_data): Likewise.
9657 (log2_test_data): Likewise.
9658 (sin_test_data): Likewise.
9659 (sin_tonearest_test_data): Likewise.
9660 (sin_towardzero_test_data): Likewise.
9661 (sin_downward_test_data): Likewise.
9662 (sin_upward_test_data): Likewise.
9663 (sinh_test_data): Likewise.
9664 (sinh_tonearest_test_data): Likewise.
9665 (sinh_towardzero_test_data): Likewise.
9666 (sinh_downward_test_data): Likewise.
9667 (sinh_upward_test_data): Likewise.
9668 (tan_test_data): Likewise.
9669 (tan_tonearest_test_data): Likewise.
9670 (tan_towardzero_test_data): Likewise.
9671 (tan_downward_test_data): Likewise.
9672 (tan_upward_test_data): Likewise.
9673 (tanh_test_data): Likewise.
9674 (tgamma_test_data): Likewise.
9675 (y0_test_data): Likewise.
9676 (y1_test_data): Likewise.
9677 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9678 (special_real_inputs): Add pi/4.
9679 * sysdeps/i386/fpu/libm-test-ulps: Update.
9680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9681
eb5ad6b9
AZ
96822013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9683
9684 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9685 "longjmp_target" static probes.
9686 (__longjmp): Rename to __longjmp_symbol.
9687 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9688 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9689 on which longjmp to generate.
9690 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9691 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9692 probe.
9693 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9694 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9695 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9696 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9697 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9698 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9700 __longjmp_symbol based on which __longjmp to generate.
9701 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9702 probe.
9703 (setjmp): Rename to setjmp_symbol.
9704 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9705 (_setjmp): Rename to _setjmp_symbol.
9706 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9707 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9708 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9709 which setjmp to generate.
9710 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9711 "longjmp_target" static probes.
9712
d136c6dc
SP
97132013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9714
9298ecba
SP
9715 * benchtests/README: Add note about output arguments.
9716 * benchtests/bench-sincos.c: Remove file.
9717 * benchtests/sincos-inputs: New file.
9718 * scripts/bench.pl: Identify output arguments and define
9719 static variables for them.
9720
232983e9
SP
9721 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9722
d136c6dc
SP
9723 [BZ #15941]
9724 * Makefile (INSTALL): Add install-plain.texi as the primary
9725 dependency.
9726 * manual/install-plain.texi: New file.
9727 * manual/install.texi: Include node directive only for
9728 non-plaintext output.
9729
699ff837
JM
97302013-12-04 Joseph Myers <joseph@codesourcery.com>
9731
ab07cea8
JM
9732 * stdlib/longlong.h: Update from GCC.
9733
699ff837
JM
9734 [BZ #6807]
9735 [BZ #15901]
9736 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9737 * math/w_j0f.c (y0f): Likewise.
9738 * math/w_j0l.c (__y0l): Likewise.
9739 * math/w_j1.c (y1): Likewise.
9740 * math/w_j1f.c (y1f): Likewise.
9741 * math/w_j1l.c (__y1l): Likewise
9742 * math/w_jn.c (yn): Likewise.
9743 * math/w_jnf.c (ynf): Likewise.
9744 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9745 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9746 value for Bessel function domain errors outside _SVID_ mode.
9747 Adjust sign of return value for yn (negative integer, 0).
9748 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9749 by zero in return for negative x and set sign appropriately for
9750 negative n.
9751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9752 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9753 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9754 expectations in error cases.
9755 (y1_test_data): Likewise.
9756 (yn_test_data): Likewise.
9757 * sysdeps/i386/fpu/libm-test-ulps: Update.
9758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9759
5b118558
UW
97602013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9761
9762 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9763 "64" to "64-v1". Add "64-v2".
9764 (abi-64-options): Rename to ...
9765 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9766 (abi-64-condition): Rename to ...
9767 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9768 (abi-64-ld-soname): Rename to ...
9769 (abi-64-v1-ld-soname): ... this.
9770 (abi-64-v2-options): Define.
9771 (abi-64-v2-condition): Likewise.
9772 (abi-64-v2-ld-soname): Likewise.
9773 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9774 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9778
61cd8fe4
UW
97792013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9780 Alan Modra <amodra@gmail.com>
9781
9782 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9783 New versions for use with the ELFv2 ABI.
9784 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9785 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9786 declaration.
9787 (struct La_ppc64v2_retval): Likewise.
9788 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9789 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9790 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9791 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9792 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9793 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9794 Do not save or restore CR.
9795 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9796 (_dl_profile_resolve): Do no save or restore CR. Support extended
9797 return values for ELFv2 ABI. Fix location of FPR return registers.
9798 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9799 updated values for _CALL_ELF == 2.
9800 (La_regs, La_retval, int_retval): Likewise.
9801
8b8a692c
UW
98022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9803
9804 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9805 (FRAME_MIN_SIZE_PARM): Likewise.
9806 (FRAME_BACKCHAIN): Likewise.
9807 (FRAME_CR_SAVE): Likewise.
9808 (FRAME_LR_SAVE): Likewise.
9809 (FRAME_TOC_SAVE): Likewise.
9810 (FRAME_PARM_SAVE): Likewise.
9811 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9812 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9813 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9814 (call_mcount_parm_offset): New macro.
9815 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9816 (PROF): Use symbolic stack frame offsets.
9817 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9818 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9819 Redefine in terms of FRAME_MIN_SIZE.
9820 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9821 (_dl_profile_resolve): Likewise. Update comment.
9822 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9823 symbols stack frame offsets.
9824 (__sigsetjmp): Likewise.
9825 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9826 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9827 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9828 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9829
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9831 (FRAME_BACKCHAIN): Remove.
9832 (FRAME_CR_SAVE): Likewise.
9833 (FRAME_LR_SAVE): Likewise.
9834 (FRAME_COMPILER_DW): Likewise.
9835 (FRAME_LINKER_DW): Likewise.
9836 (FRAME_TOC_SAVE): Likewise.
9837 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9838 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9839 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9840 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9842 (CHECK_SP): Use symbolic stack frame offsets.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9844 zone" instead of caller's parameter save area for temp storage.
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9846 Likewise. Also, use symbolic stack frame offsets.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9848 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9849 our own stack frame instead of the caller's.
9850 (__socket): Use symbolic stack frame offsets.
9851
122b66de
UW
98522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9853 Alan Modra <amodra@gmail.com>
9854
9855 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9856 Define.
57f41c40
AS
9857 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9858 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9859 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9860 New function.
9861 (elf_machine_fixup_plt): Call it.
9862 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9863 reloc arguments.
9864 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9865 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9866 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9867 r2 before calling target.
9868
696caf1d
UW
98692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9870 Alan Modra <amodra@gmail.com>
9871
9872 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9873 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9874 versions of macros to support ELFv2 ABI.
9875 (LOCALENTRY): New macro.
9876 (ENTRY, EALIGN): Use it.
9877 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9878 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9879 fall through into ENTRY entry point.
9880 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9881 Only define if _CALL_ELF != 2.
9882
9883 (elf_machine_matches_host): Verify ABI version matches.
9884 (RTLD_START): Use LOCALENTRY.
9885 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9886 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9887 (PLT_ENTRY_WORDS): New macro.
9888 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9889 (elf_machine_runtime_setup): Support ELFv2 ABI.
9890 (elf_machine_fixup_plt): Likewise.
9891 (elf_machine_plt_conflict): Likewise.
9892 (resolve_ifunc): Likewise.
9893 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9894 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9895 Likewise.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9897 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9899 (makecontext): Support ELFv2 ABI.
9900 * elf/elf.h (EF_PPC64_ABI): Define.
9901
d31beafa
UW
99022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9903
57f41c40
AS
9904 * sysdeps/powerpc/powerpc64/sysdep.h
9905 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9906 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9907 (ENTRY) [ASSEMBLER]: ... but instead here ...
9908 (EALIGN) [ASSEMBLER]: ... and here.
9909 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9910 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9911 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9912 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9913 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9914 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9915 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9916 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9918 Use PPC64_LOAD_FUNCPTR.
9919
b525166b
UW
9920 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9921
7ec07d9a
AM
99222013-12-04 Alan Modra <amodra@gmail.com>
9923
9924 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9925 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9926 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9927 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9928
9929 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9930 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9931 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9932 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9933 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9934 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9935
5162e7dd
UW
99362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9937
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9939 (__makecontext): Fix incorrect CFI when backtracing out of
9940 context created via makecontext.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9942 (__setcontext): Fix incorrect CFI during switch to new context.
9943 (__novec_setcontext): Likewise.
9944
19e3372b
OB
99452013-12-04 Ondřej Bílka <neleai@seznam.cz>
9946
9947 [BZ #4772]
9948 * time/strptime_l.c (__strptime_internal): Allow modifiers
9949 in strptime.
9950 * time/tst-strptime.c (day_tests): Add testcase.
9951
ecaf142d
SP
99522013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9953
9954 * scripts/bench.pl: Skip over blank lines.
9955
fbf964ae
PE
99562013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9957
9958 [BZ #926]
9959 * manual/time.texi (Calendar Time): Clarify what timezone functions
9960 use.
9961
fa60a674
AZ
99622013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9963
9964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9965
d674f0ef
OB
99662013-12-04 Ondřej Bílka <neleai@seznam.cz>
9967
9968 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9969 implementation.
9970 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9971 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9972 * debug/memset_chk.c (__memset_chk): Likewise.
9973 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9974 * debug/strncpy_chk.c: Likewise.
9975
17dea188
JM
99762013-12-03 Joseph Myers <joseph@codesourcery.com>
9977
749008ff
JM
9978 [BZ #15268]
9979 [BZ #15425]
9980 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9981 (__ieee754_exp): For possibly underflowing results, check size of
9982 result and force underflow exception if required.
9983 * math/auto-libm-test-in: Add more tests of exp.
9984 * math/auto-libm-test-out: Regenerated.
9985 * sysdeps/i386/fpu/libm-test-ulps: Update.
9986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9987
17dea188
JM
9988 [BZ #16283]
9989 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9990 * math/w_exp2f.c (__exp2f): Likewise.
9991 * math/w_exp2l.c (__exp2l): Likewise.
9992 * math/auto-libm-test-in: Do not allow missing errno on exp2
9993 underflow.
9994 * math/auto-libm-test-out: Regenerated.
9995
b20de2c3
OB
99962013-12-03 Ondřej Bílka <neleai@seznam.cz>
9997
9998 [BZ #16274]
9999 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10000 handle filename validation.
10001 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10002 (do_open): Delete.
10003
d8e2dbe3
JM
100042013-12-03 Joseph Myers <joseph@codesourcery.com>
10005
34e16df5
JM
10006 [BZ #6786]
10007 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10008 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10009 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10010 <float.h>.
10011 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10013 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10014 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10015 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10016 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10017 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10018 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10019 Add more erfc tests.
10020 * math/auto-libm-test-out: Regenerated.
10021 * sysdeps/i386/fpu/libm-test-ulps: Update.
10022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10023
d8e2dbe3
JM
10024 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10025 exp2, expm1, j0 and j1.
10026 * math/auto-libm-test-out: Regenerated.
10027 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10028 (erfc_test_data): Likewise.
10029 (exp_test_data): Likewise.
10030 (exp_tonearest_test_data): Likewise.
10031 (exp_towardzero_test_data): Likewise.
10032 (exp_downward_test_data): Likewise.
10033 (exp_upward_test_data): Likewise.
10034 (exp10_test_data): Likewise.
10035 (exp2_test_data): Likewise.
10036 (expm1_test_data): Likewise.
10037 (j0_test_data): Likewise.
10038 (j1_test_data): Likewise.
10039 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10040 (input_flag_type): Add flag_xfail_rounding.
10041 (input_flags): Add xfail-rounding.
10042 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10043 (output_for_one_input_case): Handle flag_xfail_rounding.
10044 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10046
18d14251
AJ
100472013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10048
3d2e6075 10049 [BZ #16289]
18d14251
AJ
10050 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10051 division by 0.
10052
520d437b
SP
100532013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10054
10055 [BZ #16195]
10056 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10057 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10058 (STAP_PROBE0): New macro.
10059 (STAP_PROBE1): Likewise.
10060 (STAP_PROBE2): Likewise.
10061 (STAP_PROBE3): Likewise.
10062 (STAP_PROBE4): Likewise.
10063
416e0145
OB
100642013-12-02 Ondřej Bílka <neleai@seznam.cz>
10065
10066 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10067
9d17796a
SE
100682013-12-02 Steve Ellcey <sellcey@mips.com>
10069
10070 * benchtests/Makefile (bench): Add sqrt.
10071 (LDLIBS-bench-sqrt): New.
10072 * benchtests/sqrt-input: New.
10073
f524d6a8
PS
100742013-12-02 Pavel Simerda <psimerda@redhat.com>
10075
639a0ef8
PS
10076 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10077 (GAIH_EAI): Likewise.
10078 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10079 (gaih_inet): Likewise.
10080 (getaddrinfo): Don't use GAIH_EAI.
10081
f524d6a8
PS
10082 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10083 (struct gaih): Remove definition.
10084
df3aedaf
SP
100852013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10086
10087 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10088 Use HERRNOP directly.
10089
1ab19dec
AZ
100902013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10091
b42ad38d 10092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10093
176b0c79
JM
100942013-11-30 Joseph Myers <joseph@codesourcery.com>
10095
10096 * math/gen-auto-libm-tests.c (test_functions): Add more
10097 single-argument functions.
10098 (special_fill_pi_2): New function.
10099 (special_fill_minus_pi_2): Likewise.
10100 (special_fill_pi_6): Likewise.
10101 (special_fill_minus_pi_6): Likewise.
10102 (special_fill_pi_3): Likewise.
10103 (special_fill_2pi_3): Likewise.
10104 (special_fill_e): Likewise.
10105 (special_fill_1_e): Likewise.
10106 (special_fill_e_minus_1): Likewise.
10107 (special_real_inputs): Add more special inputs.
10108 (output_for_one_input_case): Do not require ERANGE on underflow to
10109 zero if round-to-nearest result does not underflow to zero, unless
10110 exact results required.
10111 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10112 atan, atanh, cbrt, cos and cosh.
10113 * math/auto-libm-test-out: Regenerated.
10114 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10115 (acos_tonearest_test_data): Likewise.
10116 (acos_towardzero_test_data): Likewise.
10117 (acos_downward_test_data): Likewise.
10118 (acos_upward_test_data): Likewise.
10119 (acosh_test_data): Likewise.
10120 (asin_test_data): Likewise.
10121 (asin_tonearest_test_data): Likewise.
10122 (asin_towardzero_test_data): Likewise.
10123 (asin_upward_test_data): Likewise.
10124 (asinh_test_data): Likewise.
10125 (atan_test_data): Likewise.
10126 (atanh_test_data): Likewise.
10127 (cbrt_test_data): Likewise.
10128 (cos_test_data): Likewise.
10129 (cos_tonearest_test_data): Likewise.
10130 (cos_towardzero_test_data): Likewise.
10131 (cos_downward_test_data): Likewise.
10132 (cos_upward_test_data): Likewise.
10133 (cosh_test_data): Likewise.
10134 (cosh_tonearest_test_data): Likewise.
10135 (cosh_towardzero_test_data): Likewise.
10136 (cosh_downward_test_data): Likewise.
10137 (cosh_upward_test_data): Likewise.
10138 * sysdeps/i386/fpu/libm-test-ulps: Update.
10139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10140
ffb536d0
JM
101412013-11-29 Joseph Myers <joseph@codesourcery.com>
10142
2a77a467
JM
10143 [BZ #6787]
10144 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10145 * math/w_exp10f.c (__exp10f): Likewise.
10146 * math/w_exp10l.c (__exp10l): Likewise.
10147 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10148 errno settings in existing tests.
10149
ea3bc4e8
JM
10150 [BZ #14032]
10151 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10152 precision control set to double precision.
10153 * sysdeps/i386/fpu/w_sqrt.c: New file.
10154 * math/auto-libm-test-in: Add more tests.
10155 * math/auto-libm-test-out: Update.
10156
0712c9d8
JM
10157 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10158 (sqrt_test_tonearest): New function.
10159 (sqrt_towardzero_test_data): New variable.
10160 (sqrt_test_towardzero): New function.
10161 (sqrt_downward_test_data): New variable.
10162 (sqrt_test_downward): New function.
10163 (sqrt_upward_test_data): New variable.
10164 (sqrt_test_upward): New function.
10165 (main): Call the new functions.
10166
ffb536d0
JM
10167 * math/gen-auto-libm-tests.c: New file.
10168 * math/auto-libm-test-in: Likewise.
10169 * math/auto-libm-test-out: New generated file.
10170 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10171 variables.
10172 (%beautify): Add generated representations of zero.
10173 (top level): Set $auto_input and call parse_auto_input.
10174 (beautify): Remove trailing "f" from hex float constants.
10175 (parse_args): Handle XFAIL_TEST.
10176 (convert_condition): New function.
10177 (or_value): Likewise.
10178 (or_cond_value): Likewise.
10179 (generate_testfile): Handle AUTO_TESTS_* lines.
10180 (parse_auto_input): New function.
10181 * math/libm-test.inc (XFAIL_TEST): New macro.
10182 (ERRNO_UNCHANGED): Update value.
10183 (ERRNO_EDOM): Likewise.
10184 (ERRNO_ERANGE): Likewise.
10185 (IGNORE_RESULT): Likewise.
10186 (TEST_COND_flt_32): New macro.
10187 (TEST_COND_dbl_64): Likewise.
10188 (TEST_COND_ldbl_96_intel): Likewise.
10189 (TEST_COND_ldbl_96_m68k): Likewise.
10190 (TEST_COND_ldbl_128): Likewise.
10191 (TEST_COND_ldbl_128ibm): Likewise.
10192 (TEST_COND_long32): Likewise.
10193 (TEST_COND_long64): Likewise.
10194 (TEST_COND_before_rounding): Likewise.
10195 (TEST_COND_after_rounding): Likewise.
10196 (enable_test): Handle XFAIL_TEST flag.
10197 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10198 with finite results.
10199 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10200 auto-libm-test-out.
10201
acd98a8e
AK
102022013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10203 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10204
10205 [BZ #16214]
10206 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10207 __tls_get_addr_internal instead of __tls_get_offset in order to
10208 avoid GOT pointer dependency. Make rtld export
10209 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10210 __tls_get_addr since we are a __tls_get_offset platform.
10211 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10212 GOT pointer being set up before.
10213 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10214
3c1c46a6
JM
102152013-11-28 Joseph Myers <joseph@codesourcery.com>
10216
7475aef5
JM
10217 * manual/math.texi (Errors in Math Functions): Document accuracy
10218 goals.
10219
8bca7cd8
JM
10220 [BZ #15004]
10221 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10222 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10225 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10227 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10237
91a1f3fe
JM
10238 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10239 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10240 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10241 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10242 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10243 Likewise.
10244 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10245 Likewise.
10246 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10247 Likewise.
10248 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10249 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10250 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10251 atomic-feupdateenv and flt-rounds.
10252 * sysdeps/powerpc/nofpu/Versions (libc): Add
10253 __atomic_feholdexcept, __atomic_feclearexcept,
10254 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10255 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10256 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10257 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10258 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10259 here.
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10261 Update.
10262
c5df7609
JM
10263 * manual/arith.texi (FP Exceptions): Document that exceptions may
10264 not be raised when matherr is used.
10265 (Math Error Reporting): Document overflow in directed rounding
10266 modes. Document that errno may not be set when finite values are
10267 returned on overflow. Document intent to set errno on underflow
10268 only for underflow to zero.
10269
3c1c46a6
JM
10270 [BZ #16271]
10271 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10272 round-to-nearest then adjust result for other rounding modes.
10273 * include/fenv.h (fegetround): Use libm_hidden_proto.
10274 * math/fegetround.c (fegetround): Use libm_hidden_def.
10275 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10276 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10277 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10278 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10279 Likewise.
10280 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10281 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10282 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10283 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10284
5a4c6d53
SP
102852013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10286
10287 [BZ #16077]
10288 * nss/Versions (libnss_files): Add
10289 _nss_files_gethostbyname3_r.
10290 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10291 New function.
10292 (HOST_DB_LOOKUP): Remove macro.
10293 (_nss_files_gethostbyname_r): Implement function without the
10294 HOST_DB_LOOKUP macro.
10295 (_nss_files_gethostbyname2_r): Likewise.
10296
897b98ba
OB
102972013-11-28 Ondřej Bílka <neleai@seznam.cz>
10298
10299 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10300
6f476861
UB
103012013-11-26 Uros Bizjak <ubizjak@gmail.com>
10302
10303 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10304 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10305 warning.
10306
bd12ab55
AZ
103072013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10308
10309 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10310 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10311 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10312 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10313 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10314 __fe_nomask_env_priv and attribute_hidden.
10315 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10316 (libc_feupdateenv_test_ppc): Likewise.
10317 (libc_feresetround_ppc): Likewise.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10319 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10320 compat_symbol macro.
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10322 (__fe_nomask_env): Likewise.
10323 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10324
52bb6543
OB
103252013-11-26 Ondřej Bílka <neleai@seznam.cz>
10326
10327 * string/Makefile: Remove ifunc tests.
10328 * string/test-string.h: Define TEST_IFUNC.
10329 * string/test-bcopy-ifunc.c: Remove.
10330 * string/test-bzero-ifunc.c: Likewise.
10331 * string/test-memccpy-ifunc.c: Likewise.
10332 * string/test-memchr-ifunc.c: Likewise.
10333 * string/test-memcmp-ifunc.c: Likewise.
10334 * string/test-memcpy-ifunc.c: Likewise.
10335 * string/test-memmem-ifunc.c: Likewise.
10336 * string/test-memmove-ifunc.c: Likewise.
10337 * string/test-mempcpy-ifunc.c: Likewise.
10338 * string/test-memrchr-ifunc.c: Likewise.
10339 * string/test-memset-ifunc.c: Likewise.
10340 * string/test-rawmemchr-ifunc.c: Likewise.
10341 * string/test-stpcpy-ifunc.c: Likewise.
10342 * string/test-stpncpy-ifunc.c: Likewise.
10343 * string/test-strcasecmp-ifunc.c: Likewise.
10344 * string/test-strcasestr-ifunc.c: Likewise.
10345 * string/test-strcat-ifunc.c: Likewise.
10346 * string/test-strchr-ifunc.c: Likewise.
10347 * string/test-strchrnul-ifunc.c: Likewise.
10348 * string/test-strcmp-ifunc.c: Likewise.
10349 * string/test-strcpy-ifunc.c: Likewise.
10350 * string/test-strcspn-ifunc.c: Likewise.
10351 * string/test-strlen-ifunc.c: Likewise.
10352 * string/test-strncasecmp-ifunc.c: Likewise.
10353 * string/test-strncat-ifunc.c: Likewise.
10354 * string/test-strncmp-ifunc.c: Likewise.
10355 * string/test-strncpy-ifunc.c: Likewise.
10356 * string/test-strnlen-ifunc.c: Likewise.
10357 * string/test-strpbrk-ifunc.c: Likewise.
10358 * string/test-strrchr-ifunc.c: Likewise.
10359 * string/test-strspn-ifunc.c: Likewise.
10360 * string/test-strstr-ifunc.c: Likewise.
10361
ab260039 103622013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10363
10364 * benchtests/Makefile: Remove ifunc tests.
10365 * benchtests/bench-string.h: Define TEST_IFUNC.
10366 * benchtests/bench-bcopy-ifunc.c: Remove.
10367 * benchtests/bench-bzero-ifunc.c: Likewise.
10368 * benchtests/bench-memccpy-ifunc.c: Likewise.
10369 * benchtests/bench-memchr-ifunc.c: Likewise.
10370 * benchtests/bench-memcmp-ifunc.c: Likewise.
10371 * benchtests/bench-memcpy-ifunc.c: Likewise.
10372 * benchtests/bench-memmem-ifunc.c: Likewise.
10373 * benchtests/bench-memmove-ifunc.c: Likewise.
10374 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10375 * benchtests/bench-memrchr-ifunc.c: Likewise.
10376 * benchtests/bench-memset-ifunc.c: Likewise.
10377 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10378 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10379 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10380 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10381 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10382 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10383 * benchtests/bench-strcat-ifunc.c: Likewise.
10384 * benchtests/bench-strchr-ifunc.c: Likewise.
10385 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10386 * benchtests/bench-strcmp-ifunc.c: Likewise.
10387 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10388 * benchtests/bench-strcpy-ifunc.c: Likewise.
10389 * benchtests/bench-strcspn-ifunc.c: Likewise.
10390 * benchtests/bench-strlen-ifunc.c: Likewise.
10391 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10392 * benchtests/bench-strncat-ifunc.c: Likewise.
10393 * benchtests/bench-strncmp-ifunc.c: Likewise.
10394 * benchtests/bench-strncpy-ifunc.c: Likewise.
10395 * benchtests/bench-strnlen-ifunc.c: Likewise.
10396 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10397 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10398 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10399 * benchtests/bench-strspn-ifunc.c: Likewise.
10400 * benchtests/bench-strstr-ifunc.c: Likewise.
10401
104022013-11-26 Ondřej Bílka <neleai@seznam.cz>
10403
ab260039
OB
10404 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10405
d1d9eaf4 104062013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10407
d1d9eaf4
OB
10408 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10409 * rt/aio.h: Likewise.
10410 * sysdeps/gnu/bits/utmp.h: Likewise.
10411 * sysdeps/gnu/bits/utmpx.h: Likewise.
10412 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10413 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10414 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10415 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10416 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10417 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10418 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10419 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10420 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10421 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10422 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10423 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10424 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10426 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10427 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10428 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10429 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10430 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10431 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10432 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10433 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10434 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10435 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10436 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10438 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10439 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10440 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10441 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10442 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10443 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10444 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10445 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10446 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10447 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10448 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10449 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10450 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10451 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10452 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10453 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10454
a7624ed9
CD
104552013-11-25 Carlos O'Donell <carlos@redhat.com>
10456
10457 [BZ #16245]
10458 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10459 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10460
63cfe52b
JM
104612013-11-25 Joseph Myers <joseph@codesourcery.com>
10462
10463 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10464 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10465 Likewise.
10466
41e8926a
AZ
104672013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10468
10469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10470 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10471 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10472 (__fesetround): Remove define.
10473 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10474 rounding and exceptions handling.
10475 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10476 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10477 (__fe_nomask_env): Likewise.
10478 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10479 __fegetround instead of fegetround.
10480 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10482
6851bd4d
RM
104832013-11-21 Roland McGrath <roland@hack.frob.com>
10484
070906ff
RM
10485 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10486 it's there.
10487
6851bd4d
RM
10488 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10489
84ae135d
MI
104902013-11-21 Meador Inge <meadori@codesourcery.com>
10491
10492 [BZ #11157]
10493 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10494 (encrypt_r): Likewise.
10495 * malloc/obstack.h (obstack_free): Likewise.
10496 * posix/unistd.h (encrypt): Likewise.
10497
daf75146
GM
104982013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10499
10500 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10501 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10502 DL_CALL_DT_FINI() that call the functions directly.
10503 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10504 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10505 * elf/dl-fini.c: Likewise.
10506
10ad46bc
OB
105072013-11-20 Ondřej Bílka <neleai@seznam.cz>
10508
10509 * malloc/hooks.c (memalign_check): Add alignment rounding.
10510 * malloc/malloc.c (_mid_memalign): New function.
10511 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10512 Implement by calling _mid_memalign.
10513 * manual/probes.texi (Memory Allocation Probes): Remove
10514 memory_valloc_retry and memory_pvalloc_retry.
10515
f3fd2628
SP
105162013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10517
4712799f
SP
10518 * locale/programs/locarchive.c (open_archive): Add const
10519 qualifier to ARCHIVEFNAME and copy default fname to
10520 DEFAULT_FNAME.
10521
0417b20f
SP
10522 [BZ #15601]
10523 * libio/tst-widetext.input: Rename Oriya to Odia.
10524 * locale/iso-639.def: Likewise.
10525
f3fd2628
SP
10526 * manual/probes.texi (Mathematical Function Probes): Add
10527 documentation for sin, cos, asin and acos probes.
10528 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10529 (__sin32): Add slowasin probe.
10530 (__cos32): Add slowacos probe.
10531 (__mpsin): Add slowsin probe.
10532 (__mpcos): Add slowcos probe.
10533
73c1ce4f
JM
105342013-11-19 Joseph Myers <joseph@codesourcery.com>
10535
10536 [BZ #15483]
10537 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10538 thread-local __sim_exceptions_thread and global
10539 __sim_exceptions_global.
10540 (__sim_disabled_exceptions): Change to thread-local
10541 __sim_disabled_exceptions_thread and global
10542 __sim_disabled_exceptions_global.
10543 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10544 and global __sim_round_mode_global.
10545 (__simulate_exceptions): Use thread-local floating-point state and
10546 set global state from it as needed.
10547 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10548 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10549 __sim_round_mode_thread.
10550 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10551 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10552 and global __sim_exceptions_global.
10553 (__sim_disabled_exceptions): Change to thread-local
10554 __sim_disabled_exceptions_thread and global
10555 __sim_disabled_exceptions_global.
10556 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10557 and global __sim_round_mode_global.
10558 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10559 (SIM_SET_GLOBAL): Likewise.
10560 * sysdeps/powerpc/soft-fp/sfp-machine.h
10561 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10562 __sim_round_mode_thread.
10563 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10564 __sim_disabled_exceptions_thread.
10565 (__sim_exceptions): Change to __sim_exceptions_thread.
10566 (__sim_disabled_exceptions): Change to
10567 __sim_disabled_exceptions_thread.
10568 (__sim_round_mode): Change to __sim_round_mode_thread.
10569 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10570 thread-local floating-point state and set global state from it as
10571 needed.
10572 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10573 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10574 (__sim_disabled_exceptions): Remove extern declaration.
10575 (feenableexcept): Use thread-local floating-point state and set
10576 global state from it as needed.
10577 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10578 extern declaration.
10579 (__sim_disabled_exceptions): Likewise.
10580 (__sim_round_mode): Likewise.
10581 (__fegetenv): Use thread-local floating-point state.
10582 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10583 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10584 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10585 floating-point state and set global state from it as needed.
10586 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10587 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10588 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10589 Likewise.
10590 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10591 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10592 Likewise.
10593 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10594 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10595 Use __sim_round_mode_thread.
10596 * math/test-fenv-tls.c: New file.
10597 * math/Makefile (tests): Add test-fenv-tls.
10598 ($(objpfx)test-fenv-tls): Depend on
10599 $(common-objpfx)nptl/libpthread.so.
10600
b5449b12
AS
106012013-11-19 Andreas Schwab <schwab@suse.de>
10602
10603 * locale/programs/locale.c (show_info): Decode wordarray elements.
10604 * locale/categories.def (LC_MONETARY): Add element for
10605 _NL_MONETARY_CRNCYSTR.
10606 * locale/C-monetary.c (conversion_rate): New variable.
10607 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10608 element.
10609
e186536b
CM
106102013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10611
10612 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10613 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10614
5c349950
PP
106152013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10616
10617 * elf/Makefile (tst-auxv): New test.
10618 * elf/tst-auxv.c: New
10619 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10620
699df45b
JM
106212013-11-18 Joseph Myers <joseph@codesourcery.com>
10622
10623 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10624 (hidden_proto): Caller changed.
10625 (hidden_tls_proto): New macro.
10626 (libc_hidden_tls_proto): Likewise.
10627 (rtld_hidden_tls_proto): Likewise.
10628 (libm_hidden_tls_proto): Likewise.
10629 (libresolv_hidden_tls_proto): Likewise.
10630 (librt_hidden_tls_proto): Likewise.
10631 (libdl_hidden_tls_proto): Likewise.
10632 (libnss_files_hidden_tls_proto): Likewise.
10633 (libnsl_hidden_tls_proto): Likewise.
10634 (libnss_nisplus_hidden_tls_proto): Likewise.
10635 (libutil_hidden_tls_proto): Likewise.
10636
b7589107
OB
106372013-11-18 Ondřej Bílka <neleai@seznam.cz>
10638
10639 [BZ #10253]
10640 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10641 (decompose_rpath): Defer expansion to fillin_rpath.
10642 (_dl_init_paths): Pass linkmap to fillin_rpath.
10643
250c23bd
RS
106442013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10645
10646 * benchtests/Makefile: Add strsep.
10647 * benchtests/bench-strsep.c: New file: strsep benchtest.
10648 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10649
a7931fcf
AS
106502013-11-18 Andreas Schwab <schwab@suse.de>
10651
10652 * locale/programs/locale.c (show_info) [case byte]: Check for
10653 '\377' instead of '\177'.
10654 * locale/C-monetary.c (not_available): Always use "\377".
10655 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10656 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10657 detect unavailable sign_posn locale elements.
10658 * locale/localeconv.c (__localeconv): For grouping and
10659 mon_grouping handle "\177" and "\377" like no grouping.
10660 (INT_ELEM): New macro. Use it to set all numeric members.
10661 * locale/programs/ld-monetary.c (monetary_read)
10662 <tok_mon_grouping>: Normalize single -1 to the empty string.
10663 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10664 Likewise.
10665
728dab0e
OB
106662013-11-07 Ondřej Bílka <neleai@seznam.cz>
10667
10668 [BZ #16055]
10669 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10670 when we match (nil).
10671 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10672
66294491
JM
106732013-11-16 Joseph Myers <joseph@codesourcery.com>
10674
ce665817
JM
10675 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10676 (NO_TEST_INLINE): Update value.
10677 (ERRNO_UNCHANGED): Likewise.
10678 (ERRNO_EDOM): Likewise.
10679 (ERRNO_ERANGE): Likewise.
10680 (IGNORE_RESULT): Likewise.
10681 (check_float_internal): Check signs of NaN results if
10682 TEST_NAN_SIGN used.
10683 (check_complex): Pass TEST_NAN_SIGN flag through to second
10684 check_float_internal call.
10685 (copysign_test_data): Add tests with quiet NaNs as second
10686 argument. Use TEST_NAN_SIGN.
10687 (fabs_test_data): Add test of negative quiet NaN argument. Use
10688 TEST_NAN_SIGN.
10689 (signbit_test_data): Add tests of quiet NaN argument.
10690 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10691
ee1466a9
JM
10692 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10693 $ignore_result.
10694 (parse_args): Handle function results specified as IGNORE.
10695 * math/libm-test.inc (IGNORE_RESULT): New macro.
10696 (check_float_internal): Do not check numerical result if flag
10697 IGNORE_RESULT set.
10698 (check_complex): Pass through IGNORE_RESULT to second
10699 check_float_internal call.
10700 (check_int): Do not check numerical result if flag IGNORE_RESULT
10701 set.
10702 (check_long): Likewise.
10703 (check_bool): Likewise.
10704 (check_longlong): Likewise.
10705 (lrint_test_data): Add tests of infinite and NaN arguments.
10706 (lrint_tonearest_test_data): Likewise.
10707 (lrint_towardzero_test_data): Likewise.
10708 (lrint_downward_test_data): Likewise.
10709 (lrint_upward_test_data): Likewise.
10710 (llrint_test_data): Likewise.
10711 (llrint_tonearest_test_data): Likewise.
10712 (llrint_towardzero_test_data): Likewise.
10713 (llrint_downward_test_data): Likewise.
10714 (llrint_upward_test_data): Likewise.
10715 (lround_test_data): Likewise.
10716 (llround_test_data): Likewise.
10717
14407b7e
JM
10718 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10719 (ERRNO_UNCHANGED): Update value.
10720 (ERRNO_EDOM): Likewise.
10721 (ERRNO_ERANGE): Likewise.
10722 (NO_TEST_INLINE_FLOAT): New macro.
10723 (NO_TEST_INLINE_DOUBLE): Likewise.
10724 (enable_test): New function.
10725 (RUN_TEST_f_f): Check enable_test before running test.
10726 (RUN_TEST_2_f): Likewise.
10727 (RUN_TEST_fff_f): Likewise.
10728 (RUN_TEST_c_f): Likewise.
10729 (RUN_TEST_f_f1): Likewise.
10730 (RUN_TEST_fF_f1): Likewise.
10731 (RUN_TEST_fI_f1): Likewise.
10732 (RUN_TEST_ffI_f1): Likewise.
10733 (RUN_TEST_c_c): Likewise.
10734 (RUN_TEST_cc_c): Likewise.
10735 (RUN_TEST_f_i): Likewise.
10736 (RUN_TEST_f_i_tg): Likewise.
10737 (RUN_TEST_ff_i_tg): Likewise.
10738 (RUN_TEST_f_b): Likewise.
10739 (RUN_TEST_f_b_tg): Likewise.
10740 (RUN_TEST_f_l): Likewise.
10741 (RUN_TEST_f_L): Likewise.
10742 (RUN_TEST_fFF_11): Likewise.
10743 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10744 conditionals.
10745 (cosh_test_data): Likewise.
10746 (exp_test_data): Likewise.
10747 (expm1_test_data): Likewise.
10748 (hypot_test_data): Likewise.
10749 (pow_test_data): Likewise.
10750 (sinh_test_data): Likewise.
10751 (tanh_test_data): Likewise.
10752 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10753 flags argument.
10754
ca07f197
JM
10755 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10756 tests with quiet NaN input and output.
10757 (acosh_test_data): Likewise.
10758 (asin_test_data): Likewise.
10759 (asinh_test_data): Likewise.
10760 (atan_test_data): Likewise.
10761 (atanh_test_data): Likewise.
10762 (atan2_test_data): Likewise.
10763 (cbrt_test_data): Likewise.
10764 (cos_test_data): Likewise.
10765 (cosh_test_data): Likewise.
10766 (erf_test_data): Likewise.
10767 (erfc_test_data): Likewise.
10768 (exp_test_data): Likewise.
10769 (exp10_test_data): Likewise.
10770 (exp2_test_data): Likewise.
10771 (expm1_test_data): Likewise.
10772 (hypot_test_data): Likewise.
10773 (j0_test_data): Likewise.
10774 (j1_test_data): Likewise.
10775 (jn_test_data): Likewise.
10776 (lgamma_test_data): Likewise.
10777 (log_test_data): Likewise.
10778 (log10_test_data): Likewise.
10779 (log1p_test_data): Likewise.
10780 (log2_test_data): Likewise.
10781 (pow_test_data): Likewise.
10782 (scalb_test_data): Likewise.
10783 (sin_test_data): Likewise.
10784 (sincos_test_data): Likewise.
10785 (sinh_test_data): Likewise.
10786 (tan_test_data): Likewise.
10787 (tanh_test_data): Likewise.
10788 (tgamma_test_data): Likewise.
10789 (y0_test_data): Likewise.
10790 (y1_test_data): Likewise.
10791 (yn_test_data): Likewise.
10792
66294491
JM
10793 [BZ #16167]
10794 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10795 argument being NaN and avoid computations with second argument in
10796 that case.
10797 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10798 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10799 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10800
1820b143
CL
108012013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10802
10803 * locale/iso-639.def: Add Chitwani Tharu (the).
10804
714bd261
AS
108052013-11-14 Andreas Schwab <schwab@suse.de>
10806
10807 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10808 word instead of empty string.
10809
7ab44563
AZ
108102013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10811
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10813 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10815 (__fe_nomask_env): Likewise.
10816
e8470ea2
SE
108172013-11-13 Steve Ellcey <sellcey@mips.com>
10818
10819 * benchtests/bench-timing.h: Include time.h.
10820
17c1d9f0
L
108212013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10822
10823 [BZ #15997]
10824 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10825 to 3.4.0 for x32.
10826 * sysdeps/unix/sysv/linux/configure: Regenerated.
10827
9310c284
JM
108282013-11-13 Joseph Myers <joseph@codesourcery.com>
10829
10830 [BZ #16151]
10831 * stdlib/strtod_l.c (round_and_return): Do not consider
10832 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10833 exponent one less than half the least subnormal exponent.
10834 * stdlib/test-strtod-round-data: Add more tests.
10835 * stdlib/tst-strtod-round.c (tests): Regenerated.
10836
7a2ad8cf
AZ
108372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10838
10839 [BZ #14143]
10840 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10841 (__fe_mask_env): Likewise.
10842 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10843 libm_hidden_proto and add function prototype.
10844 (__fe_mask_env): Add function prototype.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10846 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10848 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10850 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10851
50727aa7
MS
108522013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10853
b2f386c1 10854 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10855 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10856
a615be46
MS
108572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10858
10859 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10860 of htab_find_slot().
10861
7ddace62
DM
108622013-11-11 David S. Miller <davem@davemloft.net>
10863
10864 [BZ #16150]
10865 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10866 symbol in the non-vis3 case in static builds.
10867 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10868 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10869 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10870 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10871
9182aa67
JK
108722013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10873
10874 [BZ #387]
10875 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10876 it is empty.
10877
450a2e2d
AZ
108782013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10879
b2f386c1
SP
10880 * benchtests/Makefile: Add bench-strtod.
10881 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10882
8ec3f656
AS
108832013-11-11 Andreas Schwab <schwab@suse.de>
10884
10885 [BZ #16153]
10886 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10887 terminating NUL in key length.
10888
76a9b998
AZ
108892013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10890
10891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10892 Add artificial ODP entry for vDSO symbol for PPC64.
10893 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10894 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10895
e4368156
OB
108962013-11-07 Ondřej Bílka <neleai@seznam.cz>
10897
10898 [BZ #15374]
10899 * nss/getent.c (services_keys): Recognize services starting with digit.
10900
8d6bb57c
DM
109012013-11-06 David S. Miller <davem@davemloft.net>
10902
10903 [BZ #15985]
10904 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10905 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10906
e256c421
WN
109072013-11-06 Will Newton <will.newton@linaro.org>
10908
10909 * manual/memory.texi (Malloc Examples): Remove register
10910 keyword from examples.
10911
f6e12daa 109122013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10913
f6e12daa 10914 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10915
9d880655
AS
109162013-11-04 Joseph Myers <joseph@codesourcery.com>
10917
fd2f9486 10918 [BZ #6981]
9d880655
AS
10919 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10920 depending on [__GCC_IEC_559 > 0].
10921 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10922 depending on [__GCC_IEC_559_COMPLEX > 0].
10923
ae129d3c
CL
109242013-11-03 Chris Leonard <cjl@sugarlabs.org>
10925
10926 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10927 to iso-639.def.
10928
4a15c2a4 109292013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10930
10931 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10932
8b35e35d
OB
109332013-11-01 Ondřej Bílka <neleai@seznam.cz>
10934
10935 [BZ #16112]
10936 * malloc/malloc (malloc_info): Do not handle first bin as
10937 special case.
10938
1d70fd6c
CL
109392013-11-01 Chris Leonard <cjl@sugarlabs.org>
10940
10941 * locale/iso-639.def: Add Central Nahuatl (nhn).
10942
8c5c2600
BH
109432013-11-01 Bruno Haible <bruno@clisp.org>
10944
10945 [BZ #7003]
10946 * manual/math.texi (BSD Random): Specify range upper bound as
10947 in POSIX.
10948
da5579c2
CL
109492013-10-31 Chris Leonard <cjl@sugarlabs.org>
10950
10951 * locale/iso-639.def: Add Meadow Mari (mhr).
10952
5d30d853
OB
109532013-10-31 Ondřej Bílka <neleai@seznam.cz>
10954
10955 [BZ #14752], [BZ #15763]
10956 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10957 Validate name.
10958 * rt/tst_shm.c: Add test for escaping directory.
10959
a4966c61
AS
109602013-10-31 Andreas Schwab <schwab@suse.de>
10961
8a43e768 10962 [BZ #15917]
a4966c61
AS
10963 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10964 followed by 'x' as part of digit sequence.
10965 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10966
28d708c4
MAP
109672013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10968
10969 [BZ #16037]
10970 * configure.ac: allow GNU Make 4.0 and greater.
10971 * configure: Regenerated.
10972
a56ee40b
WN
109732013-10-30 Will Newton <will.newton@linaro.org>
10974
10975 [BZ #16038]
10976 * malloc/hooks.c (memalign_check): Limit alignment to the
10977 maximum representable power of two.
10978 * malloc/malloc.c (__libc_memalign): Likewise.
10979 * malloc/tst-memalign.c (do_test): Add test for very
10980 large alignment values.
10981 * malloc/tst-posix_memalign.c (do_test): Likewise.
10982
c6e4925d
OB
109832013-10-30 Ondřej Bílka <neleai@seznam.cz>
10984
10985 [BZ #11087]
10986 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10987 (munmap_chunk): Likewise.
10988 (mremap_chunk): Likewise.
10989
109902013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10991
8a43e768 10992 [BZ #15799]
bbea82f7
OB
10993 * stdlib/div.c (div): Remove obsolete code.
10994 * stdlib/ldiv.c (ldiv): Likewise.
10995 * stdlib/lldiv.c (lldiv): Likewise.
10996
977f4b31
SP
109972013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10998
10999 [BZ #16071]
11000 * nss/nss_files/files-XXX.c (get_contents_ret): New
11001 enumerator.
11002 (get_contents): New function.
11003 (internal_getent): Use it. Expand size of LINEBUFLEN.
11004
cb8a6dbd
MF
110052013-10-30 Mike Frysinger <vapier@gentoo.org>
11006
11007 * configure.in: Moved to ...
11008 * configure.ac: ... here. Change reference to configure.in
11009 to configure.ac.
11010 * sysdeps/arm/preconfigure.ac: ... here.
11011 configure.in to configure.ac.
11012 * sysdeps/gnu/configure.in: Moved to ...
11013 * sysdeps/gnu/configure.ac: ... here.
11014 * sysdeps/i386/configure.in: Moved to ...
11015 * sysdeps/i386/configure.ac: ... here.
11016 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11017 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11018 * sysdeps/mach/configure.in: Moved to ...
11019 * sysdeps/mach/configure.ac: ... here.
11020 * sysdeps/mach/hurd/configure.in: Moved to ...
11021 * sysdeps/mach/hurd/configure.ac: ... here.
11022 * sysdeps/powerpc/configure.in: Moved to ...
11023 * sysdeps/powerpc/configure.ac: ... here.
11024 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11025 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11026 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11027 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11028 * sysdeps/s390/s390-32/configure.in: Moved to ...
11029 * sysdeps/s390/s390-32/configure.ac: ... here.
11030 * sysdeps/s390/s390-64/configure.in: Moved to ...
11031 * sysdeps/s390/s390-64/configure.ac: ... here.
11032 * sysdeps/sh/configure.in: Moved to ...
11033 * sysdeps/sh/configure.ac: ... here.
11034 * sysdeps/sparc/configure.in: Moved to ...
11035 * sysdeps/sparc/configure.ac: ... here.
11036 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11037 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11038 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11039 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11040 * sysdeps/x86_64/configure.in: Moved to ...
11041 * sysdeps/x86_64/configure.ac: ... here.
11042 * sysdeps/x86_64/preconfigure.in: Moved to ...
11043 * sysdeps/x86_64/preconfigure.ac: ... here.
11044 * aclocal.m4: Change reference to configure.in to configure.ac.
11045 * config.h.in: Likewise.
11046 * manual/install.texi: Likewise.
11047 * manual/maint.texi: Likewise.
11048 * Makefile: Likewise.
11049 * malloc/Makefile: Likewise.
11050 * nscd/Makefile: Likewise.
11051 * Makeconfig: Change reference to configure.in and
11052 preconfigure.in to configure.ac and preconfigure.ac
11053 respectively.
11054 * INSTALL: Regenerated.
11055 * configure: Likewise.
11056 * sysdeps/gnu/configure: Likewise.
11057 * sysdeps/i386/configure: Likewise.
11058 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11059 * sysdeps/mach/configure: Likewise.
11060 * sysdeps/mach/hurd/configure: Likewise.
11061 * sysdeps/powerpc/configure: Likewise.
11062 * sysdeps/powerpc/powerpc32/configure: Likewise.
11063 * sysdeps/powerpc/powerpc64/configure: Likewise.
11064 * sysdeps/s390/s390-32/configure: Likewise.
11065 * sysdeps/s390/s390-64/configure: Likewise.
11066 * sysdeps/sh/configure: Likewise.
11067 * sysdeps/sparc/configure: Likewise.
11068 * sysdeps/unix/sysv/linux/configure: Likewise.
11069 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11070 * sysdeps/x86_64/configure: Likewise.
11071 * sysdeps/x86_64/preconfigure: Likewise.
11072
36a4953a
AS
110732013-10-29 Andreas Schwab <schwab@suse.de>
11074
11075 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11076
c79a1204
SP
110772013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11078
dfa1b402
SP
11079 * benchtests/pow-inputs: Add new inputs.
11080
54f73d9c
SP
11081 * benchtests/exp-inputs: Add new inputs.
11082
c79a1204
SP
11083 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11084 conditional check for return value.
11085 (__cos32): Likewise.
11086
67beb545 110872013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11088
11089 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11090 to provide a boost for large inputs with word alignment.
11091 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11092 implementation based on optimized PPC64 strcpy.
11093 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11094 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11095 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11096 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11097
151659f6
OB
110982013-10-25 Ondřej Bílka <neleai@seznam.cz>
11099
482a077e 11100 [BZ #2801]
151659f6
OB
11101 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11102
10b0f26b
OB
111032013-10-25 Ondřej Bílka <neleai@seznam.cz>
11104
11105 [BZ #14876]
11106 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11107 * time/tst-strptime.c (day_tests): Add testcase.
11108
ca42d35e
OB
111092013-10-25 Ondřej Bílka <neleai@seznam.cz>
11110
482a077e 11111 [BZ #14029]
ca42d35e
OB
11112 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11113
52e6d801
FB
111142013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11115
11116 [BZ #16074]
11117 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11118 MAP_FAILED on error.
11119
7cbcdb36
SP
111202013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11121
11122 [BZ #16072]
11123 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11124 heap for large requests.
11125
894f3f10
AM
111262013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11127
11128 [BZ #9954]
11129 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11130 result if the result has no associated interface.
11131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11132 interface for all 127.X.Y.Z addresses.
11133
b85545a6
CL
111342013-10-24 Chris Leonard <cjl@sugarlabs.org>
11135
11136 * locale/iso-639.def: Add Ligurian (lij)
11137
d1f23d46
OB
111382013-10-21 Ondřej Bílka <neleai@seznam.cz>
11139
11140 [BZ #15825]
11141 * sunrpc/rpc_main.c: Document rpcgen -5.
11142
4db5b08f
MS
111432013-10-19 Michael Stahl <mstahl@redhat.com>
11144
11145 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11146
a471e96a
OB
111472013-10-19 Ondřej Bílka <neleai@seznam.cz>
11148
d1f23d46 11149 [BZ #10278]
a471e96a
OB
11150 * posix/glob.c: Match only directories when trailing slash is present.
11151 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11152 (main): Add testcase.
11153
45c30c61
OB
111542013-10-19 Ondřej Bílka <neleai@seznam.cz>
11155
11156 [BZ #15670]
11157 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11158
484c12fb
CD
111592013-10-18 Carlos O'Donell <carlos@redhat.com>
11160
3d7dc513
CD
11161 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11162 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11163 AUTH_DES and cindex for FIPS 140-2.
11164 (DES Encryption): Add cindex FIPS 46-3.
11165
484c12fb
CD
11166 * locale/locarchive.h (struct locarhandle): Add fname.
11167 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11168 if an optional argument was specified to --list-archive,
11169 otherwise NULL.
11170 * locale/programs/locarchive.c (show_archive_content): Take new
11171 argument fname and pass it via ah.fname to open_archive.
11172 * locale/programs/localedef.h: Update decl.
11173 (open_archive): If AH->fname is non-null, open that file
11174 rather than the default file name, and don't ignore ENOENT.
11175 (create_archive): Set AH.fname to NULL.
11176 (delete_locales_from_archive): Likewise.
11177 (add_locales_to_archive): Likewise.
11178 * locale/programs/locfile.c (write_all_categories): Likewise.
11179
3c8325fb
JM
111802013-10-18 Joseph Myers <joseph@codesourcery.com>
11181 Aldy Hernandez <aldyh@redhat.com>
11182
11183 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11184 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11185 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11186 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11187 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11188 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11189 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11190 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11191 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11192 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11193 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11194 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11195 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11196 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11197 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11198 Likewise.
11199 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11200 Likewise.
11201 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11202 Likewise.
11203 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11204 Likewise.
11205 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11206 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11207 Likewise.
11208 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11209 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11210 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11211 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11212 Likewise.
11213 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11214 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11215 * sysdeps/powerpc/preconfigure: Likewise.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11217 Likewise.
11218 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11219 Replace contents of file by #include of <fenv_libc.h>.
11220 * sysdeps/powerpc/soft-fp/sfp-machine.h
11221 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11222 and <sys/prctl.h>.
11223 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11231 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11232 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11233 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11234 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11236 Allow copysignl PLT reference to be missing.
11237
5abe0682
RS
112382013-10-18 Richard Sandiford <richard@codesourcery.com>
11239 Joseph Myers <joseph@codesourcery.com
11240
11241 [BZ #15948]
11242 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11243 single character.
11244 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11245
c7738d08
SP
112462013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11247
11248 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11249 * elf/tst-tls1.c: Likewise.
11250 * elf/tst-tls10.h: Likewise.
11251 * elf/tst-tls14.c: Likewise.
11252 * elf/tst-tls2.c: Likewise.
11253 * elf/tst-tls3.c: Likewise.
11254 * elf/tst-tls4.c: Likewise.
11255 * elf/tst-tls5.c: Likewise.
11256 * elf/tst-tls6.c: Likewise.
11257 * elf/tst-tls7.c: Likewise.
11258 * elf/tst-tls8.c: Likewise.
11259 * elf/tst-tls9.c: Likewise.
11260 * elf/tst-tlsmod1.c: Likewise.
11261 * elf/tst-tlsmod13.c: Likewise.
11262 * elf/tst-tlsmod13a.c: Likewise.
11263 * elf/tst-tlsmod14a.c: Likewise.
11264 * elf/tst-tlsmod16a.c: Likewise.
11265 * elf/tst-tlsmod16b.c: Likewise.
11266 * elf/tst-tlsmod2.c: Likewise.
11267 * elf/tst-tlsmod3.c: Likewise.
11268 * elf/tst-tlsmod4.c: Likewise.
11269 * elf/tst-tlsmod5.c: Likewise.
11270 * elf/tst-tlsmod6.c: Likewise.
11271
0bfcf2c7
OB
112722013-10-18 Ondřej Bílka <neleai@seznam.cz>
11273
11274 [BZ #12486]
11275 * malloc/malloc.c: remove checks for statistics.
11276
264aad1e
OB
112772013-10-17 Ondřej Bílka <neleai@seznam.cz>
11278
11279 [BZ #15277]
11280 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11281 * inet/tst-network.c: Add testcase.
11282
b957ced8
AS
112832013-10-17 Andreas Schwab <schwab@suse.de>
11284
11285 [BZ #15218]
11286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11287 to determine canonical name.
11288
c5d5d574
OB
112892013-10-17 Ondřej Bílka <neleai@seznam.cz>
11290
11291 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11292 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11315 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11316 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11321 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11328 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11329 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11330 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11331 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11332 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11333 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11334 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11335 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11336 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11349
e5c2c2d0
JM
113502013-10-17 Joseph Myers <joseph@codesourcery.com>
11351
11352 [BZ #16041]
11353 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11354 make result into a quiet NaN.
11355
51ca9e29
JM
113562013-10-16 Joseph Myers <joseph@codesourcery.com>
11357
11358 * soft-fp/adddf3.c: Fix horizontal whitespace.
11359 * soft-fp/addsf3.c: Likewise.
11360 * soft-fp/addtf3.c: Likewise.
11361 * soft-fp/divdf3.c: Likewise.
11362 * soft-fp/divsf3.c: Likewise.
11363 * soft-fp/divtf3.c: Likewise.
11364 * soft-fp/double.h: Likewise.
11365 * soft-fp/eqdf2.c: Likewise.
11366 * soft-fp/eqsf2.c: Likewise.
11367 * soft-fp/eqtf2.c: Likewise.
11368 * soft-fp/extenddftf2.c: Likewise.
11369 * soft-fp/extended.h: Likewise.
11370 * soft-fp/extendsfdf2.c: Likewise.
11371 * soft-fp/extendsftf2.c: Likewise.
11372 * soft-fp/extendxftf2.c: Likewise.
11373 * soft-fp/fixdfdi.c: Likewise.
11374 * soft-fp/fixdfsi.c: Likewise.
11375 * soft-fp/fixdfti.c: Likewise.
11376 * soft-fp/fixsfdi.c: Likewise.
11377 * soft-fp/fixsfsi.c: Likewise.
11378 * soft-fp/fixsfti.c: Likewise.
11379 * soft-fp/fixtfdi.c: Likewise.
11380 * soft-fp/fixtfsi.c: Likewise.
11381 * soft-fp/fixtfti.c: Likewise.
11382 * soft-fp/fixunsdfdi.c: Likewise.
11383 * soft-fp/fixunsdfsi.c: Likewise.
11384 * soft-fp/fixunsdfti.c: Likewise.
11385 * soft-fp/fixunssfdi.c: Likewise.
11386 * soft-fp/fixunssfsi.c: Likewise.
11387 * soft-fp/fixunssfti.c: Likewise.
11388 * soft-fp/fixunstfdi.c: Likewise.
11389 * soft-fp/fixunstfsi.c: Likewise.
11390 * soft-fp/fixunstfti.c: Likewise.
11391 * soft-fp/floatdidf.c: Likewise.
11392 * soft-fp/floatdisf.c: Likewise.
11393 * soft-fp/floatditf.c: Likewise.
11394 * soft-fp/floatsidf.c: Likewise.
11395 * soft-fp/floatsisf.c: Likewise.
11396 * soft-fp/floatsitf.c: Likewise.
11397 * soft-fp/floattidf.c: Likewise.
11398 * soft-fp/floattisf.c: Likewise.
11399 * soft-fp/floattitf.c: Likewise.
11400 * soft-fp/floatundidf.c: Likewise.
11401 * soft-fp/floatundisf.c: Likewise.
11402 * soft-fp/floatunditf.c: Likewise.
11403 * soft-fp/floatunsidf.c: Likewise.
11404 * soft-fp/floatunsisf.c: Likewise.
11405 * soft-fp/floatunsitf.c: Likewise.
11406 * soft-fp/floatuntidf.c: Likewise.
11407 * soft-fp/floatuntisf.c: Likewise.
11408 * soft-fp/floatuntitf.c: Likewise.
11409 * soft-fp/fmadf4.c: Likewise.
11410 * soft-fp/fmasf4.c: Likewise.
11411 * soft-fp/fmatf4.c: Likewise.
11412 * soft-fp/gedf2.c: Likewise.
11413 * soft-fp/gesf2.c: Likewise.
11414 * soft-fp/getf2.c: Likewise.
11415 * soft-fp/ledf2.c: Likewise.
11416 * soft-fp/lesf2.c: Likewise.
11417 * soft-fp/letf2.c: Likewise.
11418 * soft-fp/muldf3.c: Likewise.
11419 * soft-fp/mulsf3.c: Likewise.
11420 * soft-fp/multf3.c: Likewise.
11421 * soft-fp/negdf2.c: Likewise.
11422 * soft-fp/negsf2.c: Likewise.
11423 * soft-fp/negtf2.c: Likewise.
11424 * soft-fp/op-1.h: Likewise.
11425 * soft-fp/op-2.h: Likewise.
11426 * soft-fp/op-4.h: Likewise.
11427 * soft-fp/op-8.h: Likewise.
11428 * soft-fp/op-common.h: Likewise.
11429 * soft-fp/quad.h: Likewise.
11430 * soft-fp/single.h: Likewise.
11431 * soft-fp/soft-fp.h: Likewise.
11432 * soft-fp/sqrtdf2.c: Likewise.
11433 * soft-fp/sqrtsf2.c: Likewise.
11434 * soft-fp/sqrttf2.c: Likewise.
11435 * soft-fp/subdf3.c: Likewise.
11436 * soft-fp/subsf3.c: Likewise.
11437 * soft-fp/subtf3.c: Likewise.
11438 * soft-fp/truncdfsf2.c: Likewise.
11439 * soft-fp/trunctfdf2.c: Likewise.
11440 * soft-fp/trunctfsf2.c: Likewise.
11441 * soft-fp/trunctfxf2.c: Likewise.
11442 * soft-fp/unorddf2.c: Likewise.
11443 * soft-fp/unordsf2.c: Likewise.
11444 * soft-fp/unordtf2.c: Likewise.
11445
9ebb0332
JM
114462013-10-15 Joseph Myers <joseph@codesourcery.com>
11447
11448 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11449 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11450
4b1a6d8b
OB
114512013-10-15 Ondřej Bílka <neleai@seznam.cz>
11452
11453 * elf/dl-libc.c: Clear initfini list after freeing.
11454
1e145589
JM
114552013-10-14 Joseph Myers <joseph@codesourcery.com>
11456
11457 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11458 * soft-fp/addsf3.c: Likewise.
11459 * soft-fp/addtf3.c: Likewise.
11460 * soft-fp/divdf3.c: Likewise.
11461 * soft-fp/divsf3.c: Likewise.
11462 * soft-fp/divtf3.c: Likewise.
11463 * soft-fp/double.h: Likewise.
11464 * soft-fp/eqdf2.c: Likewise.
11465 * soft-fp/eqsf2.c: Likewise.
11466 * soft-fp/eqtf2.c: Likewise.
11467 * soft-fp/extenddftf2.c: Likewise.
11468 * soft-fp/extended.h: Likewise.
11469 * soft-fp/extendsfdf2.c: Likewise.
11470 * soft-fp/extendsftf2.c: Likewise.
11471 * soft-fp/extendxftf2.c: Likewise.
11472 * soft-fp/fixdfdi.c: Likewise.
11473 * soft-fp/fixdfsi.c: Likewise.
11474 * soft-fp/fixdfti.c: Likewise.
11475 * soft-fp/fixsfdi.c: Likewise.
11476 * soft-fp/fixsfsi.c: Likewise.
11477 * soft-fp/fixsfti.c: Likewise.
11478 * soft-fp/fixtfdi.c: Likewise.
11479 * soft-fp/fixtfsi.c: Likewise.
11480 * soft-fp/fixtfti.c: Likewise.
11481 * soft-fp/fixunsdfdi.c: Likewise.
11482 * soft-fp/fixunsdfsi.c: Likewise.
11483 * soft-fp/fixunsdfti.c: Likewise.
11484 * soft-fp/fixunssfdi.c: Likewise.
11485 * soft-fp/fixunssfsi.c: Likewise.
11486 * soft-fp/fixunssfti.c: Likewise.
11487 * soft-fp/fixunstfdi.c: Likewise.
11488 * soft-fp/fixunstfsi.c: Likewise.
11489 * soft-fp/fixunstfti.c: Likewise.
11490 * soft-fp/floatdidf.c: Likewise.
11491 * soft-fp/floatdisf.c: Likewise.
11492 * soft-fp/floatditf.c: Likewise.
11493 * soft-fp/floatsidf.c: Likewise.
11494 * soft-fp/floatsisf.c: Likewise.
11495 * soft-fp/floatsitf.c: Likewise.
11496 * soft-fp/floattidf.c: Likewise.
11497 * soft-fp/floattisf.c: Likewise.
11498 * soft-fp/floattitf.c: Likewise.
11499 * soft-fp/floatundidf.c: Likewise.
11500 * soft-fp/floatundisf.c: Likewise.
11501 * soft-fp/floatunsidf.c: Likewise.
11502 * soft-fp/floatunsisf.c: Likewise.
11503 * soft-fp/floatuntidf.c: Likewise.
11504 * soft-fp/floatuntisf.c: Likewise.
11505 * soft-fp/floatuntitf.c: Likewise.
11506 * soft-fp/fmadf4.c: Likewise.
11507 * soft-fp/fmasf4.c: Likewise.
11508 * soft-fp/fmatf4.c: Likewise.
11509 * soft-fp/gedf2.c: Likewise.
11510 * soft-fp/gesf2.c: Likewise.
11511 * soft-fp/getf2.c: Likewise.
11512 * soft-fp/ledf2.c: Likewise.
11513 * soft-fp/lesf2.c: Likewise.
11514 * soft-fp/letf2.c: Likewise.
11515 * soft-fp/muldf3.c: Likewise.
11516 * soft-fp/mulsf3.c: Likewise.
11517 * soft-fp/multf3.c: Likewise.
11518 * soft-fp/negdf2.c: Likewise.
11519 * soft-fp/negsf2.c: Likewise.
11520 * soft-fp/negtf2.c: Likewise.
11521 * soft-fp/op-1.h: Likewise.
11522 * soft-fp/op-2.h: Likewise.
11523 * soft-fp/op-4.h: Likewise.
11524 * soft-fp/op-8.h: Likewise.
11525 * soft-fp/op-common.h: Likewise.
11526 * soft-fp/quad.h: Likewise.
11527 * soft-fp/single.h: Likewise.
11528 * soft-fp/soft-fp.h: Likewise.
11529 * soft-fp/sqrtdf2.c: Likewise.
11530 * soft-fp/sqrtsf2.c: Likewise.
11531 * soft-fp/sqrttf2.c: Likewise.
11532 * soft-fp/subdf3.c: Likewise.
11533 * soft-fp/subsf3.c: Likewise.
11534 * soft-fp/subtf3.c: Likewise.
11535 * soft-fp/truncdfsf2.c: Likewise.
11536 * soft-fp/trunctfdf2.c: Likewise.
11537 * soft-fp/trunctfsf2.c: Likewise.
11538 * soft-fp/trunctfxf2.c: Likewise.
11539 * soft-fp/unorddf2.c: Likewise.
11540 * soft-fp/unordsf2.c: Likewise.
11541 * soft-fp/unordtf2.c: Likewise.
11542
17c48a60
OB
115432013-10-14 Ondřej Bílka <neleai@seznam.cz>
11544
11545 [BZ #15672]
11546 * misc/error.c (error_tail): Fix possible buffer overflow.
11547
cabba934
OB
115482013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11549
11550 [BZ #13028]
11551 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11552 address.
11553
94bf958a
PM
115542013-10-14 P. J. McDermott <pj@pehjota.net>
11555
11556 [BZ #832]
11557 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11558 testing pipefail option.
11559
71b4dea7
JM
115602013-10-12 Joseph Myers <joseph@codesourcery.com>
11561
11562 * soft-fp/double.h: Indent preprocessor directives inside #if.
11563 * soft-fp/extended.h: Likewise.
11564 * soft-fp/op-2.h: Likewise.
11565 * soft-fp/op-4.h: Likewise.
11566 * soft-fp/op-common.h: Likewise.
11567 * soft-fp/quad.h: Likewise.
11568 * soft-fp/single.h: Likewise.
11569 * soft-fp/soft-fp.h: Likewise.
11570
55602758
YC
115712013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11572
11573 * iconv/iconv_prog.c: Fix typos.
11574 * stdio-common/psiginfo-data.h: Likewise.
11575
9cd83302
RT
115762013-10-12 Reuben Thomas <rrt@sc3d.org>
11577
11578 [BZ #15764]
11579 * locale/setlocale.c: Fix typo.
11580
99fd9f47
JM
115812013-10-12 Joseph Myers <joseph@codesourcery.com>
11582
b7ea74f0
JM
11583 [BZ #16036]
11584 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11585 signaling NaN arguments.
11586 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11587 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11588
8a509447
JM
11589 [BZ #14910]
11590 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11591 unordered operands.
11592 * soft-fp/gesf2.c (__gesf2): Likewise.
11593 * soft-fp/getf2.c (__getf2): Likewise.
11594 * soft-fp/ledf2.c (__ledf2): Likewise.
11595 * soft-fp/lesf2.c (__lesf2): Likewise.
11596 * soft-fp/letf2.c (__letf2): Likewise.
11597
98998e9f
JM
11598 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11599 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11600 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11601 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11602 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11603 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11604 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11605 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11606 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11607 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11608 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11609 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11610 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11611 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11612 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11613 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11614 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11615 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11616 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11617 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11618 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11619 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11620 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11621 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11622 * soft-fp/floattidf.c (__floattidf): Likewise.
11623 * soft-fp/floattisf.c (__floattisf): Likewise.
11624 * soft-fp/floattitf.c (__floattitf): Likewise.
11625 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11626 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11627 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11628 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11629 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11630 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11631 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11632 * soft-fp/gesf2.c (__gesf2): Likewise.
11633 * soft-fp/getf2.c (__getf2): Likewise.
11634 * soft-fp/ledf2.c (__ledf2): Likewise.
11635 * soft-fp/lesf2.c (__lesf2): Likewise.
11636 * soft-fp/letf2.c (__letf2): Likewise.
11637
8edc4a11
JM
11638 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11639 Undefine and redefine.
11640 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11641 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11642 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11643 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11644 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11645 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11646 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11647 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11648 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11649 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11650 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11651 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11652 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11653 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11654 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11655
8399acaf
JM
11656 [BZ #16032]
11657 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11658 without decrementing exponent if mantissa >= that for the
11659 denominator, not >.
11660 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11661 denominator, not >. Decrement exponent in < case instead of
11662 incrementing in >= case.
11663 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11664 without decrementing exponent if mantissa >= that for the
11665 denominator, not >.
11666
99fd9f47
JM
11667 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11668 computing saturated result for unsigned overflow.
11669
10e1cf6b
SP
116702013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11671 Jeff Law <law@redhat.com>
11672
11673 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11674 (atan2Mp): Add systemtap probe marker.
11675 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11676 (__ieee754_log): Add systemtap probe marker.
11677 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11678 (atanMp): Add systemtap probe marker.
11679 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11680 (tanMp): Add systemtap probe marker.
11681 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11682 (__slowexp): Add systemtap probe marker.
11683 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11684 (__slowpow): Add systemtap probe marker.
11685 * manual/probes.texi: Document probes.
11686
3d110c7c
EB
116872013-10-11 Eric Biggers <ebiggers3@gmail.com>
11688
11689 [BZ #15362]
11690 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11691 written.
11692 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11693 written.
11694 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11695 written to buffer but not flushed.
11696 * libio/iofwrite_u.c: Likewise.
11697 * libio/iopadn.c: Return bytes returned even if EOF was
11698 encountered.
11699 * libio/iowpadn.c: Likewise.
11700 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11701 if _IO_padn does not write the whole buffer.
11702 [!COMPILE_WPRINTF] (PAD): Likewise.
11703
75b4202a
DM
117042013-10-10 David S. Miller <davem@davemloft.net>
11705
11706 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11707 directory block.
11708
6c6352e6
JM
117092013-10-10 Joseph Myers <joseph@codesourcery.com>
11710
33b853c3
JM
11711 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11712 instead of FSF address.
11713 * soft-fp/fixdfti.c: Likewise.
11714 * soft-fp/fixsfti.c: Likewise.
11715 * soft-fp/fixtfti.c: Likewise.
11716 * soft-fp/fixunsdfti.c: Likewise.
11717 * soft-fp/fixunssfti.c: Likewise.
11718 * soft-fp/fixunstfti.c: Likewise.
11719 * soft-fp/floattidf.c: Likewise.
11720 * soft-fp/floattisf.c: Likewise.
11721 * soft-fp/floattitf.c: Likewise.
11722 * soft-fp/floatuntidf.c: Likewise.
11723 * soft-fp/floatuntisf.c: Likewise.
11724 * soft-fp/floatuntitf.c: Likewise.
11725 * soft-fp/trunctfxf2.c: Likewise.
11726
6c6352e6
JM
11727 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11728 * soft-fp/fixdfti.c: Likewise.
11729 * soft-fp/fixsfti.c: Likewise.
11730 * soft-fp/fixtfti.c: Likewise.
11731 * soft-fp/fixunsdfti.c: Likewise.
11732 * soft-fp/fixunssfti.c: Likewise.
11733 * soft-fp/fixunstfti.c: Likewise.
11734 * soft-fp/floattidf.c: Likewise.
11735 * soft-fp/floattisf.c: Likewise.
11736 * soft-fp/floattitf.c: Likewise.
11737 * soft-fp/floatuntidf.c: Likewise.
11738 * soft-fp/floatuntisf.c: Likewise.
11739 * soft-fp/floatuntitf.c: Likewise.
11740 * soft-fp/trunctfxf2.c: Likewise.
11741
3bf78b71
DM
117422013-10-10 David S. Miller <davem@davemloft.net>
11743
11744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11745
6f10289e
JM
117462013-10-10 Joseph Myers <joseph@codsourcery.com>
11747
bd878fc0
JM
11748 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11749 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11750 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11751 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11752 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11753 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11754 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11755
6f10289e
JM
11756 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11757 for NaNs before doing comparisons on argument.
11758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11759 Likewise.
11760
321e2684
WN
117612013-10-10 Will Newton <will.newton@linaro.org>
11762
11763 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11764 passed to _int_memalign does not overflow.
11765
40fefba1
TR
117662013-10-10 Torvald Riegel <triegel@redhat.com>
11767
11768 * scripts/bench.pl: Add include-sources directive.
11769 * benchtests/README: Update documentation.
11770
2ae21ed2
JM
117712013-10-10 Joseph Myers <joseph@codesourcery.com>
11772
dcc2dd3f
JM
11773 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11774 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11775 instead of FP_INIT_ROUNDMODE.
11776 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11777 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11778
2ae21ed2
JM
11779 [BZ #16034]
11780 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11781 copy class of input value.
11782 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11783 not handle exceptions.
11784 * soft-fp/negsf2.c (__negsf2): Likewise.
11785 * soft-fp/negtf2.c (__negtf2): Likewise.
11786 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11787
cb8f9562
JM
117882013-10-09 Joseph Myers <joseph@codesourcery.com>
11789
11790 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11791 semicolon. From Linux kernel.
11792
5b60c59d
AB
117932013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11794
11795 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11796
b86835ca
YC
117972013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11798
11799 [BZ #156]
11800 * manual/socket.texi: Added statement about buffer
11801 for gethostbyname2_r.
11802
e7044ea7
OB
118032013-10-08 Ondřej Bílka <neleai@seznam.cz>
11804
11805 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11806 Use .p2align directive instead, throughout.
11807 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11808 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11809 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11810 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11811 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11812 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11813 * sysdeps/x86_64/strchr.S: Likewise.
11814 * sysdeps/x86_64/strrchr.S: Likewise.
11815
09544cbc
SP
118162013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11817
88576635
SP
11818 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11819
e7b2d1dd
SP
11820 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11821
09544cbc
SP
11822 * sysdeps/generic/math_private.h (__mpsin1): Remove
11823 declaration.
11824 (__mpcos1): Likewise.
11825 (__mpsin): New argument __range_reduce.
11826 (__mpcos): Likewise.
11827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11828 (slow): Use __mpsin and __mpcos.
11829 (slow1): Likewise.
11830 (slow2): Likewise.
11831 (sloww): Likewise.
11832 (sloww1): Likewise.
11833 (sloww2): Likewise.
11834 (bsloww): Likewise.
11835 (bsloww1): Likewise.
11836 (bsloww2): Likewise.
11837 (cslow2): Likewise.
11838 (csloww): Likewise.
11839 (csloww1): Likewise.
11840 (csloww2): Likewise.
11841 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11842 range_reduce. Merge in __mpsin1.
11843 (__mpcos): Likewise.
11844 (__mpsin1): Remove.
11845 (__mpcos1): Likewise.
11846
7602d070
JM
118472013-10-07 Joseph Myers <joseph@codesourcery.com>
11848
11849 * locale/loadlocale.c (_nl_intern_locale_data): Use
11850 LOCFILE_ALIGNED_P.
11851 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11852 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11853 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11854 obstack data is appropriately aligned.
11855 (obstack_int32_grow_fast): Likewise.
11856 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11857 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11858 (add_locale_uint32_array): Likewise.
11859
a357259b
SP
118602013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11861
11862 * benchtests/Makefile: Remove ARGLIST and RET variables.
11863 ($(objpfx)bench-%.c): Pass only function name to the script.
11864 * benchtests/README: Update documentation.
11865 * benchtests/acos-inputs: Add new directives.
11866 * benchtests/acosh-inputs: Likewise.
11867 * benchtests/asin-inputs: Likewise.
11868 * benchtests/asinh-inputs: Likewise.
11869 * benchtests/atan-inputs: Likewise.
11870 * benchtests/atanh-inputs: Likewise.
11871 * benchtests/cos-inputs: Likewise.
11872 * benchtests/cosh-inputs: Likewise.
11873 * benchtests/exp-inputs: Likewise.
11874 * benchtests/log-inputs: Likewise.
11875 * benchtests/pow-inputs: Likewise.
11876 * benchtests/rint-inputs: Likewise.
11877 * benchtests/sin-inputs: Likewise.
11878 * benchtests/sinh-inputs: Likewise.
11879 * benchtests/tan-inputs: Likewise.
11880 * benchtests/tanh-inputs: Likewise.
11881 * scripts/bench.pl: Add support for new directives.
11882
9ec1b13d
AM
118832013-10-07 Alan Modra <amodra@gmail.com>
11884
11885 * README: Fix careless merge.
11886
8b7d57cd
AM
118872013-10-05 Alan Modra <amodra@gmail.com>
11888
11889 * NEWS: Mention powerpc64le support and bugs fixed.
11890 * README: Both big-endian and little-endian powerpc64 supported.
11891
7b7bab13
ST
118922013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11893
57f41c40
AS
11894 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11895 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11896 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11897 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11898
d39baad1
RA
118992013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11900
11901 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11902 match prototype.
11903
cd78f7e7
JM
119042013-10-04 Joseph Myers <joseph@codesourcery.com>
11905
29d73d86
JM
11906 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11907 Move -mhard-float appending from
11908 ports/sysdeps/powerpc/powerpc32/Makefile.
11909 [$(with-fp) = yes] (ASFLAGS): Likewise.
11910 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11911 * sysdeps/powerpc/nofpu: Move directory from
11912 ports/sysdeps/powerpc/nofpu.
11913 * sysdeps/powerpc/soft-fp: Move directory from
11914 ports/sysdeps/powerpc/soft-fp.
11915 * sysdeps/powerpc/powerpc32/405: Move directory from
11916 ports/sysdeps/powerpc/powerpc32/405.
11917 * sysdeps/powerpc/powerpc32/440: Move directory from
11918 ports/sysdeps/powerpc/powerpc32/440.
11919 * sysdeps/powerpc/powerpc32/464: Move directory from
11920 ports/sysdeps/powerpc/powerpc32/464.
11921 * sysdeps/powerpc/powerpc32/476: Move directory from
11922 ports/sysdeps/powerpc/powerpc32/476.
11923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11924 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11926 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11928 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11930 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11932 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11933 * README: Update for powerpc-*-linux-gnu software floating point
11934 support in libc.
11935
e246b347
JM
11936 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11937 case to powerpc/powerpc32*.
11938 * sysdeps/unix/sysv/linux/configure: Regenerated.
11939
89c2003e
JM
11940 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11941 (_FPU_MASK_OM): Define as 0x04.
11942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11944 0x00c10080.
11945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11946 0x0000003c.
11947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11948
cd78f7e7
JM
11949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11950 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11951 getcontext_e500.
11952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11953 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11954 setcontext_e500.
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11956 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11957 and setcontext_e500.
11958
c755294d
CL
119592013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11960
11961 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11962
e16d221c
SP
119632013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11964
11965 * manual/threads.texi (Default Thread Attributes): Fix typo.
11966
215c7d43
WN
119672013-10-04 Will Newton <will.newton@linaro.org>
11968
11969 * malloc/Makefile: Add tst-memalign.
11970 * malloc/tst-memalign.c: New file.
11971
27d0461b
WN
11972 * malloc/tst-posix_memalign.c: Add comments.
11973 (do_test): Add comments and call free on all potentially
11974 allocated pointers. Add space after cast.
11975
1bc92709
WN
11976 * malloc/tst-pvalloc.c: Add comments.
11977 (do_test): Add comments and call free on all potentially
11978 allocated pointers. Remove duplicate check for NULL pointer.
11979 Add space after cast.
11980
66a9be9d
WN
11981 * malloc/tst-valloc.c: Add comments.
11982 (do_test): Add comments and call free on all potentially
11983 allocated pointers. Remove duplicate check for NULL pointer.
11984 Add space after cast.
11985
4cb81307
AM
119862013-10-04 Alan Modra <amodra@gmail.com>
11987
11988 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11989 Use stdint types in rather than __attribute__((mode())).
11990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11991
f8e3e9f3
AM
119922013-10-04 Alan Modra <amodra@gmail.com>
11993
11994 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11995 Correct handling of unaligned relocs for little-endian.
11996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11997
8f9ebb08
AM
119982013-10-04 Alan Modra <amodra@gmail.com>
11999
12000 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12001 * configure: Regenerate.
12002 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12003 * shlib-versions: Likewise.
12004
0edf96c2
AM
120052013-10-04 Alan Modra <amodra@gmail.com>
12006
12007 * string/tester.c (test_memrchr): Increment reported test cycle.
12008
e0f7a380
AM
120092013-10-04 Alan Modra <amodra@gmail.com>
12010
12011 * string/test-memcpy.c (do_one_test): When reporting errors, print
12012 string address and don't overrun end of string.
12013
466b0393
AM
120142013-10-04 Alan Modra <amodra@gmail.com>
12015
12016 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12017 insrdi. Make better use of reg selection to speed exit slightly.
12018 Schedule entry path a little better. Remove useless "are we done"
12019 checks on entry to main loop. Handle wrapping around zero address.
12020 Correct main loop count. Handle single left-over word from main
12021 loop inline rather than by using loop_small. Remove extra word
12022 case in loop_small caused by wrong loop count. Add little-endian
12023 support.
12024 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12025 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12026 cache hint.
12027 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12028 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12029 support. Avoid rlwimi.
12030 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12031
3be87c77
AM
120322013-10-04 Alan Modra <amodra@gmail.com>
12033
12034 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12035 insrdi. Formatting.
3be87c77
AM
12036 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12037 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12038 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12039 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12040 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12041 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12042
759cfef3
AM
120432013-10-04 Alan Modra <amodra@gmail.com>
12044
12045 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12046 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12047 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12048 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12049 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12050 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12051 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12052 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12053 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12054 use of regs. Use power7 mtocrf. Tidy function tails.
12055
fe6e95d7
AM
120562013-10-04 Alan Modra <amodra@gmail.com>
12057
12058 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12059 Formatting. Consistently use rXXX register defines or rN defines.
12060 Use early exit labels that avoid restoring unused non-volatile regs.
12061 Make cr field use more consistent with rWORDn compares. Rename
12062 regs used as shift registers for unaligned loop, using rN defines
12063 for short lifetime/multiple use regs.
12064 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12065 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12066 addi 1,1,64 to pop stack frame. Simplify return value code.
12067 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12068
664318c3
AM
120692013-10-04 Alan Modra <amodra@gmail.com>
12070
12071 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12072 support. Correct typos, formatting. Optimize tail. Use insrdi
12073 rather than rlwimi.
12074 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12075 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12076 little-endian support. Correct typos.
12077 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12078 rather than rlwimi.
12079 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12080 in loop and entry code to keep "and." results.
12081 (strchr): Add little-endian support. Comment. Move cntlzd
12082 earlier in tail.
12083 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12084
43b84013
AM
120852013-10-04 Alan Modra <amodra@gmail.com>
12086
12087 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12088 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12089 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12090 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12091
8a7413f9
AM
120922013-10-04 Alan Modra <amodra@gmail.com>
12093
12094 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12095 (rTMP): Define as r11.
12096 (strcmp): Add little-endian support. Optimise tail.
12097 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12098 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12099 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12100 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12101 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12102 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12103 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12104
33ee81de
AM
121052013-10-04 Alan Modra <amodra@gmail.com>
12106
12107 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12108 little-endian support. Remove unnecessary "are we done" tests.
12109 Handle "s" wrapping around zero and extremely large "size".
12110 Correct main loop count. Handle single left-over word from main
12111 loop inline rather than by using small_loop. Correct comments.
12112 Delete "zero" tail, use "end_max" instead.
12113 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12114
db9b4570
AM
121152013-10-04 Alan Modra <amodra@gmail.com>
12116
12117 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12118 support. Don't branch over align.
12119 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12120 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12121 support. Rearrange tmp reg use to suit. Comment.
12122 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12123
f7c399cf
AM
121242013-10-04 Alan Modra <amodra@gmail.com>
12125
12126 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12127
0b2c2ace
AM
121282013-10-04 Alan Modra <amodra@gmail.com>
12129
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12131 conditional form of branch and link when obtaining pc.
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12133
02f04a6c
AM
121342013-10-04 Alan Modra <amodra@gmail.com>
12135
12136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12137 HIWORD/LOWORD.
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12140
9b874b2f
AM
121412013-10-04 Alan Modra <amodra@gmail.com>
12142
12143 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12144 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12145 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12146 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12147 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12148 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12149 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12150 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12151 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12152 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12153
be1e5d31
AB
121542013-10-04 Anton Blanchard <anton@au1.ibm.com>
12155 Alistair Popple <alistair@ozlabs.au.ibm.com>
12156 Alan Modra <amodra@gmail.com>
12157
12158 [BZ #15723]
12159 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12160 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12161 _dl_hwcap access for little-endian.
12162 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12163 destroy vmx regs when saving unaligned.
12164 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12165 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12166 destroy vmx regs when saving unaligned.
12167
fef13a78
AM
121682013-10-04 Alan Modra <amodra@gmail.com>
12169
12170 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12171 Don't use a union to pack hi/low value.
12172
76a66d51
AB
121732013-10-04 Anton Blanchard <anton@au1.ibm.com>
12174
12175 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12176 for little-endian.
12177 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12178 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12179 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12180 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12181 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12182
6a31fe7f
AM
121832013-10-04 Alan Modra <amodra@gmail.com>
12184
12185 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12186 constants to usual value for .cst8 section, and remove redundant
12187 high address load.
12188 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12189 constant for 0x1p52. Load little-endian words of double from
12190 correct stack offsets.
12191
7b88401f
AM
121922013-10-04 Alan Modra <amodra@gmail.com>
12193
12194 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12195 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12196 words of double from correct stack offsets.
12197 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12198 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12199 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12200 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12201 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12202 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12203 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12204 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12205 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12206 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12207 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12208 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12209 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12210 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12211 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12212 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12213 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12214
9c008155
AM
122152013-10-04 Alan Modra <amodra@gmail.com>
12216
12217 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12218 64-bit int/double union.
12219 (_FPU_SETCW): Likewise.
12220 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12221 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12222
da13146d
AM
122232013-10-04 Alan Modra <amodra@gmail.com>
12224
12225 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12226 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12227
603e8410
AM
122282013-10-04 Alan Modra <amodra@gmail.com>
12229
12230 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12231 use vector int constants.
12232 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12233
4a28b3ca
AB
122342013-10-04 Anton Blanchard <anton@au1.ibm.com>
12235
12236 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12237 array with long long.
12238 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12239 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12240 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12241 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12242 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12243 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12244 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12245 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12246 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12247 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12248 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12249 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12250 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12251
2ca85d2b
AB
122522013-10-04 Anton Blanchard <anton@au1.ibm.com>
12253
12254 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12255 (__signbit): Likewise. Correct for little-endian.
12256 (__signbitl): Call __signbit.
12257 (lrint): Correct for little-endian.
12258 (lrintf): Call lrint.
12259
62a728ae
AM
122602013-10-04 Alan Modra <amodra@gmail.com>
12261
12262 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12263 union 32-bit int array member with 64-bit int array.
12264 (t515, tm256): Double rather than long double.
12265 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12266
32c301df
AM
122672013-10-04 Alan Modra <amodra@gmail.com>
12268
12269 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12270 Delete.
12271 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12272 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12273 version of math_ldbl.h.
12274
650ef4bd
AM
122752013-10-04 Alan Modra <amodra@gmail.com>
12276
12277 [BZ #15734], [BZ #15735]
12278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12279 all uses of ieee875 long double macros and unions. Simplify test
12280 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12281 ldbl_extract_mantissa value for ix,iy exponents. Properly
12282 normalize after ldbl_extract_mantissa, and don't add hidden bit
12283 already handled. Don't treat low word of ieee854 mantissa like
12284 low word of IBM long double and mask off bit when testing for
12285 zero.
12286 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12287 all uses of ieee875 long double macros and unions. Simplify tests
12288 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12289 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12290 two1022, instead use their values. Recognise that tests for large
12291 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12292 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12293 Rewrite all uses of ieee875 long double macros and unions. Simplify
12294 test for 0.0L and nan. Correct negation.
12295 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12296 ieee875 long double macros and unions. Correct output for large
12297 magnitude x. Correct absolute value calculation.
12298 (__erfcl): Likewise.
12299 * math/libm-test.inc: Add tests for errors discovered in IBM long
12300 double versions of fmodl, remainderl, erfl and erfcl.
12301
765714ca
AM
123022013-10-04 Alan Modra <amodra@gmail.com>
12303
12304 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12305 all uses of ieee854 long double macros and unions. Simplify tests
12306 for long doubles that are fully specified by the high double.
12307 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12308 Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12310 Remove dead code too.
12311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12312 (__ieee754_ynl): Likewise.
12313 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12314 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12316 Remove dead code too.
12317 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12318 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12319 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12321 Simplify.
12322 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12323 Simplify.
12324 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12325 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12326 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12327 Comment on variable precision.
12328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12329 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12330 Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12334 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12335 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12336
4ebd120c
AM
123372013-10-04 Alan Modra <amodra@gmail.com>
12338
12339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12340 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12341 all uses of ieee854 long double macros and unions.
12342 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12344 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12345 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12346 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12347 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12348 Likewise.
12349 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12350 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12351 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12352 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12353 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12354 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12355 Simplify sign and nan test too.
12356 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12358 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12359 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12360 Likewise.
12361 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12362 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12363 Likewise.
12364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12365 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12366 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12367 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12368 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12370
1b6adf88
AM
123712013-10-04 Alan Modra <amodra@gmail.com>
12372
12373 * stdio-common/printf_size.c (__printf_size): Don't use
12374 union ieee854_long_double in fpnum union.
12375 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12376 signbit macro to retrieve sign from long double.
12377 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12378 retrieve sign from long double.
12379 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12380 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12381 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12382 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12383 * math/test-misc.c (main): Don't use union ieee854_long_double.
12384
4cf69995
AM
123852013-10-04 Alan Modra <amodra@gmail.com>
12386
12387 [BZ #15680]
12388 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12389 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12390 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12391 calculation. Remove unnecessary test for denormal exponent.
12392 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12393 Correct handling of denormals. Avoid undefined shift behaviour.
12394 Correct normalisation of low mantissa when low double is denormal.
12395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12396 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12397 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12398 Correct normalisation of low mantissa. Test for overflow of high
12399 mantissa and normalise.
12400 (ldbl_nearbyint): Use more readable constant for two52.
12401 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12402 (__mpn_construct_long_double): Fix test for overflow of high
12403 mantissa and correct normalisation. Avoid undefined shift.
12404
9605ca6c
AM
124052013-10-04 Alan Modra <amodra@gmail.com>
12406
12407 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12408 (union ibm_extended_long_double): Define as an array of ieee754_double.
12409 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12410 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12411 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12412 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12413 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12415 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12416 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12418 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12419 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12420
975569d0
JM
124212013-10-03 Joseph Myers <joseph@codesourcery.com>
12422
d3d23756
JM
12423 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12424 page size instead of calling getpagesize.
12425
975569d0
JM
12426 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12427 (LOCFILE_ALIGN_MASK): Likewise.
12428 (LOCFILE_ALIGN_UP): Likewise.
12429 (LOCFILE_ALIGNED_P): Likewise.
12430 * locale/programs/ld-collate.c (collate_output): Use the new
12431 macros instead of __alignof__ (int32_t).
12432 * locale/weight.h (findidx): Likewise.
12433
b1fe1f2b
OB
124342013-10-03 Ondřej Bílka <neleai@seznam.cz>
12435
12436 [BZ #431]
12437 * manual/string.texi: Fix strncat and wcsncat.
12438
5f855e35
BM
124392013-10-03 Brooks Moses <bmoses@google.com>
12440
12441 [BZ #15915]
12442 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12443 * Makerules: ...here, and adjust associated comments.
12444
3cef6009
WN
124452013-10-02 Will Newton <will.newton@linaro.org>
12446
12447 * malloc/Makefile: Add tst-pvalloc.
12448 * malloc/tst-pvalloc.c: New file.
12449
7815420b
WN
124502013-10-02 Will Newton <will.newton@linaro.org>
12451
12452 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12453 improve test coverage.
12454
4868b204
WN
124552013-10-02 Will Newton <will.newton@linaro.org>
12456
12457 * malloc/Makefile: Add tst-posix_memalign.
12458 * malloc/tst-posix_memalign.c: New file.
12459
29c793b3
EB
124602013-10-01 Eric Blake <eblake@redhat.com>
12461
12462 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12463 Use __THROWNL rather than __THROW on static functions.
12464
fd967522
PM
124652013-09-30 Petr Machata <pmachata@redhat.com>
12466
12467 * elf/elf.h (R_AARCH64_ABS16): New macro.
12468 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12469 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12470 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12471 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12472 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12473 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12474 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12475 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12476 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12477 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12478 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12479 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12480 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12481 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12482 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12483 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12484 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12485 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12486 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12487 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12488 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12489 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12490 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12491 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12492 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12493 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12494 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12495 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12496 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12497 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12498 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12499 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12500 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12501 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12502 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12503 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12504 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12505 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12506 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12507 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12508 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12509 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12510 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12511 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12512 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12513 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12514 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12515 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12516 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12517 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12518 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12519 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12520 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12521 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12522 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12523 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12524 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12525 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12526 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12527 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12528 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12529 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12530 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12531 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12532 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12533 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12534 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12535 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12536 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12537 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12538 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12539 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12540 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12541 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12542 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12543 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12544 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12545 (R_AARCH64_TLSDESC_LDR): Likewise.
12546 (R_AARCH64_TLSDESC_ADD): Likewise.
12547 (R_AARCH64_TLSDESC_CALL): Likewise.
12548
b2179107
AS
125492013-09-30 Andreas Schwab <schwab@suse.de>
12550
12551 [BZ #15048]
12552 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12553 the nss database lookup.
12554 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12556
47f28d0a
MF
125572013-09-28 Mike Frysinger <vapier@gentoo.org>
12558
12559 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12560
125612013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12562
12563 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12564 ${Bash-specific parameter/pattern/string} parameter expansion.
12565 * sysdeps/unix/make-syscalls.sh: Likewise.
12566
f4518a17
KK
125672013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12568
12569 * sysdeps/sh/stackguard-macros.h: New file.
12570
dc1a95c7
OB
125712013-09-26 Ondřej Bílka <neleai@seznam.cz>
12572
12573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12574 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12575 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12576 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12577 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12578 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12579
5ebbff8f
AZ
125802013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12581
12582 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12583 Fix thread ID register.
12584
4fd2cf9f
JM
125852013-09-25 Joseph Myers <joseph@codesourcery.com>
12586
12587 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12588 [POSIX || UNIX98]: Require rather than permitting all symbols from
12589 <time.h>.
12590 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12591 element of struct sched_param.
12592 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12593 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12594 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12595 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12596 constant.
12597
12c22bc4
OL
125982013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12599
12600 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12601 argument calculation.
12602
a03d8ea7
JM
126032013-09-24 Joseph Myers <joseph@codesourcery.com>
12604
12605 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12606 Expect macro.
12607 [POSIX] (pthread_attr_t): Do not require type.
12608 [POSIX] (pthread_cond_t): Likewise.
12609 [POSIX] (pthread_condattr_t): Likewise.
12610 [POSIX] (pthread_key_t): Likewise.
12611 [POSIX] (pthread_mutex_t): Likewise.
12612 [POSIX] (pthread_mutexattr_t): Likewise.
12613 [POSIX] (pthread_once_t): Likewise.
12614 [POSIX] (pthread_t): Likewise.
12615 [POSIX-based standards] (pthread_atfork): Expect function.
12616
6055173a
JM
126172013-09-24 Joseph Myers <joseph@codesourcery.com>
12618 Richard Sandiford <richard@codesourcery.com>
12619
12620 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12621 (swap_endianness_p): New extern variable.
12622 (set_big_endian): New inline function.
12623 (maybe_swap_uint32): Likewise.
12624 (maybe_swap_uint32_array): Likewise.
12625 (maybe_swap_uint32_obstack): Likewise.
12626 * locale/programs/locfile.c: Include <stdbool.h>.
12627 (swap_endianness_p): New variable.
12628 (add_locale_uint32): Call maybe_swap_uint32.
12629 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12630 (write_locale_data): Call maybe_swap_uint32_array.
12631 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12632 maybe_swap_uint32.
12633 (obstack_int32_grow_fast): Likewise.
12634 (output_weightwc): Call maybe_swap_uint32_obstack.
12635 (collate_output): Likewise.
12636 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12637 (OPT_LITTLE_ENDIAN): Likewise.
12638 (options): Add --little-endian and --big-endian options.
12639 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12640 * locale/programs/locarchive.c: Include "locfile.h".
12641 (GET): New macro.
12642 (SET): Likewise.
12643 (INC): Likewise.
12644 (create_archive): Use the new macros to access fields of
12645 structures directly mapped from or written to locale archives.
12646 (oldlocrecentcmp): Likewise.
12647 (enlarge_archive): Likewise.
12648 (insert_name): Likewise.
12649 (add_alias): Likewise.
12650 (add_locale): Likewise.
12651 (delete_locales_from_archive): Likewise.
12652 (show_archive_content): Likewise.
12653 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12654 locale data.
12655
39bf0bb4
RM
126562013-09-24 Roland McGrath <roland@hack.frob.com>
12657
12658 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12659 http://www.gnu.org/doc/freemanuals.texi.
12660 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12661
f02eed10
WN
126622013-09-24 Will Newton <will.newton@linaro.org>
12663
12664 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12665 macro.
12666
a3a6c312
JM
126672013-09-23 Joseph Myers <joseph@codesourcery.com>
12668
12669 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12670 unsigned char.
12671
107375ac
MR
126722013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12673
12674 * manual/threads.texi (POSIX Threads): Fix a typo.
12675
141f3a77
SP
126762013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12677
303e567a
SP
12678 [BZ #14547]
12679 * string/tst-strcoll-overflow.c: New test case.
12680 * string/Makefile (xtests): Add tst-strcoll-overflow.
12681 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12682 cache if string sizes may cause integer overflow.
12683
141f3a77
SP
12684 [BZ #14547]
12685 * string/strcoll_l.c (coll_seq): New members rule, idx,
12686 save_idx and back_us.
12687 (get_next_seq_nocache): New function.
12688 (do_compare_nocache): New function.
12689 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12690 when malloc fails.
12691
c61b4d41
CD
126922013-09-23 Carlos O'Donell <carlos@redhat.com>
12693
0b1f8e35
CD
12694 [BZ #15754]
12695 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12696 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12697 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12698
c61b4d41
CD
12699 [BZ #15754]
12700 * elf/Makefile (tests): Add tst-ptrguard1.
12701 (tests-static): Add tst-ptrguard1-static.
12702 (tst-ptrguard1-ARGS): Define.
12703 (tst-ptrguard1-static-ARGS): Define.
12704 * elf/tst-ptrguard1.c: New file.
12705 * elf/tst-ptrguard1-static.c: New file.
12706 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12707 * sysdeps/i386/stackguard-macros.h: Likewise.
12708 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12709 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12710 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12711 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12712 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12713 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12714
127152013-09-23 Hector Marco <hecmargi@upv.es>
12716 Ismael Ripoll <iripoll@disca.upv.es>
12717 Carlos O'Donell <carlos@redhat.com>
12718
12719 [BZ #15754]
12720 * sysdeps/generic/stackguard-macros.h: Define
12721 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12722 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12723 Define __pointer_chk_guard_local.
12724 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12725 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12726
f5f4e7b4
VV
127272013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12728
12729 [BZ #15859]
12730 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12731
5bb43a43
AS
127322013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12733
12734 * include/string.h (__ffs): Declare as hidden.
12735 * string/ffs.c (__ffs): Define as hidden.
12736 * sysdeps/i386/ffs.c (__ffs): Likewise.
12737 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12738 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12739 * sysdeps/s390/ffs.c (__ffs): Likewise.
12740 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12741
3ea5be54
AO
127422013-09-20 Alexandre Oliva <aoliva@redhat.com>
12743
ffb89e53
AO
12744 * NEWS: Mention malloc probes.
12745
322dea08
AO
12746 * malloc/arena.c (new_heap): New memory_heap_new probe.
12747 (grow_heap): New memory_heap_more probe.
12748 (shrink_heap): New memory_heap_less probe.
12749 (heap_trim): New memory_heap_free probe.
12750 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12751 (systrim): New memory_sbrk_less probe.
12752 * manual/probes.texi: Document them.
12753
655673f3
AO
12754 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12755 * manual/probes.texi: Document it.
12756
35fed6f1
AO
12757 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12758 (__libc_realloc): Add memory_realloc_retry probe.
12759 (__libc_memalign): Add memory_memalign_retry probe.
12760 (__libc_valloc): Add memory_valloc_retry probe.
12761 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12762 (__libc_calloc): Add memory_calloc_retry probe.
12763 * manual/probes.texi: Document them.
12764
6999d38c
AO
12765 * malloc/arena.c (get_free_list): Add probe
12766 memory_arena_reuse_free_list.
12767 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12768 and memory_arena_reuse.
12769 (arena_get2) [!PER_THREAD]: Likewise.
12770 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12771 memory_arena_reuse_realloc.
12772 * manual/probes.texi: Document them.
12773
0653427f
AO
12774 * malloc/malloc.c (__libc_free): Add
12775 memory_mallopt_free_dyn_thresholds probe.
12776 (__libc_mallopt): Add multiple memory_mallopt probes.
12777 * manual/probes.texi: Document them.
12778
3ea5be54
AO
12779 * malloc/malloc.c: Include stap-probe.h.
12780 (__libc_mallopt): Add memory_mallopt probe.
12781 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12782 * manual/probes.texi: New.
12783 * manual/Makefile (chapters): Add probes.
12784 * manual/threads.texi: Set next node.
12785
e35696c3 127862013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12787
e35696c3
CL
12788 [BZ #15963, #13985]
12789 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12790 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12791 Add `Chinese' to `nan' entry name.
12792
4aafb73c
SP
127932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12794
12795 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12796 (POLYNOMIAL): Likewise.
12797 (TAYLOR_SINCOS): Likewise.
12798 (TAYLOR_SLOW): Likewise.
12799 (__sin): Use TAYLOR_SINCOS.
12800 (__cos): Likewise.
12801 (slow): Use TAYLOR_SLOW.
12802 (sloww): Likewise.
12803 (bsloww): Likewise.
12804 (csloww): Likewise.
12805
d84f25c7
LD
128062013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12807
12808 * stdlib/strtod_l.c: Fix buffer overrun.
12809
5eea0404
SP
128102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12811
7849ff93
SP
12812 * benchtests/Makefile (bench): Add sincos.
12813 * benchtests/bench-sincos.c: New file.
12814
cfa3c886
SP
12815 * math/libm-test.inc (cos_test_data): New test inputs.
12816 (sin_test_data): Likewise.
12817
b348e1e3
SP
12818 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12819 macro.
12820 (__sin): Use it.
12821 (__cos): Likewise.
12822 (slow1): Likewise.
12823 (slow2): Likewise.
12824 (sloww1): Likewise.
12825 (sloww2): Likewise.
12826 (bsloww1): Likewise.
12827 (bsloww2): Likewise.
12828 (cslow2): Likewise.
12829 (csloww1): Likewise.
12830 (csloww2): Likewise.
12831
6cce25f8
SP
12832 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12833 function.
12834 (__sin): Use it.
12835 (__cos): Likewise.
12836
5eea0404
SP
12837 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12838 gotos.
12839 (__cos): Likewise.
12840
9c21573c
MR
128412013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12842
12843 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12844 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12845 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12846 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12847 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12848 * elf/cache.c (print_entry): Handle the new cache flags.
12849
24d22e65
JM
128502013-09-18 Joseph Myers <joseph@codesourcery.com>
12851 Aldy Hernandez <aldyh@redhat.com>
12852
12853 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12854 Change condition to [_SOFT_FLOAT].
12855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12867 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12870 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12871 declaration.
12872
d13ef066
JM
128732013-09-18 Joseph Myers <joseph@codesourcery.com>
12874
2e071de0
JM
12875 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12876 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12877 (__longjmp): Use LOAD_GP to load saved GPRs.
12878 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12879 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12880 (__sigsetjmp): Use SAVE_GP to save GPRs.
12881
d13ef066
JM
12882 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12883 Do not append -msoft-float.
12884 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12885
97a0650b
SP
128862013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12887
12888 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12889
11ca09e9
JM
128902013-09-17 Joseph Myers <joseph@codesourcery.com>
12891
12892 [BZ #15966]
12893 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12894 (_FPU_GETCW): Use initial "__" on variable and field names but not
12895 on macro parameter name.
12896 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12897 parentheses around reference to macro parameter.
12898
08ffcf34
RS
128992013-09-13 Richard Sandiford <richard@codesourcery.com>
12900
12901 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12902 prototype.
12903 (ctype_startup): Use uint32_t in cast and sizeof for
12904 ctype->charnames.
12905
ae7080d3
JL
129062013-09-11 Jia Liu <proljc@gmail.com>
12907
12908 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12909 __daddr_t_defined.
12910 [__FreeBSD__]: Likewise.
12911
5905e7b3
OB
129122013-09-11 Ondřej Bílka <neleai@seznam.cz>
12913
12914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12915 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12916 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12917 (strchr): Remove __strchr_sse42 ifunc selection.
12918 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12919 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12920
b987c776
WN
129212013-09-11 Will Newton <will.newton@linaro.org>
12922
12923 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12924 parameter to RES. Remove hardcoded 1000 value.
12925 * benchtests/bench-skeleton.c (main): Pass RES parameter
12926 to TIMING_INIT and multiply result by 1000.
12927
ddf985af
AZ
129282013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12929
12930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12931
ffdd3181
AS
129322013-09-11 Andreas Schwab <schwab@suse.de>
12933
12934 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12935 if not defined.
12936 (O_TMPFILE) [__USE_GNU]: Define.
12937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12938 Define.
12939
b73ed247
WN
129402013-09-11 Will Newton <will.newton@linaro.org>
12941
12942 [BZ #15857]
12943 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12944 does not overflow.
12945
55e17aad
WN
129462013-09-11 Will Newton <will.newton@linaro.org>
12947
12948 [BZ #15856]
12949 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12950 does not overflow.
12951
1159a193
WN
129522013-09-11 Will Newton <will.newton@linaro.org>
12953
12954 [BZ #15855]
12955 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12956 does not overflow.
12957
5905e7b3 129582013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12959
12960 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12961 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12962 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12963 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12964 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12965
cdfc721b
AM
129662013-09-10 Allan McRae <allan@archlinux.org>
12967
aa04af00
AM
12968 [BZ #15748]
12969 * manual/arith.texi (Parsing of Floats): Clarify
12970 cross-reference.
12971
cdfc721b
AM
12972 [BZ #15849]
12973 * manual/install.texi (Running make install): Mention
12974 --enable-pt-chown.
12975 * INSTALL: Regenerated.
12976
95e7cf29
MR
129772013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12978
12979 * csu/init-first.c (_init): Remove the !SHARED condition around
12980 FPU control word initialization.
12981 * elf/dl-support.c (_dl_fpu_control): New variable.
12982 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12983 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12984 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12985 * math/test-fpucw-static.c: New file.
12986 * math/test-fpucw-ieee.c: New file.
12987 * math/test-fpucw-ieee-static.c: New file.
12988 * math/Makefile (tests): Add `test-fpucw-ieee' and
12989 `$(tests-static)'.
12990 (tests-static): New variable.
12991 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12992 dependency to...
12993 [($(build-shared),yes)]
12994 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12995 ... this.
12996 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12997 New dependency.
12998
83e43bf0
AM
129992013-09-09 Allan McRae <allan@archlinux.org>
13000
a9f5ce09
AM
13001 [BZ #15939]
13002 * manual/string.texi (Collation Functions): Fix typo in
13003 strcoll example.
13004 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13005
34829bc2
AM
13006 [BZ #15893]
13007 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13008
3932737d
AM
13009 [BZ #15892]
13010 * libio/memstream.c (open_memstream): Fix memory leak.
13011 * libio/wmemstream.c (open_wmemstream): Likewise.
13012
83e43bf0
AM
13013 [BZ #15895]
13014 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13015
0c66b8e9
WN
130162013-09-09 Will Newton <will.newton@linaro.org>
13017
13018 * malloc/Makefile: Add tst-realloc to tests.
13019 * malloc/tst-realloc.c: New file.
13020
f6b00fd1
AM
130212013-09-09 Allan McRae <allan@archlinux.org>
13022
13023 [BZ #15844]
13024 * COPYING: Update from GNU website to fix FSF address.
13025 * COPYING.LIB: Likewise.
13026
eec55e16
DM
130272013-09-06 David S. Miller <davem@davemloft.net>
13028
13029 * po/zh_TW.po: Update Chinese (traditional) translation from
13030 translation project.
13031
1ecbb381
RS
130322013-09-06 Richard Sandiford <richard@codesourcery.com>
13033 Joseph Myers <joseph@codesourcery.com>
13034
13035 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13036 "localeinfo.h".
13037 (obstack_chunk_alloc): New macro.
13038 (obstack_chunk_free): Likewise.
13039 (record_offset): New function.
13040 (init_locale_data): Likewise.
13041 (align_locale_data): Likewise.
13042 (add_locale_empty): Likewise.
13043 (add_locale_raw_data): Likewise.
13044 (add_locale_raw_obstack): Likewise.
13045 (add_locale_string): Likewise.
13046 (add_locale_wstring): Likewise.
13047 (add_locale_uint32): Likewise.
13048 (add_locale_uint32_array): Likewise.
13049 (add_locale_char): Likewise.
13050 (start_locale_structure): Likewise.
13051 (end_locale_structure): Likewise.
13052 (start_locale_prelude): Likewise.
13053 (end_locale_prelude): Likewise.
13054 (write_locale_data): Take locale_file structure rather than an
13055 iovec.
13056 * locale/programs/locfile.h: Include "obstack.h".
13057 (struct locale_file): Change to store locale file contents instead
13058 of header.
13059 (init_locale_data): New prototype.
13060 (align_locale_data): Likewise.
13061 (add_locale_empty): Likewise.
13062 (add_locale_raw_data): Likewise.
13063 (add_locale_raw_obstack): Likewise.
13064 (add_locale_string): Likewise.
13065 (add_locale_wstring): Likewise.
13066 (add_locale_uint32): Likewise.
13067 (add_locale_uint32_array): Likewise.
13068 (add_locale_char): Likewise.
13069 (start_locale_structure): Likewise.
13070 (end_locale_structure): Likewise.
13071 (start_locale_prelude): Likewise.
13072 (end_locale_prelude): Likewise.
13073 (write_locale_data): Update prototype.
13074 * locale/programs/3level.h (struct TABLE): Remove result field.
13075 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13076 Use new locale_file interface.
13077 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13078 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13079 * locale/programs/ld-address.c (address_output): Use new
13080 locale_file interface.
13081 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13082 NO_ADD_LOCALE.
13083 (collate_finish): Don't call collseq_table_finalize.
13084 (collate_output): Use new locale_file interface.
13085 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13086 in file.
13087 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13088 (TABLE): Move defines earlier in file.
13089 (ELEMENT): Likewise.
13090 (DEFAULT): Likewise.
13091 (wctrans_table_add): Move macro and inline function earlier in
13092 file.
13093 (struct wctype_table): Move type earlier in file.
13094 (add_locale_wctype_table): New static prototype.
13095 (struct locale_ctype_t): Use logical types instead of struct iovec
13096 pointers for members.
13097 (ctype_output): Use new locale_file interface.
13098 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13099 new locale_file interface.
13100 (allocate_arrays): Update for use of new locale_file interface.
13101 * locale/programs/ld-identification.c (identification_output): Use
13102 new locale_file interface.
13103 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13104 * locale/programs/ld-messages.c (messages_output): Likewise.
13105 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13106 * locale/programs/ld-name.c (name_output): Likewise.
13107 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13108 * locale/programs/ld-paper.c (paper_output): Likewise.
13109 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13110 * locale/programs/ld-time.c (time_output): Likewise.
13111
e029e2e5
AZ
131122013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13113
13114 * benchtests/Makefile: Add memrchr benchmark.
13115 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13116 benchmark as memrchr.
13117 * benchtests/bench-memrchr-ifunc.c: New file.
13118 * benchtests/bench-memrchr.c: New file.
13119
bbf6e8e4
WN
131202013-09-06 Will Newton <will.newton@linaro.org>
13121
13122 * benchtests/Makefile (string-bench): Add memcpy.
13123
6c82a2f8
CD
131242013-09-05 Carlos O'Donell <carlos@redhat.com>
13125 Cong Wang <amwang@redhat.com>
13126
e732c5f0 13127 [BZ #15850]
6c82a2f8
CD
13128 * sysdeps/unix/sysv/linux/bits/in.h
13129 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13130 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13131 before __USE_KERNEL_IPV6_DEFS uses.
13132 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13133 IPPROTO_BEETPH.
13134 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13135 sockaddr_in6, or ipv6_mreq.
13136
5430fc65
AZ
131372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13138
13139 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13140 memory access for final bytes in some large inputs.
13141 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13142
4660856c
AZ
131432013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13144
13145 * string/test-memrchr.c: New file.
13146 * string/test-memrchr-ifunc.c: New file.
13147 * string/Makefile: Add new memrchr testcase.
13148
bb8ea713
MF
131492013-09-05 Mike Frysinger <vapier@gentoo.org>
13150
13151 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13152 fanotify_init returns EPERM.
13153
b92a20b5
JM
131542013-09-04 Joseph Myers <joseph@codesourcery.com>
13155
13156 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13157 errors.
13158 (top level): Treat second token from macro or constant entries for
13159 allowed headers as allowed.
13160 * include/complex.h: Condition internal declarations on
13161 [!_ISOMAC].
13162 * include/fenv.h: Condition include of <stdbool.h> and internal
13163 declarations on [!_ISOMAC].
7447ccd9
CL
13164
131652013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13166
3e181dda 13167 [BZ #15923]
7447ccd9
CL
13168 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13169
3f2e46a4
JM
131702013-09-04 Joseph Myers <joseph@codesourcery.com>
13171
13172 * configure.in (--enable-versioning): Remove configure option.
13173 (libc_cv_asm_symver_directive): Remove configure test.
13174 (libc_cv_ld_version_script_option): Likewise.
13175 (VERSIONING): Remove variable and AC_SUBST.
13176 (DO_VERSIONING): Remove AC_DEFINE.
13177 * configure: Regenerated.
13178 * config.h.in (DO_VERSIONING): Remove macro.
13179 * Makerules [$(versioning) = yes]: Change conditionals to
13180 [$(build-shared) = yes].
13181 * config.make.in (versioning): Remove variable.
13182 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13183 [$(build-shared) = yes].
13184 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13185 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13186 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13187 [$(build-shared) = yes].
13188 * extra-lib.mk [$(versioning) = yes]: Likewise.
13189 * hurd/Makefile [$(versioning) = yes]: Likewise.
13190 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13191 [SHARED].
13192 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13193 [SHARED].
13194 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13195 [SHARED && !NO_HIDDEN].
13196 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13197 [SHARED].
13198 [SHARED && DO_VERSIONING]: Likewise..
13199 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13200 [$(build-shared) = yes].
13201 * manual/install.texi (--disable-versioning): Remove
13202 documentation.
13203 * INSTALL: Regenerated.
13204 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13205 to [SHARED].
13206 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13207 [$(build-shared) = yes].
13208 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13209 * sysdeps/i386/i686/multiarch/strstr-c.c
13210 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13211 [SHARED && !NO_HIDDEN].
13212 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13213 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13214 * sysdeps/powerpc/powerpc32/dl-machine.c
13215 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13216 * sysdeps/powerpc/powerpc32/sysdep.h
13217 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13218 to [SHARED && PIC && !NO_HIDDEN].
13219 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13220 conditional to [SHARED].
13221
44558701
WN
132222013-09-04 Will Newton <will.newton@linaro.org>
13223
13224 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13225 * benchtests/bench-string.h: Include bench-timing.h instead
13226 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13227 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13228 call to HP_TIMING_DIFF_INIT.
13229 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13230 instead of hp-timing.h macros.
13231 * benchtests/bench-memchr.c: Likewise.
13232 * benchtests/bench-memcmp.c: Likewise.
13233 * benchtests/bench-memcpy.c: Likewise.
13234 * benchtests/bench-memmem.c: Likewise.
13235 * benchtests/bench-memmove.c: Likewise.
13236 * benchtests/bench-memset.c: Likewise.
13237 * benchtests/bench-rawmemchr.c: Likewise.
13238 * benchtests/bench-strcasecmp.c: Likewise.
13239 * benchtests/bench-strcasestr.c: Likewise.
13240 * benchtests/bench-strcat.c: Likewise.
13241 * benchtests/bench-strchr.c: Likewise.
13242 * benchtests/bench-strcmp.c: Likewise.
13243 * benchtests/bench-strcpy.c: Likewise.
13244 * benchtests/bench-strcpy_chk.c: Likewise.
13245 * benchtests/bench-strlen.c: Likewise.
13246 * benchtests/bench-strncasecmp.c: Likewise.
13247 * benchtests/bench-strncat.c: Likewise.
13248 * benchtests/bench-strncmp.c: Likewise.
13249 * benchtests/bench-strncpy.c: Likewise.
13250 * benchtests/bench-strnlen.c: Likewise.
13251 * benchtests/bench-strpbrk.c: Likewise.
13252 * benchtests/bench-strrchr.c: Likewise.
13253 * benchtests/bench-strspn.c: Likewise.
13254 * benchtests/bench-strstr.c: Likewise.
13255
cae16d66
WN
132562013-09-04 Will Newton <will.newton@linaro.org>
13257
13258 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13259
ffa3cd7f
JM
132602013-09-03 Joseph Myers <joseph@codesourcery.com>
13261
13262 [BZ #15427]
13263 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13264 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13265 * math/libm-test.inc (lgamma_test_data): Add more tests.
13266 * sysdeps/i386/fpu/libm-test-ulps: Update.
13267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13268
8f02859f
OB
132692013-09-03 Ondřej Bílka <neleai@seznam.cz>
13270
13271 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13272 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13273 Add ifunc.
13274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13275 Add strcmp-sse2-unaligned
13276 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13277
18d43716
MF
132782013-09-02 Mike Frysinger <vapier@gentoo.org>
13279
13280 * Versions.def (libc): Add GLIBC_2.19.
13281
ac444012
MF
132822013-09-02 Mike Frysinger <vapier@gentoo.org>
13283
13284 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13285 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13286
b7835e32
JM
132872013-09-02 Joseph Myers <joseph@codesourcery.com>
13288
13289 [BZ #14155]
13290 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13291 intermediate calculations in recurrence.
13292 (__ieee754_ynf): Likewise.
13293 * math/libm-test.inc (jn_test_data): Do not allow spurious
13294 underflow exception. Add more tests.
13295 (yn_test_data): Add more tests.
13296 * sysdeps/i386/fpu/libm-test-ulps: Update.
13297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13298
8220f4f0
OB
132992013-09-02 Ondřej Bílka <neleai@seznam.cz>
13300
13301 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13302
f24a6d08
OB
133032013-08-30 Ondřej Bílka <neleai@seznam.cz>
13304
13305 * csu/init-first.c: Fix then/than typos.
13306 * locale/programs/ld-collate.c: Likewise.
13307 * locale/programs/linereader.h: Likewise.
13308 * manual/charset.texi: Likewise.
13309 * manual/filesys.texi: Likewise.
13310 * manual/stdio.texi: Likewise.
13311 * manual/string.texi: Likewise.
13312 * stdlib/fmtmsg.c: Likewise.
13313 * sysdeps/i386/stpncpy.S: Likewise.
13314 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13315 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13316 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13317 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13318
382466e0
OB
133192013-08-30 Ondřej Bílka <neleai@seznam.cz>
13320
13321 * elf/dl-open.c: Fix typos.
13322 * iconvdata/gbbig5.c: Likewise.
13323 * iconvdata/iso-2022-jp.c: Likewise.
13324 * iconv/gconv_int.h: Likewise.
13325 * iconv/loop.c: Likewise.
13326 * nis/rpcsvc/nis.h: Likewise.
13327 * resolv/ns_name.c: Likewise.
13328 * stdio-common/vfscanf.c: Likewise.
13329 * streams/stropts.h: Likewise.
13330 * sunrpc/rpc_thread.c: Likewise.
13331 * sysdeps/i386/strpbrk.S: Likewise.
13332 * sysdeps/ieee754/k_standard.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13335 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13336 * sysdeps/mach/hurd/profil.c: Likewise.
13337 * sysdeps/s390/dl-procinfo.h: Likewise.
13338 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13339 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13340 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13341 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13342 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13343
0186c6e9
OB
133442013-08-30 Ondřej Bílka <neleai@seznam.cz>
13345
13346 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13348
d4e16af1
OB
133492013-08-29 Ondřej Bílka <neleai@seznam.cz>
13350
13351 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13352 aix specific files.
13353 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13354 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13355 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13356 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13357 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13358 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13359 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13360 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13361
88335980
TS
133622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13363 Roland McGrath <roland@hack.frob.com>
13364
13365 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13366 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13367
ed479b02
ST
133682013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13369
13370 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13371 __executable_start symbol instead of _start.
13372
f1cc4c86
TS
133732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13374
d821f07c
TS
13375 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13376 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13377 Move macros to...
13378 * sysdeps/gnu/ldsodefs.h: ... this new file.
13379
c54290cf
TS
13380 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13381 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13382 instead of ELFOSABI_LINUX.
13383
0007fc9b 13384 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13385 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13386 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13387 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13388 Likewise.
13389 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13390 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13392 Likewise.
13393 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13394 (ibm_extended_long_double): Add ieee_nan member.
13395 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13396 (do_test): New function.
13397
f1cc4c86
TS
13398 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13399 TEST_TRUNC.
13400 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13401 functions, renamed from truncdfsf_test, trunctfsf_test,
13402 trunctfdf_test.
13403 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13404 functions.
13405 (do_test): Run all these.
13406
6f65e668
OB
134072013-08-29 Ondřej Bílka <neleai@seznam.cz>
13408
13409 * argp/argp-help.c: Fix typos.
13410 * argp/argp-parse.c: Likewise.
13411 * debug/backtracesyms.c: Likewise.
13412 * elf/elf.h: Likewise.
13413 * malloc/malloc.c: Likewise.
13414 * nis/nis_print.c: Likewise.
13415 * resolv/res_comp.c: Likewise.
13416 * stdlib/stdlib.h: Likewise.
13417 * sunrpc/clnt_tcp.c: Likewise.
13418 * sunrpc/clnt_udp.c: Likewise.
13419 * sunrpc/clnt_unix.c: Likewise.
13420 * sysdeps/unix/bsd/ptsname.c: Likewise.
13421 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13422 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13424 Likewise.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13426 Likewise.
13427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13428 Likewise.
6f65e668
OB
13429 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13430
3a309239
SP
134312013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13432
13433 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13435
3b813b29
MF
134362013-08-27 Mike Frysinger <vapier@gentoo.org>
13437
13438 [BZ #15897]
13439 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13440 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13441 ($(objpfx)bug-dl-leaf): New rule.
13442 ($(objpfx)bug-dl-leaf.so): Likewise.
13443 ($(objpfx)bug-dl-leaf.out): Likewise.
13444 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13445 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13446 * dlfcn/bug-dl-leaf.c: New test.
13447 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13448 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13449 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13450 (dlclose): Likewise.
13451 (dlmopen): Likewise.
13452
8cc3269f
RM
134532013-08-27 Roland McGrath <roland@hack.frob.com>
13454
7f9d0034
RM
13455 * include/netdb.h [!_ISOMAC]:
13456 Don't include <tls.h>.
13457 (h_errno, __libc_h_errno): Move declaration and macros out of
13458 [_LIBC_REENTRANT].
13459
fb431262
RM
13460 * include/resolv.h [_RESOLV_H_]:
13461 Don't include <tls.h>.
13462 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13463 * resolv/res_libc.c: Don't include <tls.h>.
13464 (_res): Use __attribute__ ((nocommon)) in place of
13465 __attribute__ ((section (".bss"))).
13466
bd81123a
RM
13467 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13468 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13469
c4e42566
RM
13470 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13471
f890a59b
RM
13472 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13473 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13474
13475 * resolv/res_mkquery.c: Include <sys/time.h>.
13476
5d1f0a09
RM
13477 * inet/ifreq.c: Moved to ...
13478 * sysdeps/unix/ifreq.c: ... here.
13479 * inet/ifreq.c: New file, true stub version.
13480
6fcf28b3
RM
13481 * socket/sa_len.c: New file.
13482 * socket/Makefile (aux): Add it.
13483 * sysdeps/unix/sysv/linux/Makefile
13484 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13485 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13486 and #include <socket/sa_len.c>.
13487 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13488 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13489
e041fb8b
RM
13490 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13491 * bits/socket.h: ... here.
13492
8cc3269f
RM
13493 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13494 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13495 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13496
5d228a43
AS
134972013-08-27 Andreas Schwab <schwab@suse.de>
13498
45b8accc
AS
13499 [BZ #15736]
13500 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13501 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13502 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13503 * string/test-strcasecmp.c (test_main): Run tests in several
13504 locales.
13505 * string/test-strncasecmp.c (test_main): Likewise.
13506
5d228a43
AS
13507 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13508 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13509 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13510 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13511 (__strncasecmp_ssse3) [PIC]: Likewise.
13512
59d112a4
RM
135132013-08-26 Roland McGrath <roland@hack.frob.com>
13514
53234cc3
RM
13515 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13516
59d112a4
RM
13517 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13518 instead of explicitly declaring xdecrypt.
13519 * nis/nss_nis/nis-publickey.c: Likewise.
13520
595aba70
SP
135212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13522
13523 [BZ #15890]
13524 * nscd/aicache.c: Include res_hconf.h.
13525 (addhstaiX): Initialize res_hconf.
13526
ffabd393
AS
135272013-08-26 Andreas Schwab <schwab@suse.de>
13528
13529 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13530 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13531
e0a69f5c
SP
135322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13533
13534 * nscd/aicache.c (addhstaiX): Fix indentation.
13535
8c12f01d
MF
135362013-08-25 Mike Frysinger <vapier@gentoo.org>
13537
13538 * configure.ac: Quote $build_pt_chown test.
13539 * configure: Regenerated.
13540
8fe89494
JM
135412013-08-23 Joseph Myers <joseph@codesourcery.com>
13542
13543 [BZ #15532]
13544 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13545 * math/s_cexpf.c (__cexpf): Likewise.
13546 * math/s_cexpl.c (__cexpl): Likewise.
13547 * math/libm-test.inc (cexp_test_data): Correct expected return
13548 value for NaN + i0. Add another test.
13549
75b181d6
DM
135502013-08-22 David S. Miller <davem@davemloft.net>
13551
13552 * po/ca.po: Update Catalan translation from translation project.
936241e4 13553 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13554
acd06bb1
JM
135552013-08-21 Joseph Myers <joseph@codesourcery.com>
13556
13557 [BZ #15797]
13558 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13559 is infinite, not alongside NaN test.
13560 * math/s_fdimf.c (__fdimf): Likewise.
13561 * math/s_fdiml.c (__fdiml): Likewise.
13562 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13563 errno is unchanged.
13564
c0c3f78a
OB
135652013-08-21 Ondřej Bílka <neleai@seznam.cz>
13566
13567 * argp/argp-help.c: Fix typos.
13568 * crypt/speeds.c: Likewise.
13569 * csu/check_fds.c: Likewise.
13570 * elf/dl-load.c: Likewise.
13571 * elf/dl-open.c: Likewise.
13572 * elf/reldep3.c: Likewise.
13573 * elf/reldep.c: Likewise.
13574 * elf/sprof.c: Likewise.
13575 * iconv/iconv_charmap.c: Likewise.
13576 * iconv/skeleton.c: Likewise.
13577 * iconv/strtab.c: Likewise.
13578 * io/lockf64.c: Likewise.
13579 * libio/libioP.h: Likewise.
13580 * resolv/gai_notify.c: Likewise.
13581 * resolv/ns_name.c: Likewise.
13582 * resolv/ns_samedomain.c: Likewise.
13583 * resolv/res_send.c: Likewise.
13584 * stdlib/random.c: Likewise.
13585 * sunrpc/rpc/xdr.h: Likewise.
13586 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13587 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13588 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13589 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13590 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13591 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13594 * sysdeps/mach/hurd/check_fds.c: Likewise.
13595 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13596 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13597 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13599 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13600 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13601 * sysdeps/pthread/aio_notify.c: Likewise.
13602 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13603 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13604 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13605 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13606 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13607
46ed1038
LD
136082013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13609
13610 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13611 version if bit_Slow_SSE4_2 is set.
13612 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13613 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13614
d400dcac
AZ
136152013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13616
13617 [BZ #15867]
13618 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13619 trampoline stack frame information.
13620 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13621 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13622 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13623 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13624 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13625 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13626 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13627 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13628 sa_flags value.
13629 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13630 interrupting a syscall and set with option SA_SIGINFO.
13631
42c8fdd8
JM
136322013-08-20 Joseph Myers <joseph@codesourcery.com>
13633
c980f2f4
JM
13634 [BZ #15531]
13635 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13636 argument is infinite.
13637 * math/s_cprojf.c (__cprojf): Likewise.
13638 * math/s_cprojl.c (__cprojl): Likewise.
13639 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13640 * math/libm-test.inc (cproj_test_data): Add more tests.
13641
0716c4fc
JM
13642 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13643
42c8fdd8
JM
13644 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13645 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13646 size. Use __ffs to determine corresponding shift.
13647
b31469d0
JM
136482013-08-20 Joseph Myers <joseph@codesourcery.com>
13649 Roland McGrath <roland@hack.frob.com>
13650
13651 * Makefile (INSTALL): Remove trailing blank lines from output of
13652 makeinfo.
13653
4e39af6e
AK
136542013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13655
13656 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13657 Align 32 bit compat elf_greg to 8 bytes.
13658
f315524e
AA
136592013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13660
13661 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13662
1326ba1a
SP
136632013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13664
13665 * string/strcoll_l.c (coll_seq): New structure.
13666 (get_next_seq_cached): New function.
13667 (get_next_seq): New function.
13668 (do_compare): New function.
13669 (STRCOLL): Use GNU style definition. Simplify implementation
13670 by using get_next_seq, get_next_seq_cached and do_compare.
13671
91ce4085
FW
136722013-08-16 Florian Weimer <fweimer@redhat.com>
13673
13674 [BZ #14699]
13675 CVE-2013-4237
13676 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13677 member.
13678 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13679 member.
13680 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13681 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13682 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13683 conditional.
13684 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13685 GETDENTS_64BIT_ALIGNED.
13686 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13687 * manual/filesys.texi (Reading/Closing Directory): Document
13688 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13689 strongly.
13690 * manual/conf.texi (Limits for Files): Add portability note to
13691 NAME_MAX, PATH_MAX.
13692 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13693
ca0a6bc4
AS
136942013-08-13 Andreas Schwab <schwab@suse.de>
13695
13696 [BZ #15749]
13697 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13698 of fabs.
13699 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13700 LDBL_MAX_EXP >= 16384]: Add tests for it.
13701
6c1fd795
DM
137022013-08-12 David S. Miller <davem@davemloft.net>
13703
13704 * version.h (RELEASE): Set to "development".
13705 (VERSION): Set to "2.18.90".
13706 * NEWS: Add 2.19 section.
13707
31ad488d
DM
137082013-08-03 David S. Miller <davem@davemloft.net>
13709
13710 * po/ko.po: Update Korean translation from translation project.
13711
db24e684
DM
137122013-08-01 David S. Miller <davem@davemloft.net>
13713
13714 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13715 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13716 Bilka.
13717
f723285b
DM
137182013-07-30 David S. Miller <davem@davemloft.net>
13719
13720 * po/fr.po: Update French translation from translation project.
13721
3cbc52db
DM
137222013-07-28 David S. Miller <davem@davemloft.net>
13723
30bbc0cc
DM
13724 * po/cs.po: Update Czech translation from translation project.
13725
3cbc52db
DM
13726 * po/sv.po: Update Swedish translation from translation project.
13727
d492e6d0
DM
137282013-07-27 David S. Miller <davem@davemloft.net>
13729
f1a7f492
DM
13730 * po/eo.po: Update Esperanto translation from translation project.
13731
90e62a4a
DM
13732 * po/vi.po: Update Vietnamese translation from translation project.
13733
d492e6d0
DM
13734 * po/de.po: Update German translation from translation project.
13735
d4baa62d
DM
137362013-07-26 David S. Miller <davem@davemloft.net>
13737
641aa7b4
DM
13738 * po/bg.po: Update Bulgarian translation from translation project.
13739
d4baa62d
DM
13740 * po/nl.po: Update Dutch translation from translation project.
13741 * po/pl.po: Update Polish translation from translation project.
13742 * po/ru.po: Update Russian translation from translation project.
13743
61a9dcb9
DM
137442013-07-24 David S. Miller <davem@davemloft.net>
13745
13746 * po/libc.pot: Update.
13747
7b1f8b58
AZ
137482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13749
13750 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13751 variable page size.
13752 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13753 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13754 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13755
a8fc7a03
AK
137562013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13757
13758 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13759
e4608715
CD
137602013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13761 Andreas Schwab <schwab@suse.de>
13762 Roland McGrath <roland@hack.frob.com>
13763 Joseph Myers <joseph@codesourcery.com>
13764 Carlos O'Donell <carlos@redhat.com>
13765
13766 [BZ #15755]
13767 * config.h.in: Define HAVE_PT_CHOWN.
13768 * config.make.in (build-pt-chown): New variable.
13769 * configure.in (--enable-pt_chown): New configure option.
13770 * configure: Regenerate.
13771 * login/Makefile: Include Makeconfig. Build pt_chown only if
13772 build-pt-chown is enabled.
13773 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13774 pt_chown to fix pty ownership.
13775 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13776 CLOSE_ALL_FDS.
13777 * manual/install.texi (Configuring and compiling): Mention
13778 --enable-pt_chown. Add @findex for grantpt.
13779 * INSTALL: Regenerate.
13780
da2d62df
DM
137812013-07-20 David S. Miller <davem@davemloft.net>
13782
13783 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13784 difference between 32-bit and 64-bit.
13785
d7e06450
CD
137862013-07-15 Carlos O'Donell <carlos@redhat.com>
13787
13788 [BZ #15711]
13789 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13790 Avoid system header dependency with -ffreestanding.
13791 ($(objpfx)bits/syscall%d): Likewise.
13792
f959cfd7
DM
137932013-07-13 David S. Miller <davem@davemloft.net>
13794
13795 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13796 underflows from atanl/atan2l due to bug 15319.
13797 (casinh_test_data): Likewise.
13798
c61f8513
DM
137992013-07-07 David S. Miller <davem@davemloft.net>
13800
13801 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13802
72c90ed0
JA
138032013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13804
13805 * sysdeps/i386/fpu/libm-test-ulps: Update.
13806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13807
52dfbe13
SP
138082013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13809
13810 * configure.in (--enable-lock-elision): Fix message text.
13811 * INSTALL: Regenerate.
13812 * configure: Regenerate.
13813
3f169543
AZ
138142013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13815
13816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13817
521c6785
AJ
138182013-07-03 Andreas Jaeger <aj@suse.de>
13819
13820 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13821 define.
13822 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13823 (ptrace_peeksiginfo_args): Add.
13824 (__ptrace_peeksiginfo_flags): Add.
13825 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13826 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13827 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13828
d2cc15cb
AM
138292013-07-03 Allan McRae <allan@archlinux.org>
13830
13831 * sysdeps/i386/fpu/libm-test-ulps: Update.
13832
3aaeeca7
DM
138332013-07-02 David S. Miller <davem@davemloft.net>
13834
13835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13836
5314ed1a
MT
138372013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13838
13839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13840
67338156
JM
138412013-07-02 Joseph Myers <joseph@codesourcery.com>
13842
13843 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13845
1717da59
AK
138462013-07-02 Andi Kleen <ak@linux.intel.com>
13847
13848 * config.h.in (ENABLE_LOCK_ELISION): Add.
13849 * configure.in (--enable-lock-elision): Add option.
13850 * manual/install.texi: Document --enable lock elision.
13851 * configure: Regenerate
13852 * INSTALL: Regenerate.
13853
1c81621c
L
138542013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13855
13856 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13857 SSE4.2 strcasecmp for libc.a.
13858 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13859
77f01ab5
JM
138602013-07-02 Joseph Myers <joseph@codesourcery.com>
13861
13862 [BZ #13304]
13863 * soft-fp/op-common.h (_FP_FMA): New macro.
13864 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13865 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13866 (_FP_MUL_MEAT_1_imm): ... here.
13867 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13868 (_FP_MUL_MEAT_1_wide): ... here.
13869 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13870 (_FP_MUL_MEAT_1_hard): ... here.
13871 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13872 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13873 (_FP_MUL_MEAT_2_wide): ... here.
13874 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13875 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13876 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13877 (_FP_MUL_MEAT_2_gmp): ... here.
13878 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13879 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13880 (_FP_MUL_MEAT_4_wide): ... here.
13881 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13882 (_FP_MUL_MEAT_4_gmp): ... here.
13883 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13884 (_FP_WFRACBITS_DW_S): Likewise.
13885 (_FP_WFRACXBITS_DW_S): Likewise.
13886 (_FP_HIGHBIT_DW_S): Likewise.
13887 (FP_FMA_S): Likewise.
13888 (_FP_FRAC_HIGH_DW_S): Likewise.
13889 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13890 (_FP_WFRACBITS_DW_D): Likewise.
13891 (_FP_WFRACXBITS_DW_D): Likewise.
13892 (_FP_HIGHBIT_DW_D): Likewise.
13893 (FP_FMA_D): Likewise.
13894 (_FP_FRAC_HIGH_DW_D): Likewise.
13895 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13896 (_FP_WFRACBITS_DW_E): Likewise.
13897 (_FP_WFRACXBITS_DW_E): Likewise.
13898 (_FP_HIGHBIT_DW_E): Likewise.
13899 (FP_FMA_E): Likewise.
13900 (_FP_FRAC_HIGH_DW_E): Likewise.
13901 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13902 (_FP_WFRACBITS_DW_Q): Likewise.
13903 (_FP_WFRACXBITS_DW_Q): Likewise.
13904 (_FP_HIGHBIT_DW_Q): Likewise.
13905 (FP_FMA_Q): Likewise.
13906 (_FP_FRAC_HIGH_DW_Q): Likewise.
13907 * soft-fp/fmasf4.c: New file.
13908 * soft-fp/fmadf4.c: Likewise.
13909 * soft-fp/fmatf4.c: Likewise.
13910
6308fd9a
LD
139112013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13912
13913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13914 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13915 Silvermont.
13916 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13917 macro.
13918 (index_Slow_SSE4_2): Likewise.
13919 (index_Prefer_PMINUB_for_stringop): Likewise.
13920 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13921 bit_Slow_SSE4_2 is set.
13922 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13923 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13924
89cd9569
RA
139252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13926
13927 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13928 rtld_global._dl_hwcap2.
13929 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13930 POWER8.
13931 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13932 POWER8 feature descriptions defined in _dl_hwcap2.
13933 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13934 string handling for POWER8 feature bits.
13935 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13936 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13937 _dl_powerpc_cap_flags.
13938 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13939 * sysdeps/powerpc/rtld-global-offsets.sym
13940 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13941 _dl_hwcap2 in the rtld_global_ro structure.
13942
1ae8bfe0
RA
139432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13944
13945 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13946 hardware capabilities in support of AT_HWCAP2.
13947 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13948 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13949 GLRO(dl_hwcap2).
13950 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13951 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13952 explicitly the unknown a_type display mechanism is used.
13953 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13954 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13955 struct member.
13956 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13957 to macro prototype for AT_HWCAP2 support.
13958 * sysdeps/i386/dl-procinfo.h: Likewise.
13959 * sysdeps/s390/dl-procinfo.h: Likewise.
13960 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13961 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13962 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13963 return -1 for unknown a_type display fallback.
13964 * sysdeps/sparc/dl-procinfo.h: Likewise.
13965 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13966 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13967
8fbec010
JM
139682013-06-28 Joseph Myers <joseph@codesourcery.com>
13969
13970 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13971 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13972
0432680e
PY
139732013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13974
13975 [BZ #12492]
13976 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13977 mprotect making __stack_prot writable.
13978
ce61a2ad
NF
139792013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13980 Joseph Myers <joseph@codesourcery.com>
13981
13982 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13983 as being properly aligned.
13984
f91f1c0f
MR
139852013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13986
3d0f5d0c
MR
13987 * dlfcn/modstatic5.c: New file.
13988 * dlfcn/tststatic5.c: New file.
13989 * dlfcn/Makefile (tests): Add tststatic5.
13990 (tests-static): Likewise.
13991 (modules-names): Add modstatic5.
13992 (tststatic5-ENV): New variable.
13993 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13994
f91f1c0f
MR
13995 [BZ #15022]
13996 * elf/dl-support.c (_dl_main_map): New variable.
13997 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13998 (_dl_nns, _dl_load_adds): Set to 1.
13999 (_dl_initial_searchlist): Refer to _dl_main_map.
14000 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14001 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14002 call to _dl_get_origin.
14003 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14004 around call_map.
14005 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14006 * dlfcn/modstatic3.c: New file.
14007 * dlfcn/tststatic3.c: New file.
14008 * dlfcn/tststatic4.c: New file.
14009 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14010 (tests-static): Likewise.
14011 (modules-names): Add modstatic3.
14012 (tststatic3-ENV, tststatic4-ENV): New variables.
14013 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14014 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14015
cbe7d24b
JM
140162013-06-26 Joseph Myers <joseph@codesourcery.com>
14017
14018 * configure.in (CC): Require GCC version 4.4 or later.
14019 * configure: Regenerated.
14020 * manual/install.texi (Tools for Compilation): Update GCC version
14021 requirement.
14022 * INSTALL: Regenerated.
14023
11b8a0e1
LD
140242013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14025
14026 [BZ #15674]
bb5bb87c
L
14027 * string/test-memcmp.c (check2): New.
14028 (main): Call check2.
14029
11b8a0e1
LD
14030 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14031
b0037103
MR
140322013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14033
14034 [BZ #15022]
14035 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14036 over to...
14037 (dl_open_worker) [!SHARED]: ... here.
14038
c18c701d
RA
140392013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14040
14041 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14042
1d17fa5f
RH
140432013-06-25 Richard Henderson <rth@redhat.com>
14044
14045 * locale/programs/locarchive.c: Include <libc-internal.h>
14046
8fcb833a
JM
140472013-06-25 Joseph Myers <joseph@codesourcery.com>
14048
14049 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14050 trailing whitespace removed.
14051
17db6e8d
MF
140522013-06-24 Mike Frysinger <vapier@gentoo.org>
14053
14054 [BZ #10283]
17db6e8d
MF
14055 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14056 * locale/programs/locarchive.c: Include libc-mmap.h.
14057 (prepare_address_space): Take two new outputs (the mmap base and len).
14058 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14059 values.
14060 (create_archive): Declare new mmap base and len values for
14061 prepare_address_space, and store the result in ah.
14062 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14063 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14064 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14065 Declare new mmap base and len values for
14066 prepare_address_space, and store the result in new_ah.
14067 (open_archive): Declare new mmap base and len values for
14068 prepare_address_space, and store the result in ah.
14069 (close_archive): If ah->mmap_base is not NULL, use that and
14070 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14071 * sysdeps/generic/libc-mmap.h: New file.
14072
d605071e
MF
140732013-06-24 Mike Frysinger <vapier@gentoo.org>
14074
14075 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14076 (ALIGN_UP): Likewise.
14077 (PTR_ALIGN_DOWN): Likewise.
14078 (PTR_ALIGN_UP): Likewise.
14079
2f063a6e
RA
140802013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14081
14082 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14083 entry mapped to PPC_PLATFORM_POWER8.
14084 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14085 POWER8.
14086 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14087 (_dl_string_platform): Add case for exporting platform position for
14088 POWER8.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14090 search path to sysdeps/powerpc/powerpc32/power8 directory.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14092 search path to sysdeps/powerpc/powerpc64/power8 directory.
14093 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14094 power7 directories.
14095 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14096 power7 directories.
14097
a31ee4b3
SP
140982013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14099
a74ca98f
SP
14100 * INSTALL: Regenerate.
14101
a31ee4b3
SP
14102 * nscd/connections.c (nscd_init): Fix comment.
14103
695c378f
JM
141042013-06-22 Joseph Myers <joseph@codesourcery.com>
14105
d8412221
JM
14106 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14107
695c378f
JM
14108 [BZ #15667]
14109 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14110 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14111
d1d54715
MR
141122013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14113
14114 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14115 DL_DST_REQ_STATIC.
14116 (DL_DST_REQ_STATIC): Remove macro.
14117
8fdda7af
JM
141182013-06-21 Joseph Myers <joseph@codesourcery.com>
14119
14120 [BZ #7006]
14121 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14122 with a shift of 0 bits.
14123
f3bc5e5a
MR
141242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14125
14126 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14127 $(tststatic-ENV).
14128
be09e8c9
KK
141292013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14130
14131 [BZ #15655]
14132 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14133
85c2e611
AZ
141342013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14135
14136 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14137 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14138 accepts -fno-tree-loop-distribute-patterns.
14139 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14140 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14141 recursive call.
14142 * string/memset.c (memset): Likewise.
14143 * string/test-memmove.c (simple_memmove): Disable loop transformation
14144 to library calls.
14145 * string/test-memset.c (simple_memset): Likewise.
14146 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14147 * benchtests/bench-memset.c (simple_memset): Likewise.
14148 * configure: Regenerated.
14149
c91e0825
JM
141502013-06-20 Joseph Myers <joseph@codesourcery.com>
14151
b8c792af
JM
14152 * math/test-misc.c (main): Ignore fesetround failure when failures
14153 of subsequent rounding tests would be ignored.
14154
c91e0825
JM
14155 [BZ #15654]
14156 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14157 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14158 * math/fegetenv.c (__fegetenv): Return 0.
14159 * math/fegetexcept.c (fegetexcept): Return 0.
14160 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14161 FE_TONEAREST.
14162 * math/feholdexcpt.c (feholdexcept): Return 0.
14163 * math/fesetenv.c (__fesetenv): Return 0.
14164 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14165 argument FE_TONEAREST.
14166 * math/feupdateenv.c (__feupdateenv): Return 0.
14167 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14168
bfcacbde
RM
141692013-06-18 Roland McGrath <roland@hack.frob.com>
14170
14171 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14172 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14173 ($(objpfx)rtld-%.os rules): Use them.
14174
e55a9b25
AZ
141752013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14176
14177 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14178 fields.
14179
346d65b3
RM
141802013-06-17 Roland McGrath <roland@hack.frob.com>
14181
12086fb4
RM
14182 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14183 length of target pattern, then descending length of dependency pattern.
14184 * configure.in (AWK): Require gawk 3.1.2 or newer.
14185 * manual/install.texi (Tools for Compilation): Say that we do.
14186 * configure: Regenerated.
14187
346d65b3
RM
14188 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14189 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14190 * scripts/sysd-rules.awk: ... this new script.
14191 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14192 than a glob-style pattern.
14193
1a846317
JM
141942013-06-17 Joseph Myers <joseph@codesourcery.com>
14195
14196 * math/test-misc.c (main): Do not treat incorrectly rounded
14197 conversions as failure unless ROUNDING_TESTS passes.
14198
8fc75e6f
JM
141992013-06-15 Joseph Myers <joseph@codesourcery.com>
14200
3711a167
JM
14201 [BZ #15631]
14202 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14203 restore exception state around main square root computation, then
14204 check for inexactness explicitly.
14205
8fc75e6f
JM
14206 * math/libm-test.inc (fma_test_data): Add another test.
14207
61dd6208
SP
142082013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14209
adf23d2c
SP
14210 * manual/threads.texi (Non-POSIX Extensions): New document
14211 node. Document pthread_getattr_default_np and
14212 pthread_setattr_default_np.
14213
61dd6208
SP
14214 * Versions.def (libpthread): Add GLIBC_2.18.
14215 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14217 Likewise.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14219 Likewise.
14220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14221 Likewise.
14222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14223 Likewise.
14224 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14225 Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14227 Likewise.
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14229 Likewise.
14230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14231 Likewise.
14232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14233 Likewise.
14234
d086fc7b
LD
142352013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14236
14237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14238 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14239
747ef469
SP
142402013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14241 H.J. Lu <hjl.tools@gmail.com>
14242
14243 [BZ #15627]
14244 * sysdeps/x86_64/rtld-memset.c: Remove file.
14245 * sysdeps/x86_64/rtld-memset.S: New file.
14246
1b2feed2
JM
142472013-06-14 Joseph Myers <joseph@codesourcery.com>
14248
14249 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14250 (test_in_one_mode): Take arguments for whether the rounding mode
14251 is supported for each floating-point type.
14252 (do_test): Pass new arguments to test_in_one_mode using
14253 ROUNDING_TESTS.
14254
a58ad3f8
RM
142552013-06-13 Roland McGrath <roland@hack.frob.com>
14256
14257 * posix/tst-waitid.c (do_test): Distinguish different instances of
14258 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14259 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14260 before entering the kernel for waitpid.
14261
c204ab28
SP
142622013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14263
14264 * NEWS: Fix note on clock function precision. Text by Roland
14265 McGrath.
14266
f4a29fba
RM
142672013-06-13 Roland McGrath <roland@hack.frob.com>
14268
14269 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14270 it into place only when and if the sanity check passes.
14271
1f24b9ad
JM
142722013-06-13 Joseph Myers <joseph@codesourcery.com>
14273
14274 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14275 output for whether conversion result is exact. Take argument
14276 indicating whether type is IBM long double.
14277 (round_for_all): Change need_exact field to ibm_ld.
14278 * stdlib/tst-strtod-round.c (struct exactness): New type.
14279 (struct test): Change bool ld_ok field to struct exactness exact.
14280 (TEST): Update all definitions for change to field.
14281 (tests): Regenerate array contents.
14282 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14283 field value. Check for IBM long double here.
14284 (do_test): Update calls to test_in_one_mode.
14285
58206c68
SP
142862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14287
14288 [BZ #12515]
14289 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14290 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14291
2d6f4c5b 142922013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14293
14294 [BZ #15605]
14295 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14296 generated by the compiler on loop optimizations.
14297 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14298 general definitions.
14299
94f2c076
JM
143002013-06-12 Joseph Myers <joseph@codesourcery.com>
14301
14302 * math/bug-nextafter.c: Include <math-tests.h>.
14303 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14304 the relevant type.
14305 * math/bug-nexttoward.c: Include <math-tests.h>.
14306 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14307 the relevant type.
14308 * math/test-misc.c: Include <math-tests.h>.
14309 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14310 the relevant type.
14311
e0e50a0a
AJ
143122013-06-12 Andreas Jaeger <aj@suse.de>
14313
14314 * po/ia.po: Update Interlingua translation from translation
14315 project.
14316
25061094
SP
143172013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14318
14319 * include/fenv.h: Include stdbool.h.
14320 (struct rm_ctx): New structure.
14321 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14322 Define macro.
14323 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14324 (SET_RESTORE_ROUNDF): Likewise.
14325 (SET_RESTORE_ROUNDL): Likewise.
14326 (SET_RESTORE_ROUND_NOEX): Likewise.
14327 (SET_RESTORE_ROUND_NOEXF): Likewise.
14328 (SET_RESTORE_ROUND_NOEXL): Likewise.
14329 (SET_RESTORE_ROUND_53BIT): Likewise.
14330 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14331 (libc_feresetround_noexf_ctx): Likewise.
14332 (libc_feresetround_noexl_ctx): Likewise.
14333 (libc_feholdsetround_53bit_ctx): Likewise.
14334 (libc_feresetround_53bit_ctx): Likewise.
14335 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14336 (libc_feholdexcept_setround_sse_ctx): New function.
14337 (libc_fesetenv_sse_ctx): Likewise.
14338 (libc_feupdateenv_sse_ctx): Likewise.
14339 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14340 (libc_feholdexcept_setround_387_ctx): Likewise.
14341 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14342 (libc_feholdsetround_387_prec_ctx): Likewise.
14343 (libc_feholdsetround_387_ctx): Likewise.
14344 (libc_feholdsetround_387_53bit_ctx): Likewise.
14345 (libc_feholdsetround_sse_ctx): Likewise.
14346 (libc_feresetround_sse_ctx): Likewise.
14347 (libc_feresetround_387_ctx): Likewise.
14348 (libc_feupdateenv_387_ctx): Likewise.
14349 (libc_feholdexcept_setroundf_ctx): Define macro.
14350 (libc_fesetenvf_ctx): Likewise.
14351 (libc_feupdateenvf_ctx): Likewise.
14352 (libc_feholdsetroundf_ctx): Likewise.
14353 (libc_feresetroundf_ctx): Likewise.
14354 (libc_feholdexcept_setround_ctx): Likewise.
14355 (libc_fesetenv_ctx): Likewise.
14356 (libc_feupdateenv_ctx): Likewise.
14357 (libc_feholdsetround_ctx): Likewise.
14358 (libc_feresetround_ctx): Likewise.
14359 (libc_feholdexcept_setroundl_ctx): Likewise.
14360 (libc_feupdateenvl_ctx): Likewise.
14361 (libc_feholdsetroundl_ctx): Likewise.
14362 (libc_feresetroundl_ctx): Likewise.
14363 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14364 (libc_feresetround_53bit_ctx): Likewise.
14365
59b30555
SP
143662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14367
14368 * locale/iso-639.def: Convert to UTF-8.
14369
f1d73d30
JM
143702013-06-11 Joseph Myers <joseph@codesourcery.com>
14371
14372 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14373 (EXCEPTION_TESTS_double): Likewise.
14374 (EXCEPTION_TESTS_long_double): Likewise.
14375 (EXCEPTION_TESTS): Likewise.
14376 * math/libm-test.inc (test_exceptions): Only test exceptions if
14377 EXCEPTION_TESTS (FLOAT).
14378
94aca5e7
SP
143792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14380
14381 * benchtests/Makefile (string-bench): Add strcpy_chk and
14382 stpcpy_chk.
14383 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14384 * benchtests/bench-stpcpy_chk.c: New file.
14385 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14386 * benchtests/bench-strcpy_chk.c: New file.
14387 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14388 code.
14389 (do_test): Likewise.
14390
fac0c5f2
RA
143912013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14392
14393 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14394 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14395 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14396 with tabs where appropriate.
14397 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14398 dl-procinfo.h.
14399 [PPC_PLATFORM_PPC440]: Likewise.
14400 [PPC_PLATFORM_PPC464]: Likewise.
14401 [PPC_PLATFORM_PPC476]: Likewise.
14402 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14403 ppc464, and ppc476 platform strings merging from ports/
14404 dl-procinfo.h.
14405
f22bc486
AS
144062013-06-11 Andreas Schwab <schwab@suse.de>
14407
14408 [BZ #14991]
14409 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14410 (from_ucs4_idx): Regenerate.
14411 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14412 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14413 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14414 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14415 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14416 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14417 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14418 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14419 from FROM_LOOP and TO_LOOP specific macros.
14420 (BODY): Handle combining characters.
14421 * iconvdata/BIG5HKSCS.irreversible: Update.
14422 * iconvdata/BIG5HKSCS.precomposed: New file.
14423 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14424 characters.
14425 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14426
c1f75dc3
SP
144272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14428
4eacded2
SP
14429 * include/sys/time.h: Fix indentation and add copyright header.
14430
fec799f8
SP
14431 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14432 (do_test): Likewise.
14433 * string/test-memchr.c (do_one_test): Likewise.
14434 (do_test): Likewise.
14435 * string/test-memcmp.c (do_one_test): Likewise.
14436 (do_test): Likewise.
14437 * string/test-memcpy.c (do_one_test): Likewise.
14438 (do_test): Likewise.
14439 * string/test-memmem.c (do_one_test): Likewise.
14440 (do_test): Likewise.
14441 (do_random_tests): Likewise.
14442 * string/test-memmove.c (do_one_test): Likewise.
14443 (do_test): Likewise.
14444 * string/test-memset.c (do_one_test): Likewise.
14445 (do_test): Likewise.
14446 * string/test-rawmemchr.c (do_one_test): Likewise.
14447 (do_test): Likewise.
14448 * string/test-strcasecmp.c (do_one_test): Likewise.
14449 (do_test): Likewise.
14450 * string/test-strcasestr.c (do_one_test): Likewise.
14451 (do_test): Likewise.
14452 * string/test-strcat.c (do_one_test): Likewise.
14453 (do_test): Likewise.
14454 * string/test-strchr.c (do_one_test): Likewise.
14455 (do_test): Likewise.
14456 * string/test-strcmp.c (do_one_test): Likewise.
14457 (do_test): Likewise.
14458 * string/test-strcpy.c (do_one_test): Likewise.
14459 (do_test): Likewise.
14460 * string/test-string.h: Likewise.
14461 (test_init): Likewise.
14462 * string/test-strlen.c (do_one_test): Likewise.
14463 (do_test): Likewise.
14464 * string/test-strncasecmp.c (do_one_test): Likewise.
14465 (do_test): Likewise.
14466 * string/test-strncat.c (do_one_test): Likewise.
14467 (do_test): Likewise.
14468 * string/test-strncmp.c (do_one_test): Likewise.
14469 (do_test_limit): Likewise.
14470 (do_test): Likewise.
14471 * string/test-strncpy.c (do_one_test): Likewise.
14472 (do_test): Likewise.
14473 * string/test-strnlen.c (do_one_test): Likewise.
14474 (do_test): Likewise.
14475 * string/test-strpbrk.c (do_one_test): Likewise.
14476 (do_test): Likewise.
14477 * string/test-strrchr.c (do_one_test): Likewise.
14478 (do_test): Likewise.
14479 * string/test-strspn.c (do_one_test): Likewise.
14480 (do_test): Likewise.
14481 * string/test-strstr.c (do_one_test): Likewise.
14482 (do_test): Likewise.
14483
97020474
SP
14484 * benchtests/Makefile (string-bench): Add string benchmarks.
14485 * benchtests/bench-bcopy-ifunc.c: New file.
14486 * benchtests/bench-bcopy.c: New file.
14487 * benchtests/bench-bzero-ifunc.c: New file.
14488 * benchtests/bench-bzero.c: New file.
14489 * benchtests/bench-memccpy-ifunc.c: New file.
14490 * benchtests/bench-memccpy.c: New file.
14491 * benchtests/bench-memchr-ifunc.c: New file.
14492 * benchtests/bench-memchr.c: New file.
14493 * benchtests/bench-memcmp-ifunc.c: New file.
14494 * benchtests/bench-memcmp.c: New file.
14495 * benchtests/bench-memmem-ifunc.c: New file.
14496 * benchtests/bench-memmem.c: New file.
14497 * benchtests/bench-memmove-ifunc.c: New file.
14498 * benchtests/bench-memmove.c: New file.
14499 * benchtests/bench-mempcpy-ifunc.c: New file.
14500 * benchtests/bench-mempcpy.c: New file.
14501 * benchtests/bench-memset-ifunc.c: New file.
14502 * benchtests/bench-memset.c: New file.
14503 * benchtests/bench-rawmemchr-ifunc.c: New file.
14504 * benchtests/bench-rawmemchr.c: New file.
14505 * benchtests/bench-stpcpy-ifunc.c: New file.
14506 * benchtests/bench-stpcpy.c: New file.
14507 * benchtests/bench-stpncpy-ifunc.c: New file.
14508 * benchtests/bench-stpncpy.c: New file.
14509 * benchtests/bench-strcasecmp-ifunc.c: New file.
14510 * benchtests/bench-strcasecmp.c: New file.
14511 * benchtests/bench-strcasestr-ifunc.c: New file.
14512 * benchtests/bench-strcasestr.c: New file.
14513 * benchtests/bench-strcat-ifunc.c: New file.
14514 * benchtests/bench-strcat.c: New file.
14515 * benchtests/bench-strchr-ifunc.c: New file.
14516 * benchtests/bench-strchr.c: New file.
14517 * benchtests/bench-strchrnul-ifunc.c: New file.
14518 * benchtests/bench-strchrnul.c: New file.
14519 * benchtests/bench-strcmp-ifunc.c: New file.
14520 * benchtests/bench-strcmp.c: New file.
14521 * benchtests/bench-strcpy-ifunc.c: New file.
14522 * benchtests/bench-strcpy.c: New file.
14523 * benchtests/bench-strcspn-ifunc.c: New file.
14524 * benchtests/bench-strcspn.c: New file.
14525 * benchtests/bench-strlen-ifunc.c: New file.
14526 * benchtests/bench-strlen.c: New file.
14527 * benchtests/bench-strncasecmp-ifunc.c: New file.
14528 * benchtests/bench-strncasecmp.c: New file.
14529 * benchtests/bench-strncat-ifunc.c: New file.
14530 * benchtests/bench-strncat.c: New file.
14531 * benchtests/bench-strncmp-ifunc.c: New file.
14532 * benchtests/bench-strncmp.c: New file.
14533 * benchtests/bench-strncpy-ifunc.c: New file.
14534 * benchtests/bench-strncpy.c: New file.
14535 * benchtests/bench-strnlen-ifunc.c: New file.
14536 * benchtests/bench-strnlen.c: New file.
14537 * benchtests/bench-strpbrk-ifunc.c: New file.
14538 * benchtests/bench-strpbrk.c: New file.
14539 * benchtests/bench-strrchr-ifunc.c: New file.
14540 * benchtests/bench-strrchr.c: New file.
14541 * benchtests/bench-strspn-ifunc.c: New file.
14542 * benchtests/bench-strspn.c: New file.
14543 * benchtests/bench-strstr-ifunc.c: New file.
14544 * benchtests/bench-strstr.c: New file.
14545
c1f75dc3
SP
14546 * benchtests/Makefile: Disable parallel execution of targets.
14547 (string-bench): Add memcpy.
14548 (benchset): New variable to store a list of benchmark sets.
14549 (bench-func): Renamed from bench.
14550 (bench-set): New target.
14551 (bench): Depend on bench-func and bench-set.
14552 * benchtests/README: Add section on benchmark sets.
14553 * benchtests/bench-memcpy-ifunc.c: New file.
14554 * benchtests/bench-memcpy.c: New file.
14555 * benchtests/bench-string.h: New file.
14556
50fd745b
AS
145572013-06-11 Andreas Schwab <schwab@suse.de>
14558
14559 [BZ #15577]
14560 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14561 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14562 values in the triple.
14563 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14564 terminator in the group key.
14565
3ee7e9fe
AJ
145662013-06-11 Andreas Jaeger <aj@suse.de>
14567
14568 * po/zh_TW.po: Update Chinese (traditional) translation from
14569 translation project.
14570
89fb6835
SP
145712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14572
14573 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14574 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14575 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14576 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14577 (clock_getcpuclockid): Likewise.
14578 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14579 Add weak_alias and libc_hidden_def.
14580 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14581 * rt/clock_gettime.c (clock_gettime): Rename to
14582 __clock_gettime. Add weak_alias and libc_hidden_def.
14583 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14584 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14585 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14586 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14587 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14588 Likewise.
14589 * rt/clock_settime.c (clock_settime): Rename to
14590 __clock_settime. Add weak_alias and libc_hidden_def.
14591 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14592
0efa6f8b
JM
145932013-06-10 Joseph Myers <joseph@codesourcery.com>
14594
b8c61b4b
JM
14595 * mach/err_boot.sub: Remove trailing whitespace.
14596 * mach/err_ipc.sub: Likewise.
14597 * mach/err_mach.sub: Likewise.
14598
0efa6f8b
JM
14599 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14600 (ROUNDING_TESTS_double): Likewise.
14601 (ROUNDING_TESTS_long_double): Likewise.
14602 (ROUNDING_TESTS): Likewise.
14603 * math/libm-test.inc: Include <math-tests.h>.
14604 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14605 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14606 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14607 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14608
50b818bf
SP
146092013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14610
14611 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14612 of assigning.
14613
60d2f8f3
JM
146142013-06-08 Joseph Myers <joseph@codesourcery.com>
14615
4902d2c3
JM
14616 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14617 otherwise empty TRANS lines.
14618 * sysdeps/gnu/errlist.c: Regenerated.
14619
60d2f8f3
JM
14620 * catgets/gencat.c (error_print): Use (void) in function
14621 definition.
14622 * crypt/crypt_util.c (__init_des): Likewise.
14623 * crypt/speeds.c (Stop): Likewise.
14624 (main): Likewise.
14625 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14626 * inet/ruserpass.c (token): Likewise.
14627 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14628 * intl/localealias.c (extend_alias_table): Likewise.
14629 * intl/plural-exp.c (init_germanic_plural): Likewise.
14630 * libio/fcloseall.c (__fcloseall): Likewise.
14631 * libio/genops.c (_IO_flush_all): Likewise.
14632 (_IO_flush_all_linebuffered): Likewise.
14633 (_IO_cleanup): Likewise.
14634 (_IO_iter_begin): Likewise.
14635 (_IO_iter_end): Likewise.
14636 (_IO_list_lock): Likewise.
14637 (_IO_list_unlock): Likewise.
14638 (_IO_list_resetlock): Likewise.
14639 * libio/getchar.c (getchar): Likewise.
14640 * libio/getchar_u.c (getchar_unlocked): Likewise.
14641 * libio/getwchar.c (getwchar): Likewise.
14642 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14643 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14644 * login/getpt.c (__getpt): Likewise.
14645 * login/tst-utmp.c (main): Likewise.
14646 * malloc/hooks.c (__malloc_check_init): Likewise.
14647 * malloc/malloc.c (__malloc_stats): Likewise.
14648 * malloc/mtrace.c (tr_break): Likewise.
14649 (mtrace): Likewise.
14650 (muntrace): Likewise.
14651 * misc/fstab.c (endfsent): Likewise.
14652 * misc/getclktck.c (__getclktck): Likewise.
14653 * misc/getdtsz.c (__getdtablesize): Likewise.
14654 * misc/gethostid.c (gethostid): Likewise.
14655 * misc/getpagesize.c (__getpagesize): Likewise.
14656 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14657 (__get_nprocs): Likewise.
14658 (__get_phys_pages): Likewise.
14659 (__get_avphys_pages): Likewise.
14660 * misc/getttyent.c (getttyent): Likewise.
14661 (setttyent): Likewise.
14662 (endttyent): Likewise.
14663 * misc/getusershell.c (getusershell): Likewise.
14664 (endusershell): Likewise.
14665 (setusershell): Likewise.
14666 (initshells): Likewise.
14667 * misc/hsearch.c (__hdestroy): Likewise.
14668 * misc/sync.c (sync): Likewise.
14669 * misc/syslog.c (closelog_internal): Likewise.
14670 (closelog): Likewise.
14671 * misc/ttyslot.c (ttyslot): Likewise.
14672 * misc/vhangup.c (vhangup): Likewise.
14673 * posix/fork.c (__fork): Likewise.
14674 * posix/getegid.c (__getegid): Likewise.
14675 * posix/geteuid.c (__geteuid): Likewise.
14676 * posix/getgid.c (__getgid): Likewise.
14677 * posix/getpid.c (__getpid): Likewise.
14678 * posix/getppid.c (__getppid): Likewise.
14679 * posix/getuid.c (__getuid): Likewise.
14680 * posix/pause.c (pause): Likewise.
14681 * posix/setpgrp.c (setpgrp): Likewise.
14682 * posix/setsid.c (__setsid): Likewise.
14683 * posix/test-vfork.c (noop): Likewise.
14684 * resolv/gethnamaddr.c (_endhtent): Likewise.
14685 (_gethtent): Likewise.
14686 (ht_endhostent): Likewise.
14687 (gethostent): Likewise.
14688 (dns_service): Likewise.
14689 * stdlib/drand48.c (drand48): Likewise.
14690 * stdlib/lrand48.c (lrand48): Likewise.
14691 * stdlib/mrand48.c (mrand48): Likewise.
14692 * stdlib/rand.c (rand): Likewise.
14693 * stdlib/random.c (__random): Likewise.
14694 * stdlib/setenv.c (clearenv): Likewise.
14695 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14696 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14697 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14698 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14699 (__get_nprocs): Likewise.
14700 (__get_phys_pages): Likewise.
14701 (__get_avphys_pages): Likewise.
14702 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14703 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14704 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14705 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14706 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14707 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14708 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14709 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14710 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14711 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14712 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14713 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14714 * sysdeps/posix/clock.c (clock): Likewise.
14715 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14716 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14717 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14718 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14719 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14720 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14721 (__get_nprocs_conf): Likewise.
14722 (__get_phys_pages): Likewise.
14723 (__get_avphys_pages): Likewise.
14724 * time/clock.c (clock): Likewise.
14725 * time/tzset.c (__tzname_max): Likewise.
14726
2e09a79a
JM
147272013-06-07 Joseph Myers <joseph@codesourcery.com>
14728
14729 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14730 (__bswap_32): Do not use "register".
14731 * crypt/crypt.c (_ufc_doit_r): Likewise.
14732 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14733 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14734 * gmon/gmon.c (__monstartup): Likewise.
14735 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14736 * hurd/hurdmalloc.c (more_memory): Likewise.
14737 (malloc): Likewise.
14738 (free): Likewise.
14739 (realloc): Likewise.
14740 (malloc_fork_prepare): Likewise.
14741 (malloc_fork_parent): Likewise.
14742 (malloc_fork_child): Likewise.
14743 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14744 (_svcauth_des): Likewise.
14745 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14746 * inet/inet_net.c (inet_network): Likewise.
14747 * inet/inet_netof.c (inet_netof): Likewise.
14748 * inet/rcmd.c (__validuser2_sa): Likewise.
14749 * io/fts.c (fts_open): Likewise.
14750 (fts_load): Likewise.
14751 (fts_close): Likewise.
14752 (fts_read): Likewise.
14753 (fts_children): Likewise.
14754 (fts_build): Likewise.
14755 (fts_stat): Likewise.
14756 (fts_sort): Likewise.
14757 (fts_alloc): Likewise.
14758 (fts_lfree): Likewise.
14759 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14760 (_IO_file_xsgetn): Likewise.
14761 (_IO_file_xsgetn_mmap): Likewise.
14762 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14763 (_IO_cookie_write): Likewise.
14764 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14765 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14766 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14767 * malloc/obstack.c (_obstack_begin): Likewise.
14768 (_obstack_begin_1): Likewise.
14769 (_obstack_newchunk): Likewise.
14770 (_obstack_allocated_p): Likewise.
14771 (obstack_free): Likewise.
14772 (_obstack_memory_used): Likewise.
14773 * misc/getttyent.c (getttynam): Likewise.
14774 (getttyent): Likewise.
14775 (skip): Likewise.
14776 (value): Likewise.
14777 * misc/getusershell.c (initshells): Likewise.
14778 * misc/syslog.c (__vsyslog_chk): Likewise.
14779 * misc/ttyslot.c (ttyslot): Likewise.
14780 * nis/nis_hash.c (__nis_hash): Likewise.
14781 * posix/fnmatch_loop.c (FCT): Likewise.
14782 * posix/getconf.c (print_all): Likewise.
14783 (main): Likewise.
14784 * posix/getopt.c (exchange): Likewise.
14785 * posix/glob.c (globfree): Likewise.
14786 (prefix_array): Likewise.
14787 (__glob_pattern_type): Likewise.
14788 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14789 (NS_GET32): Likewise.
14790 (NS_PUT16): Likewise.
14791 (NS_PUT32): Likewise.
14792 * resolv/gethnamaddr.c (getanswer): Likewise.
14793 (gethostbyname2): Likewise.
14794 (gethostbyaddr): Likewise.
14795 (_gethtent): Likewise.
14796 (_gethtbyname2): Likewise.
14797 (_gethtbyaddr): Likewise.
14798 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14799 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14800 * resolv/res_init.c (__res_vinit): Likewise.
14801 (net_mask): Likewise.
14802 * resolv/res_mkquery.c (outchar): Likewise.
14803 (PRINT): Likewise.
14804 * stdio-common/printf_fp.c (outchar): Likewise.
14805 (PRINT): Likewise.
14806 * stdio-common/printf_fphex.c (outchar): Likewise.
14807 (PRINT): Likewise.
14808 * stdio-common/printf_size.c (outchar): Likewise.
14809 (PRINT): Likewise.
14810 * stdio-common/test_rdwr.c (main): Likewise.
14811 * stdio-common/tfformat.c (matches): Likewise.
14812 * stdio-common/vfprintf.c (outchar): Likewise.
14813 (printf_unknown): Likewise.
14814 (buffered_vfprintf): Likewise.
14815 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14816 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14817 (ReadFile): Likewise.
14818 * stdlib/qsort.c (SWAP): Likewise.
14819 (_quicksort): Likewise.
14820 * stdlib/setenv.c (__add_to_environ): Likewise.
14821 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14822 * stdlib/strtol_l.c (__strtol_l): Likewise.
14823 * stdlib/tst-strtod.c (main): Likewise.
14824 * stdlib/tst-strtol.c (main): Likewise.
14825 * stdlib/tst-strtoll.c (main): Likewise.
14826 * string/bits/string2.h (__strcmp_cc): Likewise.
14827 (__strcmp_cg): Likewise.
14828 (__strcspn_c1): Likewise.
14829 (__strcspn_c2): Likewise.
14830 (__strcspn_c3): Likewise.
14831 (__strspn_c1): Likewise.
14832 (__strspn_c2): Likewise.
14833 (__strspn_c3): Likewise.
14834 (__strsep_1c): Likewise.
14835 (__strsep_2c): Likewise.
14836 (__strsep_3c): Likewise.
14837 * string/memccpy.c (__memccpy): Likewise.
14838 * string/stpcpy.c (__stpcpy): Likewise.
14839 * string/strcmp.c (strcmp): Likewise.
14840 * string/strrchr.c (strrchr): Likewise.
14841 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14842 Likewise.
14843 * sysdeps/mach/hurd/getcwd.c
14844 (_hurd_canonicalize_directory_name_internal): Likewise.
14845 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14846 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14847 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14848 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14849 Likewise, in both definitions.
14850 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14851 definitions.
14852 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14853 64] (__bswap_64): Likewise.
14854 * time/test_time.c (main): Likewise.
14855 * time/tzfile.c (__tzfile_read): Likewise.
14856 (__tzfile_compute): Likewise.
14857 * time/tzset.c (__tzset_parse_tz): Likewise.
14858 (tzset_internal): Likewise.
14859 (compute_change): Likewise.
14860 * wcsmbs/wcscat.c (__wcscat): Likewise.
14861 * wcsmbs/wcschr.c (wcschr): Likewise.
14862 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14863 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14864 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14865 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14866 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14867 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14868 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14869 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14870 * wcsmbs/wmemset.c (wmemset): Likewise.
14871
9e54314b
JM
148722013-06-06 Joseph Myers <joseph@codesourcery.com>
14873
14874 * scripts/config.guess: Update to version 2013-05-16.
14875 * scripts/config.sub: Update to version 2013-04-24.
14876 * scripts/install-sh: Update to version 2011-11-20.07.
14877 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14878 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14879
350635a5
OB
148802013-06-06 Ondřej Bílka <neleai@seznam.cz>
14881
14882 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14883 * elf/sln.c: Likewise.
14884 * hurd/hurd/ioctl.h: Likewise.
14885 * hurd/hurdmalloc.c: Likewise.
14886 * hurd/xattr.c: Likewise.
14887 * include/shlib-compat.h: Likewise.
14888 * inet/ruserpass.c: Likewise.
14889 * libio/iofgets_u.c: Likewise.
14890 * libio/iofgetws_u.c: Likewise.
14891 * locale/programs/ld-identification.c: Likewise.
14892 * locale/programs/ld-time.c: Likewise.
14893 * mach/msg-destroy.c: Likewise.
14894 * nss/nss_files/files-netgrp.c: Likewise.
14895 * resolv/res_data.c: Likewise.
14896 * soft-fp/op-1.h: Likewise.
14897 * soft-fp/op-2.h: Likewise.
14898 * soft-fp/op-4.h: Likewise.
14899 * soft-fp/op-common.h: Likewise.
14900 * stdio-common/printf_fphex.c: Likewise.
14901 * stdlib/strtod_l.c: Likewise.
14902 * sunrpc/rpc/clnt.h: Likewise.
14903 * sysdeps/generic/framestate.c: Likewise.
14904 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14905 * sysdeps/i386/bsd-setjmp.S: Likewise.
14906 * sysdeps/i386/__longjmp.S: Likewise.
14907 * sysdeps/i386/setjmp.S: Likewise.
14908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14909 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14910 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14915 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14918 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14919 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14926 * sysdeps/ieee754/support.c: Likewise.
14927 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14928 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14929 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14930 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14931 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14932 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14933 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14934 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14935 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14936 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14937 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14938 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14939 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14940 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14941 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14942 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14943 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14945
44a988af
OB
149462013-06-05 Ondřej Bílka <neleai@seznam.cz>
14947
25506f09 14948 * posix/transbug.c: Remove executable mode.
44a988af 14949
9c84384c
JM
149502013-06-05 Joseph Myers <joseph@codesourcery.com>
14951
14952 * crypt/speeds.c: Remove trailing whitespace.
14953 * dlfcn/default.c: Likewise.
14954 * elf/ifuncdep2.c: Likewise.
14955 * elf/ifuncmain1.c: Likewise.
14956 * elf/ifuncmain1vis.c: Likewise.
14957 * elf/testobj.h: Likewise.
14958 * elf/tst-stackguard1.c: Likewise.
14959 * gmon/sys/gmon.h: Likewise.
14960 * hurd/hurdmsg.c: Likewise.
14961 * hurd/new-fd.c: Likewise.
14962 * hurd/ports-get.c: Likewise.
14963 * iconvdata/ibm1008_420.c: Likewise.
14964 * inet/tst-getni1.c: Likewise.
14965 * inet/tst-getni2.c: Likewise.
14966 * libio/ioungetc.c: Likewise.
14967 * libio/wfiledoalloc.c: Likewise.
14968 * manual/libm-err-tab.pl: Likewise.
14969 * math/w_dremf.c: Likewise.
14970 * misc/ftruncate.c: Likewise.
14971 * posix/bug-glob2.c: Likewise.
14972 * posix/tst-pcre.c: Likewise.
14973 * posix/wait4.c: Likewise.
14974 * resolv/README: Likewise.
14975 * resolv/res_debug.h: Likewise.
14976 * resolv/tst-inet_ntop.c: Likewise.
14977 * setjmp/bug269-setjmp.c: Likewise.
14978 * soft-fp/extended.h: Likewise.
14979 * soft-fp/op-1.h: Likewise.
14980 * soft-fp/op-2.h: Likewise.
14981 * soft-fp/op-4.h: Likewise.
14982 * soft-fp/op-8.h: Likewise.
14983 * soft-fp/testit.c: Likewise.
14984 * stdio-common/bug16.c: Likewise.
14985 * stdlib/random.c: Likewise.
14986 * sunrpc/rpcsvc/rquota.x: Likewise.
14987 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14988 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14989 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14990 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14991 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14992 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14993 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14994 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14995 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14996 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14997 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15014 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15016 * sysdeps/ieee754/s_lib_version.c: Likewise.
15017 * sysdeps/mach/hurd/check_fds.c: Likewise.
15018 * sysdeps/mach/hurd/getsockname.c: Likewise.
15019 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15020 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15021 * sysdeps/powerpc/bits/link.h: Likewise.
15022 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15023 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15024 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15025 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15026 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15027 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15028 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15029 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15030 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15031 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15032 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15033 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15034 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15035 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15036 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15037 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15038 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15039 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15040 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15041 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15042 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15043 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15044 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15045 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15046 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15047 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15048 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15049 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15050 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15051 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15052 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15054 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15055 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15056 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15057 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15058 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15059 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15060 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15061 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15062 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15063 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15064 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15065 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15066 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15067 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15068 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15069 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15070 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15071 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15072 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15074 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15075 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15076 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15077 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15078 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15079 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15080 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15081 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15082 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15083 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15084 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15085 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15086 * sysdeps/powerpc/sysdep.h: Likewise.
15087 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15088 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15089 * sysdeps/sh/dl-trampoline.S: Likewise.
15090 * sysdeps/sh/memset.S: Likewise.
15091 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15092 * sysdeps/sh/strlen.S: Likewise.
15093 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15094 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15095 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15096 * sysdeps/sparc/sparc32/rem.S: Likewise.
15097 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15098 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15099 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15100 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15101 * sysdeps/sparc/sparc32/urem.S: Likewise.
15102 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15103 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15104 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15105 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15106 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15107 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15108 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15109 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15110 * sysdeps/unix/bsd/times.c: Likewise.
15111 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15112 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15116 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15117 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15118 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15119 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15120 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15121 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15122 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15123 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15124 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15125 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15126 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15127 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15128 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15129 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15130 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15131 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15132 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15133 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15134 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15135 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15136 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15137 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15138 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15139 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15140 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15141 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15142 * sysdeps/x86_64/strcspn.S: Likewise.
15143
869378a5
RA
151442013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15145
15146 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15147 generated file. Regenerate properly from gen-translit.pl.
15148 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15149 locale/C-translit.h.
15150
840e2943
AS
151512013-06-05 Andreas Schwab <schwab@suse.de>
15152
15153 [BZ #15100]
15154 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15155 week as 6 instead of -1.
15156 * time/tst-strptime.c (day_tests): Add test case.
15157
4c60cb0c
SP
151582013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15159
15160 * sysdeps/generic/math_private.h
15161 (libc_feholdexcept_setround_53bit): Replace with
15162 libc_feholdsetround_53bit.
15163 (libc_feupdateenv_53bit): Replace with
15164 libc_feresetround_53bit.
15165 (SET_RESTORE_ROUND_53BIT): Adjust.
15166
d180203e
SP
151672013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15168
96df079a
SP
15169 * string/test-strchrnul.c: Add copyright header.
15170
d180203e
SP
15171 * posix/tst-getaddrinfo4.c: Increase test timeout.
15172
8b0ccb2d
CD
151732013-06-03 Carlos O'Donell <carlos@redhat.com>
15174
15175 [BZ #15536]
15176 * math/libm-test.inc (MAX_EXP): Remove
15177 (MIN_EXP): Define.
15178 (ulp): Use MIN_EXP - MANT_DIG.
15179 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15180
3b3c4d40
CD
151812013-05-31 Carlos O'Donell <carlos@redhat.com>
15182
15183 * po/be.po: Revert last change.
15184 * po/zh_CN.po: Likewise.
15185 * po/header.pot: Likewise.
15186
fab7ce3f
JM
151872013-05-31 Joseph Myers <joseph@codesourcery.com>
15188
15189 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15190 link-libc-deps to empty as target-specific variable.
15191 * Makerules (link-libc-args): New variable.
15192 (libc-for-link): Likewise.
15193 (link-libc-deps): Likewise.
15194 (lib%.so): Depend on $(link-libc-deps). Link with
15195 $(link-libc-args).
15196 (build-module): Link with $(link-libc-args).
15197 (build-module-asneeded): Likewise.
15198 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15199 list of objects.
15200 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15201 target-specific variable.
15202 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15203 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15204 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15205 libc.
15206 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15207 libc and ld.so.
15208 ($(objpfx)libpcprofile.so): Likewise.
15209 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15210 libc_nonshared.a.
15211 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15212 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15213 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15214 $(link-libc-deps).
15215 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15216 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15217 * login/Makefile ($(objpfx)libutil.so): Likewise.
15218 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15219 * math/Makefile ($(objpfx)libm.so): Likewise.
15220 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15221 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15222 variable instead of depending directly on libc.
15223 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15224 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15225 $(link-libc-deps).
15226 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15227 libc.
15228 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15229 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15230 ($(objpfx)libanl.so): Likewise.
15231 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15232 ld.so.
15233 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15234 $(link-libc-deps).
15235 * sysdeps/i386/fpu/Makefile: Remove file.
15236 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15237 ($(objpfx)libm.so): Remove dependency on ld.so.
15238
eca5920c
PF
152392013-05-30 Patsy Franklin <pfrankli@redhat.com>
15240
15241 [BZ # 15553]
15242 * nis/yp_xdr.c (XDRMAXNAME): Define.
15243 (XDRMAXRECORD): Define.
15244 (xdr_domainname): Use XDRMAXNAME.
15245 (xdr_mapname): Likewise.
15246 (xdr_peername): Likewise.
15247 (xdr_keydat): Use XDRMAXRECORD.
15248 (xdr_valdat): Likewise.
15249
152502013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15251
15252 [BZ #14256]
15253 * manual/errno.texi (ESTALE): Update to account for more than
15254 just NFS file systems.
15255 * sysdeps/gnu/errlist.c: Regenerated.
15256
b9375348
SP
152572013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15258
15259 [BZ #15465]
15260 * elf/Makefile (tests): Add tst-null-argv.
15261 (modules-names): Add tst-null-argv-lib.
15262 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15263 (tst-null-argv-ENV): Set environment for tst-null-argv.
15264 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15265 (RTLD_PROGNAME): New macro.
15266 * elf/tst-null-argv.c: New test case.
15267 * elf/tst-null-argv-lib.c: Library for test case.
15268 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15269 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15270 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15271 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15272 * elf/dl-init.c (call_init): Likewise.
15273 (_dl_init): Likewise.
15274 * elf/dl-load.c (print_search_path): Likewise.
15275 (_dl_map_object): Likewise.
15276 * elf/dl-lookup.c (do_lookup_x): Likewise.
15277 (add_dependency): Likewise.
15278 (_dl_lookup_symbol_x): Likewise.
15279 (_dl_debug_bindings): Likewise.
15280 * elf/dl-open.c (_dl_show_scope): Likewise.
15281 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15282 * elf/dl-version.c (match_symbol): Likewise.
15283 (_dl_check_map_versions): Likewise.
15284 * elf/rtld.c (dl_main): Likewise.
15285 (print_unresolved): Use RTLD_PROGNAME.
15286 (print_missing_version): Likewise.
15287 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15288 (elf_machine_rela): Likewise.
15289 * sysdeps/powerpc/powerpc32/dl-machine.c
15290 (__process_machine_rela): Likewise.
15291 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15292 Likewise.
15293 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15294 Likewise.
15295 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15296 Likewise.
15297 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15298 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15299 Likewise.
15300 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15301 Likewise.
15302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15303
8a9f20c8
CD
153042013-05-28 Carlos O'Donell <carlos@redhat.com>
15305
15306 * po/be.po: Add descriptive title.
15307 * po/zh_CN.po: Likewise.
15308 * po/header.pot: Likewise.
15309
0e60d68e
MF
153102013-05-28 Mike Frysinger <vapier@gentoo.org>
15311
15312 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15313 error message.
15314 (enlarge_archive): Likewise.
15315
56b672e9
BN
153162013-05-28 Ben North <ben@redfrontdoor.org>
15317
15318 * manual/arith.texi (frexp): It is the magnitude of the return
15319 value which lies in [0.5, 1), not the return value itself.
15320
5e056687
AZ
153212013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15322
15323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15324
2b66ef5d
TS
153252013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15326
528c2405
TS
15327 * stdio-common/bug26.c (main): Correct fscanf template.
15328
07b4c13d
TS
15329 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15330 declare _dl_skip_args.
15331
ec9dd97c
TS
15332 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15333 Don't declare.
15334
2b66ef5d
TS
15335 * manual/platform.texi: Add missing @end deftypefun.
15336
4f8dfe27
JM
153372013-05-24 Joseph Myers <joseph@codesourcery.com>
15338
0323d086
JM
15339 [BZ #15529]
15340 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15341 bit of mantissa of 2^16382.
15342 * math/libm-test.inc (hypot_test_data): Add more tests.
15343
dd4259b9
JM
15344 * math/libm-test.inc: Add drem and pow10 to list of tested
15345 functions.
15346 (pow10_test): New function.
15347 (drem_test): Likewise.
15348 (drem_test_tonearest): Likewise.
15349 (drem_test_towardzero): Likewise.
15350 (drem_test_downward): Likewise.
15351 (drem_test_upward): Likewise.
15352 (main): Call the new functions.
15353
4f8dfe27
JM
15354 * math/libm-test.inc (finite_test_data): Remove.
15355 (finite_test): Run tests from isfinite_test_data.
15356 (gamma_test_data): Remove.
15357 (gamma_test): Run tests from lgamma_test_data.
15358 * sysdeps/i386/fpu/libm-test-ulps: Update.
15359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15360
d116b7c4
AZ
153612013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15362
15363 * manual/platform.texi: Add PowerPC PPR function set documentation.
15364 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15365 implementation.
15366
e96e3767
CD
153672013-05-24 Carlos O'Donell <carlos@redhat.com>
15368
15369 * math/libm-test.inc (MAX_EXP): Define.
15370 (ULPDIFF): Define.
15371 (ulp): New function.
15372 (check_float_internal): Use ULPDIFF.
15373 (cpow_test): Disable failing test.
15374 (check_ulp): Test ulp() implemetnation.
15375 (main): Call check_ulp before starting tests.
15376
b679a606
JM
153772013-05-24 Joseph Myers <joseph@codesourcery.com>
15378
e8bdba36
JM
15379 * math/gen-libm-test.pl (generate_testfile): Do not handle
15380 START_DATA and END_DATA.
15381 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15382 END_DATA.
15383 (acos_tonearest_test_data): Likewise.
15384 (acos_towardzero_test_data): Likewise.
15385 (acos_downward_test_data): Likewise.
15386 (acos_upward_test_data): Likewise.
15387 (acosh_test_data): Likewise.
15388 (asin_test_data): Likewise.
15389 (asin_tonearest_test_data): Likewise.
15390 (asin_towardzero_test_data): Likewise.
15391 (asin_downward_test_data): Likewise.
15392 (asin_upward_test_data): Likewise.
15393 (asinh_test_data): Likewise.
15394 (atan_test_data): Likewise.
15395 (atanh_test_data): Likewise.
15396 (atan2_test_data): Likewise.
15397 (cabs_test_data): Likewise.
15398 (cacos_test_data): Likewise.
15399 (cacosh_test_data): Likewise.
15400 (carg_test_data): Likewise.
15401 (casin_test_data): Likewise.
15402 (casinh_test_data): Likewise.
15403 (catan_test_data): Likewise.
15404 (catanh_test_data): Likewise.
15405 (cbrt_test_data): Likewise.
15406 (ccos_test_data): Likewise.
15407 (ccosh_test_data): Likewise.
15408 (ceil_test_data): Likewise.
15409 (cexp_test_data): Likewise.
15410 (cimag_test_data): Likewise.
15411 (clog_test_data): Likewise.
15412 (clog10_test_data): Likewise.
15413 (conj_test_data): Likewise.
15414 (copysign_test_data): Likewise.
15415 (cos_test_data): Likewise.
15416 (cos_tonearest_test_data): Likewise.
15417 (cos_towardzero_test_data): Likewise.
15418 (cos_downward_test_data): Likewise.
15419 (cos_upward_test_data): Likewise.
15420 (cosh_test_data): Likewise.
15421 (cosh_tonearest_test_data): Likewise.
15422 (cosh_towardzero_test_data): Likewise.
15423 (cosh_downward_test_data): Likewise.
15424 (cosh_upward_test_data): Likewise.
15425 (cpow_test_data): Likewise.
15426 (cproj_test_data): Likewise.
15427 (creal_test_data): Likewise.
15428 (csin_test_data): Likewise.
15429 (csinh_test_data): Likewise.
15430 (csqrt_test_data): Likewise.
15431 (ctan_test_data): Likewise.
15432 (ctan_tonearest_test_data): Likewise.
15433 (ctan_towardzero_test_data): Likewise.
15434 (ctan_downward_test_data): Likewise.
15435 (ctan_upward_test_data): Likewise.
15436 (ctanh_test_data): Likewise.
15437 (ctanh_tonearest_test_data): Likewise.
15438 (ctanh_towardzero_test_data): Likewise.
15439 (ctanh_downward_test_data): Likewise.
15440 (ctanh_upward_test_data): Likewise.
15441 (erf_test_data): Likewise.
15442 (erfc_test_data): Likewise.
15443 (exp_test_data): Likewise.
15444 (exp_tonearest_test_data): Likewise.
15445 (exp_towardzero_test_data): Likewise.
15446 (exp_downward_test_data): Likewise.
15447 (exp_upward_test_data): Likewise.
15448 (exp10_test_data): Likewise.
15449 (exp2_test_data): Likewise.
15450 (expm1_test_data): Likewise.
15451 (fabs_test_data): Likewise.
15452 (fdim_test_data): Likewise.
15453 (finite_test_data): Likewise.
15454 (floor_test_data): Likewise.
15455 (fma_test_data): Likewise.
15456 (fma_towardzero_test_data): Likewise.
15457 (fma_downward_test_data): Likewise.
15458 (fma_upward_test_data): Likewise.
15459 (fmax_test_data): Likewise.
15460 (fmin_test_data): Likewise.
15461 (fmod_test_data): Likewise.
15462 (fpclassify_test_data): Likewise.
15463 (frexp_test_data): Likewise.
15464 (gamma_test_data): Likewise.
15465 (hypot_test_data): Likewise.
15466 (ilogb_test_data): Likewise.
15467 (isfinite_test_data): Likewise.
15468 (isgreater_test_data): Likewise.
15469 (isgreaterequal_test_data): Likewise.
15470 (isinf_test_data): Likewise.
15471 (isless_test_data): Likewise.
15472 (islessequal_test_data): Likewise.
15473 (islessgreater_test_data): Likewise.
15474 (isnan_test_data): Likewise.
15475 (isnormal_test_data): Likewise.
15476 (issignaling_test_data): Likewise.
15477 (isunordered_test_data): Likewise.
15478 (j0_test_data): Likewise.
15479 (j1_test_data): Likewise.
15480 (jn_test_data): Likewise.
15481 (ldexp_test_data): Likewise.
15482 (lgamma_test_data): Likewise.
15483 (lrint_test_data): Likewise.
15484 (lrint_tonearest_test_data): Likewise.
15485 (lrint_towardzero_test_data): Likewise.
15486 (lrint_downward_test_data): Likewise.
15487 (lrint_upward_test_data): Likewise.
15488 (llrint_test_data): Likewise.
15489 (llrint_tonearest_test_data): Likewise.
15490 (llrint_towardzero_test_data): Likewise.
15491 (llrint_downward_test_data): Likewise.
15492 (llrint_upward_test_data): Likewise.
15493 (log_test_data): Likewise.
15494 (log10_test_data): Likewise.
15495 (log1p_test_data): Likewise.
15496 (log2_test_data): Likewise.
15497 (logb_test_data): Likewise.
15498 (logb_downward_test_data): Likewise.
15499 (lround_test_data): Likewise.
15500 (llround_test_data): Likewise.
15501 (modf_test_data): Likewise.
15502 (nearbyint_test_data): Likewise.
15503 (nextafter_test_data): Likewise.
15504 (nexttoward_test_data): Likewise.
15505 (pow_test_data): Likewise.
15506 (pow_tonearest_test_data): Likewise.
15507 (pow_towardzero_test_data): Likewise.
15508 (pow_downward_test_data): Likewise.
15509 (pow_upward_test_data): Likewise.
15510 (remainder_test_data): Likewise.
15511 (remainder_tonearest_test_data): Likewise.
15512 (remainder_towardzero_test_data): Likewise.
15513 (remainder_downward_test_data): Likewise.
15514 (remainder_upward_test_data): Likewise.
15515 (remquo_test_data): Likewise.
15516 (rint_test_data): Likewise.
15517 (rint_tonearest_test_data): Likewise.
15518 (rint_towardzero_test_data): Likewise.
15519 (rint_downward_test_data): Likewise.
15520 (rint_upward_test_data): Likewise.
15521 (round_test_data): Likewise.
15522 (scalb_test_data): Likewise.
15523 (scalbn_test_data): Likewise.
15524 (scalbln_test_data): Likewise.
15525 (signbit_test_data): Likewise.
15526 (sin_test_data): Likewise.
15527 (sin_tonearest_test_data): Likewise.
15528 (sin_towardzero_test_data): Likewise.
15529 (sin_downward_test_data): Likewise.
15530 (sin_upward_test_data): Likewise.
15531 (sincos_test_data): Likewise.
15532 (sinh_test_data): Likewise.
15533 (sinh_tonearest_test_data): Likewise.
15534 (sinh_towardzero_test_data): Likewise.
15535 (sinh_downward_test_data): Likewise.
15536 (sinh_upward_test_data): Likewise.
15537 (sqrt_test_data): Likewise.
15538 (tan_test_data): Likewise.
15539 (tan_tonearest_test_data): Likewise.
15540 (tan_towardzero_test_data): Likewise.
15541 (tan_downward_test_data): Likewise.
15542 (tan_upward_test_data): Likewise.
15543 (tanh_test_data): Likewise.
15544 (tgamma_test_data): Likewise.
15545 (trunc_test_data): Likewise.
15546 (y0_test_data): Likewise.
15547 (y1_test_data): Likewise.
15548 (yn_test_data): Likewise.
15549 (significand_test_data): Likewise.
15550
b679a606
JM
15551 * math/gen-libm-test.pl (@functions): Remove variable.
15552 (generate_testfile): Don't handle START and END lines.
15553 * math/libm-test.inc (START): New macro.
15554 (END): Likewise.
15555 (END_COMPLEX): Likewise.
15556 (acos_test): Use END macro without arguments.
15557 (acos_test_tonearest): Likewise.
15558 (acos_test_towardzero): Likewise.
15559 (acos_test_downward): Likewise.
15560 (acos_test_upward): Likewise.
15561 (acosh_test): Likewise.
15562 (asin_test): Likewise.
15563 (asin_test_tonearest): Likewise.
15564 (asin_test_towardzero): Likewise.
15565 (asin_test_downward): Likewise.
15566 (asin_test_upward): Likewise.
15567 (asinh_test): Likewise.
15568 (atan_test): Likewise.
15569 (atanh_test): Likewise.
15570 (atan2_test): Likewise.
15571 (cabs_test): Likewise.
15572 (cacos_test): Use END_COMPLEX macro without arguments.
15573 (cacosh_test): Likewise.
15574 (carg_test): Use END macro without arguments.
15575 (casin_test): Use END_COMPLEX macro without arguments.
15576 (casinh_test): Likewise.
15577 (catan_test): Likewise.
15578 (catanh_test): Likewise.
15579 (cbrt_test): Use END macro without arguments.
15580 (ccos_test): Use END_COMPLEX macro without arguments.
15581 (ccosh_test): Likewise.
15582 (ceil_test): Use END macro without arguments.
15583 (cexp_test): Use END_COMPLEX macro without arguments.
15584 (cimag_test): Use END macro without arguments.
15585 (clog_test): Use END_COMPLEX macro without arguments.
15586 (clog10_test): Likewise.
15587 (conj_test): Likewise.
15588 (copysign_test): Use END macro without arguments.
15589 (cos_test): Likewise.
15590 (cos_test_tonearest): Likewise.
15591 (cos_test_towardzero): Likewise.
15592 (cos_test_downward): Likewise.
15593 (cos_test_upward): Likewise.
15594 (cosh_test): Likewise.
15595 (cosh_test_tonearest): Likewise.
15596 (cosh_test_towardzero): Likewise.
15597 (cosh_test_downward): Likewise.
15598 (cosh_test_upward): Likewise.
15599 (cpow_test): Use END_COMPLEX macro without arguments.
15600 (cproj_test): Likewise.
15601 (creal_test): Use END macro without arguments.
15602 (csin_test): Use END_COMPLEX macro without arguments.
15603 (csinh_test): Likewise.
15604 (csqrt_test): Likewise.
15605 (ctan_test): Likewise.
15606 (ctan_test_tonearest): Likewise.
15607 (ctan_test_towardzero): Likewise.
15608 (ctan_test_downward): Likewise.
15609 (ctan_test_upward): Likewise.
15610 (ctanh_test): Likewise.
15611 (ctanh_test_tonearest): Likewise.
15612 (ctanh_test_towardzero): Likewise.
15613 (ctanh_test_downward): Likewise.
15614 (ctanh_test_upward): Likewise.
15615 (erf_test): Use END macro without arguments.
15616 (erfc_test): Likewise.
15617 (exp_test): Likewise.
15618 (exp_test_tonearest): Likewise.
15619 (exp_test_towardzero): Likewise.
15620 (exp_test_downward): Likewise.
15621 (exp_test_upward): Likewise.
15622 (exp10_test): Likewise.
15623 (exp2_test): Likewise.
15624 (expm1_test): Likewise.
15625 (fabs_test): Likewise.
15626 (fdim_test): Likewise.
15627 (finite_test): Likewise.
15628 (floor_test): Likewise.
15629 (fma_test): Likewise.
15630 (fma_test_towardzero): Likewise.
15631 (fma_test_downward): Likewise.
15632 (fma_test_upward): Likewise.
15633 (fmax_test): Likewise.
15634 (fmin_test): Likewise.
15635 (fmod_test): Likewise.
15636 (fpclassify_test): Likewise.
15637 (frexp_test): Likewise.
15638 (gamma_test): Likewise.
15639 (hypot_test): Likewise.
15640 (ilogb_test): Likewise.
15641 (isfinite_test): Likewise.
15642 (isgreater_test): Likewise.
15643 (isgreaterequal_test): Likewise.
15644 (isinf_test): Likewise.
15645 (isless_test): Likewise.
15646 (islessequal_test): Likewise.
15647 (islessgreater_test): Likewise.
15648 (isnan_test): Likewise.
15649 (isnormal_test): Likewise.
15650 (issignaling_test): Likewise.
15651 (isunordered_test): Likewise.
15652 (j0_test): Likewise.
15653 (j1_test): Likewise.
15654 (jn_test): Likewise.
15655 (ldexp_test): Likewise.
15656 (lgamma_test): Likewise.
15657 (lrint_test): Likewise.
15658 (lrint_test_tonearest): Likewise.
15659 (lrint_test_towardzero): Likewise.
15660 (lrint_test_downward): Likewise.
15661 (lrint_test_upward): Likewise.
15662 (llrint_test): Likewise.
15663 (llrint_test_tonearest): Likewise.
15664 (llrint_test_towardzero): Likewise.
15665 (llrint_test_downward): Likewise.
15666 (llrint_test_upward): Likewise.
15667 (log_test): Likewise.
15668 (log10_test): Likewise.
15669 (log1p_test): Likewise.
15670 (log2_test): Likewise.
15671 (logb_test): Likewise.
15672 (logb_test_downward): Likewise.
15673 (lround_test): Likewise.
15674 (llround_test): Likewise.
15675 (modf_test): Likewise.
15676 (nearbyint_test): Likewise.
15677 (nextafter_test): Likewise.
15678 (nexttoward_test): Likewise.
15679 (pow_test): Likewise.
15680 (pow_test_tonearest): Likewise.
15681 (pow_test_towardzero): Likewise.
15682 (pow_test_downward): Likewise.
15683 (pow_test_upward): Likewise.
15684 (remainder_test): Likewise.
15685 (remainder_test_tonearest): Likewise.
15686 (remainder_test_towardzero): Likewise.
15687 (remainder_test_downward): Likewise.
15688 (remainder_test_upward): Likewise.
15689 (remquo_test): Likewise.
15690 (rint_test): Likewise.
15691 (rint_test_tonearest): Likewise.
15692 (rint_test_towardzero): Likewise.
15693 (rint_test_downward): Likewise.
15694 (rint_test_upward): Likewise.
15695 (round_test): Likewise.
15696 (scalb_test): Likewise.
15697 (scalbn_test): Likewise.
15698 (scalbln_test): Likewise.
15699 (signbit_test): Likewise.
15700 (sin_test): Likewise.
15701 (sin_test_tonearest): Likewise.
15702 (sin_test_towardzero): Likewise.
15703 (sin_test_downward): Likewise.
15704 (sin_test_upward): Likewise.
15705 (sincos_test): Likewise.
15706 (sinh_test): Likewise.
15707 (sinh_test_tonearest): Likewise.
15708 (sinh_test_towardzero): Likewise.
15709 (sinh_test_downward): Likewise.
15710 (sinh_test_upward): Likewise.
15711 (sqrt_test): Likewise.
15712 (tan_test): Likewise.
15713 (tan_test_tonearest): Likewise.
15714 (tan_test_towardzero): Likewise.
15715 (tan_test_downward): Likewise.
15716 (tan_test_upward): Likewise.
15717 (tanh_test): Likewise.
15718 (tgamma_test): Likewise.
15719 (trunc_test): Likewise.
15720 (y0_test): Likewise.
15721 (y1_test): Likewise.
15722 (yn_test): Likewise.
15723 (significand_test): Likewise.
15724
bae143d2
OB
157252013-05-24 Ondřej Bílka <neleai@seznam.cz>
15726
15727 [BZ #15381]
15728 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15729
9323d39b
EM
157302013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15731
d4ea44a0 15732 [BZ #14894]
9323d39b
EM
15733 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15734 __ppc_mdoio and __ppc_mdoom.
15735 * manual/platform.texi: Document new functions __ppc_yield,
15736 __ppc_mdoio and __ppc_mdoom.
15737
13e23af7
CD
157382013-05-22 Carlos O'Donell <carlos@redhat.com>
15739
15740 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15741 (main): Mention "tls" pseudo-hwcap is legacy.
15742 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15743
351fe550
JM
157442013-05-22 Joseph Myers <joseph@codesourcery.com>
15745
15746 * math/gen-libm-test.pl (parse_args): Output only string of
15747 arguments as text for test name, not full call or descriptions of
15748 tests for extra outputs.
15749 (generate_testfile): Do not pass function name to parse_args.
15750 Generate this_func variable from START.
15751 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15752 field to arg_str.
15753 (struct test_ff_f_data): Likewise.
15754 (test_ff_f_data_nexttoward): Likewise.
15755 (struct test_fi_f_data): Likewise.
15756 (struct test_fl_f_data): Likewise.
15757 (struct test_if_f_data): Likewise.
15758 (struct test_fff_f_data): Likewise.
15759 (struct test_c_f_data): Likewise.
15760 (struct test_f_f1_data): Likewise. Remove field extra_name.
15761 (struct test_fF_f1_data): Likewise.
15762 (struct test_ffI_f1_data): Likewise.
15763 (struct test_c_c_data): Rename test_name field to arg_str.
15764 (struct test_cc_c_data): Likewise.
15765 (struct test_f_i_data): Likewise.
15766 (struct test_ff_i_data): Likewise.
15767 (struct test_f_l_data): Likewise.
15768 (struct test_f_L_data): Likewise.
15769 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15770 and extra2_name.
15771 (COMMON_TEST_SETUP): New macro.
15772 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15773 (COMMON_TEST_CLEANUP): Likewise.
15774 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15775 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15776 macros.
15777 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15778 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15779 macros.
15780 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15781 (RUN_TEST_fff_f): Take argument string. Call new setup and
15782 cleanup macros.
15783 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15784 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15785 macros.
15786 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15787 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15788 macros.
15789 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15790 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15791 cleanup macros.
15792 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15793 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15794 cleanup macros.
15795 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15796 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15797 cleanup macros.
15798 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15799 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15800 macros.
15801 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15802 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15803 macros.
15804 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15805 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15806 macros.
15807 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15808 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15809 cleanup macros.
15810 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15811 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15812 cleanup macros.
15813 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15814 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15815 macros.
15816 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15817 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15818 cleanup macros.
15819 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15820 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15821 macros.
15822 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15823 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15824 macros.
15825 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15826 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15827 cleanup macros.
15828 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15829
85118d4d
EBM
158302013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15831
15832 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15833 to _sifields.sigfault.
15834 (si_addr_lsb): Define new macro.
15835 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15837 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15838
7a44c18f
CD
158392013-05-03 Carlos O'Donell <carlos at redhat.com>
15840
15841 [BZ #15441]
15842 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15843 returns -1.
15844 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15845 null return -1.
15846 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15847 loading the domain.
15848
b50a7181
JM
158492013-05-22 Joseph Myers <joseph@codesourcery.com>
15850
15851 * math/gen-libm-test.pl (parse_args): Do not include expected
15852 result in test name.
15853 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15854 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15855 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15856 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15857 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15859
051063c8
SP
158602013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15861
3ce9e010
SP
15862 * benchtests/Makefile: Sort function entries.
15863
051063c8
SP
15864 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15865 tanh, asinh, acosh, atanh.
15866 * benchtests/acos-inputs: New file.
15867 * benchtests/acosh-inputs: New file.
15868 * benchtests/asin-inputs: New file.
15869 * benchtests/asinh-inputs: New file.
15870 * benchtests/atanh-inputs: New file.
15871 * benchtests/cosh-inputs: New file.
15872 * benchtests/log-inputs: New file.
15873 * benchtests/sinh-inputs: New file.
15874 * benchtests/tanh-inputs: New file.
15875
47c22455
DL
158762013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15877
15878 [BZ #15339]
15879 * posix/tst-getaddrinfo4.c: New test.
15880 * posix/Makefile (tests): Add it.
15881
3d04f5db
SP
158822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15883
15884 [BZ #15339]
15885 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15886 when no services were used.
15887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15888 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15889
d5dd6189
AS
158902013-05-21 Andreas Schwab <schwab@suse.de>
15891
15892 [BZ #15014]
15893 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15894 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15895 successful.
15896 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15897 redundant variable declarations and reallocation of buffer when
15898 parsing as IPv6 address. Always set NSS status when called from
15899 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15900 buffer too small. Correct computation of needed size.
15901 * nss/Makefile (tests): Add test-digits-dots.
15902 * nss/test-digits-dots.c: New test.
15903
fef94eab
SP
159042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15905
15906 * benchtests/Makefile: Remove instructions for adding
15907 benchmark tests.
15908 * benchtests/README: New file to explain how to execute and
15909 enhance the benchmark tests.
15910
e39adf43
AS
159112013-05-21 Andreas Schwab <schwab@suse.de>
15912
15913 [BZ #15493]
15914 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15915 * setjmp/tst-sigsetjmp.c: New test.
15916
b2b671b6
OB
159172013-05-20 Ondřej Bílka <neleai@seznam.cz>
15918
15919 * sysdeps/x86_64/memset.S (memset): New implementation.
15920 (__bzero): Likewise.
15921 (__memset_tail): New function.
15922
2d48b41c
OB
159232013-05-20 Ondřej Bílka <neleai@seznam.cz>
15924
15925 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15926 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15927 __memcpy_sse2_unaligned ifunc selection.
15928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15929 Add memcpy-sse2-unaligned.S.
15930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15931 Add: __memcpy_sse2_unaligned.
15932
f16cc3eb
JM
159332013-05-19 Joseph Myers <joseph@codesourcery.com>
15934
3e694268
JM
15935 [BZ #15490]
15936 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15937 math_force_eval before restoring floating-point envrionment.
15938 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15939 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15940 Likewise.
15941 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15942 <math_private.h>.
15943 (__nearbyintl): Use math_force_eval before restoring
15944 floating-point environment.
15945 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15946
db62a907
JM
15947 * math/gen-libm-test.pl (special_functions): Remove.
15948 (parse_args): Don't handle TEST_extra. Handle functions with no
15949 return value.
15950 * math/libm-test.inc (struct test_sincos_data): Replace with
15951 struct test_fFF_11_data.
15952 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15953 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15954 (sincos_test_data): Change element type to struct
15955 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15956 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15957 RUN_TEST_LOOP_sincos.
15958 * math/README.libm-test: Don't mention special handling of
15959 individual functions.
15960 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15961 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15962 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15963 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15964 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15966
f16cc3eb
JM
15967 * math/gen-libm-test.pl (get_variable): Remove function.
15968 (parse_args): Don't show pointer parameters to call in test
15969 names. Use "extra output N" in test names for extra outputs
15970 rather than naming variables.
15971
3779b5b6
JM
159722013-05-18 Joseph Myers <joseph@codesourcery.com>
15973
2ee094ff
JM
15974 [BZ #15488]
15975 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15976 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15977 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15978 double tests.
15979 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15980 disable.
15981 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15982 check_long_double.
15983
3779b5b6
JM
15984 * math/gen-libm-test.pl (@tests): Remove variable.
15985 ($count): Likewise.
15986 (new_test): Remove function.
15987 (show_exceptions): New function.
15988 (special_functions): Use show_exceptions instead of new_test.
15989 (parse_args): Likewise.
15990 (generate_testfile): Pass only function name in generated call to
15991 print_max_error or print_complex_max_error.
15992 (get_ulps): Do not handle complex tests specially.
15993 (output_test): Rename to ...
15994 (get_all_ulps_for_test): ... this. Return a string rather than
15995 printing to a file. Require ulps to be present.
15996 (output_ulps): Generate arrays rather than #defines.
15997 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15998 (struct ulp_data): New type.
15999 (BUILD_COMPLEX_ULP): Remove macro.
16000 (compare_ulp_data): New function.
16001 (find_ulps): Likewise.
16002 (find_test_ulps): Likewise.
16003 (find_function_ulps): Likewise.
16004 (find_complex_function_ulps): Likewise.
16005 (print_max_error): Determine allowed ulps using
16006 find_function_ulps.
16007 (print_complex_max_error): Determine allowed ulps using
16008 find_complex_function_ulps.
16009 (check_float_internal): Determine max ulps using find_test_ulps.
16010 (check_float): Do not take max_ulp parameter. Update call to
16011 check_float_internal.
16012 (check_complex): Likewise.
16013 (check_int): Do not take max_ulp parameter.
16014 (check_long): Likewise.
16015 (check_bool): Likewise.
16016 (check_longlong): Likewise.
16017 (struct test_f_f_data): Remove max_ulp field.
16018 (struct test_ff_f_data): Likewise.
16019 (struct test_ff_f_data_nexttoward): Likewise.
16020 (struct test_fi_f_data): Likewise.
16021 (struct test_fl_f_data): Likewise.
16022 (struct test_if_f_data): Likewise.
16023 (struct test_fff_f_data): Likewise.
16024 (struct test_c_f_data): Likewise.
16025 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16026 (struct test_fF_f1_data): Likewise.
16027 (struct test_ffI_f1_data): Likewise.
16028 (struct test_c_c_data): Remove max_ulp field.
16029 (struct test_cc_c_data): Likewise.
16030 (struct test_f_i_data): Likewise.
16031 (struct test_ff_i_data): Likewise.
16032 (struct test_f_l_data): Likewise.
16033 (struct test_f_L_data): Likewise.
16034 (struct test_sincos_data): Likewise.
16035 (RUN_TEST_f_f): Do not handle ulps.
16036 (RUN_TEST_LOOP_f_f): Likewise.
16037 (RUN_TEST_2_f): Likewise.
16038 (RUN_TEST_LOOP_2_f): Likewise.
16039 (RUN_TEST_fff_f): Likewise.
16040 (RUN_TEST_LOOP_fff_f): Likewise.
16041 (RUN_TEST_c_f): Likewise.
16042 (RUN_TEST_LOOP_c_f): Likewise.
16043 (RUN_TEST_f_f1): Likewise.
16044 (RUN_TEST_LOOP_f_f1): Likewise.
16045 (RUN_TEST_fF_f1): Likewise.
16046 (RUN_TEST_LOOP_fF_f1): Likewise.
16047 (RUN_TEST_fI_f1): Likewise.
16048 (RUN_TEST_LOOP_fI_f1): Likewise.
16049 (RUN_TEST_ffI_f1): Likewise.
16050 (RUN_TEST_LOOP_ffI_f1): Likewise.
16051 (RUN_TEST_c_c): Likewise.
16052 (RUN_TEST_LOOP_c_c): Likewise.
16053 (RUN_TEST_cc_c): Likewise.
16054 (RUN_TEST_LOOP_cc_c): Likewise.
16055 (RUN_TEST_f_i): Likewise.
16056 (RUN_TEST_LOOP_f_i): Likewise.
16057 (RUN_TEST_f_i_tg): Likewise.
16058 (RUN_TEST_LOOP_f_i_tg): Likewise.
16059 (RUN_TEST_ff_i_tg): Likewise.
16060 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16061 (RUN_TEST_f_b): Likewise.
16062 (RUN_TEST_LOOP_f_b): Likewise.
16063 (RUN_TEST_f_b_tg): Likewise.
16064 (RUN_TEST_LOOP_f_b_tg): Likewise.
16065 (RUN_TEST_f_l): Likewise.
16066 (RUN_TEST_LOOP_f_l): Likewise.
16067 (RUN_TEST_f_L): Likewise.
16068 (RUN_TEST_LOOP_f_L): Likewise.
16069 (RUN_TEST_sincos): Likewise.
16070 (RUN_TEST_LOOP_sincos): Likewise.
16071
8269107f
JM
160722013-05-17 Joseph Myers <joseph@codesourcery.com>
16073
bb38759d
JM
16074 [BZ #15480]
16075 [BZ #15485]
16076 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16077 main case of finite arguments, set rounding mode to FE_TONEAREST
16078 and discard exceptions.
16079 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16080 exceptions.
16081 (remainder_tonearest_test_data): New variable.
16082 (remainder_test_tonearest): New function.
16083 (remainder_towardzero_test_data): New variable.
16084 (remainder_test_towardzero): New function.
16085 (remainder_downward_test_data): New variable.
16086 (remainder_test_downward): New function.
16087 (remainder_upward_test_data): New variable.
16088 (remainder_test_upward): New function.
16089 (main): Call the new test functions.
16090
a00bdcf0
JM
16091 * math/libm-test.inc (struct test_f_f1_data): Remove field
16092 extra_init.
16093 (struct test_fF_f1_data): Likewise.
16094 (struct test_ffI_f1_data): Likewise.
16095 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16096 based on value of EXTRA_EXPECTED.
16097 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16098 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16099 EXTRA_VAR based on value of EXTRA_EXPECTED.
16100 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16101 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16102 EXTRA_VAR based on value of EXTRA_EXPECTED.
16103 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16104 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16105 EXTRA_VAR based on value of EXTRA_EXPECTED.
16106 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16107 * math/gen-libm-test.pl (parse_args): Don't output initializers
16108 for extra output values.
16109
de407f79
JM
16110 * math/libm-test.inc (check_int): Expect result to be exactly
16111 equal to expected value and do not handle ulps.
16112 (check_long): Likewise.
16113 (check_longlong): Likewise.
16114
8269107f
JM
16115 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16116 exceptions.
16117 (cimag_test_data): Likewise.
16118 (conj_test_data): Likewise.
16119 (copysign_test_data): Likewise.
16120 (cproj_test_data): Likewise.
16121 (creal_test_data): Likewise.
16122 (fabs_test_data): Likewise.
16123 (fdim_test_data): Likewise.
16124 (finite_test_data): Likewise.
16125 (floor_test_data): Likewise.
16126 (fmax_test_data): Likewise.
16127 (fmin_test_data): Likewise.
16128 (fmod_test_data): Likewise.
16129 (fpclassify_test_data): Likewise.
16130 (frexp_test_data): Likewise.
16131 (ilogb_test_data): Likewise.
16132 (isfinite_test_data): Likewise.
16133 (isgreater_test_data): Likewise.
16134 (isgreaterequal_test_data): Likewise.
16135 (isinf_test_data): Likewise.
16136 (isless_test_data): Likewise.
16137 (islessequal_test_data): Likewise.
16138 (islessgreater_test_data): Likewise.
16139 (isnan_test_data): Likewise.
16140 (isnormal_test_data): Likewise.
16141 (issignaling_test_data): Likewise.
16142 (isunordered_test_data): Likewise.
16143 (ldexp_test_data): Likewise.
16144 (lrint_test_data): Likewise.
16145 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16146 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16147 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16148 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16149 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16150 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16151 test input.
16152 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16153 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16154 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16155 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16156 that test input.
16157 (lrint_downward_test_data): Test for "inexact" exceptions.
16158 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16159 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16160 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16161 test input.
16162 (lrint_upward_test_data): Test for "inexact" exceptions.
16163 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16164 test input.
16165 (llrint_test_data): Test for "inexact" exceptions.
16166 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16167 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16168 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16169 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16170 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16171 (llrint_downward_test_data): Test for "inexact" exceptions.
16172 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16173 (llrint_upward_test_data): Test for "inexact" exceptions.
16174 (logb_test_data): Likewise.
16175 (logb_downward_test_data): Likewise.
16176 (nextafter_test_data): Likewise.
16177 (nexttoward_test_data): Likewise.
16178 (remainder_test_data): Likewise.
16179 (remquo_test_data): Likewise.
16180 (scalbn_test_data): Likewise.
16181 (scalbln_test_data): Likewise.
16182 (signbit_test_data): Likewise.
16183 (sqrt_test_data): Likewise.
16184 (significand_test_data): Likewise.
16185
48a18de1
SP
161862013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16187
16188 [BZ #15424]
16189 * benchtests/bench-modf.c (struct args): Mark arg0 as
16190 volatile.
16191 * scripts/bench.pl: Mark members of struct args as volatile.
16192
13d3b41a
AZ
161932013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16194
68191c1d 16195 [BZ # 15497]
13d3b41a
AZ
16196 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16197 negative infinity on POWER6 or lower.
16198 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16199
2848b105
MR
162002013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16201
16202 [BZ #15442]
16203 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16204 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16205 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16206 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16207 (_FP_SETQNAN): New macro.
16208 (_FP_SETQNAN_SEMIRAW): Likewise.
16209 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16210 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16211 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16212 (FP_EXTEND): Use _FP_FRAC_SNANP.
16213 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16214 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16215 into account.
16216 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16217 New macro.
16218 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16219 Likewise.
16220
323e5cb7
JM
162212013-05-16 Joseph Myers <joseph@codesourcery.com>
16222
c58b274f
JM
16223 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16224 with DIVIDE_BY_ZERO_EXCEPTION.
16225 (gamma_test_data): Likewise.
16226 (lgamma_test_data): Likewise.
16227 (log_test_data): Likewise.
16228 (log10_test_data): Likewise.
16229 (log2_test_data): Likewise.
16230 (tgamma_test_data): Likewise.
16231
0ab34904
JM
16232 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16233 (acos_test_tonearest): Likewise.
16234 (acos_test_towardzero): Likewise.
16235 (acos_test_downward): Likewise.
16236 (acos_test_upward): Likewise.
16237 (acosh_test): Likewise.
16238 (asin_test): Likewise.
16239 (asin_test_tonearest): Likewise.
16240 (asin_test_towardzero): Likewise.
16241 (asin_test_downward): Likewise.
16242 (asin_test_upward): Likewise.
16243 (asinh_test): Likewise.
16244 (atan_test): Likewise.
16245 (atanh_test): Likewise.
16246 (atan2_test): Likewise.
16247 (cabs_test): Likewise.
16248 (cacos_test): Likewise.
16249 (cacosh_test): Likewise.
16250 (casin_test): Likewise.
16251 (casinh_test): Likewise.
16252 (catan_test): Likewise.
16253 (catanh_test): Likewise.
16254 (cbrt_test): Likewise.
16255 (ccos_test): Likewise.
16256 (ccosh_test): Likewise.
16257 (cexp_test): Likewise.
16258 (clog_test): Likewise.
16259 (clog10_test): Likewise.
16260 (cos_test): Likewise.
16261 (cos_test_tonearest): Likewise.
16262 (cos_test_towardzero): Likewise.
16263 (cos_test_downward): Likewise.
16264 (cos_test_upward): Likewise.
16265 (cosh_test): Likewise.
16266 (cosh_test_tonearest): Likewise.
16267 (cosh_test_towardzero): Likewise.
16268 (cosh_test_downward): Likewise.
16269 (cosh_test_upward): Likewise.
16270 (cpow_test): Likewise.
16271 (csin_test): Likewise.
16272 (csinh_test): Likewise.
16273 (csqrt_test): Likewise.
16274 (ctan_test): Likewise.
16275 (ctan_test_tonearest): Likewise.
16276 (ctan_test_towardzero): Likewise.
16277 (ctan_test_downward): Likewise.
16278 (ctan_test_upward): Likewise.
16279 (ctanh_test): Likewise.
16280 (ctanh_test_tonearest): Likewise.
16281 (ctanh_test_towardzero): Likewise.
16282 (ctanh_test_downward): Likewise.
16283 (ctanh_test_upward): Likewise.
16284 (erf_test): Likewise.
16285 (erfc_test): Likewise.
16286 (exp_test): Likewise.
16287 (exp_test_tonearest): Likewise.
16288 (exp_test_towardzero): Likewise.
16289 (exp_test_downward): Likewise.
16290 (exp_test_upward): Likewise.
16291 (exp10_test): Likewise.
16292 (exp2_test): Likewise.
16293 (expm1_test): Likewise.
16294 (fmod_test): Likewise.
16295 (gamma_test): Likewise.
16296 (hypot_test): Likewise.
16297 (j0_test): Likewise.
16298 (j1_test): Likewise.
16299 (jn_test): Likewise.
16300 (lgamma_test): Likewise.
16301 (log_test): Likewise.
16302 (log10_test): Likewise.
16303 (log1p_test): Likewise.
16304 (log2_test): Likewise.
16305 (logb_test_downward): Likewise.
16306 (pow_test): Likewise.
16307 (pow_test_tonearest): Likewise.
16308 (pow_test_towardzero): Likewise.
16309 (pow_test_downward): Likewise.
16310 (pow_test_upward): Likewise.
16311 (remainder_test): Likewise.
16312 (remquo_test): Likewise.
16313 (sin_test): Likewise.
16314 (sin_test_tonearest): Likewise.
16315 (sin_test_towardzero): Likewise.
16316 (sin_test_downward): Likewise.
16317 (sin_test_upward): Likewise.
16318 (sincos_test): Likewise.
16319 (sinh_test): Likewise.
16320 (sinh_test_tonearest): Likewise.
16321 (sinh_test_towardzero): Likewise.
16322 (sinh_test_downward): Likewise.
16323 (sinh_test_upward): Likewise.
16324 (sqrt_test): Likewise.
16325 (tan_test): Likewise.
16326 (tan_test_tonearest): Likewise.
16327 (tan_test_towardzero): Likewise.
16328 (tan_test_downward): Likewise.
16329 (tan_test_upward): Likewise.
16330 (tanh_test): Likewise.
16331 (tgamma_test): Likewise.
16332 (y0_test): Likewise.
16333 (y1_test): Likewise.
16334 (yn_test): Likewise.
16335
323e5cb7
JM
16336 * math/gen-libm-test.pl (adjust_arg): Remove function.
16337 (special_function): Remove argument $in_func. Only handle
16338 generating output for tables of tests, not inside functions.
16339 (parse_args): Likewise.
16340 (generate_testfile): Remove variable $in_func. Update call to
16341 parse_args.
16342 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16343 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16344 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16345 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16346 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16347 (MAX_VALUE_INIT): Rename macro to max_value.
16348 (MIN_VALUE_INIT): Rename macro to min_value.
16349 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16350 (plus_zero): Remove variable.
16351 (minus_zero): Likewise.
16352 (plus_infty): Likewise.
16353 (minus_infty): Likewise.
16354 (qnan_value): Likewise.
16355 (max_value): Likewise.
16356 (min_value): Likewise.
16357 (min_subnorm_value): Likewise.
16358
e054f494
RA
163592013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16360
16361 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16362 uint64_t or uint32_t usage.
16363 * crypt/sha256-block.c: Likewise.
16364 * crypt/sha256-crypt.c: Likewise.
16365 * crypt/sha256.c: Likewise.
16366 * crypt/sha512-block.c: Likewise.
16367 * crypt/sha512-crypt.c: Likewise.
16368 * crypt/sha512.c: Likewise.
16369 * debug/backtrace-tst.c: Likewise.
16370 * debug/pcprofiledump.c: Likewise.
16371 * elf/cache.c: Likewise.
16372 * elf/dl-cache.c: Likewise.
16373 * elf/dl-misc.c: Likewise.
16374 * elf/dl-profile.c: Likewise.
16375 * elf/dl-support.c: Likewise.
16376 * elf/ldconfig.c: Likewise.
16377 * elf/sprof.c: Likewise.
16378 * iconv/dummy-repertoire.c: Likewise.
16379 * iconv/iconv_charmap.c: Likewise.
16380 * iconv/skeleton.c: Likewise.
16381 * iconvdata/8bit-generic.c: Likewise.
16382 * iconvdata/cp737.h: Likewise.
16383 * iconvdata/cp775.h: Likewise.
16384 * iconvdata/ibm1008.h: Likewise.
16385 * iconvdata/ibm1025.h: Likewise.
16386 * iconvdata/ibm1046.h: Likewise.
16387 * iconvdata/ibm1097.h: Likewise.
16388 * iconvdata/ibm1112.h: Likewise.
16389 * iconvdata/ibm1122.h: Likewise.
16390 * iconvdata/ibm1123.h: Likewise.
16391 * iconvdata/ibm1124.h: Likewise.
16392 * iconvdata/ibm1129.h: Likewise.
16393 * iconvdata/ibm1130.h: Likewise.
16394 * iconvdata/ibm1132.h: Likewise.
16395 * iconvdata/ibm1133.h: Likewise.
16396 * iconvdata/ibm1137.h: Likewise.
16397 * iconvdata/ibm1140.h: Likewise.
16398 * iconvdata/ibm1141.h: Likewise.
16399 * iconvdata/ibm1142.h: Likewise.
16400 * iconvdata/ibm1143.h: Likewise.
16401 * iconvdata/ibm1144.h: Likewise.
16402 * iconvdata/ibm1145.h: Likewise.
16403 * iconvdata/ibm1146.h: Likewise.
16404 * iconvdata/ibm1147.h: Likewise.
16405 * iconvdata/ibm1148.h: Likewise.
16406 * iconvdata/ibm1149.h: Likewise.
16407 * iconvdata/ibm1153.h: Likewise.
16408 * iconvdata/ibm1154.h: Likewise.
16409 * iconvdata/ibm1155.h: Likewise.
16410 * iconvdata/ibm1156.h: Likewise.
16411 * iconvdata/ibm1157.h: Likewise.
16412 * iconvdata/ibm1158.h: Likewise.
16413 * iconvdata/ibm1160.h: Likewise.
16414 * iconvdata/ibm1161.h: Likewise.
16415 * iconvdata/ibm1162.h: Likewise.
16416 * iconvdata/ibm1163.h: Likewise.
16417 * iconvdata/ibm1164.h: Likewise.
16418 * iconvdata/ibm1166.h: Likewise.
16419 * iconvdata/ibm1167.h: Likewise.
16420 * iconvdata/ibm12712.h: Likewise.
16421 * iconvdata/ibm1390.h: Likewise.
16422 * iconvdata/ibm1399.h: Likewise.
16423 * iconvdata/ibm16804.h: Likewise.
16424 * iconvdata/ibm4517.h: Likewise.
16425 * iconvdata/ibm4899.h: Likewise.
16426 * iconvdata/ibm4909.h: Likewise.
16427 * iconvdata/ibm4971.h: Likewise.
16428 * iconvdata/ibm5347.h: Likewise.
16429 * iconvdata/ibm803.h: Likewise.
16430 * iconvdata/ibm856.h: Likewise.
16431 * iconvdata/ibm901.h: Likewise.
16432 * iconvdata/ibm902.h: Likewise.
16433 * iconvdata/ibm9030.h: Likewise.
16434 * iconvdata/ibm9066.h: Likewise.
16435 * iconvdata/ibm921.h: Likewise.
16436 * iconvdata/ibm922.h: Likewise.
16437 * iconvdata/ibm9448.h: Likewise.
16438 * iconvdata/isiri-3342.h: Likewise.
16439 * iconvdata/jis0201.h: Likewise.
16440 * include/link.h: Likewise.
16441 * include/netdb.h: Likewise.
16442 * inet/check_native.c: Likewise.
16443 * inet/check_pf.c: Likewise.
16444 * inet/getipv4sourcefilter.c: Likewise.
16445 * inet/getnameinfo.c: Likewise.
16446 * inet/getsourcefilter.c: Likewise.
16447 * inet/htonl.c: Likewise.
16448 * inet/setipv4sourcefilter.c: Likewise.
16449 * inet/setsourcefilter.c: Likewise.
16450 * inet/test-inet6_opt.c: Likewise.
16451 * inet/tst-network.c: Likewise.
16452 * locale/C-collate.c: Likewise.
16453 * locale/C-ctype.c: Likewise.
16454 * locale/C-time.c: Likewise.
16455 * locale/C-translit.h: Likewise.
16456 * locale/loadarchive.c: Likewise.
16457 * locale/programs/3level.h: Likewise.
16458 * locale/programs/charmap.c: Likewise.
16459 * locale/programs/charmap.h: Likewise.
16460 * locale/programs/ld-address.c: Likewise.
16461 * locale/programs/ld-collate.c: Likewise.
16462 * locale/programs/ld-ctype.c: Likewise.
16463 * locale/programs/ld-identification.c: Likewise.
16464 * locale/programs/ld-measurement.c: Likewise.
16465 * locale/programs/ld-messages.c: Likewise.
16466 * locale/programs/ld-monetary.c: Likewise.
16467 * locale/programs/ld-name.c: Likewise.
16468 * locale/programs/ld-numeric.c: Likewise.
16469 * locale/programs/ld-paper.c: Likewise.
16470 * locale/programs/ld-telephone.c: Likewise.
16471 * locale/programs/ld-time.c: Likewise.
16472 * locale/programs/linereader.c: Likewise.
16473 * locale/programs/locale.c: Likewise.
16474 * locale/programs/locarchive.c: Likewise.
16475 * locale/programs/locfile.h: Likewise.
16476 * locale/programs/repertoire.c: Likewise.
16477 * locale/programs/simple-hash.c: Likewise.
16478 * locale/programs/simple-hash.h: Likewise.
16479 * malloc/memusage.c: Likewise.
16480 * malloc/memusagestat.c: Likewise.
16481 * nis/nis_defaults.c: Likewise.
16482 * nis/nis_hash.c: Likewise.
16483 * nis/nis_print.c: Likewise.
16484 * nis/nis_xdr.c: Likewise.
16485 * nscd/connections.c: Likewise.
16486 * nscd/hstcache.c: Likewise.
16487 * nscd/nscd_gethst_r.c: Likewise.
16488 * nscd/nscd_getserv_r.c: Likewise.
16489 * nscd/nscd_helper.c: Likewise.
16490 * nscd/servicescache.c: Likewise.
16491 * nss/makedb.c: Likewise.
16492 * nss/nss_db/db-XXX.c: Likewise.
16493 * nss/nss_db/db-initgroups.c: Likewise.
16494 * nss/nss_db/db-netgrp.c: Likewise.
16495 * nss/nss_files/files-network.c: Likewise.
16496 * nss/nss_files/files-parse.c: Likewise.
16497 * posix/bug-regex5.c: Likewise.
16498 * posix/fnmatch_loop.c: Likewise.
16499 * posix/regcomp.c: Likewise.
16500 * posix/regexec.c: Likewise.
16501 * posix/tst-rfc3484-2.c: Likewise.
16502 * posix/tst-rfc3484-3.c: Likewise.
16503 * posix/tst-rfc3484.c: Likewise.
16504 * resolv/nss_dns/dns-canon.c: Likewise.
16505 * resolv/nss_dns/dns-network.c: Likewise.
16506 * resolv/res_init.c: Likewise.
16507 * resolv/res_mkquery.c: Likewise.
16508 * resolv/tst-aton.c: Likewise.
16509 * stdlib/cxa_atexit.c: Likewise.
16510 * stdlib/cxa_finalize.c: Likewise.
16511 * stdlib/gen-fpioconst.c: Likewise.
16512 * stdlib/strtol_l.c: Likewise.
16513 * string/tst-endian.c: Likewise.
16514 * sunrpc/auth_des.c: Likewise.
16515 * sunrpc/clnt_udp.c: Likewise.
16516 * sunrpc/rtime.c: Likewise.
16517 * sunrpc/svcauth_des.c: Likewise.
16518 * sunrpc/xdr.c: Likewise.
16519 * sunrpc/xdr_intXX_t.c: Likewise.
16520 * sunrpc/xdr_rec.c: Likewise.
16521 * sysdeps/generic/ldconfig.h: Likewise.
16522 * sysdeps/generic/ldsodefs.h: Likewise.
16523 * sysdeps/generic/memusage.h: Likewise.
16524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16527 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16530 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16531 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16532 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16533 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16534 * sysdeps/posix/getaddrinfo.c: Likewise.
16535 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16536 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16537 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16538 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16539 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16540 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16541 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16542 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16543 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16544 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16545 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16546 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16547 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16548 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16549 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16550 * sysdeps/x86_64/dl-tls.h: Likewise.
16551 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16552 * time/alt_digit.c: Likewise.
16553 * time/era.c: Likewise.
16554 * wcsmbs/tst-c16c32-1.c: Likewise.
16555
8c75f674
JM
165562013-05-16 Joseph Myers <joseph@codesourcery.com>
16557
16558 * math/libm-test.inc (struct test_sincos_data): New type.
16559 (RUN_TEST_LOOP_sincos): New macro.
16560 (sincos_test_data): New variable.
16561 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16562
e6e49e59
RH
165632013-05-16 Richard Henderson <rth@redhat.com>
16564
16565 * math/atest-exp2.c (LIMB64): New macro.
16566 (CONSTSZ): New macro.
16567 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16568 (hexdig): Move ...
16569 (print_mpn_fp): ... to function scope.
16570 (read_mpn_hex): Remove.
16571 (get_log2): Remove.
16572 (exp2_mpn): Use mp_log2.
16573 (main): Use mp_exp1.
16574
15c7c18d
JM
165752013-05-16 Joseph Myers <joseph@codesourcery.com>
16576
105a07df
JM
16577 * math/libm-test.inc: Remove comment about not testing "inexact"
16578 exceptions.
16579 (INEXACT_EXCEPTION): New macro.
16580 (NO_INEXACT_EXCEPTION): Likewise.
16581 (INVALID_EXCEPTION_OK): Update value.
16582 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16583 (OVERFLOW_EXCEPTION_OK): Likewise.
16584 (UNDERFLOW_EXCEPTION_OK): Likewise.
16585 (IGNORE_ZERO_INF_SIGN): Likewise.
16586 (ERRNO_UNCHANGED): Likewise.
16587 (ERRNO_EDOM): Likewise.
16588 (ERRNO_ERANGE): Likewise.
16589 (test_exceptions): Handle testing "inexact" exceptions.
16590 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16591 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16592 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16593 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16594 INEXACT_EXCEPTION.
16595 (rint_towardzero_test_data): Likewise.
16596 (rint_downward_test_data): Likewise.
16597 (rint_upward_test_data): Likewise.
16598
e9eee333
JM
16599 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16600 with OVERFLOW_EXCEPTION.
16601 (exp10_test_data): Likewise.
16602 (exp2_test_data): Likewise.
16603 (expm1_test_data): Likewise.
16604 (lgamma_test_data): Likewise.
16605 (pow_test_data): Likewise.
16606 (tgamma_test_data): Likewise.
16607 (yn_test_data): Remove duplicate test of overflow.
16608
1c38ff73
JM
16609 * math/libm-test.inc (struct test_cc_c_data): New type.
16610 (RUN_TEST_LOOP_cc_c): New macro.
16611 (cpow_test_data): New variable.
16612 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16613
15c7c18d
JM
16614 * math/libm-test.inc (struct test_f_L_data): New type.
16615 (RUN_TEST_LOOP_f_L): New macro.
16616 (llrint_test_data): New variable.
16617 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16618 (llrint_tonearest_test_data): New variable.
16619 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16620 (llrint_towardzero_test_data): New variable.
16621 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16622 (llrint_downward_test_data): New variable.
16623 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16624 (llrint_upward_test_data): New variable.
16625 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16626 (llround_test_data): New variable.
16627 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16628
f137ff13
PC
166292013-05-13 Peter Collingbourne <pcc@google.com>
16630
16631 * math/atest-exp2.c (get_log2): Remove const attribute.
16632
3608cb24
JM
166332013-05-15 Joseph Myers <joseph@codesourcery.com>
16634
16635 * math/libm-test.inc (struct test_f_l_data): New type.
16636 (RUN_TEST_LOOP_f_l): New macro.
16637 (lrint_test_data): New variable.
16638 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16639 (lrint_tonearest_test_data): New variable.
16640 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16641 (lrint_towardzero_test_data): New variable.
16642 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16643 (lrint_downward_test_data): New variable.
16644 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16645 (lrint_upward_test_data): New variable.
16646 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16647 (lround_test_data): New variable.
16648 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16649
39b1f617
PC
166502013-05-15 Peter Collingbourne <pcc@google.com>
16651
1deff3dc
PC
16652 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16653 (EXTRACT_WORDS64) Use where appropriate.
16654 (INSERT_WORDS64) Likewise.
16655
791f3ba0
PC
16656 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16657 constraints with x constraints.
16658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16659
39b1f617
PC
16660 * malloc/obstack.c (_obstack_compat): Add initializer.
16661
12fba011
EM
166622013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16663
16664 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16665 si_trapno and add si_addr_lsb to _sifields.sigfault.
16666 (si_trapno): Remove macro.
16667 (si_addr_lsb): Define new macro.
16668 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16669
d369f531
JM
166702013-05-15 Joseph Myers <joseph@codesourcery.com>
16671
b861c6c4
JM
16672 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16673 instead of TEST_f_l.
16674 (llrint_test_tonearest): Likewise.
16675 (llrint_test_towardzero): Likewise.
16676 (llrint_test_downward): Likewise.
16677 (llrint_test_upward): Likewise.
16678 (llround_test): Likewise.
16679
7abeee12
JM
16680 * math/libm-test.inc (struct test_f_i_data): Add comment.
16681 (RUN_TEST_LOOP_f_b): New macro.
16682 (RUN_TEST_LOOP_f_b_tg): Likewise.
16683 (finite_test_data): New variable.
16684 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16685 (isfinite_test_data): New variable.
16686 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16687 (isinf_test_data): New variable.
16688 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16689 (isnan_test_data): New variable.
16690 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16691 (isnormal_test_data): New variable.
16692 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16693 (issignaling_test_data): New variable.
16694 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16695 (signbit_test_data): New variable.
16696 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16697
cbe8c4d3
JM
16698 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16699 with INVALID_EXCEPTION.
16700 (acosh_test_data): Likewise.
16701 (asin_test_data): Likewise.
16702 (atanh_test_data): Likewise.
16703 (fmod_test_data): Likewise.
16704 (log_test_data): Likewise.
16705 (log10_test_data): Likewise.
16706 (log2_test_data): Likewise.
16707 (pow_test_data): Likewise.
16708 (sqrt_test_data): Likewise.
16709 (y0_test_data): Likewise.
16710 (y1_test_data): Likewise.
16711 (yn_test_data): Likewise.
16712
5575c0e5
JM
16713 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16714 function contents.
16715
d369f531
JM
16716 * math/libm-test.inc (struct test_ff_i_data): New type.
16717 (RUN_TEST_LOOP_ff_i_tg): New macro.
16718 (isgreater_test_data): New variable.
16719 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16720 (isgreaterequal_test_data): New variable.
16721 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16722 (isless_test_data): New variable.
16723 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16724 (islessequal_test_data): New variable.
16725 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16726 (islessgreater_test_data): New variable.
16727 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16728 (isunordered_test_data): New variable.
16729 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16730
781fd748
DM
167312013-05-14 David S. Miller <davem@davemloft.net>
16732
16733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16734
87aa21df
JM
167352013-05-14 Joseph Myers <joseph@codesourcery.com>
16736
5e908270
JM
16737 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16738
f71172e5
JM
16739 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16740 extra_test to int.
16741 (struct test_f_i_data): Change type of max_ulp to int.
16742
8cfa635a
JM
16743 * math/libm-test.inc (test_ffI_f1_data): New type.
16744 (RUN_TEST_LOOP_ffI_f1): New macro.
16745 (remquo_test_data): New variable.
16746 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16747
2bcb36b2
JM
16748 * setjmp/tst-setjmp-fp.c: New file.
16749 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16750 (link-libm): New variable.
16751 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16752
acbd839a
JM
16753 * math/libm-test.inc (struct test_f_i_data): New type.
16754 (RUN_TEST_LOOP_f_i): New macro.
16755 (RUN_TEST_LOOP_f_i_tg): Likewise.
16756 (fpclassify_test_data): New variable.
16757 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16758 (ilogb_test_data): New variable.
16759 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16760
e414d745
JM
16761 * math/libm-test.inc (scalbln_test): Correct function name in END
16762 call.
16763
d9c2a0fd
JM
16764 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16765 (RUN_TEST_LOOP_fI_f1): New macro.
16766 (frexp_test_data): New variable.
16767 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16768
9dc9095d
JM
16769 * math/libm-test.inc (struct test_fF_f1_data): New type.
16770 (RUN_TEST_LOOP_fF_f1): New macro.
16771 (modf_test_data): New variable.
16772 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16773
87aa21df
JM
16774 * math/libm-test.inc (struct test_f_f1_data): New type.
16775 (RUN_TEST_LOOP_f_f1): New macro.
16776 (gamma_test_data): New variable.
16777 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16778 (lgamma_test_data): New variable.
16779 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16780
141af660
CD
167812013-05-13 Carlos O'Donell <carlos@redhat.com>
16782
16783 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16784 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16785 (main): Comment "tls" pseudo-hwcap.
16786
6d33265c
JM
167872013-05-13 Joseph Myers <joseph@codesourcery.com>
16788
68fc074c
JM
16789 * math/libm-test.inc (struct test_fl_f_data): New type.
16790 (RUN_TEST_LOOP_fl_f): New variable.
16791 (scalbln_test_data): New variable.
16792 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16793
243216e1
JM
16794 * math/libm-test.inc (struct test_fi_f_data): New type.
16795 (RUN_TEST_LOOP_fi_f): New macro.
16796 (ldexp_test_data): New variable.
16797 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16798 (scalbn_test_data): New variable.
16799 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16800
6a1992e2
JM
16801 * math/libm-test.inc (struct test_c_f_data): New type.
16802 (RUN_TEST_LOOP_c_f): New macro.
16803 (cabs_test_data): New variable.
16804 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16805 (carg_test_data): New variable.
16806 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16807 (cimag_test_data): New variable.
16808 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16809 (creal_test_data): New variable.
16810 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16811
0e400df5
JM
16812 * math/libm-test.inc (struct test_if_f_data): New type.
16813 (RUN_TEST_LOOP_if_f): New macro.
16814 (jn_test_data): New variable.
16815 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16816 (yn_test_data): New variable.
16817 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16818
6d33265c
JM
16819 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16820
f98ece5f
AZ
168212013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16822
16823 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16824 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16825
0f7d347b
SP
168262013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16827
43fe811b
SP
16828 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16829 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16830 (bench-deps): Add bench-timing.h.
16831 * benchtests-bench-skeleton.c: Include bench-timing.h.
16832 (main): Use TIMING_* macros instead of clock_gettime.
16833 * benchtests/bench-timing.h: New file.
16834
0f7d347b
SP
16835 [BZ #14582]
16836 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16837 Renamed from _LIB_VERSION.
16838 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16839
601a3a5f
JM
168402013-05-12 Joseph Myers <joseph@codesourcery.com>
16841
4f184d30
JM
16842 * math/libm-test.inc (struct test_fff_f_data): New type.
16843 (RUN_TEST_LOOP_fff_f): New macro.
16844 (fma_test_data): New variable.
16845 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16846 (fma_towardzero_test_data): New variable.
16847 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16848 (fma_downward_test_data): New variable.
16849 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16850 (fma_upward_test_data): New variable.
16851 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16852
08198877
JM
16853 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16854 (struct test_c_c_data): New type.
16855 (RUN_TEST_LOOP_c_c): New macro.
16856 (cacos_test_data): New variable.
16857 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16858 (cacosh_test_data): New variable.
16859 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16860 (casin_test_data): New variable.
16861 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16862 (casinh_test_data): New variable.
16863 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16864 (catan_test_data): New variable.
16865 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16866 (catanh_test_data): New variable.
16867 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16868 (ccos_test_data): New variable.
16869 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16870 (ccosh_test_data): New variable.
16871 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16872 (cexp_test_data): New variable.
16873 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16874 (clog_test_data): New variable.
16875 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16876 (clog10_test_data): New variable.
16877 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16878 (conj_test_data): New variable.
16879 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16880 (cproj_test_data): New variable.
16881 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16882 (csin_test_data): New variable.
16883 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16884 (csinh_test_data): New variable.
16885 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16886 (csqrt_test_data): New variable.
16887 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16888 (ctan_test_data): New variable.
16889 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16890 (ctan_tonearest_test_data): New variable.
16891 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16892 (ctan_towardzero_test_data): New variable.
16893 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16894 (ctan_downward_test_data): New variable.
16895 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16896 (ctan_upward_test_data): New variable.
16897 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16898 (ctanh_test_data): New variable.
16899 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16900 (ctanh_tonearest_test_data): New variable.
16901 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16902 (ctanh_towardzero_test_data): New variable.
16903 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16904 (ctanh_downward_test_data): New variable.
16905 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16906 (ctanh_upward_test_data): New variable.
16907 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16908 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16909 of BUILD_COMPLEX.
16910
601a3a5f
JM
16911 * math/libm-test.inc (struct test_ff_f_data): New type.
16912 (struct test_ff_f_data_nexttoward): Likewise.
16913 (RUN_TEST_LOOP_2_f): New macro.
16914 (RUN_TEST_LOOP_ff_f): Likewise.
16915 (atan2_test_data): New variable.
16916 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16917 (copysign_test_data): New variable.
16918 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16919 (fdim_test_data): New variable.
16920 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16921 (fmax_test_data): New variable.
16922 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16923 (fmin_test_data): New variable.
16924 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16925 (fmod_test_data): New variable.
16926 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16927 (hypot_test_data): New variable.
16928 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16929 (nextafter_test_data): New variable.
16930 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16931 (nexttoward_test_data): New variable.
16932 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16933 (pow_test_data): New variable.
16934 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16935 (pow_tonearest_test_data): New variable.
16936 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16937 (pow_towardzero_test_data): New variable.
16938 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16939 (pow_downward_test_data): New variable.
16940 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16941 (pow_upward_test_data): New variable.
16942 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16943 (remainder_test_data): New variable.
16944 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16945 (scalb_test_data): New variable.
16946 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16947 * sysdeps/i386/fpu/libm-test-ulps: Update.
16948
74c57478
JM
169492013-05-11 Joseph Myers <joseph@codesourcery.com>
16950
8329e4da
JM
16951 * math/libm-test.inc (fma_test): Use max_value instead of local
16952 variable fltmax.
16953 (nextafter_test): Likewise.
16954
74c57478
JM
16955 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16956 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16957 (acos_downward_test_data): New variable.
16958 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16959 (acos_upward_test_data): New variable.
16960 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16961 (acosh_test_data): New variable.
16962 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16963 (asin_test_data): New variable.
16964 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16965 (asin_tonearest_test_data): New variable.
16966 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16967 (asin_towardzero_test_data): New variable.
16968 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16969 (asin_downward_test_data): New variable.
16970 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16971 (asin_upward_test_data): New variable.
16972 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16973 (asinh_test_data): New variable.
16974 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16975 (atan_test_data): New variable.
16976 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16977 (atanh_test_data): New variable.
16978 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16979 (cbrt_test_data): New variable.
16980 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16981 (ceil_test_data): New variable.
16982 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16983 (cos_test_data): New variable.
16984 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16985 (cos_tonearest_test_data): New variable.
16986 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16987 (cos_towardzero_test_data): New variable.
16988 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16989 (cos_downward_test_data): New variable.
16990 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16991 (cos_upward_test_data): New variable.
16992 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16993 (cosh_test_data): New variable.
16994 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16995 (cosh_tonearest_test_data): New variable.
16996 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16997 (cosh_towardzero_test_data): New variable.
16998 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16999 (cosh_downward_test_data): New variable.
17000 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17001 (cosh_upward_test_data): New variable.
17002 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17003 (erf_test_data): New variable.
17004 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17005 (erfc_test_data): New variable.
17006 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17007 (exp_test_data): New variable.
17008 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17009 (exp_tonearest_test_data): New variable.
17010 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17011 (exp_towardzero_test_data): New variable.
17012 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17013 (exp_downward_test_data): New variable.
17014 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17015 (exp_upward_test_data): New variable.
17016 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17017 (exp10_test_data): New variable.
17018 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17019 (exp2_test_data): New variable.
17020 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17021 (expm1_test_data): New variable.
17022 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17023 (fabs_test_data): New variable.
17024 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17025 (floor_test_data): New variable.
17026 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17027 (j0_test_data): New variable.
17028 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17029 (j1_test_data): New variable.
17030 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17031 (log_test_data): New variable.
17032 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17033 (log10_test_data): New variable.
17034 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17035 (log1p_test_data): New variable.
17036 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17037 (log2_test_data): New variable.
17038 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17039 (logb_test_data): New variable.
17040 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17041 (logb_downward_test_data): New variable.
17042 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17043 (nearbyint_test_data): New variable.
17044 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17045 (rint_test_data): New variable.
17046 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17047 (rint_tonearest_test_data): New variable.
17048 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17049 (rint_towardzero_test_data): New variable.
17050 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17051 (rint_downward_test_data): New variable.
17052 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17053 (rint_upward_test_data): New variable.
17054 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17055 (round_test_data): New variable.
17056 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17057 (sin_test_data): New variable.
17058 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17059 (sin_tonearest_test_data): New variable.
17060 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17061 (sin_towardzero_test_data): New variable.
17062 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17063 (sin_downward_test_data): New variable.
17064 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17065 (sin_upward_test_data): New variable.
17066 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17067 (sinh_test_data): New variable.
17068 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17069 (sinh_tonearest_test_data): New variable.
17070 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17071 (sinh_towardzero_test_data): New variable.
17072 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17073 (sinh_downward_test_data): New variable.
17074 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17075 (sinh_upward_test_data): New variable.
17076 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17077 (sqrt_test_data): New variable.
17078 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17079 (tan_test_data): New variable.
17080 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17081 (tan_tonearest_test_data): New variable.
17082 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17083 (tan_towardzero_test_data): New variable.
17084 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17085 (tan_downward_test_data): New variable.
17086 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17087 (tan_upward_test_data): New variable.
17088 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17089 (tanh_test_data): New variable.
17090 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17091 (tgamma_test_data): New variable.
17092 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17093 (trunc_test_data): New variable.
17094 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17095 (y0_test_data): New variable.
17096 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17097 (y1_test_data): New variable.
17098 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17099 (significand_test_data): New variable.
17100 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17101
7187d844
CG
171022013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17103
17104 [BZ #12387]
17105 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17106
f63fae73
PT
171072013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17108
17109 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17110
8a67a4b3
AJ
171112013-05-10 Andreas Jaeger <aj@suse.de>
17112
17113 [BZ #15448]
17114 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17115 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17116
51df539d
JM
171172013-05-10 Joseph Myers <joseph@codesourcery.com>
17118
17119 * math/gen-libm-test.pl (adjust_arg): New function.
17120 (special_functions): Handle generating output in both functions
17121 and arrays.
17122 (parse_args): Likewise.
17123 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17124 $in_func argument to parse_args.
17125 * math/libm-test.inc (struct test_f_f_data): New type.
17126 (IF_ROUND_INIT_): New macro.
17127 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17128 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17129 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17130 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17131 (ROUND_RESTORE_): Likewise.
17132 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17133 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17134 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17135 (ROUND_RESTORE_FE_UPWARD): Likewise.
17136 (RUN_TEST_LOOP_f_f): New macro.
17137 (acos_test_data): New variable.
17138 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17139 (acos_tonearest_test_data): New variable.
17140 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17141
5c637fe5
SP
171422013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17143
17144 * benchtests/bench-skeleton.c (startup): Fix coding style.
17145
ab2b9461
JM
171462013-05-10 Joseph Myers <joseph@codesourcery.com>
17147
17148 [BZ #6809]
17149 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17150 negative infinity argument.
17151 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17152 negative infinity argument.
17153 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17154 negative infinity argument.
17155 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17156 domain errors.
17157
4c0fe6fe
FW
171582013-05-10 Florian Weimer <fweimer@redhat.com>
17159
17160 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17161 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17162 * iconv/iconv_prog.c (main): Likewise.
17163 * locale/programs/charmap-dir.c (charmap_readdir)
17164 (fopen_uncompressed): Likewise.
17165 * locale/programs/locfile.c (siblings_uncached)
17166 (write_locale_data): Use lstat64 instead of lstat.
17167 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17168 stat.
17169
a3375d29
AJ
171702013-05-10 Andreas Jaeger <aj@suse.de>
17171
17172 [BZ #15395]
17173 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17174 localization.
17175 Include <locale.h>.
17176
36129722
CD
171772013-05-09 Carlos O'Donell <carlos@redhat.com>
17178
17179 * elf/dl-close.c (_dl_close_worker): Add comments.
17180
faa7f811
JM
171812013-05-09 Joseph Myers <joseph@codesourcery.com>
17182
ed41ffef
JM
17183 [BZ #15359]
17184 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17185 high part of pi/2.
17186 (__ieee754_rem_pio2l): Update comments.
17187
d0213cd0
JM
17188 [BZ #15429]
17189 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17190 high part of pi/2.
17191 (__ieee754_rem_pio2l): Update comments.
17192
0d3e777a
JM
17193 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17194 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17195
24f56066
JM
17196 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17197 M_PI_4l.
17198
faa7f811
JM
17199 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17200 (M_PI_34_LOG10El): Likewise.
17201 (M_PI2_LOG10El): Likewise.
17202 (M_PI4_LOG10El): Likewise.
17203 (M_PI_LOG10El): Likewise.
17204
e9a5e0fd
AZ
172052013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17206
17207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17208
d8cd06db
JM
172092013-05-08 Joseph Myers <joseph@codesourcery.com>
17210
a0d9f9d7
JM
17211 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17212 (MINUS_ZERO_INIT): Likewise.
17213 (PLUS_INFTY_INIT): Likewise.
17214 (MINUS_INFTY_INIT): Likewise.
17215 (QNAN_VALUE_INIT): Likewise.
17216 (MAX_VALUE_INIT): Likewise.
17217 (MIN_VALUE_INIT): Likewise.
17218 (MIN_SUBNORM_VALUE_INIT): Likewise.
17219 (plus_zero): Initialize with PLUS_ZERO_INIT.
17220 (minus_zero): Initialize with MINUS_ZERO_INIT.
17221 (plus_infty): Initialize with PLUS_INFTY_INIT.
17222 (minus_infty): Initialize with MINUS_INFTY_INIT.
17223 (qnan_value): Initialize with QNAN_VALUE_INIT.
17224 (max_value): Initialize with MAX_VALUE_INIT.
17225 (min_value): Initialize with MIN_VALUE_INIT.
17226 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17227
ae08db3b
JM
17228 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17229 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17230 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17231 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17232
f44bf14a
JM
17233 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17234 (RUN_TEST_2_f): Likewise.
17235 (RUN_TEST_ff_f): Likewise.
17236 (RUN_TEST_fi_f): Likewise.
17237 (RUN_TEST_fl_f): Likewise.
17238 (RUN_TEST_fff_f): Likewise.
17239 (RUN_TEST_c_f): Likewise.
17240 (RUN_TEST_f_f1): Likewise.
17241 (RUN_TEST_fF_f1): Likewise.
17242 (RUN_TEST_fI_f1): Likewise.
17243 (RUN_TEST_ffI_f1): Likewise.
17244 (RUN_TEST_c_c): Likewise.
17245 (RUN_TEST_cc_c): Likewise.
17246 (RUN_TEST_f_i): Likewise.
17247 (RUN_TEST_f_i_tg): Likewise.
17248 (RUN_TEST_ff_i_tg): Likewise.
17249 (RUN_TEST_f_b): Likewise.
17250 (RUN_TEST_f_b_tg): Likewise.
17251 (RUN_TEST_f_l): Likewise.
17252 (RUN_TEST_f_L): Likewise.
17253 (RUN_TEST_sincos): Likewise.
17254 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17255 whether to show exceptions. Do not include ");\n" in return
17256 value.
17257 (special_functions): Output call to RUN_TEST_sincos instead of
17258 check_float calls. Update calls to new_test.
17259 (parse_args): Output call to single RUN_TEST_* macro instead of
17260 check_* calls and other assignments. Update calls to new_test.
17261
d8cd06db
JM
17262 [BZ #2546]
17263 [BZ #2560]
17264 [BZ #5159]
17265 [BZ #15426]
17266 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17267 input to result for tgamma overflow.
17268 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17269 (gamma_coeff): New variable.
17270 (NCOEFF): New macro.
17271 (gamma_positive): New function.
17272 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17273 underflow here. Use gamma_positive instead of exp (lgamma) for
17274 other arguments.
17275 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17276 (gamma_coeff): New variable.
17277 (NCOEFF): New macro.
17278 (gammaf_positive): New function.
17279 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17280 underflow here. Use gamma_positive instead of exp (lgamma) for
17281 other arguments.
17282 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17283 (gamma_coeff): New variable.
17284 (NCOEFF): New macro.
17285 (gammal_positive): New function.
17286 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17287 underflow here. Use gamma_positive instead of exp (lgamma) for
17288 other arguments.
17289 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17290 (gamma_coeff): New variable.
17291 (NCOEFF): New macro.
17292 (gammal_positive): New function.
17293 (__ieee754_gammal_r): Handle positive infinity, overflow and
17294 underflow here. Handle NaN the same as positive infinity. Remove
17295 check x < 0xffffffff for negative integers. Use gamma_positive
17296 instead of exp (lgamma) for other arguments.
17297 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17298 (gamma_coeff): New variable.
17299 (NCOEFF): New macro.
17300 (gammal_positive): New function.
17301 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17302 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17306 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17307 * sysdeps/generic/math_private.h (__gamma_productf): New
17308 prototype.
17309 (__gamma_product): Likewise.
17310 (__gamma_productl): Likewise.
17311 * math/Makefile (libm-calls): Add gamma_product.
17312 * math/libm-test.inc (tgamma_test): Add more tests.
17313 * sysdeps/i386/fpu/libm-test-ulps: Update.
17314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17315
bb7cf681
OB
173162013-05-08 Ondřej Bílka <neleai@seznam.cz>
17317
17318 * benchtests/bench-skeleton.c (main): Preheat CPU.
17319
ba853947
AJ
173202013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17321
17322 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17323
8347c74c
RM
173242013-05-07 Roland McGrath <roland@hack.frob.com>
17325
17326 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17327 and _dl_skip_args_internal.
17328
e8dd4791
CD
173292013-05-07 Carlos O'Donell <carlos@redhat.com>
17330
17331 * manual/message.texi (Message Translation): Talk about users.
17332 Message to key mapping impacts design.
17333
c7405830
RM
173342013-05-06 Roland McGrath <roland@hack.frob.com>
17335
a9173057
RM
17336 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17337
976e2f03
RM
17338 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17339
9723ffc5
RM
17340 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17341 * sysdeps/wordsize-64/glob64.c: ... here.
17342
962e6658
RM
17343 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17344 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17345 New macros.
17346
ee586a6d
RM
17347 * debug/getlogin_r_chk.c: Moved to ...
17348 * login/getlogin_r_chk.c: ... here.
17349 * debug/Makefile (routines): Move getlogin_r_chk to ...
17350 * login/Makefile (routines): ... here.
17351 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17352 * login/Versions (libc: GLIBC_2.4): ... here.
17353
355f9165
RM
17354 * io/poll.c (__poll): Renamed from poll.
17355 Add libc_hidden_def.
17356 (poll): Define as weak alias.
17357
bd9ffde6
RM
17358 * debug/ptsname_r_chk.c: Moved to ...
17359 * login/ptsname_r_chk.c: ... here.
17360 * debug/Makefile (routines): Move ptsname_r_chk to ...
17361 * login/Makefile (routines): ... here.
17362 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17363 * login/Versions (libc: GLIBC_2.4): ... here.
17364
8fb16a04
RM
17365 * posix/getlogin.c: Moved to ...
17366 * login/getlogin.c: ... here.
17367 * posix/getlogin_r.c: Moved to ...
17368 * login/getlogin_r.c: ... here.
17369 * posix/getlogin_r.c: Moved to ...
17370 * login/getlogin_r.c: ... here.
17371 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17372 * login/Makefile (routines): ... here.
17373 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17374 * login/Versions (libc: GLIBC_2.0): ... here.
17375
b99b892f
RM
17376 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17377 (setrlimit): Define as weak alias.
17378
c7405830
RM
17379 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17380 Call __ names for open, ftruncate, and close.
17381 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17382 (truncate): Define as weak alias.
17383
5bf96de5
JM
173842013-05-06 Joseph Myers <joseph@codesourcery.com>
17385
9ea3513c
JM
17386 * math/gen-libm-test.pl (parse_args): Initialize x before each
17387 test of frexp, modf and remquo.
17388
5bf96de5
JM
17389 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17390 test signgam value.
17391
16e616a7
AZ
173922013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17393
17394 [BZ #15418]
17395 [BZ #15419]
17396 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17397 internal tests.
17398 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17399
d5e82754
RM
174002013-05-06 Roland McGrath <roland@hack.frob.com>
17401
17402 * elf/dl-writev.h: New file.
17403 * elf/dl-misc.c: Include it.
17404 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17405 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17406
a7548d41
JM
174072013-05-04 Joseph Myers <joseph@codesourcery.com>
17408
b7dab1e4
JM
17409 * math/libm-test.inc (noXFails): Remove variable.
17410 (noXPasses): Likewise.
17411 (BUILD_COMPLEX_INT): Remove macro.
17412 (print_screen): Remove xfail argument.
17413 (print_screen_max_error): Likewise.
17414 (update_stats): Likewise.
17415 (print_max_error): Likewise. Update calls to other affected
17416 functions.
17417 (print_complex_max_error): Likewise.
17418 (test_single_exception): Update calls to print_screen.
17419 (test_single_errno): Likewise.
17420 (check_float_internal): Remove xfail argument. Update calls to
17421 other affected functions.
17422 (check_float): Likewise.
17423 (check_complex): Likewise.
17424 (check_int): Likewise.
17425 (check_long): Likewise.
17426 (check_bool): Likewise.
17427 (check_longlong): Likewise.
17428 (main): Don't print noXFails and noXPasses.
17429 * math/gen-libm-test.pl (top level): Don't mention expected
17430 failure handling in comment.
17431 (new_test): Don't handle expected failures.
17432 (parse_args): Don't mention expected failure handling in comment.
17433 (generate_testfile): Don't handle expected failures.
17434 (parse_ulps): Likewise.
17435 (print_ulps_file): Likewise.
17436 (get_failure): Remove function.
17437 (output_test): Don't handle expected failures.
17438 * make/README.libm-test: Don't mention expected failure handling.
17439
a7548d41
JM
17440 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17441 (minus_zero): Likewise.
17442 (plus_infty): Likewise.
17443 (minus_infty): Likewise.
17444 (qnan_value): Likewise.
17445 (max_value): Likewise.
17446 (min_value): Likewise.
17447 (min_subnorm_value): Likewise.
17448 (initialize): Do not initialize those variables dynamically.
17449
60bfd54c
RM
174502013-05-03 Roland McGrath <roland@hack.frob.com>
17451
cc0e6ed8
RM
17452 * io/open.c (__open_2): Moved to ...
17453 * io/open_2.c: ... this new file.
17454 * io/open64.c (__open64_2): Moved to ...
17455 * io/open64_2.c: ... this new file.
17456 * io/openat.c (__openat_2): Moved to ...
17457 * io/openat_2.c: ... this new file.
17458 * io/openat64.c (__openat64_2): Moved to ...
17459 * io/openat64_2.c: ... this new file.
17460 * io/Makefile (routines): Add them.
17461 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17462 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17463 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17464 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17465 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17466 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17467 (__openat64): Add hidden_ver.
17468 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17469 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17470
60bfd54c
RM
17471 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17472 Separately conditionalize setting of GLRO(dl_sysinfo) so
17473 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17474 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17475
83e7640f
AZ
174762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17477
17478 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17480 definition.
17481 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17482 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17483 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17484 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17485 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17486
d5dc2af3
JM
174872013-05-03 Joseph Myers <joseph@codesourcery.com>
17488
c31a5b1e
JM
17489 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17490 test signgam value.
17491
d5dc2af3
JM
17492 * math/libm-test.inc (hypot_test): Do not use
17493 IGNORE_ZERO_INF_SIGN.
17494
164fd39d
AJ
174952013-05-03 Andreas Jaeger <aj@suse.de>
17496
17497 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17498 Linux 3.9.
17499 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17500 (PF_MAX): Adjust for VSOCK change.
17501
8237f48c
AZ
175022013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17503
17504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17505
9df02941
CD
175062013-05-02 Carlos O'Donell <carlos@redhat.com>
17507
17508 [BZ #15264]
17509 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17510 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17511 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17512
d422395e
DM
175132013-05-02 David S. Miller <davem@davemloft.net>
17514
17515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17516
a07c5731
OB
175172013-05-01 Ondřej Bílka <neleai@seznam.cz>
17518
17519 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17520
1324e37f
RM
175212013-05-01 Roland McGrath <roland@hack.frob.com>
17522
17523 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17524
0695940b
RS
175252013-05-01 Richard Smith <richard@metafoo.co.uk>
17526
bb5f27ad 17527 [BZ #14952]
0695940b
RS
17528 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17529 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17530 Use __attribute__ ((__gnu_inline__)).
17531 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17532 Don't use __attribute__ ((__gnu_inline__)).
17533
10de07f5
JM
175342013-05-01 Joseph Myers <joseph@codesourcery.com>
17535
17536 [BZ #15423]
17537 * math/s_catan.c (__catan): Handle small real or imaginary part of
17538 input specially to avoid spurious underflow.
17539 * math/s_catanf.c (__catanf): Likewise.
17540 * math/s_catanh.c (__catanh): Likewise.
17541 * math/s_catanhf.c (__catanhf): Likewise.
17542 * math/s_catanhl.c (__catanhl): Likewise.
17543 * math/s_catanl.c (__catanl): Likewise.
17544 * math/libm-test.inc (catan_test): Add more tests.
17545 (catanh_test): Likewise.
17546 * sysdeps/i386/fpu/libm-test-ulps: Update.
17547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17548
cb4d5414
AZ
175492013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17550
17551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17552
caf84319
JM
175532013-04-30 Joseph Myers <joseph@codesourcery.com>
17554
17555 [BZ #15416]
17556 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17557 accurately for denominator in atan2.
17558 * math/s_catanf.c (__catanf): Likewise.
17559 * math/s_catanh.c (__catanh): Likewise.
17560 * math/s_catanhf.c (__catanhf): Likewise.
17561 * math/s_catanhl.c (__catanhl): Likewise.
17562 * math/s_catanl.c (__catanl): Likewise.
17563 * math/libm-test.inc (catan_test): Add more tests.
17564 (catanh_test): Likewise.
17565 * sysdeps/i386/fpu/libm-test-ulps: Update.
17566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17567
d569c6ee
SP
175682013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17569
6dbe713d
SP
17570 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17571
f0ee064b
SP
17572 * benchtests/Makefile (bench): Remove slow benchmarks.
17573 * benchtests/atan-inputs: Add slow benchmark inputs.
17574 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17575 (BENCH_FUNC): Accept variant offset.
17576 (VARIANT): Define.
17577 * benchtests/bench-skeleton.c (main): Run benchmark for each
17578 variant.
17579 * benchtests/cos-inputs: Add slow benchmark inputs.
17580 * benchtests/exp-inputs: Likewise.
17581 * benchtests/pow-inputs: Likewise.
17582 * benchtests/sin-inputs: Likewise.
17583 * benchtests/slowatan-inputs: Remove.
17584 * benchtests/slowatan.c: Remove.
17585 * benchtests/slowcos-inputs: Remove.
17586 * benchtests/slowcos.c: Remove.
17587 * benchtests/slowexp-inputs: Remove.
17588 * benchtests/slowexp.c: Remove.
17589 * benchtests/slowpow-inputs: Remove.
17590 * benchtests/slowpow.c: Remove.
17591 * benchtests/slowsin-inputs: Remove.
17592 * benchtests/slowsin.c: Remove.
17593 * benchtests/slowtan-inputs: Remove.
17594 * benchtests/slowtan.c: Remove.
17595 * benchtests/tan-inputs: Add slow benchmark inputs.
17596 * scripts/bench.pl: Parse comments and directives.
17597
d569c6ee
SP
17598 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17599 in CPPFLAGS.
17600 ($(objpfx)bench-%.c): Remove *-ITER.
17601 * benchtests/bench-modf.c: Remove definition of ITER.
17602 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17603 (main): Loop for DURATION seconds instead of fixed number of
17604 iterations.
17605 * scripts/bench.pl: Don't expect iterations in parameters.
17606
a6a242fe
RM
176072013-04-29 Roland McGrath <roland@hack.frob.com>
17608
17609 * io/fchdir.c (__fchdir): Renamed from fchdir.
17610 (fchdir): Define as weak alias.
17611
f2da7793
JM
176122013-04-29 Joseph Myers <joseph@codesourcery.com>
17613
17614 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17615 (ERRNO_EDOM): Likewise.
17616 (ERRNO_ERANGE): Likewise.
17617 (noErrnoTests): New variable.
17618 (init_max_error): Set errno to 0.
17619 (test_single_errno): New function.
17620 (test_errno): Likewise.
17621 (check_float_internal): Call test_errno. Set errno to 0.
17622 (check_complex): Refer to errno tests in comment.
17623 (check_int): Call test_errno. Set errno to 0.
17624 (check_long): Likewise.
17625 (check_bool): Likewise.
17626 (check_longlong): Likewise.
17627 (cos_test): Use ERRNO_* flags for errno tests instead of
17628 check_int.
17629 (expm1_test): Likewise.
17630 (fmod_test): Likewise.
17631 (ilogb_test): Likewise.
17632 (lgamma_test): Likewise.
17633 (pow_test): Likewise.
17634 (remainder_test): Likewise.
17635 (sin_test): Likewise.
17636 (tan_test): Likewise.
17637 (yn_test): Likewise.
17638 (initialize): Set errno to 0.
17639 (main): Print number of errno tests.
17640 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17641
b1a36ceb
AJ
176422013-04-29 Andreas Jaeger <aj@suse.de>
17643
c3ed8088
AJ
17644 [BZ #15084]
17645 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17646 and RES_USEVC.
17647
f1a24198
AJ
17648 [BZ #15085]
17649 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17650 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17651 unimplemented.
17652
9ce3b2cb
AJ
17653 [BZ #15380]
17654 * stdlib/random.c (__initstate): Return NULL if
17655 __initstate fails.
17656
f1a24198 17657 [BZ #15086]
b1a36ceb
AJ
17658 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17659 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17660 RES_SNGLKUPREOP.
17661
7e7b6f36
AZ
176622013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17663
17664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17665
4d14f449
JM
176662013-04-29 Joseph Myers <joseph@codesourcery.com>
17667
17668 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17669 of individual tests.
17670 (casin_test): Likewise.
17671 (casinh_test): Likewise.
17672
5b4217d7
JM
176732013-04-27 Joseph Myers <joseph@codesourcery.com>
17674
17675 [BZ #15409]
17676 * math/s_catan.c (__catan): Handle arguments with large real or
17677 imaginary part separately without squaring.
17678 * math/s_catanf.c (__catanf): Likewise.
17679 * math/s_catanh.c (__catanh): Likewise.
17680 * math/s_catanhf.c (__catanhf): Likewise.
17681 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17682 and redefine.
17683 (__catanhl): Handle arguments with large real or imaginary part
17684 separately without squaring.
17685 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17686 and redefine.
17687 (__catanl): Handle arguments with large real or imaginary part
17688 separately without squaring.
17689 * math/libm-test.inc (catan_test): Add more tests.
17690 (catanh_test): Likewise.
17691 * sysdeps/i386/fpu/libm-test-ulps: Update.
17692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17693
4220c3ef
AJ
176942013-04-27 Andreas Jaeger <aj@suse.de>
17695
17696 [BZ #15007]
17697 * stdlib/stdlib.h: Update guards for qecvt.
17698 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17699 <stdlib.h>.
17700
4721b2d1
AM
177012013-04-27 Allan McRae <allan@archlinux.org>
17702
17703 * sysdeps/i386/fpu/libm-test-ulps: Update.
17704
f0302940
JM
177052013-04-26 Joseph Myers <joseph@codesourcery.com>
17706
9457fd95
JM
17707 [BZ #15406]
17708 * math/s_catan.c: Include <float.h>.
17709 (__catan): Ensure underflow exception occurs for underflowed
17710 result.
17711 * math/s_catanf.c: Include <float.h>.
17712 (__catanf): Ensure underflow exception occurs for underflowed
17713 result.
17714 * math/s_catanh.c: Include <float.h>.
17715 (__catanh): Ensure underflow exception occurs for underflowed
17716 result.
17717 * math/s_catanhf.c: Include <float.h>.
17718 (__catanhf): Ensure underflow exception occurs for underflowed
17719 result.
17720 * math/s_catanhl.c: Include <float.h>.
17721 (__catanhl): Ensure underflow exception occurs for underflowed
17722 result.
17723 * math/s_catanl.c: Include <float.h>.
17724 (__catanl): Ensure underflow exception occurs for underflowed
17725 result.
17726 * math/libm-test.inc (catan_test): Add more tests.
17727 (catanh_test): Likewise.
17728
f0302940
JM
17729 [BZ #15405]
17730 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17731 underflowed result.
17732 * math/s_ccoshf.c (__ccoshf): Likewise.
17733 * math/s_ccoshl.c (__ccoshl): Likewise.
17734 * math/s_csin.c (__csin): Likewise.
17735 * math/s_csinf.c (__csinf): Likewise.
17736 * math/s_csinh.c (__csinh): Likewise.
17737 * math/s_csinhf.c (__csinhf): Likewise.
17738 * math/s_csinhl.c (__csinhl): Likewise.
17739 * math/s_csinl.c (__csinl): Likewise.
17740 * math/libm-test.inc (ccos_test): Add more tests.
17741 (ccosh_test): Likewise.
17742 (csin_test): Likewise.
17743 (csinh_test): Likewise.
17744
aa630f59
AZ
177452013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17746
17747 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17748 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17749 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17750 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17751 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17752 powerpc/power5+/fpu folders.
17753 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17754
17755
1b835983
MT
177562013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17757
17758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17759
73709b26
JM
177602013-04-25 Joseph Myers <joseph@codesourcery.com>
17761
17762 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17763 additions to variable.
17764 [$(config-machine) = x86_64] (modules-names): Likewise.
17765 ($(objpfx)tst-audit3): Remove dependency.
17766 ($(objpfx)tst-audit3.out): Likewise.
17767 ($(objpfx)tst-audit4): Likewise.
17768 ($(objpfx)tst-audit4.out): Likewise.
17769 ($(objpfx)tst-audit5): Likewise.
17770 ($(objpfx)tst-audit5.out): Likewise.
17771 ($(objpfx)tst-audit6): Likewise.
17772 ($(objpfx)tst-audit6.out): Likewise.
17773 ($(objpfx)tst-audit7): Likewise.
17774 ($(objpfx)tst-audit7.out): Likewise.
17775 (tst-audit3-ENV): Remove variable.
17776 (tst-audit4-ENV): Likewise.
17777 (tst-audit5-ENV): Likewise.
17778 (tst-audit6-ENV): Likewise.
17779 (tst-audit7-ENV): Likewise.
17780 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17781 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17782 addition to variable.
17783 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17784 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17785 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17786 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17787 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17788 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17789 tst-audit3, tst-audit4 and tst-audit5.
17790 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17791 tst-audit6 and tst-audit7.
17792 [$(subdir) = elf] (modules-names): Add audit modules for those
17793 tests.
17794 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17795 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17796 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17797 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17798 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17799 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17800 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17801 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17802 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17803 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17804 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17805 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17806 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17807 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17808 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17809 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17810 Likewise.
17811 [$(subdir) = elf && $(config-cflags-avx) = yes]
17812 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17813 [$(subdir) = elf && $(config-cflags-avx) = yes]
17814 (CFLAGS-tst-auditmod4a.c): Likewise.
17815 [$(subdir) = elf && $(config-cflags-avx) = yes]
17816 (CFLAGS-tst-auditmod4b.c): Likewise.
17817 [$(subdir) = elf && $(config-cflags-avx) = yes]
17818 (CFLAGS-tst-auditmod6b.c): Likewise.
17819 [$(subdir) = elf && $(config-cflags-avx) = yes]
17820 (CFLAGS-tst-auditmod6c.c): Likewise.
17821 [$(subdir) = elf && $(config-cflags-avx) = yes]
17822 (CFLAGS-tst-auditmod7b.c): Likewise.
17823 * elf/tst-audit3.c: Move to ...
17824 * sysdeps/x86_64/tst-audit3.c: ... here.
17825 * elf/tst-audit4.c: Move to ...
17826 * sysdeps/x86_64/tst-audit4.c: ... here.
17827 * elf/tst-audit5.c: Move to ...
17828 * sysdeps/x86_64/tst-audit5.c: ... here.
17829 * elf/tst-audit6.c: Move to ...
17830 * sysdeps/x86_64/tst-audit6.c: ... here.
17831 * elf/tst-audit7.c: Move to ...
17832 * sysdeps/x86_64/tst-audit7.c: ... here.
17833 * elf/tst-auditmod3a.c: Move to ...
17834 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17835 * elf/tst-auditmod3b.c: Move to ...
17836 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17837 * elf/tst-auditmod4a.c: Move to ...
17838 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17839 * elf/tst-auditmod4b.c: Move to ...
17840 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17841 * elf/tst-auditmod5a.c: Move to ...
17842 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17843 * elf/tst-auditmod5b.c: Move to ...
17844 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17845 * elf/tst-auditmod6a.c: Move to ...
17846 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17847 * elf/tst-auditmod6b.c: Move to ...
17848 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17849 * elf/tst-auditmod6c.c: Move to ...
17850 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17851 * elf/tst-auditmod7a.c: Move to ...
17852 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17853 * elf/tst-auditmod7b.c: Move to ...
17854 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17855
1ef74943
PP
178562013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17857
17858 [BZ #15366]
17859 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17860 define unconditionally.
17861 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17862 define unconditionally.
17863 (INT8_C, INT16_C, etc.): Likewise.
17864
93fd48c5
MR
178652013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17866
ae9552cf
MR
17867 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17868 __ehdr_start with hidden visibility.
17869
93fd48c5
MR
17870 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17871
418601aa
CD
178722013-04-24 Carlos O'Donell <carlos@redhat.com>
17873
17874 * math/libm-test.inc (cos_test): Use accurate hex constants.
17875 (sincost_test): Likewise.
17876
2f38fbfe
JM
178772013-04-24 Joseph Myers <joseph@codesourcery.com>
17878
5e221800
JM
17879 * math/libm-test.inc (catan_test): Add more tests.
17880 (catanh_test): Likewise.
17881
77f143fd
JM
17882 * math/s_catanf.c (__catanf): Use suffixed floating-point
17883 constants.
17884 * math/s_catanhf.c (__catanhf): Likewise.
17885 * math/s_catanhl.c (__catanhl): Likewise.
17886 * math/s_catanl.c (__catanl): Likewise.
17887
2f38fbfe
JM
17888 [BZ #15394]
17889 * math/s_catan.c (__catan): Calculate imaginary part of result
17890 with log1p not log unless computing log of number close to 0.
17891 * math/s_catanf.c (__catanf): Likewise.
17892 * math/s_catanl.c (__catanl): Likewise.
17893 * math/s_catanh.c (__catanh): Calculate real part of result with
17894 log1p not log unless computing log of number close to 0.
17895 * math/s_catanhf.c (__catanhf): Likewise.
17896 * math/s_catanhl.c (__catanhl): Likewise.
17897 * math/libm-test.inc (catan_test): Add more tests.
17898 (catanh_test): Likewise.
17899 * sysdeps/i386/fpu/libm-test-ulps: Update.
17900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17901
45d69176
SP
179022013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17903
17904 * benchtests/Makefile: Mention files in which fast and slow
17905 paths of math functions are implemented.
17906
87f51853
RM
179072013-04-23 Roland McGrath <roland@hack.frob.com>
17908
17909 * sysdeps/posix/timespec_get.c: New file.
17910
3c026539
AZ
179112013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17912
17913 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17914 POWER.
17915 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17916 for POWER.
17917 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17918 powerpc/power5/fpu folders.
17919 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17920 * benchtests/Makefile: Add modf testcase.
17921 * benchtests/bench-modf.c: New file: Benchmark test for mo
17922
ff491d14
SP
179232013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17924
17925 [BZ #14888]
17926 * time/Makefile (tests): Add tst-strptime-whitespace.
17927 * time/strptime_l.c (get_number): Use ISSPACE.
17928 (__strptime_internal): Likewise.
17929 * time/tst-strptime-whitespace.c: New test case.
17930
7ed3f4e8
AS
179312013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17932
17933 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17934 member.
17935 (_nss_files_init): Set it here.
17936
5c95f7b6
HC
179372013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17938
17939 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17940 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17941 unsigned.
17942
d34c9158
JBG
179432013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17944
17945 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17946
2169712d
SP
179472013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17948
17949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17950 size just once.
17951
29c5de99
DM
179522013-04-21 David S. Miller <davem@davemloft.net>
17953
17954 * po/ru.po: Update Russion translation from translation project.
17955
ccdad15d
AC
179562013-04-17 Adam Conrad <adconrad@0c3.net>
17957
17958 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17959 and setfsgid.
17960
0f122b8d
CD
179612013-04-17 Carlos O'Donell <carlos@redhat.com>
17962
5c5b07da 17963 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17964 * configure: Regenerate.
5c5b07da 17965 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17966 Add example to error message.
17967 * sysdeps/i386/configure: Regenerate.
17968
037714dd
SP
179692013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17970
17971 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17972 slowtan.
17973 * benchtests/cos-inputs: New file.
17974 * benchtests/slowcos-inputs: New file.
17975 * benchtests/slowcos.c: New file.
17976 * benchtests/slowtan-inputs: New file.
17977 * benchtests/slowtan.c: New file.
17978 * benchtests/tan-inputs: New file.
17979
e913141d
RM
179802013-04-16 Roland McGrath <roland@hack.frob.com>
17981
17982 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17983 considered kosher.
17984
a2964074
SP
179852013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17986
4856bcd2
SP
17987 * benchtests/Makefile: Include cppflags-iterator.mk to add
17988 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17989
a2964074
SP
17990 * Makefile.in (bench-clean): New target.
17991 * benchtests/Makefile (bench-clean): Likewise.
17992
9fbf9aca
DH
179932013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17994
17995 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17996
207d1e2a
TS
179972013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17998
17999 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18000
306dfba9
AS
180012013-04-15 Andreas Schwab <schwab@suse.de>
18002
18003 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18004 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18005 * nscd/pwdcache.c (cache_addpw): Likewise.
18006 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18007 more than recsize.
18008
206a6699
SP
180092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18010
18011 * benchtests/Makefile (bench): Write all output to
18012 bench-out.tmp together.
18013
0582f6b3
AS
180142013-04-15 Andreas Schwab <schwab@suse.de>
18015
18016 * nscd/nscd.c (main): Don't fork again after closing files.
18017
acb4325f
SP
180182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18019
5cb26d0a
SP
18020 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18021
acb4325f
SP
18022 * benchtests/Rules (bench-deps): Collect dependencies into a
18023 single variable. Add Makefile to dependencies.
18024 ($(objpfx)bench-%.c): Depend on bench-deps.
18025
47792506
RM
180262013-04-12 Roland McGrath <roland@hack.frob.com>
18027 Xavier Roche <roche+kml2@exalead.com>
18028
18029 [BZ #15361]
18030 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18031 just that it's a file descriptor.
18032 * manual/llio.texi (Synchronizing AIO Operations): Update description
18033 for EBADF error from aio_fsync.
18034
8fc1bee5
SP
180352013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18036
18037 * Rules (bench): Move target definition...
18038 * benchtests/Makefile: ... here.
18039
aba5e333
CD
180402013-04-11 Carlos O'Donell <carlos@redhat.com>
18041
18042 * math/libm-test.inc (cos_test): Fix PI/2 test.
18043 (sincos_test): Likewise.
18044 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18045 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18046
273cdee8
AS
180472013-04-11 Andreas Schwab <schwab@suse.de>
18048
6ecec3b6
AS
18049 [BZ #13988]
18050 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18051 accept exponent character only when digits were seen.
18052 * stdio-common/Makefile (tests): Add bug26.
18053 * stdio-common/bug26.c: New file.
18054
273cdee8
AS
18055 [BZ #14293]
18056 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18057 non-freeable.
18058
8da491f5
SP
180592013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18060
01dc6df9
SP
18061 * Makeconfig (rtld-prefix): Define built linker prefix.
18062 * Rules (run-bench): Use it.
18063 * math/Makefile (run-regen-ulps): Likewise.
18064
8da491f5
SP
18065 * Rules (bench): Remove eval.
18066
abe7f530
SP
180672013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18068 Roland McGrath <roland@hack.frob.com>
18069 Ondrej Bilka <neleai@seznam.cz>
18070
18071 [BZ #15346]
18072 * time/getdate.c: Include ctype.h and alloca.h.
18073 (__getdate_r): Trim leading and trailing spaces of input.
18074 * time/tst-getdate.c (tests): Add tests with leading and
18075 trailing spaces.
18076
61c23e62
RM
180772013-04-08 Roland McGrath <roland@hack.frob.com>
18078
18079 [BZ #14280]
18080 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18081 when computing value.
18082
7208a313
CD
180832013-04-06 Carlos O'Donell <carlos@redhat.com>
18084
085b2d41
CD
18085 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18086 Use testrun.sh to run libm tests.
18087
7208a313
CD
18088 [BZ #15309]
18089 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18090
872c0acd
MM
180912013-04-06 Marko Myllynen <myllynen@redhat.com>
18092
18093 [BZ #15264]
18094 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18095
26510bdd
CD
180962013-04-06 Carlos O'Donell <carlos@redhat.com>
18097
18098 * Makefile.in (regen-ulps): New target.
18099 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18100 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18101 [ifneq (no,$(PERL)] (regen-ulps): New target.
18102 [ifeq (no,$(PERL)] (regen-ulps): New target.
18103 * math/libm-test.inc (ulps_file_name): Define.
18104 (output_dir): New variable.
18105 (options): Add "output-dir" option.
18106 (parse_opt): Handle 'o' case.
18107 (main): If output_dir is non-NULL use it as a prefix
18108 otherwise use "".
18109 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18110
a01f19c8
CD
181112013-04-06 Carlos O'Donell <carlos@redhat.com>
18112
18113 [BZ #10060, #10062]
18114 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18115 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18116 fail configure if __sync_val_compare_and_swap is not inlined.
18117 * sysdeps/i386/configure: Regenerate.
18118 * configure.in: Build for i686 when configured for i386.
18119 * configure: Regenerate.
18120 * README: Remove i386 reference.
18121
b7a329a5
CD
181222013-04-06 Carlos O'Donell <carlos@redhat.com>
18123
18124 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18125 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18126
bf0f50df
TS
181272013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18128
ee091edf
TS
18129 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18130 (lmsnanval): New variables.
18131 (F): Add conversion tests.
18132 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18133 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18134
a8b792d6
TS
18135 * stdio-common/tstdiomisc.c (F): Properly collect individual
18136 tests' results.
18137
a1cbf437
TS
18138 [BZ #14686, #15336]
18139 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18140 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18141 Instead, use input NaN values or generate a qNaN by arithmetic
18142 operation. Also fix bugs to comply with the standard.
18143 * math/libm-test.inc (remainder_test): Add more tests.
18144
8b43a0c9
TS
18145 [BZ #15335, #15342]
18146 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18148 input NaN values or generate a qNaN by arithmetic operation.
18149
d91da4ce
TS
18150 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18151 unreachable code.
18152
bf0f50df
TS
18153 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18154 definitions.
18155
05e166c8
JM
181562013-04-03 Joseph Myers <joseph@codesourcery.com>
18157
18158 [BZ #14478]
18159 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18160 underflowed result.
18161 * math/s_cexpf.c (__cexpf): Likewise.
18162 * math/s_cexpl.c (__cexpl): Likewise.
18163 * math/libm-test.inc (cexp_test): Add more tests.
18164
1cef1b19
AS
181652013-04-03 Andreas Schwab <schwab@suse.de>
18166
18167 [BZ #15330]
18168 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18169 order arrays from heap if bigger than alloca cutoff.
18170
74d87055
TS
181712013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18172
18173 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18174 (SNAN_TESTS_double): Refer to GCC PR56831.
18175 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18176 GCC PR56828.
18177
d755bba4
SP
181782013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18179
90d5d5bb
SP
18180 * Rules (bench): Move bench.out after the run is complete.
18181
73e0cd5d
SP
18182 * Rules (bench): Echo currently running benchmark.
18183
64aabd4b
SP
18184 * benchtests/Makefile (bench): Add atan and slowatan.
18185 * benchtests/atan-inputs: New file.
18186 * benchtests/slowatan-inputs: New file.
18187 * benchtests/slowatan.c: New file.
18188
c871eccd
SP
18189 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18191 its value.
18192
d755bba4
SP
18193 [BZ #15305]
18194 * sysdeps/unix/sysv/linux/kernel-features.h
18195 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18196 __ASSUME_XFS_RESTRICTED_CHOWN.
18197 * sysdeps/unix/sysv/linux/pathconf.c
18198 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18199 Save and restore errno.
18200
52ce4860
JM
182012013-04-02 Joseph Myers <joseph@codesourcery.com>
18202
18203 [BZ #15327]
18204 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18205 arguments using __kernel_casinh.
18206 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18207 arguments using __kernel_casinhf.
18208 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18209 arguments using __kernel_casinhl.
18210 * math/libm-test.inc (cacosh_test): Add more tests.
18211 * sysdeps/i386/fpu/libm-test-ulps: Update.
18212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18213
81f311c2
SP
182142013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18215
e7906a47
SP
18216 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18218
92e3664b
SP
18219 * bench/Makefile (bench): Add sin and slowsin.
18220 * benchtests/sin-inputs: New file.
18221 * benchtests/slowsin-inputs: New file.
18222 * benchtests/slowsin.c: New file.
18223
81f311c2
SP
18224 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18225 (bench): Add slowexp and slowpow.
18226 (exp-ITER): Increase iterations.
18227 (pow-ITER): Likewise.
18228 * benchtests/exp-inputs: Change input.
18229 * benchtests/pow-inputs: Likewise.
18230 * benchtests/slowexp-inputs: New file.
18231 * benchtests/slowexp.c: New file.
18232 * benchtests/slowpow-inputs: New file.
18233 * benchtests/slowpow.c: New file.
18234
ab0f1aa9
AZ
182352013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18236
18237 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18238 instructions.
18239 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18240 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18241 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18242 * benchtests/Makefile: Add rint benchtest.
18243 * benchtests/rint-inputs: Input for rint benchtest.
18244
57267616
TS
182452013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18246
18247 * Versions.def (libm): Add GLIBC_2.18.
18248 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18249 hidden libm prototypes.
18250 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18251 * math/Makefile (libm-calls): Add s_issignaling.
18252 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18253 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18254 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18255 declaration.
18256 * math/math.h [__USE_GNU] (issignaling): New macro.
18257 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18258 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18259 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18263 * manual/arith.texi (issignaling): New section.
18264 * manual/libm-err-tab.pl (@all_functions): Update comment.
18265 * math/gen-libm-test.pl (parse_args): Apply special handling for
18266 issignaling.
18267 * math/libm-test.inc (print_float, issignaling_test): New
18268 functions.
18269 (check_float_internal): Add issignaling checks.
18270 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18271 default definition.
18272 * sysdeps/powerpc/math-tests.h: New file.
18273 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18274 tests.
18275 * math/test-snan.c (TEST_FUNC): Likewise.
18276
6142896d
DM
182772013-03-30 David S. Miller <davem@davemloft.net>
18278
18279 * po/de.po: Update from translation team.
18280
ccc8cadf
JM
182812013-03-30 Joseph Myers <joseph@codesourcery.com>
18282
18283 [BZ #10357]
18284 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18285 imaginary part less than 1.0 and real part less than 0.5
18286 specially.
18287 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18288 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18289 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18290 (cacos_test): Add more tests.
18291 (casin_test): Likewise.
18292 (casinh_test): Likewise.
18293 * sysdeps/i386/fpu/libm-test-ulps: Update.
18294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18295
0f6a8d4b
SP
182962013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18297
0d1029de
SP
18298 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18299 ONE with its value.
18300
c2d94018
SP
18301 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18302 (__pow_mp): Replace ONE and MONE with their values.
18303 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18305 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18306 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18307 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18308 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18309
27ec37f1
SP
18310 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18311
a64d7e0e
SP
18312 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18313 (__pow_mp): Replace ZERO and MZERO with their values.
18314 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18315 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18316 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18318 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18319 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18320 (__sqr): Likewise.
18321
d26dd3eb
SP
18322 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18323
0f6a8d4b
SP
18324 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18325
e57b0c61
RM
183262013-03-28 Roland McGrath <roland@hack.frob.com>
18327
18328 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18329 Declare with __attribute__ ((weak)).
18330 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18331 Call __call_tls_dtors only if it's not NULL.
18332
356b3480
RM
183332013-03-28 Roland McGrath <roland@hack.frob.com>
18334
288f7d79
RM
18335 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18336 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18337 magic __ehdr_start linker symbol if it's defined.
18338 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18339 them up here if it was already done.
18340
dc0a0263
RM
18341 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18342 (_dl_aux_init): Use const in cast when setting it.
18343 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18344 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18345 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18346
3d3436ae
RM
18347 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18348 Declare them here.
18349 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18350 * csu/libc-tls.c: Nor here.
18351 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18352
356b3480
RM
18353 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18354 (__libc_message): Never call vsyslog.
18355
b0f1246a
AM
183562013-03-28 Alan Modra <amodra@gmail.com>
18357
18358 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18359 Define as empty.
18360 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18361 Likewise.
18362
fbbe2b9a
AZ
183632013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18364
18365 [BZ #15214]
18366 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18367 underflow.
18368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18369
1728ab37
SP
183702013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18371
7a86be6e
SP
18372 [BZ #15304]
18373 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18374 Don't add gid passed as argument.
18375
1728ab37
SP
18376 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18377
3a7182a1
JM
183782013-03-27 Joseph Myers <joseph@codesourcery.com>
18379
18380 [BZ #15307]
18381 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18382 imaginary part between 1.0 and 1.5 and real part less than 0.5
18383 specially.
18384 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18385 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18386 * math/libm-test.inc (cacos_test): Add more tests.
18387 (casin_test): Likewise.
18388 (casinh_test): Likewise.
18389 * sysdeps/i386/fpu/libm-test-ulps: Update.
18390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18391
6f2e90e7
SP
183922013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18393
5739f705
SP
18394 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18395 constants.
18396 (norm): Likewise.
18397 (denorm): Likewise.
18398 (__dbl_mp): Likewise.
18399 (add_magnitudes): Likewise.
18400 (sub_magnitudes): Likewise.
18401 (__add): Likewise.
18402 (__sub): Likewise.
18403 (__mul): Likewise.
18404 (__sqr): Likewise.
18405 (__inv): Likewise.
18406 (__dvd): Likewise.
18407
e375e83d
SP
18408 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18409 commented code.
18410 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18411 (__dubcos): Likewise.
18412 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18413 (__ieee754_acos): Likewise.
18414 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18415 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18416 (__exp1): Likewise.
18417 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18418 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18419 (log1): Likewise.
18420 (my_log2): Likewise.
18421 (checkint): Likewise.
18422 * sysdeps/ieee754/dbl-64/e_remainder.c
18423 (__ieee754_remainder): Likewise.
18424 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18425 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18426 (bsloww): Likewise.
18427 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18428
6f2e90e7
SP
18429 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18430 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18431 MANTISSA_STORE_T to store computations on mantissa. Use
18432 macros for rounding and division.
18433 (denorm): Likewise.
18434 (__dbl_mp): Likewise.
18435 (add_magnitudes): Likewise.
18436 (sub_magnitudes): Likewise.
18437 (__mul): Likewise.
18438 (__sqr): Likewise.
18439 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18440 powers of two in terms of TWOPOW macro.
18441 (mp_no): Make type of mantissa as MANTISSA_T.
18442 [!RADIXI]: Define RADIXI.
18443 [!TWO52]: Define TWO52.
18444 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18445
fce14d4e
AZ
184462013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18447
18448 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18449 llroundl symbol when building for PPC32.
18450
9ad027fb
MW
184512013-03-24 Mark H Weaver <mhw@netris.org>
18452
18453 * manual/arith.texi (Normalization Functions): Fix prototypes for
18454 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18455
e42a38dd
AZ
184562013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18457
18458 [BZ #13889]
18459 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18460 high value to check if expl overflow.
18461 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18462 to check for underflow and overflow.
18463 * math/libm-test.inc: Add exp test.
18464
2e0fb521
DL
184652013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18466
18467 [BZ #11120]
18468 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18469 with NOT_IN_libc.
18470
b5784d95
AZ
184712013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18472
18473 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18474 symbol.
18475
5aa4a1a1
TS
184762013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18477
bdef0be7
TS
18478 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18479 wrap blocks consisting of several statements.
18480
5aa4a1a1
TS
18481 * sysdeps/generic/math-tests.h: New file.
18482 * sysdeps/i386/fpu/math-tests.h: Likewise.
18483 * math/test-snan.c: Include it.
18484 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18485
98c48fe5
JM
184862013-03-21 Joseph Myers <joseph@codesourcery.com>
18487
18488 [BZ #15285]
18489 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18490 (__ieee754_j0l): Do not improve calculations using cos of twice
18491 input for inputs above LDBL_MAX / 2.0L.
18492 (__ieee754_y0l): Likewise.
18493 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18494 (__ieee754_j1l): Do not improve calculations using cos of twice
18495 input for inputs above LDBL_MAX / 2.0L.
18496 (__ieee754_y1l): Likewise.
18497 * math/libm-test.inc (j0_test): Add another test.
18498 (j1_test): Likewise.
18499 (y0_test): Likewise.
18500 (y1_test): Likewise.
18501 * sysdeps/i386/fpu/libm-test-ulps: Update.
18502
3775a8bc
SP
185032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18504
18505 * Rules ($(objpfx)bench-%.c): Include code from a C source
18506 file.
18507
0a1b2ae6
JM
185082013-03-21 Joseph Myers <joseph@codesourcery.com>
18509
18510 [BZ #15287]
18511 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18512 imaginary part 1.0 and real part less than 0.5 specially.
18513 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18514 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18515 * math/libm-test.inc (cacos_test): Add more tests.
18516 (casin_test): Likewise.
18517 (casinh_test): Likewise.
18518 * sysdeps/i386/fpu/libm-test-ulps: Update.
18519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18520
b33d4ce4
SP
185212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18522
18523 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18524 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18525
bef0b507
JM
185262013-03-20 Joseph Myers <joseph@codesourcery.com>
18527
18528 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18529 * config.make.in (config-cflags-sse4): Remove variable.
18530 (config-cflags-avx): Likewise.
18531 (config-cflags-sse2avx): Likewise.
18532 (config-cflags-novzeroupper): Likewise.
18533 (config-asflags-i686): Likewise.
18534 (have-mfma4): Likewise.
18535 (have-as-vis3): Likewise.
18536 (MIG): Likewise.
18537 * configure.in (MIG): Do not AC_SUBST.
18538 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18539 (libc_cv_cc_sse4): Do not AC_SUBST.
18540 (libc_cv_cc_avx): Likewise.
18541 (libc_cv_cc_sse2avx): Likewise.
18542 (libc_cv_cc_novzeroupper): Likewise.
18543 (libc_cv_cc_fma4): Likewise.
18544 (libc_cv_as_i686): Likewise.
18545 (libc_cv_sparc_as_vis3): Likewise.
18546 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18547 LIBC_CONFIG_VAR.
18548 (config-asflags-i686): Likewise.
18549 (config-cflags-avx): Likewise.
18550 (config-cflags-sse2avx): Likewise.
18551 (have-mfma4): Likewise.
18552 (config-cflags-novzeroupper): Likewise.
18553 * sysdeps/mach/configure.in (MIG): Likewise.
18554 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18555 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18556 LIBC_CONFIG_VAR.
18557 (config-cflags-avx): Likewise.
18558 (config-cflags-sse2avx): Likewise.
18559 (have-mfma4): Likewise.
18560 (config-cflags-novzeroupper): Likewise.
18561 * configure: Regenerated.
18562 * sysdeps/i386/configure: Likewise.
18563 * sysdeps/mach/configure: Likewise.
18564 * sysdeps/sparc/configure: Likewise.
18565 * sysdeps/x86_64/configure: Likewise.
18566
912cc4b3
RM
185672013-03-20 Roland McGrath <roland@hack.frob.com>
18568
18569 [BZ #14812]
18570 * locale/programs/localedef.c (options): Put N_ translation marker
18571 on argument names, not just descriptions.
18572
04eed2b0
MS
185732013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18574
18575 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18576
a065ceff
OB
185772013-03-20 Ondřej Bílka <neleai@seznam.cz>
18578
9bb2a810 18579 [BZ #14176]
a065ceff
OB
18580 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18581
a600e5ce
RM
185822013-03-19 Roland McGrath <roland@hack.frob.com>
18583
18584 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18585 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18586 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18587 [!BEFORE_ABORT] (before_abort): New function.
18588 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18589 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18590 (writev_for_fatal): New function.
18591 (WRITEV_FOR_FATAL): New macro; call that.
18592 (backtrace_and_maps): New function.
18593 (BEFORE_ABORT): New macro; call that.
18594 (struct str_list): Type removed.
18595 (__libc_message, __libc_fatal): Functions removed.
18596 Include <sysdeps/posix/libc_fatal.c> instead.
18597
6b18bea6
JM
185982013-03-19 Joseph Myers <joseph@codesourcery.com>
18599
18600 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18601 constants.
18602 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18603 double constants.
18604
aaa8cb4b
AS
186052013-03-19 Andreas Schwab <schwab@suse.de>
18606
44673770
AS
18607 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18608 * sysdeps/gnu/configure: Regenerate.
18609
aaa8cb4b
AS
18610 * configure.in: Substitute libc_cv_rtlddir.
18611 * configure: Regenerate.
18612 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18613 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18614 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18615 * elf/Makefile (install-others, CFLAGS-interp.c)
18616 (ldso_install, common-ldd-rewrite): Likewise.
18617 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18618 $(inst_slibdir)/$(rtld-installed-name).
18619 * scripts/rellns-sh: Add -p option.
18620 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18621 for source.
18622
d3cfc668
SP
186232013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18624
18625 * manual/nptl.texi: Renamed to ...
18626 * manual/threads.texi: ... this.
18627 * manual/Makefile (chapters): Update.
18628
0e2b9cdd
RM
186292013-03-18 Roland McGrath <roland@hack.frob.com>
18630
18631 [BZ #14812]
18632 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18633 on argument names, not just descriptions.
0e2b9cdd
RM
18634 * malloc/memusagestat.c (options): Likewise.
18635 * nss/getent.c (options): Likewise.
63270c24
RM
18636
186372013-03-18 Benno Schulenberg <bensberg@justemail.net>
18638
18639 [BZ #14812]
18640 * iconv/iconv_prog.c (options): Put N_ translation marker
18641 on argument names, not just descriptions.
18642 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18643
b2e1393c
OB
186442013-03-18 Ondrej Bilka <neleai@seznam.cz>
18645
18646 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18647 implementation which is faster on all x86_64 architectures.
18648 Tested on AMD, Intel Nehalem, SNB, IVB.
18649 * sysdeps/x86_64/strnlen.S: Likewise.
18650
18651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18652 Remove all multiarch strlen and strnlen versions.
18653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18654 Remove strlen and strnlen related parts.
18655
18656 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18657 Inline strlen part.
18658 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18659
18660 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18661 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18662 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18663 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18664 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18665 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18666
ec4ff04d
CD
186672013-03-17 Carlos O'Donell <carlos@redhat.com>
18668
18669 * manual/memory.texi (Malloc Tunable Parameters):
18670 Sort parameters alphabetically. Add comments for missing entries.
18671
cd18e90a
DM
186722013-03-17 David S. Miller <davem@davemloft.net>
18673
18674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18675
2a185d32
JM
186762013-03-16 Joseph Myers <joseph@codesourcery.com>
18677
d2f9799e
JM
18678 [BZ #15283]
18679 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18680 for arguments at most half maximum finite value.
18681 * math/libm-test.inc (j0_test): Add more tests.
18682 (j1_test): Likewise.
18683 (y0_test): Likewise.
18684 (y1_test): Likewise.
18685 * sysdeps/i386/fpu/libm-test-ulps: Update.
18686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687
2a185d32
JM
18688 [BZ #14155]
18689 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18690 1 / x and functions P and Q for arguments above 0x1p256L.
18691 (__ieee754_y0l): Likewise.
18692 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18693 (__ieee754_y1l): Likewise.
18694 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18695 (j1_test): Likewise.
18696 (y0_test): Likewise.
18697 (y1_test): Likewise.
18698
6cbec759
TS
186992013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18700
18701 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18702 variable.
18703
bc16e260
RM
187042013-03-15 Roland McGrath <roland@hack.frob.com>
18705
aefc9b8c
RM
18706 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18707 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18708 zero since it's initialized to EXEC_PAGESIZE.
18709
bc16e260
RM
18710 * sysdeps/unix/sysv/linux/ldsodefs.h
18711 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18712 * sysdeps/generic/ldsodefs.h: ... here.
18713
a57da955
TS
187142013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18715
af00a34d
TS
18716 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18717
495ded2c
TS
18718 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18719 math/test-snan.c.
18720 * math/test-snan.c: Renamed from
18721 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18722 * math/Makefile (tests): Add test-snan.
18723 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18724 test-powerpc-snan.
18725
777b0332
TS
18726 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18727 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18728 functions.
18729 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18730 __builtin_nan family of functions.
18731 * math/libm-test.inc (initialize): Initialize qnan_value with
18732 __builtin_nan family of functions.
18733 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18734 Remove variables.
18735 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18736 Remove functions.
18737 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18738 storage class. Initialize qNaN_var and sNaN_var with
18739 __builtin_nan and __builtin_nans families of functions,
18740 respectively.
18741
64d063b8
TS
18742 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18743 (sqrt_test): Remove duplicate test with qNaN input.
18744 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18745 (round_test, signbit_test, significand_test): Note missing +/-Inf
18746 as well as qNaN tests.
18747
67e971f1
TS
18748 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18749 qNaN_var. Fix a few strings, too.
18750 * math/libm-test.inc (nan_value): Rename to qnan_value.
18751 * math/gen-libm-test.pl (%beautify): Adjust to that.
18752 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18753 * math/test-misc.c (main): Likewise.
18754 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18755 to __qnan_bytes, and __qnan_union, respectively.
18756 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18757 Likewise.
18758 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18759 and lqnanval, respectively.
18760 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18761 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18762 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18763 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18764
64487e12
TS
18765 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18766 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18767 doubles.
18768
e015e27b
TS
18769 * math/test-misc.c (main): Fix copy'n'pastos.
18770 * misc/tst-efgcvt.c (special): Likewise.
18771
a57da955
TS
18772 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18773 Remove declarations.
18774
1e380345
SP
187752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18776
18777 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18778 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18779 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18780 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18781
ef26eece
AZ
187822013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18783
18784 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18785 macro to return vdso values correctly in IFUNC implementations.
18786 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18787 Optimization by using IFUNC.
18788
8cfdb7e0
SP
187892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18790 Richard Henderson <rth@redhat.com>
18791 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18792
18793 * Makefile.in (bench): New target.
18794 * NEWS: Mention the benchmark framework.
18795 * Rules (bench): Likewise.
18796 (binaries-bench): Generate binaries for functions to
18797 benchmark.
18798 * benchtests/Makefile: New makefile for benchmark tests.
18799 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18800 programs.
18801 * benchtests/exp-inputs: New input file for EXP function.
18802 * benchtests/pow-inputs: New input file for POW function.
18803 * scripts/bench.pl: New script to generate source files for
18804 benchmark programs.
18805
bcda9880
SP
188062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18807
d22ca8cd
SP
18808 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18809 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18810 computations on mantissa. Use macros for rounding and
18811 division.
18812 (denorm): Likewise.
18813 (__dbl_mp): Likewise.
18814 (add_magnitudes): Likewise.
18815 (sub_magnitudes): Likewise.
18816 (__mul): Likewise.
18817 (__sqr): Likewise.
18818 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18819 powers of two in terms of TWOPOW macro.
18820 (mp_no): Make type of mantissa as MANTISSA_T.
18821 [!RADIXI]: Define RADIXI.
18822 [!TWO52]: Define TWO52.
18823 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18824
bcda9880
SP
18825 * manual/nptl.texi (cindex): Modify threads to pthreads.
18826
06d5adfb
JM
188272013-03-15 Joseph Myers <joseph@codesourcery.com>
18828
18829 * sysdeps/x86_64/preconfigure: Regenerated.
18830
41c7328e
JM
188312013-03-14 Joseph Myers <joseph@codesourcery.com>
18832
18833 [BZ #14155]
18834 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18835 0x1p28 and above.
18836 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18837 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18838 0x1p28 and above.
18839 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18840 * math/libm-test.inc (j0_test): Do not allow one spurious
18841 underflow exception.
18842 (y1_test): Likewise.
18843
e25cfa60
SP
188442013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18845
0409959c
SP
18846 * manual/Makefile (chapters): Add nptl.
18847 * manual/debug.texi (Debugging Support): Add link to Threads
18848 chapter.
18849 * manual/nptl.texi: New file.
18850
e25cfa60
SP
18851 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18852
58a1335e
PB
188532013-03-14 Petr Baudis <pasky@ucw.cz>
18854
18855 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18856 for non-NULL pointer before the memory validity test. Pointed
18857 out by Holger Brunck <holger.brunck@keymile.com>.
18858
9dc7c64f
AS
188592013-03-13 Andreas Schwab <schwab@suse.de>
18860
18861 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18862 instead of .os.
18863
54206aa6
JM
188642013-03-13 Joseph Myers <joseph@codesourcery.com>
18865
18866 * timezone/zic.c: Update from tzcode 2013b.
18867
e98cdb38
CD
188682013-03-12 Carlos O'Donell <carlos@redhat.com>
18869
18870 * manual/install.texi (Configuring and compiling):
18871 Mention i686 and i586.
18872 * INSTALL: Regenerate.
18873
9967e003
RM
188742013-03-12 Roland McGrath <roland@hack.frob.com>
18875
18876 * sysdeps/init_array/elf-init.c: New file.
18877 * csu/elf-init.c
18878 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18879 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18880
18881 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18882 __gmon_start__ as global, but as static with a .preinit_array pointer.
18883 * sysdeps/init_array/gmon-start.c: New file. Use that.
18884 * sysdeps/init_array/crti.S: New file, empty except for comments.
18885 * sysdeps/init_array/crtn.S: Likewise.
18886
e6b5a293 188872013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18888
18889 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18890 definining bcopy.
80f844c9
OB
18891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18892 Remove Prefer_SSE_for_memop.
18893 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18894 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18895 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18897 memset-x86-64.
80f844c9 18898 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18899 Remove bzero, memset ifunc support.
80f844c9
OB
18900 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18901 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18902 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18903 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18904
fb6b0fcb
AS
189052013-03-11 Andreas Schwab <schwab@suse.de>
18906
18907 [BZ #15234]
18908 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18909 by SHLIB_COMPAT.
18910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18911 (GLIBC_2.16): Remove pthread_atfork.
18912
3e6bd4b1
PP
189132013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18914
18915 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18916 (ptestcases.h): Likewise.
18917
222d7f00
RM
189182013-03-08 Roland McGrath <roland@hack.frob.com>
18919
18920 * Makeconfig ($(common-objpfx)config.status): Depend on
18921 sysdeps/*/preconfigure{,.in} too.
18922
1ba4f030
JM
189232013-03-08 Joseph Myers <joseph@codesourcery.com>
18924
a222d91a
JM
18925 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18926 (__free_hook): Use void * instead of __malloc_ptr_t.
18927 (__malloc_hook): Likewise.
18928 (__realloc_hook): Likewise.
18929 (__memalign_hook): Likewise.
18930 (__after_morecore_hook): Likewise.
18931 * malloc/arena.c (save_malloc_hook): Likewise.
18932 (save_free_hook): Likewise.
18933 * malloc/hooks.c (malloc_hook_ini): Likewise.
18934 (realloc_hook_ini): Likewise.
18935 (memalign_hook_ini): Likewise.
18936 * malloc/malloc.c (malloc_hook_ini): Likewise.
18937 (realloc_hook_ini): Likewise.
18938 (memalign_hook_ini): Likewise.
18939 (__free_hook): Likewise.
18940 (__malloc_hook): Likewise.
18941 (__realloc_hook): Likewise.
18942 (__memalign_hook): Likewise.
18943 (__libc_malloc): Likewise.
18944 (__libc_free): Likewise.
18945 (__libc_realloc): Likewise.
18946 (__libc_memalign): Likewise.
18947 (__libc_valloc): Likewise.
18948 (__libc_pvalloc): Likewise.
18949 (__libc_calloc): Likewise.
18950 (__posix_memalign): Likewise.
18951 * malloc/morecore.c (__sbrk): Likewise.
18952 (__default_morecore): Likewise.
18953
5cc45e10
JM
18954 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18955
dd54b864
JM
18956 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18957 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18958 __malloc_ptrdiff_t.
18959
1ba4f030
JM
18960 * malloc/malloc.h (__malloc_size_t): Remove macro.
18961 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18962 __malloc_size_t.
18963 (old_memalign_hook): Likewise.
18964 (old_realloc_hook): Likewise.
18965 (struct hdr): Likewise.
18966 (flood): Likewise.
18967 (mallochook): Likewise.
18968 (memalignhook): Likewise.
18969 (reallochook): Likewise.
18970 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18971 (tr_old_realloc_hook): Likewise.
18972 (tr_old_memalign_hook): Likewise.
18973 (tr_mallochook): Likewise.
18974 (tr_reallochook): Likewise.
18975 (tr_memalignhook): Likewise.
18976
edf66e57
AZ
189772013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18978
18979 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18980 default_ldbl_pack and using as default implementation.
18981 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18982 implementation.
18983 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18984 redundant definition.
18985 (ldbl_insert_mantissa): Likewise.
18986 (ldbl_canonicalize): Likewise.
18987 (ldbl_nearbyint): Likewise.
18988 (ldbl_pack): Rename to ldbl_pack_ppc.
18989 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18990 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18991 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18992
6d9145d8
SP
189932013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18994
18995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18996 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18997 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18998 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19000 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19001 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19002 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19003
4dd4e157
AJ
190042013-03-07 Andreas Jaeger <aj@suse.de>
19005
19006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19007 bits/mman-linux.h.
19008
adbb8027
SP
190092013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19010
ce544b5b
SP
19011 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19012 Include mpa.h and declare __MPEXP.
19013 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19014 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19015 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19016 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19017 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19018 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19019 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19020
4cc149fd
SP
19021 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19022 (__slowpow): Use long double EXPL and LOGL functions to
19023 compute POW.
19024 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19025 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19026 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19027 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19028 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19029 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19030
e6ebd4a7
SP
19031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19032 intermediate variable to calculate exponent.
19033 (__sqr): Likewise.
19034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19035 Likewise.
19036 (__sqr): Likewise.
19037
82a9811d
SP
19038 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19039 [!NO__SQR]: Define __sqr.
19040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19041 and NO__SQR. Remove all code except __mul and __sqr. Include
19042 sysdeps/ieee754/dbl-64/mpa.c.
19043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19044
adbb8027
SP
19045 [BZ #12723]
19046 * posix/Makefile (tests): Add tst-pathconf.
19047 * posix/tst-pathconf.c: New test case.
19048 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19049 _PC_PIPE_BUF.
19050 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19051
39120df9
PF
190522013-03-06 Patsy Franklin <pfrankli@redhat.com>
19053
19054 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19055
67525cb8
AJ
190562013-03-06 Andreas Jaeger <aj@suse.de>
19057
664a9ce4
AJ
19058 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19059 definition via __MAP_ANONYMOUS.
19060
8e39047d
AJ
19061 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19062 it's not part of Linux headers.
19063
67525cb8
AJ
19064 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19065 (MAP_HUGE_MASK): Define.
19066
19067 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19068 Define.
19069 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19070 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19071 Define.
19072 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19073 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19074 Define.
19075 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19076 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19077 Define.
19078 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19079
19080 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19081 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19082 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19083 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19084 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19085 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19086
19087 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19088 Handle f2fs.
19089
19090 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19091 Handle f2fs and efivarfs.
19092
19093 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19094 f2fs.
19095
19096 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19097 (EFIVARFS_MAGIC): Add.
19098 (F2FS_LINK_MAX): Add.
19099
e1b42695
PP
191002013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19101
19102 * stdio-common/vfprintf.c: Replace __builtin_expect with
19103 __glibc_unlikely.
19104
2d67d91a
JM
191052013-03-06 Joseph Myers <joseph@codesourcery.com>
19106
19107 [BZ #13550]
19108 * sysdeps/generic/bp-sym.h: Remove file.
19109 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19110 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19111 <bp-sym.h> and <bp-asm.h>.
19112 (__longjmp): Don't use BP_SYM.
19113 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19114 and <bp-asm.h>.
19115 (memcpy): Don't use BP_SYM.
19116 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19117 <bp-sym.h> and <bp-asm.h>.
19118 (memcpy): Don't use BP_SYM.
19119 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19120 <bp-asm.h>.
19121 (memcpy): Don't use BP_SYM.
19122 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19123 <bp-asm.h>.
19124 (memset): Don't use BP_SYM.
19125 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19126 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19127 (__bzero): Don't use BP_SYM.
19128 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19129 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19130 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19131 <bp-sym.h> and <bp-asm.h>.
19132 (memcmp): Don't use BP_SYM. Remove comment about bounded
19133 pointers.
19134 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19135 <bp-sym.h> and <bp-asm.h>.
19136 (memcpy): Don't use BP_SYM.
19137 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19138 <bp-sym.h> and <bp-asm.h>.
19139 (memset): Don't use BP_SYM.
19140 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19141 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19142 (__bzero): Don't use BP_SYM.
19143 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19144 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19145 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19146 <bp-sym.h> and <bp-asm.h>.
19147 (strncmp): Don't use BP_SYM. Remove comment about bounded
19148 pointers.
19149 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19150 <bp-sym.h> and <bp-asm.h>.
19151 (memcpy): Don't use BP_SYM.
19152 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19153 <bp-sym.h> and <bp-asm.h>.
19154 (memset): Don't use BP_SYM.
19155 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19156 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19157 (__bzero): Don't use BP_SYM.
19158 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19159 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19160 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19161 <bp-sym.h> and <bp-asm.h>.
19162 (__memchr): Don't use BP_SYM.
19163 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19164 <bp-sym.h> and <bp-asm.h>.
19165 (memcmp): Don't use BP_SYM. Remove comment about bounded
19166 pointers.
19167 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19168 <bp-sym.h> and <bp-asm.h>.
19169 (memcpy): Don't use BP_SYM.
19170 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19171 <bp-sym.h> and <bp-asm.h>.
19172 (__mempcpy): Don't use BP_SYM.
19173 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19174 <bp-sym.h> and <bp-asm.h>.
19175 (__memrchr): Don't use BP_SYM.
19176 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19177 <bp-sym.h> and <bp-asm.h>.
19178 (memset): Don't use BP_SYM.
19179 (__bzero): Likewise.
19180 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19181 <bp-sym.h> and <bp-asm.h>.
19182 (__rawmemchr): Don't use BP_SYM.
19183 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19184 <bp-sym.h> and <bp-asm.h>.
19185 (__STRCMP): Don't use BP_SYM.
19186 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19187 <bp-sym.h> and <bp-asm.h>.
19188 (strchr): Don't use BP_SYM.
19189 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19190 <bp-sym.h> and <bp-asm.h>.
19191 (__strchrnul): Don't use BP_SYM.
19192 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19193 <bp-sym.h> and <bp-asm.h>.
19194 (strlen): Don't use BP_SYM.
19195 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19196 <bp-sym.h> and <bp-asm.h>.
19197 (strncmp): Don't use BP_SYM. Remove comment about bounded
19198 pointers.
19199 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19200 <bp-sym.h> and <bp-asm.h>.
19201 (__strnlen): Don't use BP_SYM.
19202 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19203 <bp-sym.h> and <bp-asm.h>.
19204 (__GI__setjmp): Don't use BP_SYM.
19205 (_setjmp): Likewise.
19206 (__sigsetjmp): Likewise.
19207 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19208 (L(start_addresses)): Don't use BP_SYM.
19209 (_start): Likewise.
19210 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19211 <bp-asm.h>.
19212 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19213 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19214 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19215 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19216 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19217 <bp-asm.h>.
19218 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19219 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19220 about bounded pointers.
19221 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19222 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19223 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19224 <bp-asm.h>.
19225 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19226 about bounded pointers. Remove GKM FIXME comments.
19227 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19228 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19229 <bp-asm.h>.
19230 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19231 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19232 Remove GKM FIXME comments.
19233 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19234 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19235 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19236 <bp-asm.h>.
19237 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19238 about bounded pointers. Remove GKM FIXME comment.
19239 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19240 and <bp-asm.h>.
19241 (strncmp): Don't use BP_SYM. Remove comment about bounded
19242 pointers.
19243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19244 <bp-sym.h> and <bp-asm.h>.
19245 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19247 <bp-sym.h> and <bp-asm.h>.
19248 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19249 comment.
19250
cdcf361f
PP
192512013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19252
19253 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19254 call free(NULL).
19255
3c4a2b15
DM
192562013-03-05 David S. Miller <davem@davemloft.net>
19257
19258 * po/es.po: Update from translation team.
19259
cdcf361f 192602013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19261
19262 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19263 <bits/mman-linux.h>.
19264 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19265 is fine.
19266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19267 <bits/mman-linux.h> to end of file.
19268 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19269 is fine.
19270 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19271 <bits/mman-linux.h> to end of file.
19272 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19273 is fine.
19274 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19275 <bits/mman-linux.h> to end of file.
19276
19277 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19278 (MCL_CURRENT, MCL_FUTURE): Define here.
19279
5f67c04f
AK
192802013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19281
8a4473cc 19282 [BZ #15232]
5f67c04f
AK
19283 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19284 attribute_hidden.
19285 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19286
c3e94a95
AK
192872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19288
19289 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19290 fourth parameter needed for rt_sigprocmask syscall.
19291 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19292 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19293 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19294 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19295 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19296 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19297
cfb6382a
JM
192982013-03-04 Joseph Myers <joseph@codesourcery.com>
19299
19300 [BZ #13550]
19301 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19302 comment about bounded pointers.
19303 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19304 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19305
539d8e01
AJ
193062013-03-04 Andreas Jaeger <aj@suse.de>
19307
19308 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19309 common definitions.
19310
19311 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19312 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19313 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19314 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19315 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19316 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19317
2e167a70 193182013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19319
19320 [BZ #15055]
19321 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19322 __ieee754_sqrl instead of __sqrl.
19323
68508633
JM
193242013-03-01 Joseph Myers <joseph@codesourcery.com>
19325
19326 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19327 * sysdeps/powerpc/fpu_control.h: ... here.
19328 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19329 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19330 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19331 * sysdeps/powerpc/bits/mathinline.h: ... here.
19332
7775448e
RM
193332013-03-01 Roland McGrath <roland@hack.frob.com>
19334
19335 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19336 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19337 to just [NEED_DL_SYSINFO_DSO].
19338 * elf/dl-support.c: Likewise.
19339 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19340 * elf/rtld.c (dl_main): Likewise.
19341 * elf/setup-vdso.h (setup_vdso): Likewise.
19342 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19343 * sysdeps/unix/sysv/linux/dl-sysdep.c
19344 (_dl_discover_osversion): Likewise.
19345
4e9b5995
CD
193462013-03-01 Carlos O'Donell <carlos@redhat.com>
19347
19348 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19349 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19350
e23872c8
SP
193512013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19352
e5c74c63
SP
19353 * NEWS: Mention libm performance improvements and non-x86 PI
19354 futex support.
19355
e23872c8
SP
19356 * csu/libc-start.c (__pthread_initialize_minimal): Change
19357 function arguments.
19358 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19359
b5510883
JM
193602013-02-28 Joseph Myers <joseph@codesourcery.com>
19361
19362 [BZ #13550]
19363 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19364 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19365 <bp-sym.h> and <bp-asm.h>.
19366 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19367 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19368 and <bp-asm.h>.
19369 (memcpy): Don't use BP_SYM.
19370 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19371 <bp-asm.h>.
19372 (__mpn_add_n): Don't use BP_SYM.
19373 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19374 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19375 and <bp-asm.h>.
19376 (__mpn_addmul_1): Don't use BP_SYM.
19377 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19378 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19379 <bp-sym.h>.
19380 (_setjmp): Don't use BP_SYM.
19381 (__novmx_setjmp): Likewise.
19382 (__GI__setjmp): Likewise.
19383 (__vmx_setjmp): Likewise.
19384 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19385 <bp-sym.h>.
19386 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19387 (__bzero): Don't use BP_SYM.
19388 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19389 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19390 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19391 <bp-sym.h> and <bp-asm.h>.
19392 (memcpy): Don't use BP_SYM.
19393 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19394 <bp-sym.h> and <bp-asm.h>.
19395 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19396 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19397 <bp-sym.h> and <bp-asm.h>.
19398 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19399 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19400 <bp-asm.h>.
19401 (__mpn_lshift): Don't use BP_SYM.
19402 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19403 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19404 <bp-asm.h>.
19405 (memset): Don't use BP_SYM.
19406 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19407 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19408 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19409 <bp-asm.h>.
19410 (__mpn_mul_1): Don't use BP_SYM.
19411 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19412 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19413 <bp-sym.h> and <bp-asm.h>.
19414 (memcmp): Don't use BP_SYM.
19415 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19416 <bp-sym.h> and <bp-asm.h>.
19417 (memcpy): Don't use BP_SYM.
19418 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19419 <bp-sym.h> and <bp-asm.h>.
19420 (memset): Don't use BP_SYM.
19421 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19422 <bp-sym.h> and <bp-asm.h>.
19423 (strncmp): Don't use BP_SYM.
19424 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19425 <bp-sym.h> and <bp-asm.h>.
19426 (memcpy): Don't use BP_SYM.
19427 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19428 <bp-sym.h> and <bp-asm.h>.
19429 (memset): Don't use BP_SYM.
19430 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19431 <bp-sym.h> and <bp-asm.h>.
19432 (__memchr): Don't use BP_SYM.
19433 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19434 <bp-sym.h> and <bp-asm.h>.
19435 (memcmp): Don't use BP_SYM.
19436 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19437 <bp-sym.h> and <bp-asm.h>.
19438 (memcpy): Don't use BP_SYM.
19439 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19440 <bp-sym.h> and <bp-asm.h>.
19441 (__mempcpy): Don't use BP_SYM.
19442 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19443 <bp-sym.h> and <bp-asm.h>.
19444 (__memrchr): Don't use BP_SYM.
19445 * sysdeps/powerpc/powerpc32/power7/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/rawmemchr.S: Don't include
19449 <bp-sym.h> and <bp-asm.h>.
19450 (__rawmemchr): Don't use BP_SYM.
19451 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19452 <bp-sym.h> and <bp-asm.h>.
19453 (__STRCMP): Don't use BP_SYM.
19454 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19455 <bp-sym.h> and <bp-asm.h>.
19456 (strchr): Don't use BP_SYM.
19457 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19458 <bp-sym.h> and <bp-asm.h>.
19459 (__strchrnul): Don't use BP_SYM.
19460 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19461 <bp-sym.h> and <bp-asm.h>.
19462 (strlen): Don't use BP_SYM.
19463 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19464 <bp-sym.h> and <bp-asm.h>.
19465 (strncmp): Don't use BP_SYM.
19466 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19467 <bp-sym.h> and <bp-asm.h>.
19468 (__strnlen): Don't use BP_SYM.
19469 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19470 <bp-asm.h>.
19471 (__mpn_rshift): Don't use BP_SYM.
19472 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19473 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19474 <bp-sym.h> and <bp-asm.h>.
19475 (__sigsetjmp): Don't use BP_SYM.
19476 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19477 (L(start_addresses)): Don't use BP_SYM.
19478 (_start): Likewise.
19479 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19480 <bp-asm.h>.
19481 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19482 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19483 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19484 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19485 <bp-asm.h>.
19486 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19487 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19488 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19489 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19490 <bp-asm.h>.
19491 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19492 comments.
19493 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19494 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19495 <bp-asm.h>.
19496 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19497 FIXME comments.
19498 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19499 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19500 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19501 <bp-asm.h>.
19502 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19503 comment.
19504 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19505 and <bp-asm.h>.
19506 (strncmp): Don't use BP_SYM,
19507 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19508 <bp-asm.h>.
19509 (__mpn_sub_n): Don't use BP_SYM.
19510 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19511 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19512 and <bp-asm.h>.
19513 (__mpn_submul_1): Don't use BP_SYM.
19514 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19516 <bp-sym.h> and <bp-asm.h>.
19517 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19519 <bp-sym.h> and <bp-asm.h>.
19520 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19521 comment.
19522
8d19fe64
SP
195232013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19524
19525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19526 Use ZK to minimize writes to Z.
19527 (sub_magnitudes): Simplify code a bit.
19528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19529 Use ZK to minimize writes to Z.
19530 (sub_magnitudes): Simplify code a bit.
19531
85bd816a
RM
195322013-02-27 Roland McGrath <roland@hack.frob.com>
19533
19534 * csu/gmon-start.c: Add special exception to license text.
19535
b5977bf2
RH
195362013-02-27 Richard Henderson <rth@redhat.com>
19537
19538 * scripts/config.guess: Update from config.git.
19539 * scripts/config.sub: Likewise.
19540
11d6e2f2
SP
195412013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19542
09c14ed2
SP
19543 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19544
a688864e
SP
19545 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19546
6295157a
SP
19547 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19548
b8de2202
SP
19549 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19550
11d6e2f2
SP
19551 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19552
7e80ddb8
RM
195532013-02-26 Roland McGrath <roland@hack.frob.com>
19554
19555 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19556 [$(build-shared = yes].
7e80ddb8 19557
7da6d9ed
SP
195582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19559
45f05884
SP
19560 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19561 (__mul): Reduce iterations for calculating mantissa.
19562
2236d359
SP
19563 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19564 MPTWO.
19565 (__mpranred): Likewise.
19566
7da6d9ed
SP
19567 [BZ #15160]
19568 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19569 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19570
b7688c42
PE
195712013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19572
19573 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19574 Define __attribute__.
19575
53a5c423
SP
195762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19577
19578 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19579 unused.
19580 * posix/regex_internal.h (__attribute): Remove.
19581 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19582 (re_string_context_at): Likewise.
19583 (bitset_not): Use __attribute__ and mark function as possibly
19584 unused.
19585 (bitset_merge): Likewise.
19586 (bitset_mask): Likewise.
19587 (re_string_char_size_at): Likewise.
19588 (re_string_wchar_at): Likewise.
19589 (re_string_elem_size_at): Likewise.
19590
60f5a8b5
SP
195912013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19592
2a983a2e
SP
19593 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19594 code.
19595 (cc32): Likewise.
19596
e69804d1
SP
19597 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19598 (__acr): Likewise.
19599 (__cpy): Likewise.
19600 (norm): Likewise.
19601 (denorm): Likewise.
19602 (__dbl_mp): Likewise.
19603 (add_magnitudes): Likewise.
19604 (sub_magnitudes): Likewise.
19605 (__mul): Likewise.
19606 (__inv): Likewise.
19607
2f22a1e8
SP
19608 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19609 style.
19610
8930ddc7
SP
19611 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19612 style.
19613
dc60cb11
SP
19614 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19615 code.
19616
60f5a8b5
SP
19617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19618 up changes with default code.
19619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19620 Likewise.
19621
b4d1fd33
AM
196222013-02-24 Allan McRae <allan@archlinux.org>
19623
faf6f8bc
AM
19624 * manual/socket.texi (The Internet Namespace): Order menu items
19625 to match that in the file.
19626
b4d1fd33
AM
19627 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19628 node listing of the info page menu.
19629
2366713d
JM
196302013-02-21 Joseph Myers <joseph@codesourcery.com>
19631
19632 [BZ #13550]
19633 * sysdeps/i386/bp-asm.h: Remove file.
19634 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19635 (PARMS): Do not use macros from bp-asm.h.
19636 (S1): Likewise.
19637 (S2): Likewise.
19638 (SIZE): Likewise.
19639 (__mpn_add_n): Do not use BP_SYM
19640 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19641 "bp-asm.h".
19642 (PARMS): Do not use macros from bp-asm.h.
19643 (S1): Likewise.
19644 (SIZE): Likewise.
19645 (__mpn_addmul_1): Do not use BP_SYM
19646 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19647 "bp-asm.h".
19648 (PARMS): Do not use macros from bp-asm.h.
19649 (SIGMSK): Likewise.
19650 (_setjmp): Likewise. Do not use BP_SYM.
19651 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19652 "bp-asm.h".
19653 (PARMS): Do not use macros from bp-asm.h.
19654 (SIGMSK): Likewise.
19655 (setjmp): Likewise. Do not use BP_SYM.
19656 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19657 "bp-asm.h".
19658 (PARMS): Do not use macros from bp-asm.h.
19659 (__frexp): Do not use BP_SYM.
19660 (frexp): Likewise.
19661 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19662 "bp-asm.h".
19663 (PARMS): Do not use macros from bp-asm.h.
19664 (__frexpf): Do not use BP_SYM.
19665 (frexpf): Likewise.
19666 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19667 "bp-asm.h".
19668 (PARMS): Do not use macros from bp-asm.h.
19669 (__frexpl): Do not use BP_SYM.
19670 (frexpl): Likewise.
19671 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19672 "bp-asm.h".
19673 (PARMS): Do not use macros from bp-asm.h.
19674 (__remquo): Do not use BP_SYM.
19675 (remquo): Likewise.
19676 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19677 "bp-asm.h".
19678 (PARMS): Do not use macros from bp-asm.h.
19679 (__remquof): Do not use BP_SYM.
19680 (remquof): Likewise.
19681 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19682 "bp-asm.h".
19683 (PARMS): Do not use macros from bp-asm.h.
19684 (__remquol): Do not use BP_SYM.
19685 (remquol): Likewise.
19686 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19687 "bp-asm.h".
19688 (PARMS): Do not use macros from bp-asm.h.
19689 (DEST): Likewise.
19690 (SRC): Likewise.
19691 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19692 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19693 "bp-asm.h".
19694 (PARMS): Do not use macros from bp-asm.h.
19695 (strlen): Do not use BP_SYM.
19696 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19697 "bp-asm.h".
19698 (PARMS): Do not use macros from bp-asm.h.
19699 (S1): Likewise.
19700 (S2): Likewise.
19701 (SIZE): Likewise.
19702 (__mpn_add_n): Do not use BP_SYM.
19703 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19704 "bp-asm.h".
19705 (PARMS): Do not use macros from bp-asm.h.
19706 (S1): Likewise.
19707 (SIZE): Likewise.
19708 (__mpn_addmul_1): Do not use BP_SYM.
19709 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19710 weak_alias.
19711 (bzero): Likewise.
19712 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19713 "bp-asm.h".
19714 (PARMS): Do not use macros from bp-asm.h.
19715 (S): Likewise.
19716 (SIZE): Likewise.
19717 (__mpn_lshift): Do not use BP_SYM.
19718 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19719 "bp-asm.h".
19720 (PARMS): Do not use macros from bp-asm.h.
19721 (DEST): Likewise.
19722 (SRC): Likewise.
19723 (LEN): Likewise.
19724 (memcpy): Likewise. Do not use BP_SYM.
19725 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19726 libc_hidden_def and weak_alias.
19727 (mempcpy): Do not use BP_SYM in weak_alias.
19728 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19729 "bp-asm.h".
19730 (PARMS): Do not use macros from bp-asm.h.
19731 (DEST): Likewise.
19732 (LEN): Likewise.
19733 [!BZERO_P] (CHR): Likewise.
19734 (memset): Likewise. Do not use BP_SYM.
19735 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19736 "bp-asm.h".
19737 (PARMS): Do not use macros from bp-asm.h.
19738 (S1): Likewise.
19739 (SIZE): Likewise.
19740 (__mpn_mul_1): Do not use BP_SYM.
19741 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19742 "bp-asm.h".
19743 (PARMS): Do not use macros from bp-asm.h.
19744 (S): Likewise.
19745 (SIZE): Likewise.
19746 (__mpn_rshift): Do not use BP_SYM.
19747 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19748 "bp-asm.h".
19749 (PARMS): Do not use macros from bp-asm.h.
19750 (STR): Likewise.
19751 (CHR): Likewise.
19752 (strchr): Likewise. Do not use BP_SYM.
19753 (index): Do not use BP_SYM in weak_alias.
19754 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19755 "bp-asm.h".
19756 (PARMS): Do not use macros from bp-asm.h.
19757 (DEST): Likewise.
19758 (SRC): Likewise.
19759 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19760 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19761 "bp-asm.h".
19762 (PARMS): Do not use macros from bp-asm.h.
19763 (strlen): Do not use BP_SYM.
19764 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19765 "bp-asm.h".
19766 (PARMS): Do not use macros from bp-asm.h.
19767 (S1): Likewise.
19768 (S2): Likewise.
19769 (SIZE): Likewise.
19770 (__mpn_sub_n): Do not use BP_SYM.
19771 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19772 "bp-asm.h".
19773 (PARMS): Do not use macros from bp-asm.h.
19774 (S1): Likewise.
19775 (SIZE): Likewise.
19776 (__mpn_submul_1): Do not use BP_SYM.
19777 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19778 "bp-asm.h".
19779 (PARMS): Do not use macros from bp-asm.h.
19780 (S1): Likewise.
19781 (S2): Likewise.
19782 (SIZE): Likewise.
19783 (__mpn_add_n): Do not use BP_SYM.
19784 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19785 weak_alias.
19786 (bzero): Likewise.
19787 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19788 "bp-asm.h".
19789 (PARMS): Do not use macros from bp-asm.h.
19790 (BLK2): Likewise.
19791 (LEN): Likewise.
19792 (memcmp): Do not use BP_SYM.
19793 (bcmp): Do not use BP_SYM in weak_alias.
19794 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19795 "bp-asm.h".
19796 (PARMS): Do not use macros from bp-asm.h.
19797 (DEST): Likewise.
19798 (SRC): Likewise.
19799 (LEN): Likewise.
19800 (memcpy): Likewise. Do not use BP_SYM.
19801 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19802 "bp-asm.h".
19803 (PARMS): Do not use macros from bp-asm.h.
19804 (DEST): Likewise.
19805 (SRC): Likewise.
19806 (LEN): Likewise.
19807 (memmove): Likewise. Do not use BP_SYM.
19808 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19809 "bp-asm.h".
19810 (PARMS): Do not use macros from bp-asm.h.
19811 (DEST): Likewise.
19812 (SRC): Likewise.
19813 (LEN): Likewise.
19814 (__mempcpy): Likewise. Do not use BP_SYM.
19815 (mempcpy): Do not use BP_SYM in weak_alias.
19816 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19817 "bp-asm.h".
19818 (PARMS): Do not use macros from bp-asm.h.
19819 (DEST): Likewise.
19820 (LEN): Likewise.
19821 [!BZERO_P] (CHR): Likewise.
19822 (memset): Likewise. Do not use BP_SYM.
19823 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19824 "bp-asm.h".
19825 (PARMS): Do not use macros from bp-asm.h.
19826 (STR2): Likewise.
19827 (strcmp): Do not use BP_SYM.
19828 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19829 "bp-asm.h".
19830 (PARMS): Do not use macros from bp-asm.h.
19831 (STR): Likewise.
19832 (DELIM): Likewise.
19833 [USE_AS_STRTOK_R] (SAVE): Likewise.
19834 (FUNCTION): Likewise. Do not use BP_SYM.
19835 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19836 aliases.
19837 (strtok_r): Likewise.
19838 (__GI___strtok_r): Likewise.
19839 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19840 (PARMS): Do not use macros from bp-asm.h.
19841 (S): Likewise.
19842 (SIZE): Likewise.
19843 (__mpn_lshift): Do not use BP_SYM.
19844 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19845 (PARMS): Do not use macros from bp-asm.h.
19846 (STR): Likewise.
19847 (CHR): Likewise.
19848 (__memchr): Do not use BP_SYM.
19849 (memchr): Do not use BP_SYM in weak_alias.
19850 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19851 (PARMS): Do not use macros from bp-asm.h.
19852 (BLK2): Likewise.
19853 (LEN): Likewise.
19854 (memcmp): Do not use BP_SYM.
19855 (bcmp): Do not use BP_SYM in weak_alias.
19856 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19857 (PARMS): Do not use macros from bp-asm.h.
19858 (S1): Likewise.
19859 (SIZE): Likewise.
19860 (__mpn_mul_1): Do not use BP_SYM.
19861 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19862 "bp-asm.h".
19863 (PARMS): Do not use macros from bp-asm.h.
19864 (STR): Likewise.
19865 (CHR): Likewise.
19866 (__rawmemchr): Do not use BP_SYM.
19867 (rawmemchr): Do not use BP_SYM in weak_alias.
19868 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19869 (PARMS): Do not use macros from bp-asm.h.
19870 (S): Likewise.
19871 (SIZE): Likewise.
19872 (__mpn_rshift): Do not use BP_SYM.
19873 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19874 (PARMS): Do not use macros from bp-asm.h.
19875 (SIGMSK): Likewise.
19876 (__sigsetjmp): Likewise. Do not use BP_SYM.
19877 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19878 (_start): Do not use BP_SYM.
19879 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19880 (PARMS): Do not use macros from bp-asm.h.
19881 (DEST): Likewise.
19882 (SRC): Likewise.
19883 (__stpcpy): Likewise. Do not use BP_SYM.
19884 (stpcpy): Do not use BP_SYM in weak_alias.
19885 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19886 "bp-asm.h".
19887 (PARMS): Do not use macros from bp-asm.h.
19888 (DEST): Likewise.
19889 (SRC): Likewise.
19890 (LEN): Likewise.
19891 (__stpncpy): Likewise. Do not use BP_SYM.
19892 (stpncpy): Do not use BP_SYM in weak_alias.
19893 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19894 (PARMS): Do not use macros from bp-asm.h.
19895 (STR): Likewise.
19896 (CHR): Likewise.
19897 (strchr): Likewise. Do not use BP_SYM.
19898 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19899 "bp-asm.h".
19900 (PARMS): Do not use macros from bp-asm.h.
19901 (STR): Likewise.
19902 (CHR): Likewise.
19903 (__strchrnul): Likewise. Do not use BP_SYM.
19904 (strchrnul): Do not use BP_SYM in weak_alias.
19905 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19906 "bp-asm.h".
19907 (PARMS): Do not use macros from bp-asm.h.
19908 (STOP): Likewise.
19909 (strcspn): Do not use BP_SYM.
19910 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19911 "bp-asm.h".
19912 (PARMS): Do not use macros from bp-asm.h.
19913 (STR): Likewise.
19914 (STOP): Likewise.
19915 (strpbrk): Likewise. Do not use BP_SYM.
19916 * sysdeps/i386/strrchr.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 (strrchr): Likewise. Do not use BP_SYM.
19922 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19923 (PARMS): Do not use macros from bp-asm.h.
19924 (SKIP): Likewise.
19925 (strspn): Do not use BP_SYM.
19926 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19927 (PARMS): Do not use macros from bp-asm.h.
19928 (STR): Likewise.
19929 (DELIM): Likewise.
19930 (SAVE): Likewise.
19931 (FUNCTION): Likewise. Do not use BP_SYM.
19932 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19933 aliases.
19934 (strtok_r): Likewise.
19935 (__GI___strtok_r): Likewise.
19936 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19937 (PARMS): Do not use macros from bp-asm.h.
19938 (S1): Likewise.
19939 (S2): Likewise.
19940 (SIZE): Likewise.
19941 (__mpn_sub_n): Do not use BP_SYM.
19942 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19943 "bp-asm.h".
19944 (PARMS): Do not use macros from bp-asm.h.
19945 (S1): Likewise.
19946 (SIZE): Likewise.
19947 (__mpn_submul_1): Do not use BP_SYM.
19948 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19949 <bp-sym.h>.
19950 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19951 and <bp-asm.h>.
19952 (PARMS): Do not use macros from bp-asm.h.
19953 (FLAGS): Likewise.
19954 (PTID): Likewise.
19955 (TLS): Likewise.
19956 (CTID): Likewise.
19957 (__clone): Do not use BP_SYM.
19958 (clone): Do not use BP_SYM in weak_alias.
19959 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19960 and <bp-asm.h>.
19961 (PARMS): Do not use macros from bp-asm.h.
19962 (LEN): Likewise.
19963 (__mmap64): Do not use BP_SYM.
19964 (mmap64): Do not use BP_SYM in weak_alias.
19965 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19966 <bp-sym.h> and <bp-asm.h>.
19967 (PARMS): Do not use macros from bp-asm.h.
19968 (__posix_fadvise64_l64): Do not use BP_SYM.
19969 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19970 (PARMS): Do not use macros from bp-asm.h.
19971 (NSOPS): Likewise.
19972 (semtimedop): Do not use BP_SYM.
19973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19974 and <bp-asm.h>.
19975
582a3cff
AM
199762013-02-21 Allan McRae <allan@archlinux.org>
19977
19978 * manual/message.texi (Charset conversion in gettext):
19979 Move @end statement to beginning of line.
19980
bab8a695
SP
199812013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19982
80945231
SP
19983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19984 static.
19985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19986 Likewise.
19987
bab8a695
SP
19988 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19989 (denorm): Likewise.
19990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19992
e21d7aa7
AK
199932013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19994
19995 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19996 tail-call to the resolved function if pltexit isn't needed.
19997
4c7a4263
SP
199982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19999
20000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20001 or Y being zero as being unlikely.
20002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20003 Likewise.
20004
41f49342
CD
200052013-02-20 Carlos O'Donell <carlos@redhat.com>
20006
20007 * manual/nss.texi (System Databases and Name Service Switch):
20008 Remove frobnicate @pxref.
20009
50022a93
TS
200102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20011
20012 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20013 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20014
08cbd996
PM
200152013-02-20 Petr Machata <pmachata@redhat.com>
20016
20017 * elf/elf.h (R_ARM_TARGET1): New macro.
20018 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20019 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20020 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20021 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20022 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20023 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20024 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20025 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20026 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20027 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20028 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20029 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20030 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20031 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20032 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20033 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20034 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20035 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20036 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20037 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20038 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20039 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20040 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20041 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20042 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20043 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20044 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20045 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20046 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20047 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20048 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20049 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20050 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20051 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20052 (R_ARM_THM_GOT_BREL12): Likewise.
20053 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20054 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20055 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20056 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20057 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20058 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20059 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20060 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20061 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20062
c7b275d6
TS
200632013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20064
20065 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20066 __attribute_used__ to __attribute__ ((unused)).
20067
20cd7fb3
SP
200682013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20069
20070 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20071 powerpc mpa.c.
20072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20073 comment formatting.
20074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20075
92945b52
JM
200762013-02-19 Joseph Myers <joseph@codesourcery.com>
20077
20078 [BZ #13550]
20079 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20080 Remove macro.
20081 (ENTER): Remove both macro definitions.
20082 (LEAVE): Likewise.
20083 (CHECK_BOUNDS_LOW): Likewise.
20084 (CHECK_BOUNDS_HIGH): Likewise.
20085 (CHECK_BOUNDS_BOTH): Likewise.
20086 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20087 (RETURN_BOUNDED_POINTER): Likewise.
20088 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20089 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20090 (POP_ERRNO_LOCATION_RETURN): Likewise.
20091 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20092 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20093 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20094 macros.
20095 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20096 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20097 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20098 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20099 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20100 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20101 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20102 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20103 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20104 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20105 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20106 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20107 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20108 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20109 removed macros.
20110 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20111 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20112 macros.
20113 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20114 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20115 * sysdeps/i386/i586/memset.S (memset): Likewise.
20116 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20117 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20118 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20119 macros.
20120 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20121 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20122 Change uses of L(2) to L(out).
20123 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20124 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20125 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20126 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20127 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20128 removed macros.
20129 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20130 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20131 macros.
20132 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20133 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20134 (RETURN): Do not use macro LEAVE.
20135 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20136 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20137 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20138 * sysdeps/i386/i686/memset.S (memset): Likewise.
20139 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20140 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20141 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20142 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20143 Likewise.
20144 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20145 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20146 L(1_2) and L(1_3) into L(1).
20147 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20148 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20149 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20150 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20151 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20152 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20153 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20154 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20155 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20156 macros.
20157 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20158 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20159 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20160 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20161 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20162 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20163 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20164 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20165 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20166 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20167 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20168 * sysdeps/i386/strspn.S (strspn): Likewise.
20169 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20170 conditional code.
20171 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20172 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20173 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20174 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20175 L(1_3) into L(1_1).
20176 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20177 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20178 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20179 macros.
20180 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20181
2389741a
JJ
201822013-02-19 Jakub Jelinek <jakub@redhat.com>
20183
20184 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20185 macro.
20186
2016b3cd
SP
201872013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20188
e4f22324
SP
20189 * math/atest-exp.c (exp_mpn): Remove ROUND.
20190 * math/atest-exp2.c (exp_mpn): Likewise.
20191 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20192
2016b3cd
SP
20193 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20194 * stdlib/tst-tls-atexit-lib.c: Likewise.
20195 * stdlib/tst-tls-atexit.c: Likewise.
20196
4be9b544
MF
201972013-02-18 Mike Frysinger <vapier@gentoo.org>
20198
20199 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20200 and __attribute_alloc_size__.
20201
2f62b9ee
MF
202022013-02-18 Mike Frysinger <vapier@gentoo.org>
20203
20204 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20205 __attribute_alloc_size__.
20206 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20207 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20208
6ff444c4
MF
202092013-02-18 Mike Frysinger <vapier@gentoo.org>
20210
20211 * include/programs/xmalloc.h: New file.
20212 * catgets/gencat.c: Include it.
20213 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20214 * elf/pldd.c: Likewise.
20215 * iconv/iconv_charmap.c: Likewise.
20216 * iconv/iconvconfig.c: Likewise.
20217 * iconv/strtab.c: Likewise.
20218 * locale/programs/locale.c: Likewise.
20219 * locale/programs/localedef.h: Likewise.
20220 * locale/programs/simple-hash.c: Likewise.
20221 * nscd/nscd.h: Likewise.
20222 * nss/makedb.c: Likewise.
20223 * sysdeps/generic/ldconfig.h: Likewise.
20224
be179c8a
SP
202252013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20226
ba384f6e
SP
20227 * Versions.def: Add GLIBC_2.18.
20228 * include/link.h (struct link_map): New member l_tls_dtor_count.
20229 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20230 (__call_tls_dtors): Likewise.
20231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20232 __cxa_thread_atexit_impl.
20233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20234 Likewise.
20235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20236 Likewise.
20237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20238 Likewise.
20239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20240 Likewise.
20241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20243 Likewise.
20244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20245 Likewise.
20246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20248 Likewise.
20249 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20250 (tests): Add test case tst-tls-atexit.
20251 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20252 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20253 (GLIBC_PRIVATE): Add __call_tls_dtors.
20254 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20255 for libstdc++.
20256 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20257 * stdlib/tst-tls-atexit.c: New test case.
20258 * stdlib/tst-tls-atexit-lib.c: New test case.
20259
ffaa74cf 20260 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20261
be179c8a
SP
20262 * elf/Versions (ld): Add _dl_find_dso_for_object.
20263 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20264 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20265 (dl_open_worker): Use _dl_find_dso_for_object.
20266 * elf/dl-sym.c (do_sym): Likewise.
20267 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20268
f78b5caa
AK
202692013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20270
20271 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20272 Syntactic changes only.
20273 (_dl_runtime_profile): Do a tail-call to the resolved function.
20274
29691210
JM
202752013-02-17 Joseph Myers <joseph@codesourcery.com>
20276
20277 [BZ #13550]
20278 * sysdeps/x86_64/bp-asm.h: Remove file.
20279 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20280 <bp-sym.h> and <bp-asm.h>.
20281 (__clone): Do not use BP_SYM.
20282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20283 <bp-sym.h> and <bp-asm.h>.
20284 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20285 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20286 "bp-asm.h".
20287 (_setjmp): Do not use BP_SYM.
20288 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20289 "bp-asm.h".
20290 (setjmp): Do not use BP_SYM.
20291 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20292 libc_hidden_def.
20293 (mempcpy): Do not use BP_SYM in weak_alias.
20294 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20295 "bp-asm.h".
20296 (strchr): Do not use BP_SYM.
20297 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20298 "bp-asm.h".
20299 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20300 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20301 (_start): Do not use BP_SYM.
20302 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20303 "bp-asm.h".
20304 (strcat): Do not use BP_SYM.
20305 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20306 "bp-asm.h".
20307 (STRCMP): Do not use BP_SYM.
20308 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20309 "bp-asm.h".
20310 (STRCPY): Do not use BP_SYM.
20311 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20312 "bp-asm.h".
20313 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20314 "bp-asm.h".
20315 (FUNCTION): Do not use BP_SYM.
20316 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20317 weak_alias.
20318 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20319
f238fd19
AJ
203202013-02-17 Andreas Jaeger <aj@suse.de>
20321
20322 * time/Versions: Sort entries.
20323 * string/Versions: Likewise.
20324 * resolv/Versions: Likewise.
20325 * posix/Versions: Likewise.
20326 * iconv/Versions: Likewise.
20327 * elf/Versions: Likewise.
20328 * wcsmbs/Versions: Likewise.
20329
bd07f23c 203302013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20331
22af19f9
SP
20332 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20333 loop termination condition.
20334
4709fe76
SP
20335 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20336 variable to calculate EZ.
20337 (__sqr): Likewise.
2d0e0f29
SP
20338
20339 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20340 the lower precision input.
20341
daaa7713
JM
203422013-02-15 Joseph Myers <joseph@codesourcery.com>
20343
20344 [BZ #13550]
20345 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20346 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20347 (run-via-rtld-prefix): Do not handle %-bp tests.
20348 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20349 (all-object-suffixes): Remove .ob.
20350 (bppfx): Remove variable.
20351 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20352 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20353 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20354 [$(build-bounded) = yes] (libtype.ob): Likewise.
20355 * Makerules (elide-routines.ob): Remove variable.
20356 (do-tests-clean): Do not handle *-bp.out.
20357 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20358 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20359 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20360 (tests): Do not include $(tests-bp.out).
20361 (xtests): Do not include $(xtests-bp.out).
20362 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20363 [$(build-bounded) = yes] ($(addprefix
20364 $(objpfx),$(binaries-bounded))): Remove rule.
20365 ($(objpfx)%-bp.out): Remove rule.
20366 * config.make.in (build-bounded): Remove variable.
20367 * crypt/Makefile [$(build-bounded) = yes]
20368 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20369 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20370 append to variable.
20371 [$(build-bounded) = yes] (install-lib): Likewise.
20372 [$(build-bounded) = yes] (generated): Likewise.
20373 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20374 Remove rule.
20375 * intl/Makefile [$(build-bounded) = yes]
20376 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20377 * math/Makefile [$(build-bounded) = yes]
20378 ($(tests:%=$(objpfx)%-bp): Likewise.
20379 * misc/Makefile [$(build-bounded) = yes]
20380 ($(objpfx)tst-tsearch-bp): Likewise.
20381 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20382 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20383 Remove dependency.
20384 * string/Makefile (o-objects.ob): Remove variable.
20385 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20386 (CFLAGS-.ob): Remove variable.
20387 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20388 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20389 both definitions of variable.
20390 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20391 (ASFLAGS-.ob): Remove variable.
20392
e97ed6dd
JM
203932013-02-14 Joseph Myers <joseph@codesourcery.com>
20394
2bdd4ca6
JM
20395 [BZ #13550]
20396 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20397 Remove __BOUNDED_POINTERS__ from condition.
20398 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20399 * string/bits/string2.h [!__NO_STRING_INLINES &&
20400 !__BOUNDED_POINTERS__]: Likewise.
20401 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20402 Likewise.
20403 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20404 Remove conditional code.
20405 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20406 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20407 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20408 condition.
20409
e97ed6dd
JM
20410 [BZ #13550]
20411 * csu/libc-start.c: Do not include <bp-sym.h>.
20412 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20413 * elf/dl-open.c: Do not include <bp-sym.h>.
20414 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20415 * math/fegetenv.c: Do not include <bp-sym.h>.
20416 (fegetenv): Do not use BP_SYM in versioned symbols.
20417 * nptl/sysdeps/pthread/bits/libc-lockP.h
20418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20419 <bp-sym.h>.
20420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20421 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20423 (__pthread_mutex_destroy): Likewise.
20424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20425 (__pthread_mutex_lock): Likewise.
20426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20427 (__pthread_mutex_trylock): Likewise.
20428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20429 (__pthread_mutex_unlock): Likewise.
20430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20431 (__pthread_mutexattr_init): Likewise.
20432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20433 (__pthread_mutexattr_destroy): Likewise.
20434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20435 (__pthread_mutexattr_settype): Likewise.
20436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20437 (__pthread_rwlock_init): Likewise.
20438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20439 (__pthread_rwlock_destroy): Likewise.
20440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20441 (__pthread_rwlock_rdlock): Likewise.
20442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20443 (__pthread_rwlock_tryrdlock): Likewise.
20444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20445 (__pthread_rwlock_wrlock): Likewise.
20446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20447 (__pthread_rwlock_trywrlock): Likewise.
20448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20449 (__pthread_rwlock_unlock): Likewise.
20450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20451 (__pthread_key_create): Likewise.
20452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20453 (__pthread_setspecific): Likewise.
20454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20455 (__pthread_getspecific): Likewise.
20456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20457 Likewise.
20458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20459 (_pthread_cleanup_push_defer): Likewise.
20460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20461 (_pthread_cleanup_pop_restore): Likewise.
20462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20463 (pthread_setcancelstate): Likewise.
20464 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20465 <bp-sym.h>.
20466 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20467 (memchr): Do not use BP_SYM in weak_alias.
20468 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20469 (fegetenv): Do not use BP_SYM in versioned symbols.
20470 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20471 (fesetenv): Do not use BP_SYM in versioned symbols.
20472 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20473 (feupdateenv): Do not use BP_SYM in versioned symbols.
20474 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20475 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20476 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20477 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20478 (open64): Do not use BP_SYM in weak_alias.
20479 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20480 (fegetenv): Do not use BP_SYM in versioned symbols.
20481 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20482 (fesetenv): Do not use BP_SYM in versioned symbols.
20483 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20484 (feupdateenv): Do not use BP_SYM in versioned symbols.
20485 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20486 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20487 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20488 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20489 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20490 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20491 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20492 <bp-sym.h>.
20493 (__libc_start_main): Do not use BP_SYM.
20494
d6752ccd
SP
204952013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20496
cb57ce60
SP
20497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20498 redundant return line.
20499 (norm): Likewise.
20500 (denorm): Likewise.
20501 (dbl_mp): Likewise.
20502 (sub_magnitudes): Likewise.
20503 (__add): Likewise.
20504 (__sub): Likewise.
20505 (__mul): Likewise.
20506 (__inv): Likewise.
20507 (__dvd): Likewise.
20508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20509 (norm): Likewise.
20510 (denorm): Likewise.
20511 (dbl_mp): Likewise.
20512 (sub_magnitudes): Likewise.
20513 (__add): Likewise.
20514 (__sub): Likewise.
20515 (__mul): Likewise.
20516 (__inv): Likewise.
20517 (__dvd): Likewise.
20518
f414520d
SP
20519 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20520 instead of __mul.
20521 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20522 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20523 (cc32): Likewise.
20524
d6752ccd
SP
20525 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20526 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20527 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20528 of __mul for squares.
20529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20530 function
20531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20532 Likewise.
20533 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20534 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20535
70d9946a
JM
205362013-02-13 Joseph Myers <joseph@codesourcery.com>
20537
20538 [BZ #13550]
20539 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20540 code.
20541 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20542 prototype or function definition. Rename ubp_* variables and
20543 parameters. Remove argv definitions conditional on
20544 [__BOUNDED_POINTERS__].
20545 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20546 * elf/dl-runtime.c (_dl_fixup): Likewise.
20547 * include/set-hooks.h (RUN_HOOK): Likewise.
20548 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20549 definition.
20550 * string/strcpy.c (strcpy): Do not use __unbounded.
20551 * sysdeps/generic/frame.h (struct layout): Likewise.
20552 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20553 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20554 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20555 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20556 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20557 (__backtrace): Likewise.
20558 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20559 use __ptrvalue.
20560 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20561 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20562 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20563 Likewise.
20564 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20565 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20566 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20567 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20568 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20569 Do not use __unbounded.
20570 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20571 Rename __unboundedrlimits parameter to rlimits in prototype.
20572 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20573 Do not use __unbounded.
20574 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20575 not use __ptrvalue.
20576 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20577 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20578 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20579 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20580 __ptrvalue or __unbounded.
20581 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20582 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20583 use __unbounded.
20584 (__new_msgctl): Do not use __ptrvalue.
20585 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20586 __unbounded.
20587 (__libc_msgrcv): Do not use __ptrvalue.
20588 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20589 startup_info): Do not use __unbounded.
20590 (__libc_start_main): Likewise. Rename ubp_* variables and
20591 parameters. Remove argv definitions conditional on
20592 [__BOUNDED_POINTERS__].
20593 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20594 __ptrvalue.
20595 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20596 use __unbounded.
20597 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20598 or __ptrvalue.
20599 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20600 use __unbounded.
20601 (__new_shmctl): Do not use __ptrvalue.
20602 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20603 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20604 Likewise.
20605 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20606 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20607 (__libc_sigaction): Likewise.
20608 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20609 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20610 Likewise.
20611 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20612
cc7834d6
OB
206132013-02-13 Ondřej Bílka <neleai@seznam.cz>
20614
ffb1ec7b 20615 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20616
20617 * string/mempcpy.c: Implement by calling memcpy.
20618
bdf02814
SP
206192013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20620
c2af38aa
SP
20621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20622
4e92d59e
SP
20623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20624 evaluation.
20625
909279a5
SP
20626 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20627 values in the mantissa.
20628
bdf02814
SP
20629 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20630 minimize writes to Z.
20631 (sub_magnitudes): Simplify code a bit.
20632
cd525923
RM
206332013-02-12 Roland McGrath <roland@hack.frob.com>
20634
20635 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20636 from the message. The linker prefixes all warnings with that already.
20637
7e2f0d2d
AS
206382013-02-12 Andreas Schwab <schwab@suse.de>
20639
a445af0b
AS
20640 [BZ #15078]
20641 * posix/regexec.c (extend_buffers): Add parameter min_len.
20642 (check_matching): Pass minimum needed length.
20643 (clean_state_log_if_needed): Likewise.
20644 (get_subexp): Likewise.
20645 * posix/Makefile (tests): Add bug-regex34.
20646 (bug-regex34-ENV): Define.
20647 * posix/bug-regex34.c: New file.
20648
7e2f0d2d
AS
20649 [BZ #11561]
20650 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20651 elements compare against the byte sequence of it, not its name.
20652 * posix/Makefile (tests): Add bug-regex35.
20653 (bug-regex35-ENV): Define.
20654 * posix/bug-regex35.c: New file.
20655
a175b684
TV
206562013-02-11 Tom de Vries <tom@codesourcery.com>
20657
20658 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20659 comment.
20660 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20661 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20662 (CHECK_EOL): Add undef.
20663
310998fe 206642013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20665
20666 * bits/stdlib-bsearch.h: New file.
20667 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20668 * stdlib/stdlib.h: Likewise.
41eda41d 20669
8ded91fb
RM
206702013-02-11 Roland McGrath <roland@hack.frob.com>
20671
20672 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20673 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20674 declaration.
20675 * manual/search.texi (Array Search Function): Add missing const in
20676 lfind prototype.
20677 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20678 declaration to use rlim_t.
20679 (Basic Scheduling Functions): Remove erroneous const from
20680 sched_getparam prototype. Remove erroneous * from
20681 sched_get_priority_max and sched_get_priority_min prototypes.
20682 (Resource Usage): Fix summary @comment on vtimes to refer to
20683 sys/vtimes.h rather than vtimes.h.
20684 Add missing *s in vtimes prototype.
20685 (Limits on Resources): Fix ulimit prototype to return long int.
20686 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20687 prototypes to use long int rather than double.
20688 (BSD Random): Fix initstate and setstate to use char *, not void *.
20689 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20690 prototype to make second argument 'struct aiocb64 *const[]'.
20691 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20692 (Status of AIO Operations): Remove erroneous const in aio_return and
20693 aio_return64 prototypes.
20694 (Synchronizing I/O): Fix sync prototype to return void.
20695 * manual/startup.texi (Suboptions): Remove an erroneous const in
20696 getsubopt prototype.
20697 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20698 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20699 use size_t rather than int.
20700 (Scanning All Users): Likewise for getpwent_r.
20701 (Setting Groups): Add missing const to setgroups prototype.
20702 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20703 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20704 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20705 'const void *' rather than 'const char *'.
20706 (Host Address Functions): Likewise for inet_ntop.
20707 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20708 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20709 ssize_t for return value.
20710 (Sending Data): Likewise for send, sendto, sendmsg.
20711 (Socket Option Functions): Add a missing const in setsockopt prototype.
20712 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20713 use wchar_t for the argument.
20714 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20715 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20716 take no arguments.
20717 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20718 double/float/long double for second argument.
20719 Fix return types of significand, significandf, significandl.
20720 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20721 argument in fchmod prototype.
20722 (File Owner): Use uid_t and gid_t in fchown prototype.
20723 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20724 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20725 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20726 use 'const struct dirent **' as argument types to CMP function pointer
20727 argument.
20728 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20729 (File Times): Fix summary magic @comment for struct utimbuf and utime
20730 to refer to utime.h, not time.h.
20731 * manual/string.texi (Argz Functions): Add missing const in
20732 argz_extract and argz_next prototypes.
20733 (Finding Tokens in a String): Likewise for basename.
20734 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20735 (Copying and Concatenation): Fix typo in wmemmove prototype.
20736 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20737 (Signal Stack): Remove erroneous const in sigstack prototype.
20738 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20739 prototype.
20740 (Simple Calendar Time): Likewise for stime.
20741 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20742 prototype.
20743 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20744 say sys/sysctl.h instead.
20745 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20746 and vsyslog prototypes.
20747
fe77fe6d
TV
207482013-02-11 Tom de Vries <tom@codesourcery.com>
20749
20750 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20751 Remove.
20752
3a09b620
RM
207532013-02-11 Roland McGrath <roland@hack.frob.com>
20754
20755 * misc/sys/mman.h: Fix typo in mremap comment.
20756
550a0b89
RM
207572013-02-08 Roland McGrath <roland@hack.frob.com>
20758
20759 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20760 the '\0' terminator.
20761
a2da1673
JM
207622013-02-08 Joseph Myers <joseph@codesourcery.com>
20763
20764 [BZ #13550]
20765 * debug/segfault.c: Don't include <bp-checks.h>.
20766 * sysdeps/generic/bp-checks.h: Remove file.
20767 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20768 (__GETDENTS): Don't use CHECK_N.
20769 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20770 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20771 (__getgroups): Don't use CHECK_N.
20772 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20773 (setgroups): Don't use CHECK_N.
20774 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20775 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20776 (__libc_msgrcv): Don't use CHECK_N.
20777 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20778 (__libc_msgsnd): Don't use CHECK_N.
20779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20780 <bp-checks.h>.
20781 (__libc_pread): Don't use CHECK_N.
20782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20783 include <bp-checks.h>.
20784 (__libc_pread64): Don't use CHECK_N.
20785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20786 include <bp-checks.h>.
20787 (__libc_pwrite): Don't use CHECK_N.
20788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20789 include <bp-checks.h>.
20790 (__libc_pwrite64): Don't use CHECK_N.
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20792 <bp-checks.h>.
20793 (__libc_pread): Don't use CHECK_N.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20795 include <bp-checks.h>.
20796 (__libc_pread64): Don't use CHECK_N.
20797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20798 include <bp-checks.h>.
20799 (__libc_pwrite): Don't use CHECK_N.
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20801 include <bp-checks.h>.
20802 (__libc_pwrite64): Don't use CHECK_N.
20803 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20804 (do_pread): Don't use CHECK_N.
20805 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20806 (do_pread64): Don't use CHECK_N.
20807 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20808 (do_pwrite): Don't use CHECK_N.
20809 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20810 (do_pwrite64): Don't use CHECK_N.
20811 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20812 (__libc_readv): Don't use CHECK_N.
20813 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20814 (semop): Don't use CHECK_N.
20815 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20816 <bp-checks.h>.
20817 (semtimedop): Don't use CHECK_N.
20818 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20819 (__libc_pread): Don't use CHECK_N.
20820 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20821 <bp-checks.h>.
20822 (__libc_pread64): Don't use CHECK_N.
20823 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20824 <bp-checks.h>.
20825 (__libc_pwrite): Don't use CHECK_N.
20826 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20827 <bp-checks.h>.
20828 (__libc_pwrite64): Don't use CHECK_N.
20829 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20830 <bp-checks.h>.
20831 (__libc_msgrcv): Don't use CHECK_N.
20832 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20833 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20834 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20835 (__libc_writev): Don't use CHECK_N.
20836
b84660a8
RM
208372013-02-08 Roland McGrath <roland@hack.frob.com>
20838
7f3e75f8
RM
20839 * string/strcpy.c: Removed unused variable.
20840
b84660a8
RM
20841 * Makeconfig (+sysdep-includes): Define with := rather than =.
20842 Use an existing include/ subdir of each sysdeps dir before it.
20843
471514d3
CD
208442013-02-08 Carlos O'Donell <carlos@redhat.com>
20845
20846 * nscd/connection.c (register_traced_file): Comment function.
20847 [HAVE_INOTIFY] (union __inev): Define.
20848 [HAVE_INOTIFY] (inotify_check_files): New function.
20849 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20850 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20851 clear_db_cache.
20852 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20853
b2d3c3be
CD
208542013-02-08 Carlos O'Donell <carlos@redhat.com>
20855
20856 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20857 loaded if not already and that a failure is permanent.
20858
b39949d2
CD
208592013-02-08 Carlos O'Donell <carlos@redhat.com>
20860
ddacd1db 20861 [BZ #15006]
b39949d2
CD
20862 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20863 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20864
b2c9eff4
JM
208652013-02-08 Joseph Myers <joseph@codesourcery.com>
20866
f3aae3f3
JM
20867 [BZ #13550]
20868 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20869 (CHECK_1_NULL_OK): Likewise.
20870 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20871 (__fxstat): Do not use CHECK_1.
20872 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20873 <bp-checks.h>.
20874 (___fxstat64): Do not use CHECK_1.
20875 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20876 <bp-checks.h>.
20877 (__fxstatat): Do not use CHECK_1.
20878 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20879 <bp-checks.h>.
20880 (__fxstatat64): Do not use CHECK_1.
20881 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20882 <bp-checks.h>.
20883 (__fxstat): Do not use CHECK_1.
20884 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20885 <bp-checks.h>.
20886 (__fxstatat): Do not use CHECK_1.
20887 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20888 <bp-checks.h>.
20889 (__getresgid): Do not use CHECK_1.
20890 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20891 <bp-checks.h>.
20892 (__getresuid): Do not use CHECK_1.
20893 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20894 <bp-checks.h>.
20895 (__lxstat): Do not use CHECK_1.
20896 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20897 <bp-checks.h>.
20898 (__old_msgctl): Do not use CHECK_1.
20899 (__new_msgctl): Likewise.
20900 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20901 <bp-checks.h>.
20902 (__new_setrlimit): Do not use CHECK_1.
20903 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20904 <bp-checks.h>.
20905 (__old_shmctl): Do not use CHECK_1.
20906 (__new_shmctl): Likewise.
20907 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20908 <bp-checks.h>.
20909 (__xstat): Do not use CHECK_1.
20910 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20911 (__lxstat): Do not use CHECK_1.
20912 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20913 <bp-checks.h>.
20914 (___lxstat64): Do not use CHECK_1.
20915 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20916 (__old_msgctl): Do not use CHECK_1.
20917 (__new_msgctl): Likewise.
20918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20919 <bp-checks.h>.
20920 (__gettimeofday): Do not use CHECK_1.
20921 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20922 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20923 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20924 <bp-checks.h>.
20925 (__gettimeofday): Do not use CHECK_1.
20926 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20927 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20928 (__new_shmctl): Do not use CHECK_1.
20929 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20930 <bp-checks.h>.
20931 (do_sigtimedwait): Do not use CHECK_1.
20932 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20933 <bp-checks.h>.
20934 (do_sigwaitinfo): Do not use CHECK_1.
20935 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20936 <bp-checks.h>.
20937 (msgctl): Do not use CHECK_1.
20938 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20939 <bp-checks.h>.
20940 (shmctl): Do not use CHECK_1.
20941 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20942 (ustat): Do not use CHECK_1.
20943 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20944 <bp-checks.h>.
20945 (__fxstat): Do not use CHECK_1.
20946 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20947 <bp-checks.h>.
20948 (__fxstatat): Do not use CHECK_1.
20949 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20950 <bp-checks.h>.
20951 (__lxstat): Do not use CHECK_1.
20952 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20953 <bp-checks.h>.
20954 (__xstat): Do not use CHECK_1.
20955 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20956 (__xstat): Do not use CHECK_1.
20957 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20958 (___xstat64): Do not use CHECK_1.
20959
b2c9eff4
JM
20960 [BZ #13550]
20961 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20962 definitions.
20963 (CHECK_BOUNDS_HIGH): Likewise.
20964 * string/strcpy.c: Do not include <bp-checks.h>.
20965 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20966
f1d70dad
RM
209672013-02-07 Roland McGrath <roland@hack.frob.com>
20968
20969 * nscd/nscd-client.h (__nscd_drop_map_ref):
20970 Add __attribute__ ((unused)).
20971 * nis/nss-nisplus.h (niserr2nss): Likewise.
20972
20973 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20974 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20975
20976 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20977 Remove inline keyword.
20978 * include/rounding-mode.h (round_away): Likewise.
20979 * libio/wfileops.c (adjust_wide_data): Likewise.
20980 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20981 (__m128i_strloadu_tolower): Likewise.
20982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20983 (__m128i_strloadu_tolower): Likewise.
20984 * time/mktime.c (ydhms_diff): Likewise.
20985 * locale/elem-hash.h (elem_hash): Likewise.
20986 * locale/setlocale.c (setdata): Likewise.
20987 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20988 (re_string_wchar_at): Likewise.
20989 (bitset_not, bitset_merge, bitset_mask): Likewise.
20990 [!(__GNUC__ > 3)] (inline): Remove macro.
20991 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20992 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20993 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20994 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20995 * string/memcmp.c (memcmp_bytes): Likewise.
20996 * locale/programs/locarchive.c (compute_hashval): Likewise.
20997 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20998 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20999 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21000 * nss/getent.c (print_rpc, print_protocols): Likewise.
21001 (print_passwd, print_group, print_aliases): Likewise.
21002 * nis/nss-nisplus.h (niserr2nss): Likewise.
21003 * nscd/connections.c (restart_p): Likewise.
21004 Change return type to bool.
21005
eab55bfb
RM
210062013-02-05 Roland McGrath <roland@hack.frob.com>
21007
7bd642f5
RM
21008 * Makeconfig (all-Depend-files): Add existing
21009 $(sorted-subdirs:=/Depend) files.
21010 (all-subdirs): Remove nss.
21011 * sysdeps/unix/inet/Subdirs: Add it here instead.
21012 * hesiod/Depend: New file.
21013
573c29b2
RM
21014 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21015 instead of calling alloca.
21016
b2e25af0
RM
21017 * io/lseek.c (__lseek): Rename to __libc_lseek.
21018 Define __lseek as an alias.
21019
eab55bfb
RM
21020 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21021
9a0d1941
CD
210222013-02-04 Carlos O'Donell <carlos@redhat.com>
21023
21024 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21025 else clause and remove check for non-standard endianness.
21026
b83bbec4
DM
210272013-02-04 David S. Miller <davem@davemloft.net>
21028
21029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21030
6277fdab
JM
210312013-02-04 Joseph Myers <joseph@codesourcery.com>
21032
21033 [BZ #13550]
21034 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21035 (__ubp_memchr): Remove prototype.
21036 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21037 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21038 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21039 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21040 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21041 Remove alias.
21042 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21043 (__ubp_memchr): Likewise.
21044 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21045 (__ubp_memchr): Likewise.
21046 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21047 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21048 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21049 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21050 CHECK_STRING.
21051 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21052 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21053 (__getcwd): Do not use CHECK_STRING.
21054 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21055 <bp-checks.h>.
21056 (__real_chown): Do not use CHECK_STRING.
21057 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21058 <bp-checks.h>.
21059 (fchownat): Do not use CHECK_STRING.
21060 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21061 CHECK_STRING.
21062 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21063 <bp-checks.h>.
21064 (__lchown): Do not use CHECK_STRING.
21065 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21066 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21067 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21068 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21070 include <bp-checks.h>.
21071 (truncate64): Do not use CHECK_STRING.
21072 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21073 <bp-checks.h>.
21074 (__real_chown): Do not use CHECK_STRING.
21075 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21076 <bp-checks.h>.
21077 (__lchown): Do not use CHECK_STRING.
21078 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21079 <bp-checks.h>.
21080 (__chown): Do not use CHECK_STRING.
21081 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21082 <bp-checks.h>.
21083 (truncate64): Do not use CHECK_STRING.
21084 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21085 Likewise.
21086 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21087 (__xmknod): Do not use CHECK_STRING.
21088 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21089 <bp-checks.h>.
21090 (__xmknodat): Do not use CHECK_STRING.
21091 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21092 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21093
903ae060
AS
210942013-02-04 Andreas Schwab <schwab@suse.de>
21095
21096 [BZ #14142]
21097 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21098 * include/netdb.h: Likewise for h_errno.
21099 * elf/tst-stackguard1.c: Include <tls.h>.
21100
542f9466
JK
211012013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21102
21103 * elf/link.h (struct link_map): Extend the l_addr comment.
21104 * include/link.h (struct link_map): Likewise.
21105
e782a927
JM
211062013-02-01 Joseph Myers <joseph@codesourcery.com>
21107
21108 [BZ #13550]
21109 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21110 (BOUNDED_1): Remove macro.
21111 * debug/backtrace.c: Don't include <bp-checks.h>.
21112 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21113 (__backtrace): Likewise.
21114 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21115 <bp-checks.h>.
21116 (__backtrace): Don't use BOUNDED_1.
21117 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21118 <bp-checks.h>.
21119 (__backtrace): Don't use BOUNDED_1.
21120 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21121 (__backtrace): Don't use BOUNDED_1.
21122 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21123 (shmat): Don't use BOUNDED_N.
21124
8cf28c5e
JM
211252013-01-31 Joseph Myers <joseph@codesourcery.com>
21126
3a7ac8a0
JM
21127 [BZ #13550]
21128 * sysdeps/generic/bp-start.h: Remove file.
21129 * csu/libc-start.c: Don't include <bp-start.h>.
21130 (LIBC_START_MAIN): Set up __environ directly instead of using
21131 INIT_ARGV_and_ENVIRON.
21132 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21133 <bp-start.h>.
21134
f3499f95
JM
21135 [BZ #13550]
21136 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21137 definitions.
21138 (CHECK_FCNTL): Likewise.
21139 (CHECK_N_PAGES): Likewise.
21140
32a45bea
JM
21141 [BZ #13550]
21142 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21143 definitions.
21144 (CHECK_SIGSET_NULL_OK): Likewise.
21145 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21146 <bp-checks.h>.
21147 (sigpending): Don't use CHECK_SIGSET.
21148 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21149 <bp-checks.h>.
21150 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21151 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21152 <bp-checks.h>.
21153 (do_sigsuspend): Don't use CHECK_SIGSET.
21154 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21155 use CHECK_SIGSET.
21156 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21157 (do_sigwait): Don't use CHECK_SIGSET.
21158 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21159 use CHECK_SIGSET.
21160 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21161 include <bp-checks.h>.
21162 (sigpending): Don't use CHECK_SIGSET.
21163 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21164 include <bp-checks.h>.
21165 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21166 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21167 <bp-checks.h>.
21168 (sigpending): Don't use CHECK_SIGSET.
21169 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21170 <bp-checks.h>.
21171 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21172
2e8a5c8c
JM
21173 [BZ #13550]
21174 * sysdeps/generic/bp-semctl.h: Remove file.
21175 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21176 <bp-checks.h> and <bp-semctl.h>.
21177 (__old_semctl): Don't use CHECK_SEMCTL.
21178 (__new_semctl): Likewise.
21179 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21180 and <bp-semctl.h>.
21181 (__old_semctl): Don't use CHECK_SEMCTL.
21182 (__new_semctl): Likewise.
21183 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21184 <bp-checks.h> and <bp-semctl.h>.
21185 (__old_semctl): Don't use CHECK_SEMCTL.
21186 (__new_semctl): Likewise.
21187 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21188 <bp-checks.h> and <bp-semctl.h>.
21189 (semctl): Don't use CHECK_SEMCTL.
21190
c2d54929
JM
21191 [BZ #13550]
21192 * Makerules (elide-bp-thunks): Remove variable.
21193 (elide-routines.oS): Don't use $(elide-bp-thunks).
21194 (elide-routines.os): Likewise.
21195 (elide-routines.o): Likewise.
21196 (elide-routines.op): Likewise.
21197 (elide-routines.og): Likewise.
21198 (objects): Don't use $(bp-thunks).
21199 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21200 include.
21201 (common-generated): Do not add s-proto-bp.d.
21202 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21203 (int): Likewise.
21204 (typ): Likewise.
21205 Do not generate makefile rules for bounded-pointer thunks.
21206 * sysdeps/generic/bp-thunks.h: Remove file.
21207 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21208 * sysdeps/unix/s-proto-bp.S: Likewise.
21209
8cf28c5e
JM
21210 [BZ #15062]
21211 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21212 parts of result separately when argument is not close to line from
21213 -i to i and one part of argument is small.
21214 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21215 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21216 * math/libm-test.inc (cacos_test): Add more tests.
21217 (casin_test): Likewise.
21218 (casinh_test): Likewise.
21219 * sysdeps/i386/fpu/libm-test-ulps: Update.
21220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21221
c4e33b8d
DM
212222013-01-31 David S. Miller <davem@davemloft.net>
21223
21224 * po/de.po: Update from translation team.
21225
3b60b421
MK
212262013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21227
21228 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21229
bb931195
TS
212302013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21231
b5a5da23
TS
21232 * configure.in (_AC_PROG_CC_C89): New definition.
21233 * configure: Regenerate.
21234
bb931195
TS
21235 * configure.in (AC_PROG_CPP): New definition.
21236 * configure: Regenerate.
21237
8c53a12c
JM
212382013-01-23 Joseph Myers <joseph@codesourcery.com>
21239
21240 * debug/tst-backtrace.h: New file.
21241 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21242 (ret): Remove variable.
21243 (x): Likewise.
21244 (FAIL): Remove macro.
21245 (NO_INLINE): Likewise.
21246 (fn1): Use match function instead of strstr.
21247 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21248 (ret): Remove variable.
21249 (x): Likewise.
21250 (FAIL): Remove macro.
21251 (NO_INLINE): Likewise.
21252 (fn): Use match function instead of strstr.
21253 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21254 (ret): Remove variable.
21255 (x): Likewise.
21256 (FAIL): Remove macro.
21257 (NO_INLINE): Likewise.
21258 (handle_signal): Use match function instead of strstr.
21259 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21260 (ret): Remove variable.
21261 (x): Likewise.
21262 (FAIL): Remove macro.
21263 (NO_INLINE): Likewise.
21264 (handle_signal): Use match function instead of strstr.
21265
4858fa2a
RM
212662013-01-23 Roland McGrath <roland@hack.frob.com>
21267
21268 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21269
bae8e7f5
DM
212702013-01-23 David S. Miller <davem@davemloft.net>
21271
21272 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21273 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21274 argument of CAS if possible.
21275 * sysdeps/sparc/sparc64/bits/atomic.h
21276 (__arch_compare_and_exchange_val_32_acq): Likewise.
21277 (__arch_compare_and_exchange_val_64_acq): Likewise.
21278
9cbbc4ae
PT
212792013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21280
21281 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21282 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21283 Include <limits.h>.
67b3f58c 21284 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21285
5655a0b5
AC
212862013-01-23 Adam Conrad <adconrad@0c3.net>
21287
21288 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21289 (LDFLAGS-tst-array5): Likewise.
21290
052aff95
JM
212912013-01-23 Joseph Myers <joseph@codesourcery.com>
21292
21293 [BZ #15036]
21294 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21295 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21296 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21297 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21298
7c1e01aa
DM
212992013-01-21 David S. Miller <davem@davemloft.net>
21300
21301 * sysdeps/sparc/backtrace.c: New file.
21302 * sysdeps/sparc/sparc32/backtrace.h: New file.
21303 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21304 * sysdeps/sparc/sparc64/backtrace.h: New file.
21305 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21306 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21307 -funwind-tables.
21308
ab087e0a
AS
213092013-01-21 Andreas Schwab <schwab@suse.de>
21310
21311 [BZ #15020]
21312 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21313 closed its stdout.
21314
ed689c2f
AS
213152013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21316
21317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21318 "mpa2.h".
21319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21320
31d470ac
JM
213212013-01-18 Joseph Myers <joseph@codesourcery.com>
21322 Mark Mitchell <mark@codesourcery.com>
21323 Tom de Vries <tom@codesourcery.com>
21324 Paul Pluzhnikov <ppluzhnikov@google.com>
21325
21326 * debug/tst-backtrace2.c: New file.
21327 * debug/tst-backtrace3.c: Likewise.
21328 * debug/tst-backtrace4.c: Likewise.
21329 * debug/tst-backtrace5.c: Likewise.
21330 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21331 (CFLAGS-tst-backtrace3.c): Likewise.
21332 (CFLAGS-tst-backtrace4.c): Likewise.
21333 (CFLAGS-tst-backtrace5.c): Likewise.
21334 (LDFLAGS-tst-backtrace2): Likewise.
21335 (LDFLAGS-tst-backtrace3): Likewise.
21336 (LDFLAGS-tst-backtrace4): Likewise.
21337 (LDFLAGS-tst-backtrace5): Likewise.
21338 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21339 tst-backtrace4 and tst-backtrace5.
21340
90567f30 213412013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21342 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21343
21344 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21345 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21346 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21347 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21349 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21350 "+r" and remove output regs list as redundant. Add explicit inline
21351 asm to specify register of return val to work around compiler codegen
21352 bug. Remove (int) cast on return value. Add return type parameter to
21353 use in macro so that this macro does not truncate return value for
21354 64-bit values.
21355 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21356 pass to INTERNAL_VSYSCALL_NCS.
21357 (INLINE_VSYSCALL): Add 'long int' as return type to
21358 INTERNAL_VSYSCALL_NCS macro invocation.
21359 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21360 INTERNAL_VSYSCALL_NCS macro invocation.
21361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21362
d3b9ea61
SP
213632013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21364
0b57daeb
SP
21365 [BZ #14496]
21366 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21367 Fix application of SIMD FP exception mask.
21368
caa99d06
SP
21369 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21370 mp_no from a power of two.
21371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21372 __mpexp_twomm1. Use __pow_mp.
21373
d3b9ea61
SP
21374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21375 multiplication.
21376
1dbaee3c
DM
213772013-01-17 David S. Miller <davem@davemloft.net>
21378
21379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21380
728d7b43
JM
213812013-01-17 Joseph Myers <joseph@codesourcery.com>
21382
21383 [BZ #15023]
21384 * include/complex.h: Condition contents on [!_COMPLEX_H].
21385 (__kernel_casinhf): New prototype.
21386 (__kernel_casinh): Likewise.
21387 (__kernel_casinhl): Likewise.
21388 * math/Makefile (libm_calls): Add k_casinh.
21389 * math/k_casinh.c: New file.
21390 * math/k_casinhf.c: Likewise.
21391 * math/k_casinhl.c: Likewise.
21392 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21393 finite nonzero arguments.
21394 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21395 finite nonzero arguments.
21396 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21397 finite nonzero arguments.
21398 * math/s_casinh.c: Do not include <float.h>.
21399 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21400 * math/s_casinhf.c: Do not include <float.h>.
21401 (__casinhf): Move code for finite nonzero arguments to
21402 k_casinhf.c.
21403 * math/s_casinhl.c: Do not include <float.h>.
21404 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21405 redefine.
21406 (__casinhl): Move code for finite nonzero arguments to
21407 k_casinhl.c.
21408 * math/libm-test.inc (cacos_test): Add more tests.
21409 * sysdeps/i386/fpu/libm-test-ulps: Update.
21410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21411
2a26ef3a
PT
214122013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21413
21414 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21415 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21416 [!HAVE_MREMAP]: Remove [defined linux] case.
21417 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21418
a897655d
SP
214192013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21420
21421 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21422
881ebe89 214232013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21424
21425 * elf/elf.h (R_386_SIZE32): New relocation.
21426 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21427 R_386_SIZE32.
21428 (elf_machine_rela): Likewise.
21429 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21430 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21431
59981e9b
JM
214322013-01-17 Joseph Myers <joseph@codesourcery.com>
21433
21434 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21435 (FP_FAST_FMA): Do not define.
21436 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21437 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21438 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21439 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21440 !_SOFT_FLOAT]: Likewise.
21441 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21442 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21443 value.
21444 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21445 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21446 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21447 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21448 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21449 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21450 file.
21451
cfa8054f
AS
214522013-01-16 Andreas Schwab <schwab@suse.de>
21453
21454 [BZ #14327]
21455 * include/stdlib.h (__mktemp): Add declaration.
21456 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21457 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21458
dd930cc5
SP
214592013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21460
881ebe89
SP
21461 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21462 definitions.
21463 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21464 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21465 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21466 definitions here.
21467 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21468 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21469 definitions.
21470 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21471 and ONE.
21472 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21473 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21474 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21475 definitions.
21476 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21477 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21478 definitions.
21479 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21480
dd930cc5
SP
21481 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21482
c19a9f89
DM
214832013-01-15 David S. Miller <davem@davemloft.net>
21484
1aa61767
DM
21485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21486 trunc{,f} to libm-sysdep_routes.
21487 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21489 file.
21490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21492 file.
21493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21494 file.
21495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21497 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21498 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21499 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21500 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21501 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21502 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21503
c42d5e98
DM
21504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21505 nearbyint{,f} to libm-sysdep_routes.
21506 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21508 New file.
21509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21510 file.
21511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21512 New file.
21513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21514 file.
21515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21518 file.
21519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21520 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21521 file.
21522 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21523 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21524 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21525
c19a9f89
DM
21526 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21527 libc_feholdexcept and libc_fesetenv.
21528
357679d2
MF
215292013-01-15 Mike Frysinger <vapier@gentoo.org>
21530
21531 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21532
65a82e3d
DM
215332013-01-14 David S. Miller <davem@davemloft.net>
21534
8b954ab9
DM
21535 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21536 (SPARC_ASM_VIS2_IFUNC): Likewise.
21537 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21539 use of 'siam' instruction.
21540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21541 Likewise.
21542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21543 Likewise.
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21545 Likewise.
21546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21551 file.
21552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21553 file.
21554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21555 file.
21556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21557 file.
21558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21563 new VIS2 routines.
21564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21567 Likewise.
21568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21573 routines to libm-sysdep_routines.
21574 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21575
65a82e3d
DM
21576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21577 fdim/fdimf to libm-sysdep_routines.
21578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21579 file.
21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21582 file.
21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21586 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21587 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21588 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21589 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21590
e34ab705
SP
215912013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21592
2a91b573
SP
21593 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21594 to optimize copies.
21595
1066a534
SP
21596 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21599
e34ab705
SP
21600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21601 local variable MPTWO.
21602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21603 Likewise.
21604
aba5e596
MF
216052013-01-13 Mike Frysinger <vapier@gentoo.org>
21606
21607 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21608 GLOB_NOESCAPE.
21609
e557e9e5
MF
216102013-01-13 Mike Frysinger <vapier@gentoo.org>
21611
21612 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21613
0428cec9
MF
216142013-01-13 Mike Frysinger <vapier@gentoo.org>
21615
21616 * manual/pattern.texi (glob_t): Document gl_flags.
21617 (glob64_t): Likewise.
21618
8794a964
DM
216192013-01-11 David S. Miller <davem@davemloft.net>
21620
66438c3f
RM
21621 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21622 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21623 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21624 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21625 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21626 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21627 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21628 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21629 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21630 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21631 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21632 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21633 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21634
4ae4244d
DM
21635 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21636 sparc V9 rather than using V8 code.
21637 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21638 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21639
8794a964
DM
21640 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21641 Move to...
21642 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21643 Here.
21644
6270516e
RM
216452013-01-11 Roland McGrath <roland@hack.frob.com>
21646
21647 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21648 not in the main loop.
21649 * configure: Regenerated.
21650
6a57d931
JM
216512013-01-11 Joseph Myers <joseph@codesourcery.com>
21652
21653 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21654 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21655 to just #else.
21656 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21657 [!__GLIBC_HAVE_LONG_LONG] case.
21658 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21659 condition to just #else.
21660 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21661 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21662 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21663 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21664 unconditional.
21665 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21666 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21667 #elif condition to just #else.
21668 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21669 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21670 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21671 #elif condition to just #else.
21672
0e8529e9
SE
216732013-01-11 Steve Ellcey <sellcey@mips.com>
21674
21675 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21676 (EF_MIPS_ARCH_64): Fix value.
21677 (EF_MIPS_ARCH_32R2): New.
21678 (EF_MIPS_ARCH_64R2): New.
21679
740b3dbe
L
216802013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21681
21682 * Makeconfig (+link-pie-before-libc): New.
21683 (+link-pie-after-libc): Likewise.
21684 (+link-pie-tests): Likewise.
21685 (+link-pie): Rewritten.
21686 (link-before-libc): Remove $(config-LDFLAGS).
21687 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21688 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21689 (config-LDFLAGS): Renamed to ...
21690 (rtld-LDFLAGS): This.
21691 (rtld-tests-LDFLAGS): New macro.
21692 (link-libc-rpath-link): Likewise.
21693 (link-libc-tests-rpath-link): Likewise.
21694 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21695 (link-libc): Prepand $(link-libc-rpath-link).
21696 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21697 (test-program-prefix): New macro.
21698 (test-via-rtld-prefix): Likewise.
21699 (test-program-cmd): Likewise.
21700 (host-test-program-cmd): Likewise.
21701 * Makefile ($(common-objpfx)testrun.sh): Replace
21702 $(run-program-prefix) with $(test-program-prefix).
21703 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21704 $(rtld-LDFLAGS).
21705 ($(common-objpfx)shlib.lds): Likewise.
21706 (build-module-helper): Likewise.
21707 ($(common-objpfx)format.lds): Likewise.
21708 * Rules (binaries-pie-tests): New.
21709 (binaries-pie-notests): Likewise.
21710 (binaries-pie): Rewritten.
21711 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21712 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21713 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21714 (make-test-out): Replace $(host-built-program-cmd) with
21715 $(host-test-program-cmd).
21716 * config.make.in (build-hardcoded-path-in-tests): New variable.
21717 * configure.in (--enable-hardcoded-path-in-tests): New configure
21718 option.
21719 (hardcoded_path_in_tests): New AC_SUBST.
21720 * configure: Regenerated.
21721 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21722 $(built-program-cmd) with $(test-program-cmd).
21723 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21724 (test_program_cmd): This.
21725 * elf/Makefile ($(objpfx)order.out): Run test with
21726 $(test-program-prefix).
21727 ($(objpfx)order2.out): Likewise.
21728 ($(objpfx)tst-initorder.out): Likewise.
21729 ($(objpfx)tst-initorder2.out): Likewise.
21730 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21731 $(test-program-cmd).
21732 ($(objpfx)tst-array1-static.out): Likewise.
21733 ($(objpfx)tst-array2.out): Likewise.
21734 ($(objpfx)tst-array3.out): Likewise.
21735 ($(objpfx)tst-array4.out): Likewise.
21736 ($(objpfx)tst-array5.out): Likewise.
21737 ($(objpfx)tst-array5-static.out): Likewise.
21738 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21739 $(test-program-cmd).
21740 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21741 $(run-program-prefix) with $(test-program-prefix).
21742 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21743 (test_program_prefix): This.
21744 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21745 $(run-program-prefix) with $(test-program-prefix).
21746 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21747 (test_program_prefix): This.
21748 * iconvdata/tst-tables.sh: Likewise.
21749 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21750 $(run-program-prefix) with $(test-program-prefix).
21751 ($(objpfx)tst-translit.out): Likewise.
21752 ($(objpfx)tst-gettext2.out): Likewise.
21753 ($(objpfx)tst-gettext4.out): Likewise.
21754 ($(objpfx)tst-gettext6.out): Likewise.
21755 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21756 (test_program_prefix): This.
21757 * intl/tst-gettext2.sh: Likewise.
21758 * intl/tst-gettext4.sh Likewise.
21759 * intl/tst-gettext6.sh: Likewise.
21760 * intl/tst-translit.sh: Likewise.
21761 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21762 with $(test-program-cmd).
21763 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21764 $(run-program-prefix) with $(test-program-prefix).
21765 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21766 (test_program_prefix): This.
21767 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21768 $(run-program-prefix) with $(test-program-prefix).
21769 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21770 (test_program_prefix): This.
21771 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21772 * posix/Makefile ($(objpfx)globtest.out): Replace
21773 $(run-via-rtld-prefix) and $(test-wrapper) with
21774 $(test-program-prefix) and $(test-via-rtld-prefix).
21775 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21776 $(test-program-prefix).
21777 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21778 $(host-test-program-cmd).
21779 (tst-spawn-ARGS): Likewise.
21780 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21781 $(test-program-prefix).
21782 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21783 (test_via_rtld_prefix): This.
21784 (test_wrapper): Renamed to ...
21785 (test_program_prefix): This.
21786 (run_program_prefix): Replaced by test_program_prefix.
21787 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21788 (test_program_prefix): This.
21789 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21790 with $(host-test-program-cmd).
21791 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21792 $(run-program-prefix) with $(test-program-prefix).
21793 ($(objpfx)tst-printf.out): Likewise.
21794 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21795 $(test-program-cmd).
21796 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21797 (test_program_prefix): This.
21798 * stdio-common/tst-unbputc.sh: Likewise.
21799 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21800 $(run-program-prefix) with $(test-program-prefix).
21801 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21802 (test_program_prefix): This.
21803 * string/Makefile ($(objpfx)tst-svc.out): Replace
21804 $(built-program-cmd) with $(test-program-cmd).
21805
c6fe55cf
AJ
218062013-01-11 Andreas Jaeger <aj@suse.de>
21807
21808 [BZ #15003]
21809 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21810 value. Sync with Linux 3.7.
21811
9e6919c8
DM
218122013-01-10 David S. Miller <davem@davemloft.net>
21813
21814 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21815 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21816 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21817
1c9f1a02
RM
218182013-01-10 Roland McGrath <roland@hack.frob.com>
21819
21820 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21821 never set.
21822 * configure: Regenerated.
21823
b9de2dde
DM
218242013-01-10 David S. Miller <davem@davemloft.net>
21825
21826 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21827 sparc V9 rather than using V8 code.
21828 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21829 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21830
e7f68ef4
RM
218312013-01-10 Roland McGrath <roland@hack.frob.com>
21832
21833 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21834 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21835 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21836 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21837 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21838 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21839 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21840 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21841 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21842 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21843 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21844 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21845 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21846 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21847 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21848 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21849 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21850 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21851 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21852 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21853 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21854 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21855 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21856 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21857 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21858 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21859 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21860
5a47cc9c
DM
218612013-01-10 David S. Miller <davem@davemloft.net>
21862
21863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21864
4cf8f209
L
218652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21866
21867 * posix/Makefile (tests-static): New variable.
21868 (tests): Add $(tests-static).
21869 (tst-exec-static-ARGS): New variable.
21870 (tst-spawn-static-ARGS): Likewise.
21871 * posix/tst-exec-static.c: New file.
21872 * posix/tst-spawn-static.c: Likewise.
21873 * posix/tst-exec.c: Support run directly.
21874 * posix/tst-spawn.c: Likewise.
21875
fed0faa1
JM
218762013-01-10 Joseph Myers <joseph@codesourcery.com>
21877
828beb13
JM
21878 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21879 long.
21880 * math/bits/mathcalls.h (llrint): Likewise.
21881 (llround): Likewise.
21882 * stdlib/stdlib.h (struct drand48_data): Likewise.
21883 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21884 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21885 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21886 Likewise.
21887 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21888 Likewise.
21889 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21890 (elf_greg_t): Likewise.
21891 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21892 (__jmp_buf): Likewise.
21893 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21894 definitions.
21895 (llrint): Likewise, for all definitions.
21896 (llrintl): Likewise.
21897
fed0faa1
JM
21898 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21899 Remove [__GNUC__] condition.
21900 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21901 condition to just [__USE_ISOC99].
21902 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21903
1a20cb20
L
219042013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21905
21906 [BZ #14200]
21907 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21908 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21909 defined.
21910 (_POSIX_V6_ILP32_OFF32): Likewise.
21911 (_XBS5_ILP32_OFF32): Likewise.
21912 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21913 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21914
751b85f7
SP
219152013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21916
7490eb81
SP
21917 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21918
751b85f7
SP
21919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21920 doubles __mpexp_twomm1. Adjust usage.
21921 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21922 Remove.
21923
988197f0
AS
219242013-01-10 Andreas Schwab <schwab@suse.de>
21925
21926 [BZ #14964]
21927 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21928 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21929
e83d7298
DM
219302013-01-09 David S. Miller <davem@davemloft.net>
21931
034ed64b 21932 [BZ #15003]
57f41c40
AS
21933 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21934 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21935 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21936 (TCP_FASTOPEN): Define.
e83d7298
DM
21937 (tcp_repair_opt): New structure.
21938 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21939 enum values.
57f41c40
AS
21940 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21941 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21942 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21943 (tcp_cookie_transactions): New structure.
21944
d5e0b9bd
AB
219452013-01-09 Anton Blanchard <anton@samba.org>
21946
21947 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21948 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21950 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21951
0c07e3ea
JM
219522013-01-09 Joseph Myers <joseph@codesourcery.com>
21953
21954 * include/features.h (__USE_ANSI): Remove.
21955
232f7002
RM
219562013-01-09 Roland McGrath <roland@hack.frob.com>
21957
ad98e30c
RM
21958 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21959
232f7002
RM
21960 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21961
950c99ca
SP
219622013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21963
b5792741
SP
21964 * sysdeps/s390/fpu/libm-test-ulps: Update.
21965
47cf2278
SP
21966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21967
950c99ca
SP
21968 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21969 (__acr): Likewise.
21970 (__cpy): Likewise.
21971 (norm): Likewise.
21972 (denorm): Likewise.
21973 (__mp_dbl): Likewise.
21974 (__dbl_mp): Likewise.
21975 (add_magnitudes): Likewise.
21976 (sub_magnitudes): Likewise.
21977 (__add): Likewise.
21978 (__sub): Likewise.
21979 (__mul): Likewise.
21980 (__inv): Likewise.
21981 (__dvd): Likewise.
21982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21983 (__acr): Likewise.
21984 (__cpy): Likewise.
21985 (norm): Likewise.
21986 (denorm): Likewise.
21987 (__mp_dbl): Likewise.
21988 (__dbl_mp): Likewise.
21989 (add_magnitudes): Likewise.
21990 (sub_magnitudes): Likewise.
21991 (__add): Likewise.
21992 (__sub): Likewise.
21993 (__mul): Likewise.
21994 (__inv): Likewise.
21995 (__dvd): Likewise.
21996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21997 (__acr): Likewise.
21998 (__cpy): Likewise.
21999 (norm): Likewise.
22000 (denorm): Likewise.
22001 (__mp_dbl): Likewise.
22002 (__dbl_mp): Likewise.
22003 (add_magnitudes): Likewise.
22004 (sub_magnitudes): Likewise.
22005 (__add): Likewise.
22006 (__sub): Likewise.
22007 (__mul): Likewise.
22008 (__inv): Likewise.
22009 (__dvd): Likewise.
22010
eede9df9
JM
220112013-01-08 Joseph Myers <joseph@codesourcery.com>
22012
22013 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22014 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22015 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22016 2 && __USE_EXTERN_INLINES]: Likewise.
22017
c40ea3d9
AJ
220182013-01-08 Andreas Jaeger <aj@suse.de>
22019
22020 [BZ# 14985]
22021 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22022 Remove.
22023 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22024 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22025
2ccdea26
AB
220262013-01-07 Anton Blanchard <anton@samba.org>
22027
22028 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22029 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22030 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22031 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22032 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22033 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22034 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22035 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22037 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22038 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22039 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22040 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22041 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22042 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22043 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22044 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22045 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22046 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22047 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22048 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22049 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22050 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22051 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22052 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22053 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22054 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22055 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22057 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22058 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22060 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22061 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22062 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22063 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22064 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22066 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22067 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22068 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22070 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22071
a9708fed
JM
220722013-01-07 Joseph Myers <joseph@codesourcery.com>
22073
375607b9
JM
22074 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22075 (__MALLOC_PMT): Likewise.
22076 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22077 [__GNUC__], only on [_LIBC].
22078 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22079 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22080 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22081 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22082 forward declaration.
22083 (realloc_hook_ini): Likewise.
22084 (memalign_hook_ini): Likewise.
22085 (__libc_memalign): Do not use __MALLOC_PMT in variable
22086 declaration.
22087 (__libc_valloc): Likewise.
22088 (__libc_pvalloc): Likewise.
22089 (__libc_calloc): Likewise.
22090 (__posix_memalign): Likewise.
22091
a9708fed
JM
22092 [BZ #14996]
22093 * math/s_casinh.c: Include <float.h>.
22094 (__casinh): Do not do computation with squaring and square root
22095 for large arguments.
22096 * math/s_casinhf.c: Include <float.h>.
22097 (__casinhf): Do not do computation with squaring and square root
22098 for large arguments.
22099 * math/s_casinhl.c: Include <float.h>.
22100 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22101 (__casinhl): Do not do computation with squaring and square root
22102 for large arguments.
22103 * math/libm-test.inc (casin_test): Add more tests.
22104 (casinh_test): Likewise.
22105 * sysdeps/i386/fpu/libm-test-ulps: Update.
22106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22107
afec409a
L
221082013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22109
22110 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22111 (__x86_64_raw_data_cache_size): Likewise.
22112 (__x86_64_data_cache_size_half): Likewise.
22113 (__x86_64_raw_data_cache_size_half): Likewise.
22114 (__x86_64_shared_cache_size): Likewise.
22115 (__x86_64_raw_shared_cache_size): Likewise.
22116 (__x86_64_shared_cache_size_half): Likewise.
22117 (__x86_64_raw_shared_cache_size_half): Likewise.
22118 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22119 to ...
22120 (__x86_data_cache_size): This.
22121 (__x86_64_raw_data_cache_size): Renamed to ...
22122 (__x86_raw_data_cache_size): This.
22123 (__x86_64_data_cache_size_half): Renamed to ...
22124 (__x86_data_cache_size_half): This.
22125 (__x86_64_raw_data_cache_size_half): Renamed to ...
22126 (__x86_raw_data_cache_size_half): This.
22127 (__x86_64_shared_cache_size): Renamed to ...
22128 (__x86_shared_cache_size): This.
22129 (__x86_64_raw_shared_cache_size): Renamed to ...
22130 (__x86_raw_shared_cache_size): This.
22131 (__x86_64_shared_cache_size_half): Renamed to ...
22132 (__x86_shared_cache_size_half): This.
22133 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22134 (__x86_raw_shared_cache_size_half): This.
22135 * sysdeps/x86_64/memcpy.S: Updated.
22136 * sysdeps/x86_64/memset.S: Likewise.
22137 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22138 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22140
0b3986d0
DM
221412013-01-04 David S. Miller <davem@davemloft.net>
22142
22143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22144
e47686e9
AS
221452013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22146
d643bac1
AS
22147 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22148 1 to avoid redefinition warning.
22149 (__USE_GNU): Don't define.
22150 (init_signaling_nan): Protoize.
22151
e47686e9
AS
22152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22153
b18decba
SP
221542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22155
fffb407f
SP
22156 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22158 (__cpymn): Likewise.
22159 (norm): Remove commented code.
22160 (denorm): Likewise.
22161 (__mp_dbl): Likewise.
22162 (__inv): Likewise.
22163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22164 (__cpymn): Likewise.
22165 (norm): Remove commented code.
22166 (denorm): Likewise.
22167 (__mp_dbl): Likewise.
22168 (__inv): Likewise.
22169
b18decba
SP
22170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22171 mp_no value for 1.0 and 2.0.
22172 (norm): Use RADIXI instead of radixi.d.
22173 (denorm): Likewise.
22174 (__mul): Use 0.0 instead of zero.d.
22175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22176 mp_no value for 1.0 and 2.0.
22177 (norm): Use RADIXI instead of radixi.d.
22178 (denorm): Likewise.
22179 (__mul): Use 0.0 instead of zero.d.
22180
cdc1c96f
JM
221812013-01-04 Joseph Myers <joseph@codesourcery.com>
22182
22183 [BZ #14994]
22184 * math/s_casinh.c (__casinh): Reduce finite argument to first
22185 quadrant then set signs of results at the end.
22186 * math/s_casinhf.c (__casinhf): Likewise.
22187 * math/s_casinhl.c (__casinhl): Likewise.
22188 * math/libm-test.inc (casin_test): Add more tests.
22189 (casinh_test): Likewise.
22190 * sysdeps/i386/fpu/libm-test-ulps: Update.
22191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22192
302913e1
SP
221932013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22194
6420d207
SP
22195 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22196
a9e48ab4
SP
22197 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22198
b7837264
SP
22199 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22200 declarations.
22201 (denorm): Likewise.
22202 (__mp_dbl): Likewise.
22203 (__inv): Likewise.
22204
f8af25d2
SP
22205 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22206 and adjust the header comment.
22207
302913e1
SP
22208 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22209 variable name from declaration.
22210
5d7dd1ca
L
222112013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22212
22213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22214 Initialize COMMON_CPUID_INDEX_7 element.
22215 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22216 (CPUID_RTM): Likewise.
22217 (HAS_RTM): Likewise.
22218 (COMMON_CPUID_INDEX_7): New enum.
22219
2f5f40f4
AS
222202013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22221
22222 [BZ #14981]
22223 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22224 size is zero, record memory as freed.
22225
4056f4a0
AJ
222262013-01-03 Andreas Jaeger <aj@suse.de>
22227
22228 * po/ia.po: Add new Interlingua translation.
22229
ab15736f 222302012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22231
22232 * locale/programs/localedef.c: Fix description of '--posix' flag.
22233
568035b7
JM
222342013-01-02 Joseph Myers <joseph@codesourcery.com>
22235
e6898b8d
JM
22236 * NEWS: Update dates in second copyright notice.
22237 * README: Update copyright dates in example.
22238 * manual/libc.texinfo: Update copyright dates.
22239 * scripts/test-installation.pl: Update copyright date in --version
22240 output.
22241
0e2f9562
JM
22242 * hurd/ctty-input.c: Fix copyright notice formatting.
22243 * hurd/ctty-output.c: Likewise.
22244 * hurd/dtable.c: Likewise.
22245 * hurd/hurd-raise.c: Likewise.
22246 * hurd/hurdprio.c: Likewise.
22247 * hurd/msgportdemux.c: Likewise.
22248 * misc/sys/file.h: Likewise.
22249 * misc/sys/ioctl.h: Likewise.
22250 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22251 * sysdeps/mach/hurd/chdir.c: Likewise.
22252 * sysdeps/mach/hurd/fchdir.c: Likewise.
22253 * sysdeps/mach/hurd/rename.c: Likewise.
22254 * sysdeps/mach/hurd/rmdir.c: Likewise.
22255 * sysdeps/mach/hurd/seekdir.c: Likewise.
22256 * sysdeps/mach/hurd/setsid.c: Likewise.
22257 * sysdeps/posix/wait3.c: Likewise.
22258
568035b7
JM
22259 * All files with FSF copyright notices: Update copyright dates
22260 using scripts/update-copyrights.
22261 * intl/plural.c: Regenerated.
22262 * locale/programs/charmap-kw.h: Likewise.
22263 * locale/programs/locfile-kw.h: Likewise.
22264
da08f647
SP
222652013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22266
0f5477af
SP
22267 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22268 four values.
22269
44e0d4c2
SP
22270 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22271 calculation loop and add branch prediction.
22272
4d55b4e5
SP
22273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22274 check access beyond bounds of m1np.
22275
da08f647
SP
22276 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22277 MPTWO.
22278 (__inv): Remove local variable MPTWO to use the global
22279 constant.
22280 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22281 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22282 variable MPTWO.
22283 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22284 MP3HALFS static const.
22285
8e051029
DM
222862013-01-01 David S. Miller <davem@davemloft.net>
22287
22288 * po/ca.po: Update from translation team.
22289
f4cf5f2d
JM
222902013-01-01 Joseph Myers <joseph@codesourcery.com>
22291
22292 * scripts/update-copyrights: New file.
22293 * Makeconfig: Reformat copyright notice.
22294 * ctype/ctype.h: Likewise.
22295 * debug/swprintf_chk.c: Likewise.
22296 * elf/dl-cache.c: Likewise.
22297 * elf/dl-debug.c: Likewise.
22298 * elf/dl-object.c: Likewise.
22299 * grp/initgroups.c: Likewise.
22300 * hurd/Makefile: Likewise.
22301 * hurd/hurd/signal.h: Likewise.
22302 * hurd/hurdfault.c: Likewise.
22303 * hurd/hurdioctl.c: Likewise.
22304 * hurd/hurdlookup.c: Likewise.
22305 * hurd/intr-msg.c: Likewise.
22306 * iconv/gconv_open.c: Likewise.
22307 * libio/swprintf.c: Likewise.
22308 * locale/lc-ctype.c: Likewise.
22309 * locale/nl_langinfo.c: Likewise.
22310 * mach/Machrules: Likewise.
22311 * mach/Makefile: Likewise.
22312 * malloc/obstack.h: Likewise.
22313 * manual/Makefile: Likewise.
22314 * manual/tsort.awk: Likewise.
22315 * misc/bits/stab.def: Likewise.
22316 * nis/nis_print_group_entry.c: Likewise.
22317 * nis/nis_table.c: Likewise.
22318 * nis/nss_compat/compat-pwd.c: Likewise.
22319 * nis/nss_compat/compat-spwd.c: Likewise.
22320 * po/Makefile: Likewise.
22321 * posix/fnmatch.c: Likewise.
22322 * posix/regex.h: Likewise.
22323 * resolv/Makefile: Likewise.
22324 * resolv/nss_dns/dns-network.c: Likewise.
22325 * resolv/res_hconf.c: Likewise.
22326 * scripts/gen-sorted.awk: Likewise.
22327 * soft-fp/soft-fp.h: Likewise.
22328 * stdio-common/printf.h: Likewise.
22329 * stdlib/monetary.h: Likewise.
22330 * stdlib/random.c: Likewise.
22331 * stdlib/random_r.c: Likewise.
22332 * sysdeps/generic/Makefile: Likewise.
22333 * sysdeps/gnu/Makefile: Likewise.
22334 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22336 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22338 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22341 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22342 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22345 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22349 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22351 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22352 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22354 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22357 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22358 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22359 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22360 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22361 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22362 * sysdeps/mach/hurd/errnos.awk: Likewise.
22363 * sysdeps/mach/hurd/fork.c: Likewise.
22364 * sysdeps/mach/hurd/getcwd.c: Likewise.
22365 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22366 * sysdeps/mach/hurd/mmap.c: Likewise.
22367 * sysdeps/mach/hurd/utimes.c: Likewise.
22368 * sysdeps/mach/hurd/xmknod.c: Likewise.
22369 * sysdeps/posix/profil.c: Likewise.
22370 * sysdeps/posix/readdir_r.c: Likewise.
22371 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22372 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22373 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22374 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22376 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22377 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22378 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22380 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22381 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22382 * sysdeps/pthread/lio_listio.c: Likewise.
22383 * sysdeps/sparc/dl-procinfo.h: Likewise.
22384 * sysdeps/unix/i386/sysdep.S: Likewise.
22385 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22386 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22387 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22388 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22390 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22391 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22392 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22393 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22394 * sysdeps/wordsize-32/divdi3.c: Likewise.
22395 * time/sys/time.h: Likewise.
22396 * wcsmbs/Makefile: Likewise.
22397
0549fbba
DM
223982013-01-01 David S. Miller <davem@davemloft.net>
22399
a141f1a7
DM
22400 * po/fr.po: Update from translation team.
22401
0549fbba
DM
22402 * catgets/gencat.c: Update copyright year.
22403 * csu/version.c: Likewise.
22404 * debug/catchsegv.sh: Likewise.
22405 * debug/pcprofiledump.c: Likewise.
22406 * debug/xtrace.sh: Likewise.
22407 * elf/ldconfig.c: Likewise.
22408 * elf/ldd.bash.in: Likewise.
22409 * elf/pldd.c: Likewise.
22410 * elf/sotruss.ksh: Likewise.
22411 * elf/sprof.c: Likewise.
22412 * iconv/iconv_prog.c: Likewise.
22413 * iconv/iconvconfig.c: Likewise.
22414 * locale/programs/locale.c: Likewise.
22415 * locale/programs/localedef.c: Likewise.
22416 * login/programs/pt_chown.c: Likewise.
22417 * malloc/memusage.sh: Likewise.
22418 * malloc/memusagestat.c: Likewise.
22419 * malloc/mtrace.pl: Likewise.
22420 * nscd/nscd.c: Likewise.
22421 * nss/getent.c: Likewise.
22422 * nss/makedb.c: Likewise.
22423 * posix/getconf.c: Likewise.
22424
18ea052c
SP
224252012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22426
22427 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22428 numbers.
22429
9c89fca6
MF
224302012-12-30 Mike Frysinger <vapier@gentoo.org>
22431
22432 * math/bits/mathcalls.h (modf): Use __nonnull.
22433
085ec079
SP
224342012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22435
22436 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22437 (split): Use macro CN instead of the bare value.
22438 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22439 could be used.
22440 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22441 instead of the bare value.
22442 (power1): Likewise.
22443
6d9f97e1
SP
224442012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22445
d63f73be
SP
22446 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22447 __ATAN_TWOM.
22448 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22449
6d9f97e1
SP
22450 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22451 their values.
22452 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22453 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22454 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22455 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22456
4c4febf5
AJ
224572012-12-28 Andreas Jaeger <aj@suse.de>
22458
af5843ef
AJ
22459 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22460 values are from Linux 3.7.
22461
4c4febf5
AJ
22462 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22463 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22464
99136f82
SP
224652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22466
2f216c3c 22467 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22468 TRUE case.
22469
99136f82
SP
22470 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22471 (norm): Likewise.
22472 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22473 variables with preprocessor constants.
22474 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22475 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22476 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22477
7fffbdff
BH
224782012-12-27 Bruno Haible <bruno@clisp.org>
22479
22480 [BZ #14317]
22481 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22482 only if needed.
22483
b76eb5f0
SP
224842012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22485
31a7fe5c
SP
22486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22487 and use variable directly.
22488 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22489
b76eb5f0
SP
22490 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22491 MPONE.
22492 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22493 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22494 variable MPONE.
22495 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22496 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22497 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22498 include directive. Remove local variable MPONE.
22499 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22500 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22501 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22502
2c8bfe7d
DM
225032012-12-25 David S. Miller <davem@davemloft.net>
22504
22505 * version.h (RELEASE): Set to "development".
22506 (VERSION): Set to "2.17.90".
22507 * NEWS: Add 2.18 section.
22508
147d03b0
DM
225092012-12-21 David S. Miller <davem@davemloft.net>
22510
22511 * po/hr.po: Update from translation team.
22512
a8ebb2b9
AK
225132012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22514
22515 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22516
95b4f1b6
SE
225172012-12-19 Steve Ellcey <sellcey@mips.com>
22518
b2d94007 22519 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22520
cedb2a90
MS
225212012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22522
22523 * manual/contrib.texi (Contributors): Spelling correction.
22524
bbf527d6
DM
225252012-12-15 David S. Miller <davem@davemloft.net>
22526
22527 * po/ru.po: Update from translation team.
22528
bc38c906
DM
225292012-12-13 David S. Miller <davem@davemloft.net>
22530
85429b1a
DM
22531 * NEWS: Mention IFUNC testsuite enhancements.
22532
d283e353
DM
22533 * po/pl.po: Update from translation team.
22534 * po/bg.po: Likewise.
22535
bc38c906
DM
22536 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22537 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22538
a181b0d7
DM
225392012-12-11 David S. Miller <davem@davemloft.net>
22540
4641d57e
DM
22541 * po/sv.po: Update from translation team.
22542
f7bc6495
DM
22543 * po/vi.po: Update from translation team.
22544
6fc9048f
DM
22545 * po/cs.po: Update from translation team.
22546
a181b0d7
DM
22547 * po/de.po: Update from translation team.
22548 * po/eo.po: Likewise.
22549 * po/nl.po: Likewise.
22550
f70bfe80
SP
225512012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22552
3c8b4190
SP
22553 [BZ #14246]
22554 * manual/argp.texi (Argp Helper Functions): Move node to follow
22555 Argp Parsing State.
22556
f70bfe80
SP
22557 [BZ #14872]
22558 * manual/conf.texi (Limits on File System Capacity): Mention if
22559 terminating null is included in the max size.
22560
188f0adf
AJ
225612012-12-10 Andreas Jaeger <aj@suse.de>
22562
22563 * po/cs.po: Update from translation team.
22564
56e7d3ad
SP
225652012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22566
22567 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22568 void pointer and cast to uintptr_t.
22569 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22570 path.
22571 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22572 * sysdeps/s390/s390-64/memset.S: Likewise.
22573
76f2d2ea 225742012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22575
22576 [BZ #14833]
22577 * menual/message.texi (Message Translation): Fix typos.
22578 (Helper programs for gettext): Likewise.
22579
67cbf9a2
AS
225802012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22581
22582 [BZ #14898]
22583 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22584 Change to -1.
22585
682d0e9a
DM
225862012-12-07 David S. Miller <davem@davemloft.net>
22587
22588 * po/libc.pot: Update.
22589
573cd484
RH
225902012-12-07 Richard Henderson <rth@redhat.com>
22591
7e9da188 22592 [BZ #10114]
573cd484
RH
22593 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22594 normal/normal case to before the switch.
22595 (_FP_DIV): Likewise.
22596
e933a943
MF
225972012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22598 Mike Frysinger <vapier@gentoo.org>
22599
22600 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22601 check for __NR_fadvise64_64.
22602
82123268
CM
226032012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22604
22605 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22606 0, not just to plain "0" as a statement.
22607 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22608 with cw.
22609
d9814526
JM
226102012-12-06 Joseph Myers <joseph@codesourcery.com>
22611
22612 * NEWS: Use sourceware.org in Bugzilla URL.
22613
7728c574
SP
226142012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22615
f16946dd
SP
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22617 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22618
5704bbcb
SP
22619 * stdio-common/tst-put-error.c (do_test): Add newline to the
22620 padded test to ensure flush.
22621
17aa0516
JL
226222012-12-05 Jeff Law <law@redhat.com>
22623
22624 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22625
363313b5
JM
226262012-12-05 Joseph Myers <joseph@codesourcery.com>
22627
effbd42a
JM
22628 * README: Don't refer to ports add-on as distributed separately.
22629 Mention AArch64 in list of systems supported in the ports add-on.
22630
87600365
JM
22631 * LICENSES: Add more non-FSF copyright and license notices.
22632
a0d7066a
JM
22633 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22634 ((unused)).
22635
66ca5a5b
JM
22636 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22637
363313b5
JM
22638 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22639 10000 as width of padded output.
22640
b37984ad
JM
226412012-12-04 Joseph Myers <joseph@codesourcery.com>
22642
9003570a
JM
22643 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22644
b37984ad
JM
22645 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22646 variable LX with __attribute__ ((unused)).
22647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22648 Likewise.
22649 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22650 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22651 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22652 with __attribute__ ((unused)).
22653
c8df52ec
DM
226542012-12-04 David S. Miller <davem@abraco.davemloft.net>
22655
22656 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22657
b3b099af
JM
226582012-12-04 Joseph Myers <joseph@codesourcery.com>
22659
c33aa6e3
JM
22660 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22661 (CFLAGS-nldbl-acos.c): New variable.
22662 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22663 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22664 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22665 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22666 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22667 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22668 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22669 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22670 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22671 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22672 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22673 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22674 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22675 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22676 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22677 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22678 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22679 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22680 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22681 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22682 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22683 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22684 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22685 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22686 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22687 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22688 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22689 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22690 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22691 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22692 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22693 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22694 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22695 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22696 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22697 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22698 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22699 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22700 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22701 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22702 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22703 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22704 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22705 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22706 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22707 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22708 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22709 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22710 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22711 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22712 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22713 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22714 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22715 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22716 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22717 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22718 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22719 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22720 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22721 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22722 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22723 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22724 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22725 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22726 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22727 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22728 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22729 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22730 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22731 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22732 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22733 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22734 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22735 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22736 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22737 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22738 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22739 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22740 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22741 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22742 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22743 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22744 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22745 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22746 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22747 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22748 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22749 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22750 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22751 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22752 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22753 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22754 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22755 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22756 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22757 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22758 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22759
20f0018d
JM
22760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22761 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22762
b3b099af
JM
22763 [BZ #14914]
22764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22765 whole low double instead of just low 47 bits when splitting values
22766 into two parts.
22767
029264d1
AM
227682012-12-03 Allan McRae <allan@archlinux.org>
22769
22770 * manual/stdio.texi (Predefined Printf Handlers): Remove
22771 @hsep and @vsep usage.
22772
c9d6789e
MF
227732012-12-03 Mike Frysinger <vapier@gentoo.org>
22774
22775 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22776 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22777
4b7634a5
JL
227782012-12-03 Jeff Law <law@redhat.com>
22779
22780 * time/sys/time.h (settimeofday): Do not mark TV argument
22781 as __nonnull.
22782
eb6cbd24
MF
227832012-12-01 Mike Frysinger <vapier@gentoo.org>
22784
22785 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22786 when currently writing and seek to current position when not.
22787 * libio/Makefile (tests): Remove bug-fclose1.
22788 * libio/bug-fclose1.c: Delete.
22789
f638872a
JM
227902012-12-01 Joseph Myers <joseph@codesourcery.com>
22791
22792 * manual/arith.texi (feenableexcept): Fix typo.
22793 (fedisableexcept): Likewise.
22794
48085d14
RM
227952012-11-30 Roland McGrath <roland@hack.frob.com>
22796
22797 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22798 second, differently-typed declaration, rather than a cast.
22799
1a538b9f
SP
228002012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22801
22802 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22803 * include/rpc/svc.h: ... here.
22804
d07f2ff1 228052012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22806
22807 [BZ #13013]
22808 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22809 depending n and resplen2 to catch cases where answer
22810 equals answerp2.
22811
c93ec1f0
CD
228122012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22813
22814 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22815 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22816
37db69de
MF
228172012-11-29 Mike Frysinger <vapier@gentoo.org>
22818
22819 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22820
e10c4e4f
RM
228212012-11-29 Roland McGrath <roland@hack.frob.com>
22822
22823 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22824
2af1b328
JL
228252012-11-28 Jeff Law <law@redhat.com>
22826
22827 [BZ #13761]
22828 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22829 dataset_temporary. Track alloca usage into alloca_used.
22830 If dataset is large allocate and release it via malloc/free.
22831
111db5b1
FW
228322012-06-04 Florian Weimer <fweimer@redhat.com>
22833
f06cc227 22834 [BZ #14197]
111db5b1
FW
22835 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22836
dd694abd
DM
228372012-11-28 David S. Miller <davem@davemloft.net>
22838
22839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22840
9984dd01
JM
228412012-11-28 Joseph Myers <joseph@codesourcery.com>
22842
22843 [BZ #14803]
22844 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22845 of pi/2 rounded to nearest to 64 bits.
22846 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22847 nearest to 64 bits.
22848 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22849 bits.
22850
14bc93a9
JL
228512012-11-28 Jeff Law <law@redhat.com>
22852 Martin Osvald <mosvald@redhat.com>
22853
22854 [BZ #14889]
22855 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22856 * sunrpc/svc.c: Include time.h.
22857 (__svc_accept_failed): New function.
22858 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22859 any reason other than EINTR, call __svc_accept_failed.
22860 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22861 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22862
e3c6aa3a
AS
228632012-11-28 Andreas Schwab <schwab@suse.de>
22864
22865 * scripts/abilist.awk: Also handle indirect functions in .opd
22866 section.
22867
1bead169
JM
228682012-11-28 Joseph Myers <joseph@codesourcery.com>
22869
22870 [BZ #13881]
22871 * sysdeps/x86/fpu/powl_helper.c: New file.
22872 * sysdeps/x86/fpu/Makefile: Likewise.
22873 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22874 (p3): New object.
22875 (__ieee754_powl): Use __powl_helper for finite arguments except
22876 integer exponents below 8.
22877 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22878 (p3): New object.
22879 (__ieee754_powl): Use __powl_helper for finite arguments except
22880 integer exponents below 8.
22881 * math/libm-test.inc (pow_test): Add more tests and enable some
22882 previously disabled tests.
22883 * sysdeps/i386/fpu/libm-test-ulps: Update.
22884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22885
0817d63d
SP
228862012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22887 Carlos O'Donell <carlos_odonell@mentor.com>
22888
22889 * nss/makedb.c (is_prime): Assert that input is odd and greater
22890 than 4. Note that fact in a comment too.
22891 (next_prime): Add 4 to input.
22892
de2fd463
SP
228932012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22894
22895 [BZ #11741]
22896 * libio/Makefile (tests): Add test case tst-fwrite-error.
22897 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22898 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22899 * libio/tst-fwrite-error.c: New test case.
22900
c515fb51
L
229012012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22902
22903 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22904 before casting to void *.
22905 * include/libc-internal.h (__pointer_type): New macro.
22906 (__integer_if_pointer_type_sub): Likewise.
22907 (__integer_if_pointer_type): Likewise.
22908 (cast_to_integer): Likewise.
22909 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22910 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22911 before casting to atomic64_t.
22912 (atomic_exchange_acq): Likewise.
22913 (__arch_exchange_and_add_body): Likewise.
22914 (__arch_add_body): Likewise.
22915 (atomic_add_negative): Likewise.
22916 (atomic_add_zero): Likewise.
22917
4cf77aa9
JM
229182012-11-26 Joseph Myers <joseph@codesourcery.com>
22919
22920 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22921 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22922 (add_fdes): Likewise.
22923 (linear_search_fdes): Likewise.
22924 (binary_search_unencoded_fdes): Likewise.
22925
d260b3b4
AS
229262012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22927
22928 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22929
67060746
AC
229302012-11-24 Adam Conrad <adconrad@0c3.net>
22931
22932 * configure.in: Autodetect C++ header directories.
22933 * configure: Regenerated.
22934
800938a1
MF
229352012-11-23 Mike Frysinger <vapier@gentoo.org>
22936
22937 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22938
4e6e34e6
AS
229392012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22940
22941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22942
7c7feb47
JM
229432012-11-22 Joseph Myers <joseph@codesourcery.com>
22944
7184dcdf
JM
22945 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22946 LDBL_MANT_DIG == 106]: Disable some tests.
22947 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22948 Likewise.
22949 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22950 Likewise.
22951
0a42601f
JM
22952 [BZ #14871]
22953 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22954 input for small inputs. Return +/- pi/2 for large inputs.
22955 * math/libm-test.inc (atan_test): Add more tests.
22956
79c9b9fe
JM
22957 * sysdeps/generic/unwind-dw2-fde-glibc.c
22958 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22959 __attribute__ ((unused)).
22960
c60d3bf2
JM
22961 [BZ #14645]
22962 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22963 x * y if x and y are nonzero and z is zero.
22964
ef1e0867
JM
22965 [BZ #14811]
22966 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22967 nonzero exponents with absolute value below 0x1p-117 to +/-
22968 0x1p-117.
22969
1468ded3
JM
22970 [BZ #14869]
22971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22972 up arguments below 2**-450, not just those below 2**-500.
22973 * math/libm-test.inc (hypot_test): Add another test.
22974
8e27e3cc
JM
22975 [BZ #14868]
22976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22977 Return a+b for ratio over 2**120, not 2**60.
22978 * math/libm-test.inc (hypot_test): Add another test.
22979
c9c0279b
JM
22980 * math/libm-test.inc (clog_test): Use
22981 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22982 (clog10_test): Likewise.
22983
7c7feb47
JM
22984 [BZ #6778]
22985 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22986
fff1530e
AS
229872012-11-22 Andreas Schwab <schwab@suse.de>
22988
22989 * sysdeps/i386/fpu/libm-test-ulps: Update.
22990
94558d30
PT
229912012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22992
22993 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22994 printf output with newline.
22995
7e1be741
L
229962012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22997
6bfea974
L
22998 [BZ #14865]
22999 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23000 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23001 -z nodlopen, -z initfirst and -z execstack support.
23002 * configure: Regenerated.
23003
7e1be741
L
23004 * elf/elf.h (DF_1_NODIRECT): New macro.
23005 (DF_1_IGNMULDEF): Likewise.
23006 (DF_1_NOKSYMS): Likewise.
23007 (DF_1_NOHDR): Likewise.
23008 (DF_1_EDITED): Likewise.
23009 (DF_1_NORELOC): Likewise.
23010 (DF_1_SYMINTPOSE): Likewise.
23011 (DF_1_GLOBAUDIT): Likewise.
23012 (DF_1_SINGLETON): Likewise.
23013 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23014 DT_1_SUPPORTED_MASK bits.
23015 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23016
105ce2ce
CD
230172012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23018
23019 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23020
123be9de
TS
230212012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23022
d072f3f7
TS
23023 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23024 macro.
23025
123be9de
TS
23026 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23027 (sendmmsg): Move declarations...
23028 * socket/sys/socket.h: ... here.
23029 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23030 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23031 include it from...
23032 * socket/recvmmsg.c: ... this new file.
23033 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23034 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23035 definition of __sendmmsg hidden.
23036 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23037 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23038 Move ENOSYS stub into and include it from...
23039 * socket/sendmmsg.c: ... this new file.
23040 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23041 (sysdep_routines): Move recvmmsg and sendmmsg...
23042 * socket/Makefile (routines): ... here.
23043 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23044 (GLIBC_PRIVATE): Add __sendmmsg.
23045 * include/sys/socket.h (__sendmmsg): Add declarations.
23046 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23047 sendmmsg.
23048
cf9a5d18
JM
230492012-11-20 Joseph Myers <joseph@codesourcery.com>
23050
23051 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23052 variable I1 with __attribute__ ((unused)).
23053 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23054
ecd4caf9
JM
230552012-11-19 Joseph Myers <joseph@codesourcery.com>
23056
be14d48f
JM
23057 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23058 DUMMY variables with __attribute__ ((unused)).
23059
ecd4caf9
JM
23060 * bits/byteswap.h: Include <bits/types.h>.
23061 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23062
986cab95
PT
230632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23064
23065 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23066 string_t. Do not manually set errno.
23067 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23068 length with __strnlen. Make sure to both set errno and return it on
23069 failure.
23070
6d33cc9d
DM
230712012-11-19 David S. Miller <davem@davemloft.net>
23072
23073 With help from Joseph Myers.
23074 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23075 very large arguments properly.
23076 * math/libm-test.inc (atan_test): New tests.
23077 (atan2_test): New tests.
23078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23080
ee663277
JM
230812012-11-19 Joseph Myers <joseph@codesourcery.com>
23082
877f2d8e
JM
23083 [BZ #14856]
23084 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23085 Define to 3.
23086
116fc08a
JM
23087 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23088 [POSIX] (EADDRNOTAVAIL): Likewise.
23089 [POSIX] (EAFNOSUPPORT): Likewise.
23090 [POSIX] (EALREADY): Likewise.
23091 [POSIX] (ECONNABORTED): Likewise.
23092 [POSIX] (ECONNREFUSED): Likewise.
23093 [POSIX] (ECONNRESET): Likewise.
23094 [POSIX] (EDESTADDRREQ): Likewise.
23095 [POSIX] (EDQUOT): Likewise.
23096 [POSIX] (EHOSTUNREACH): Likewise.
23097 [POSIX] (EIDRM): Likewise.
23098 [POSIX] (EISCONN): Likewise.
23099 [POSIX] (ELOOP): Likewise.
23100 [POSIX] (EMULTIHOP): Likewise.
23101 [POSIX] (ENETDOWN): Likewise.
23102 [POSIX] (ENETUNREACH): Likewise.
23103 [POSIX] (ENOBUFS): Likewise.
23104 [POSIX] (ENODATA): Likewise.
23105 [POSIX] (ENOLINK): Likewise.
23106 [POSIX] (ENOMSG): Likewise.
23107 [POSIX] (ENOPROTOOPT): Likewise.
23108 [POSIX] (ENOSR): Likewise.
23109 [POSIX] (ENOSTR): Likewise.
23110 [POSIX] (ENOTCONN): Likewise.
23111 [POSIX] (ENOTSOCK): Likewise.
23112 [POSIX] (EOPNOTSUPP): Likewise.
23113 [POSIX] (EOVERFLOW): Likewise.
23114 [POSIX] (EPROTO): Likewise.
23115 [POSIX] (EPROTONOSUPPORT): Likewise.
23116 [POSIX] (EPROTOTYPE): Likewise.
23117 [POSIX] (ESTALE): Likewise.
23118 [POSIX] (ETIME): Likewise.
23119 [POSIX] (ETXTBSY): Likewise.
23120 [POSIX] (EWOULDBLOCK): Likewise.
23121 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23122 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23123 [POSIX] (SEEK_CUR): Likewise.
23124 [POSIX] (SEEK_END): Likewise.
23125 [POSIX || UNIX98] (mode_t): Do not require.
23126 [POSIX] (off_t): Likewise.
23127 [POSIX] (pid_t): Likewise.
23128 [POSIX] (sys/stat.h): Do not allow header.
23129 [POSIX] (unistd.h): Likewise.
23130 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23131 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23132 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23133 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23134 require.
23135 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23136 sigevent): Specify elements.
23137 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23138 entry.
23139 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23140 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23141
a483863f
JM
23142 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23143 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23144 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23145 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23146 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23147 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23148 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23149 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23150 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23151 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23152 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23153 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23154 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23155 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23156 Likewise.
23157 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23158 Likewise.
23159 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23160 Likewise.
23161 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23162 Likewise.
23163 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23164 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23165 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23166 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23167 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23168 Specify lower bound on value.
23169 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23170 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23171 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23172 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23173 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23174 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23175 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23176 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23177 value.
23178 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23179 as optional.
23180 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23181 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23182 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23183 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23184 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23185 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23186 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23187 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23188 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23189 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23190 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23191 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23192 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23193 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23194 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23195 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23196 entry.
23197 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23198 optional.
23199 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23200 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23201 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23202 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23203 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23204 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23205 Likewise.
23206 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23207 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23208 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23209 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23210 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23211 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23212 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23213 as optional.
23214 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23215 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23216 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23217 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23218 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23219 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23220 specify as optional.
23221 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23222 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23223 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23224 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23225 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23226 [XPG3] (NL_LANGMAX): Likewise.
23227 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23228 [POSIX || XPG3] (NL_NMAX): Likewise.
23229 [POSIX || XPG3] (NL_SETMAX): Likewise.
23230 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23231 [XPG3] (NZERO): Likewise.
23232 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23233 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23234 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23235 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23236 (REG_ERANGE): Expect.
23237 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23238 optional-constant.
23239 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23240 Use (void) in prototype.
23241 [POSIX] (*_t): Allow.
23242 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23243 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23244 (WRDE_BADVAL): Expect.
23245
5ba924e3
JM
23246 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23247 expect.
23248 [XPG3 || XPG4] (O_RSYNC): Likewise.
23249 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23250 Likewise.
23251 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23252 [XPG3 || XPG4] (sigqueue): Likewise.
23253 [XPG3 || XPG4] (sigtimedwait): Likewise.
23254 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23255 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23256 [XPG3 || XPG4] (vsnprintf): Likewise.
23257 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23258 Likewise.
23259 [XPG3 || XPG4] (blksize_t): Likewise.
23260 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23261 Likewise.
23262 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23263 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23264 [XPG3 || XPG4] (struct itimerspec): Likewise.
23265 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23266 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23267 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23268 [XPG3 || XPG4] (clockid_t): Likewise.
23269 [XPG3 || XPG4] (timer_t): Likewise.
23270 [XPG3 || XPG4] (clock_getres): Likewise.
23271 [XPG3 || XPG4] (clock_gettime): Likewise.
23272 [XPG3 || XPG4] (clock_settime): Likewise.
23273 [XPG3 || XPG4] (nanosleep): Likewise.
23274 [XPG3 || XPG4] (timer_create): Likewise.
23275 [XPG3 || XPG4] (timer_delete): Likewise.
23276 [XPG3 || XPG4] (timer_gettime): Likewise.
23277 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23278 [XPG3 || XPG4] (timer_settime): Likewise.
23279 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23280 [XPG3 || XPG4] (getlogin_r): Likewise.
23281 [XPG3 || XPG4] (pread): Likewise.
23282 [XPG3 || XPG4] (pthread_atfork): Likewise.
23283 [XPG3 || XPG4] (pwrite): Likewise.
23284
ee663277
JM
23285 [BZ #14835]
23286 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23287 <bits/siginfo.h>.
23288
942caa16
PT
232892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23290
e19af380
PT
23291 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23292 finalizing MALLSTREAM.
23293
942caa16
PT
23294 * sysdeps/mach/hurd/syncfs.c: New file.
23295
cfde9b46
SP
232962012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23297
23298 [BZ #14719]
23299 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23300 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23301 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23302 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23303 (_nss_dns_gethostbyname4_r): Likewise.
23304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23305 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23306
f6da27e5
PH
233072012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23308
23309 [BZ #13763]
23310 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23311
6665d4a2
SM
233122012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23313
1f51ee92
SM
23314 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23315 * elf/cache.c (print_entry): Print ",AArch64" for
23316 FLAG_AARCH64_LIB64
23317
6665d4a2
SM
23318 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23319 * elf/cache.c (print_entry): Print ",hard-float" for
23320 FLAG_ARM_LIBHF.
23321
05b227bd
DM
233222012-11-18 David S. Miller <davem@davemloft.net>
23323
23324 With help from Joseph Myers.
23325 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23326 cutoff to 2**-13.
23327 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23328 cutoff to 2**-25.
23329 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23330 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23331 small.
23332 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23333 * math/libm-test.inc (y0_test): New tests.
23334 (y1_test): New tests.
23335 * sysdeps/i386/fpu/libm-test-ulps: Update.
23336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23338
786b0b67
AS
233392012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23340
23341 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23342 64-bit targets.
23343 * configure: Regenerated.
23344
8e18b86d
DM
233452012-11-17 David S. Miller <davem@davemloft.net>
23346
23347 [BZ #14811]
23348 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23349 nonzero exponents with absolute value below 0x1p-128 to +/-
23350 0x1p-128.
23351
531f1ae0
JM
233522012-11-17 Joseph Myers <joseph@codesourcery.com>
23353
12df29e2
JM
23354 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23355
150dc1a0
JM
23356 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23357
531f1ae0
JM
23358 * posix/getconf-speclist.c: New file.
23359 * posix/posix-envs.def: Likewise.
23360 * posix/confstr.c (START_ENV_GROUP): New macro.
23361 (END_ENV_GROUP): Likewise.
23362 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23363 (KNOWN_PRESENT_ENV_STRING): Likewise.
23364 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23365 (UNKNOWN_ENVIRONMENT): Likewise.
23366 (confstr): Include posix-envs.def instead of handling
23367 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23368 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23369 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23370 (END_ENV_GROUP): Likewise.
23371 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23372 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23373 (UNKNOWN_ENVIRONMENT): Likewise.
23374 (__sysconf): Include posix-envs.def instead of handling associated
23375 cases directly here.
23376 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23377 preprocessing getconf-speclist.c rather than running getconf or
23378 generating empty file.
23379
a93f9cbc
PT
233802012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23381
23382 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23383
d64d9f87
AL
233842012-11-16 Andrej Lajovic <natrij@gmail.com>
23385
23386 [BZ #14672]
23387 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23388
447885eb
DM
233892012-11-16 David S. Miller <davem@davemloft.net>
23390
23391 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23392 smaller than LDBL_EPSILON/2.0L, just return xm1.
23393
bcbf9830
L
233942012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23395
23396 * elf/tst-array1.c (init): Set constructor priority to 1000.
23397 (fini): Set destructor priority to 1000.
23398 * elf/tst-array2dep.c: Likewise.
23399
2b766585
SP
234002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23401
23402 [BZ #11741]
23403 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23404 (_IO_new_file_xsputn): Also return EOF if none of the input
23405 data was written when overflow failed.
23406 * libio/iopadn.c (_IO_padn): Likewise.
23407 * libio/iowpadn.c (_IO_wpadn): Likewise.
23408 * stdio-common/tst-put-error.c: Add copyright notice.
23409 (do_test): Add case for printing padded string.
23410 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23411 _IO_padn returned error.
23412 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23413 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23414 return EOF.
23415
b1848fde
SP
234162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23417
23418 * libio/libioP.h: Add comment note that the references to C++
23419 bits are now obsolete.
23420
2fd89785
MS
234212012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23422
23423 * math/libm-test.inc (check_complex): Use asprintf.
23424
e3ea5409
JM
234252012-11-14 Joseph Myers <joseph@codesourcery.com>
23426
23427 * debug/pcprofiledump.c (print_version): Update copyright year.
23428 * malloc/memusagestat.c (print_version): Likewise.
23429
2e64d265
L
234302012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23431
23432 [BZ #14831]
23433 * elf/Makefile (tests): Add tst-audit8.
23434 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23435 ($(objpfx)tst-audit8.out): New target.
23436 (tst-audit8-ENV): New variable.
23437 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23438 audit if l_reloc_result is NULL.
23439 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23440 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23441 * elf/tst-audit8.c: New file.
23442
c485e4d2
MS
234432012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23444
23445 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23446 * misc/Makefile (CFLAGS-select.c): Define.
23447 * posix/Makefile (CFLAGS-pause.c): Define.
23448
3a0d900a
DM
234492012-11-13 David S. Miller <davem@davemloft.net>
23450
23451 * crypt/Makefile: Move test targets after toplevel Rules
23452 inclusion. Grab any necessary sysdep routines when linking.
23453 * crypt/md5.c (md5_process_block): Remove define, we will always
23454 name it __md5_process_block.
23455 (md5_finish_ctx): Update md5_process_block call.
23456 (md5_stream): Likewise.
23457 (md5_process_bytes): Likewise.
23458 (md5_process_block): Rename to __md5_process_block and move to ...
23459 * crypt/md5-block.c: ... here.
23460 * crypt/sha256.c (sha256_process_block): Move to ...
23461 * crypt/sha256-block.c: ... here.
23462 * crypt/sha512.c (sha512_process_block): Move to ...
23463 * crypt/sha512-block.c: ... here.
23464 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23465 path.
23466 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23467 * sysdeps/sparc/sparc64/multiarch/Makefile
23468 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23469 crypt subdir.
23470 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23471 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23472 multiarch changes.
23473 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23474 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23475 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23476 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23477 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23478 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23479 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23480 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23482 file.
23483 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23484 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23485 file.
23486 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23487
8ca89318
JM
234882012-11-13 Joseph Myers <joseph@codesourcery.com>
23489
e27d476a
JM
23490 * timezone/tzselect.ksh: Update from tzcode git revision
23491 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23492 * timezone/zdump.c: Likewise.
23493 * timezone/zic.c: Likewise.
23494 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23495 in TZVERSION setting, not $(PKGVERSION).
23496 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23497 REPORT_BUGS_TO settings.
23498
8ca89318
JM
23499 [BZ #14838]
23500 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23501 macro.
23502
47594329
MS
235032012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23504
23505 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23506 detection to immediately after _FP_ROUND().
23507 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23508 bits are 0.
23509
640ac3f1
DM
235102012-11-11 David S. Miller <davem@davemloft.net>
23511
23512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23513 inttypes.h
23514 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23515 __close rather than their public counterparts.
23516
3d2577bb
JM
235172012-11-10 Joseph Myers <joseph@codesourcery.com>
23518
23519 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23520 file.
23521 [UNIX98] (sem_timedwait): Do not expect.
23522 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23523 [XPG4 || UNIX98] (sockatmark): Do not expect.
23524 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23525 (clock_getcpuclockid): Do not expect.
23526 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23527 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23528 Do not expect.
23529 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23530 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23531 [UNIX98] (vwscanf): Likewise.
23532 [UNIX98] (vswscanf): Likewise.
23533
fb1ae1ee
JM
235342012-11-09 Joseph Myers <joseph@codesourcery.com>
23535
9ec6f8bd
JM
23536 * timezone/version.h: Remove file.
23537 * timezone/README: Do not refer to version.h.
23538 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23539 $(objpfx)version.h.
23540 ($(objpfx)zdump.o): Likewise.
c3f81911 23541 ($(objpfx)version.h): New target.
9ec6f8bd 23542
0aa8f8a1
JM
23543 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23544 2012i.
23545 * timezone/README: Don't mention modification to tzselect.ksh.
23546 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23547 work on unmodified tzselect.ksh. Substitute version numbers in
23548 tzselect.ksh.
23549
4e87147f
JM
23550 * Makefile (format-me): Remove.
23551 (INSTALL): Adjust indentation. Use commands directly instead of
23552 using $(format-me).
23553
8b748aed
JM
23554 * aclocal.m4 (ACX_PKGVERSION): New macro.
23555 (ACX_BUGURL): Likewise.
23556 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23557 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23558 (REPORT_BUGS_TO): Likewise.
23559 * configure: Regenerated.
23560 * config.h.in (PKGVERSION): New macro.
23561 (REPORT_BUGS_TO): Likewise.
23562 * config.make.in (PKGVERSION): New variable.
23563 (PKGVERSION_TEXI): Likewise.
23564 (REPORT_BUGS_TO): Likewise.
23565 (REPORT_BUGS_TEXI): Likewise.
23566 * Makefile (format-me): Use -I$(common-objpfx)manual.
23567 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23568 ($(common-objpfx)manual/%): New target.
23569 (manual/%): Remove target.
23570 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23571 (print_version): Use PKGVERSION.
23572 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23573 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23574 and REPORT_BUGS_TO.
23575 ($(objpfx)xtrace): Likewise.
23576 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23577 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23578 (print_version): Use PKGVERSION.
23579 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23580 (do_version): Use PKGVERSION.
23581 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23582 REPORT_BUGS_TO.
23583 (common-ldd-rewrite): Likewise.
23584 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23585 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23586 (print_version): Use PKGVERSION.
23587 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23588 * elf/pldd.c (argp_program_bug_address): Remove variable.
23589 (more_help): New function.
23590 (argp): Use more_help.
23591 (print_version): Use PKGVERSION.
23592 * elf/sln.c (main): Use PKGVERSION.
23593 (usage): Use REPORT_BUGS_TO.
23594 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23595 (top level): Use PKGVERSION.
23596 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23597 (print_version): Use PKGVERSION.
23598 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23599 (print_version): Use PKGVERSION.
23600 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23601 (print_version): Use PKGVERSION.
23602 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23603 (print_version): Use PKGVERSION.
23604 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23605 (print_version): Use PKGVERSION.
23606 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23607 (print_version): Use PKGVERSION.
23608 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23609 and BUGURL.
23610 ($(objpfx)memusage): Likewise.
23611 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23612 (do_version): Use PKGVERSION.
23613 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23614 (print_version): Use PKGVERSION.
23615 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23616 ($PKGVERSION): New variable.
23617 ($REPORT_BUGS_TO): Likewise.
23618 (usage): Use $REPORT_BUGS_TO.
23619 (top level): Use $PKGVERSION.
23620 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23621 ($(objpfx)pkgvers.texi): New rule.
23622 ($(objpfx)stamp-pkgvers): Likewise.
23623 * manual/install.texi: Include pkgvers.texi.
23624 (--with-pkgversion): Document new configure option.
23625 (--with-bugurl): Likewise.
23626 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23627 than necessarily for this particular distribution. Use
23628 REPORT_BUGS_TO for where to report bugs.
23629 * INSTALL: Regenerated.
23630 * manual/libc.texinfo: Include pkgvers.texi.
23631 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23632 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23633 (print_version): Use PKGVERSION.
23634 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23635 (print_version): Use PKGVERSION.
23636 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23637 (print_version): Use PKGVERSION.
23638 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23639 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23640 macro.
23641 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23642 (print_version): Use PKGVERSION.
23643 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23644 (print_version): Use PKGVERSION.
23645 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23646 and PKGVERSION.
23647
92e4b6a9
JM
23648 * timezone/checktab.awk: Update from tzcode 2012i.
23649 * timezone/ialloc.c: Likewise.
23650 * timezone/private.h: Likewise.
23651 * timezone/scheck.c: Likewise.
23652 * timezone/tzfile.h: Likewise.
23653 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23654 (TZVERSION): Hardcode tzcode version number.
23655 * timezone/zdump.c: Update from tzcode 2012i.
23656 * timezone/zic.c: Likewise.
23657 * timezone/version.h: New file.
23658 * timezone/README: Describe version.h. Update upstream location.
23659
9bde902c
JM
23660 [BZ #14824]
23661 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23662 (mktemp): Enable declaration.
23663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23667 Likewise.
23668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23669 Likewise.
23670 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23671 Likewise.
23672 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23673 Likewise.
23674 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23675 Likewise.
23676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23677 Likewise.
23678
fb1ae1ee
JM
23679 [BZ #14821]
23680 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23681 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23682 for copies of such integer values.
23683 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23684 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23685
2c1adbcb
AJ
236862012-11-09 Andreas Jaeger <aj@suse.de>
23687
23688 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23689 definitions and declarations that are provided by
23690 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23691
d0f8457e
AK
236922012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23693
3a235abb 23694 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23695 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23696 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23697 definition.
23698
57241e26
MS
236992012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23700
23701 * elf/elf.h: Update comment before AArch64 relocations.
23702
60e8270d
DM
237032012-11-07 David S. Miller <davem@davemloft.net>
23704
23705 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23706 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23707 (__start_context): Declare.
23708 (__makecontext_ret): Delete.
23709 (__makecontext): Hook up __start_context instead of
23710 __makecontext_ret.
23711 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23712 (sysdep_routines): Add __start_context when in stdlib.
23713
0fbb0fbc
JM
237142012-11-07 Joseph Myers <joseph@codesourcery.com>
23715
23716 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23717 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23718 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23719 hardcoded "nm".
23720 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23721 (READELF): New variable. Use it instead of hardcoded "readelf".
23722
eb48db7e
L
237232012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23724
23725 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23726 * sysdeps/x86/Makefile: Here.
23727 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23728 * sysdeps/x86/tst-xmmymm.sh: This.
23729
05bcf62a
JM
237302012-11-07 Joseph Myers <joseph@codesourcery.com>
23731
c4b6cf53
JM
23732 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23733 expectations.
23734 [UNIX98] (pthread_barrier_t): Do not expect.
23735 [UNIX98] (pthread_barrierattr_t): Likewise.
23736 [UNIX98] (pthread_spinlock_t): Likewise.
23737 [UNIX98] (pthread_barrier_destroy): Likewise.
23738 [UNIX98] (pthread_barrier_init): Likewise.
23739 [UNIX98] (pthread_barrier_wait): Likewise.
23740 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23741 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23742 [UNIX98] (pthread_barrierattr_init): Likewise.
23743 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23744 [UNIX98] (pthread_getcpuclockid): Likewise.
23745 [UNIX98] (pthread_mutex_timedlock): Likewise.
23746 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23747 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23748 [UNIX98] (pthread_sigmask): Likewise.
23749 [UNIX98] (pthread_spin_destroy): Likewise.
23750 [UNIX98] (pthread_spin_init): Likewise.
23751 [UNIX98] (pthread_spin_lock): Likewise.
23752 [UNIX98] (pthread_spin_trylock): Likewise.
23753 [UNIX98] (pthread_spin_unlock): Likewise.
23754 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23755 Do not expect.
23756 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23757 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23758 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23759 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23760 [XPG3 || XPG4] (pthread_key_t): Likewise.
23761 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23762 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23763 [XPG3 || XPG4] (pthread_once_t): Likewise.
23764 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23765 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23766 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23767 [XPG3 || XPG4] (pthread_t): Likewise.
23768
cbe6e120
JM
23769 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23770 not expect.
23771 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23772
1b126443
JM
23773 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23774 Change function return type to int.
23775
b961a573
JM
23776 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23777 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23778 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23779 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23780 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23781 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23782 [!POSIX] (posix_madvise): Likewise.
23783 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23784 && !UNIX98].
23785 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23786 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23787 (mode_t): Likewise.
23788 (posix_mem_offset): Likewise.
23789 (posix_typed_mem_get_info): Likewise.
23790 (posix_typed_mem_open): Likewise.
23791
9e188909
JM
23792 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23793 Change condition to [XOPEN2K8].
23794
05bcf62a
JM
23795 * conform/conformtest.pl: Preprocess allow-header data with -x c
23796 instead of from stdin.
23797 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23798 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23799 [C99-based standards] (cerfc): Likewise.
23800 [C99-based standards] (cexp2): Likewise.
23801 [C99-based standards] (cexpm1): Likewise.
23802 [C99-based standards] (clog10): Likewise.
23803 [C99-based standards] (clog1p): Likewise.
23804 [C99-based standards] (clog2): Likewise.
23805 [C99-based standards] (clgamma): Likewise.
23806 [C99-based standards] (ctgamma): Likewise.
23807 [C99-based standards] (cerff): Likewise.
23808 [C99-based standards] (cerfcf): Likewise.
23809 [C99-based standards] (cexp2f): Likewise.
23810 [C99-based standards] (cexpm1f): Likewise.
23811 [C99-based standards] (clog10f): Likewise.
23812 [C99-based standards] (clog1pf): Likewise.
23813 [C99-based standards] (clog2f): Likewise.
23814 [C99-based standards] (clgammaf): Likewise.
23815 [C99-based standards] (ctgammaf): Likewise.
23816 [C99-based standards] (cerfl): Likewise.
23817 [C99-based standards] (cerfcl): Likewise.
23818 [C99-based standards] (cexp2l): Likewise.
23819 [C99-based standards] (cexpm1l): Likewise.
23820 [C99-based standards] (clog10l): Likewise.
23821 [C99-based standards] (clog1pl): Likewise.
23822 [C99-based standards] (clog2l): Likewise.
23823 [C99-based standards] (clgammal): Likewise.
23824 [C99-based standards] (ctgammal): Likewise.
23825 * conform/data/inttypes.h-data [C99-based standards]: Include
23826 stdint.h-data. Remove all expectations for stdint.h contents.
23827 [C99-based standards] (PRI*): Do not allow.
23828 [C99-based standards] (SCN*): Likewise.
23829 [C99-based standards] (*_t): Likewise.
23830 [C99-based-standards] (PRId8): Expect macro.
23831 [C99-based-standards] (PRIi8): Likewise.
23832 [C99-based-standards] (PRIo8): Likewise.
23833 [C99-based-standards] (PRIu8): Likewise.
23834 [C99-based-standards] (PRIx8): Likewise.
23835 [C99-based-standards] (PRIX8): Likewise.
23836 [C99-based-standards] (SCNd8): Likewise.
23837 [C99-based-standards] (SCNi8): Likewise.
23838 [C99-based-standards] (SCNo8): Likewise.
23839 [C99-based-standards] (SCNu8): Likewise.
23840 [C99-based-standards] (SCNx8): Likewise.
23841 [C99-based-standards] (PRIdLEAST8): Likewise.
23842 [C99-based-standards] (PRIiLEAST8): Likewise.
23843 [C99-based-standards] (PRIoLEAST8): Likewise.
23844 [C99-based-standards] (PRIuLEAST8): Likewise.
23845 [C99-based-standards] (PRIxLEAST8): Likewise.
23846 [C99-based-standards] (PRIXLEAST8): Likewise.
23847 [C99-based-standards] (SCNdLEAST8): Likewise.
23848 [C99-based-standards] (SCNiLEAST8): Likewise.
23849 [C99-based-standards] (SCNoLEAST8): Likewise.
23850 [C99-based-standards] (SCNuLEAST8): Likewise.
23851 [C99-based-standards] (SCNxLEAST8): Likewise.
23852 [C99-based-standards] (PRIdFAST8): Likewise.
23853 [C99-based-standards] (PRIiFAST8): Likewise.
23854 [C99-based-standards] (PRIoFAST8): Likewise.
23855 [C99-based-standards] (PRIuFAST8): Likewise.
23856 [C99-based-standards] (PRIxFAST8): Likewise.
23857 [C99-based-standards] (PRIXFAST8): Likewise.
23858 [C99-based-standards] (SCNdFAST8): Likewise.
23859 [C99-based-standards] (SCNiFAST8): Likewise.
23860 [C99-based-standards] (SCNoFAST8): Likewise.
23861 [C99-based-standards] (SCNuFAST8): Likewise.
23862 [C99-based-standards] (SCNxFAST8): Likewise.
23863 [C99-based-standards] (PRId16): Likewise.
23864 [C99-based-standards] (PRIi16): Likewise.
23865 [C99-based-standards] (PRIo16): Likewise.
23866 [C99-based-standards] (PRIu16): Likewise.
23867 [C99-based-standards] (PRIx16): Likewise.
23868 [C99-based-standards] (PRIX16): Likewise.
23869 [C99-based-standards] (SCNd16): Likewise.
23870 [C99-based-standards] (SCNi16): Likewise.
23871 [C99-based-standards] (SCNo16): Likewise.
23872 [C99-based-standards] (SCNu16): Likewise.
23873 [C99-based-standards] (SCNx16): Likewise.
23874 [C99-based-standards] (PRIdLEAST16): Likewise.
23875 [C99-based-standards] (PRIiLEAST16): Likewise.
23876 [C99-based-standards] (PRIoLEAST16): Likewise.
23877 [C99-based-standards] (PRIuLEAST16): Likewise.
23878 [C99-based-standards] (PRIxLEAST16): Likewise.
23879 [C99-based-standards] (PRIXLEAST16): Likewise.
23880 [C99-based-standards] (SCNdLEAST16): Likewise.
23881 [C99-based-standards] (SCNiLEAST16): Likewise.
23882 [C99-based-standards] (SCNoLEAST16): Likewise.
23883 [C99-based-standards] (SCNuLEAST16): Likewise.
23884 [C99-based-standards] (SCNxLEAST16): Likewise.
23885 [C99-based-standards] (PRIdFAST16): Likewise.
23886 [C99-based-standards] (PRIiFAST16): Likewise.
23887 [C99-based-standards] (PRIoFAST16): Likewise.
23888 [C99-based-standards] (PRIuFAST16): Likewise.
23889 [C99-based-standards] (PRIxFAST16): Likewise.
23890 [C99-based-standards] (PRIXFAST16): Likewise.
23891 [C99-based-standards] (SCNdFAST16): Likewise.
23892 [C99-based-standards] (SCNiFAST16): Likewise.
23893 [C99-based-standards] (SCNoFAST16): Likewise.
23894 [C99-based-standards] (SCNuFAST16): Likewise.
23895 [C99-based-standards] (SCNxFAST16): Likewise.
23896 [C99-based-standards] (PRId32): Likewise.
23897 [C99-based-standards] (PRIi32): Likewise.
23898 [C99-based-standards] (PRIo32): Likewise.
23899 [C99-based-standards] (PRIu32): Likewise.
23900 [C99-based-standards] (PRIx32): Likewise.
23901 [C99-based-standards] (PRIX32): Likewise.
23902 [C99-based-standards] (SCNd32): Likewise.
23903 [C99-based-standards] (SCNi32): Likewise.
23904 [C99-based-standards] (SCNo32): Likewise.
23905 [C99-based-standards] (SCNu32): Likewise.
23906 [C99-based-standards] (SCNx32): Likewise.
23907 [C99-based-standards] (PRIdLEAST32): Likewise.
23908 [C99-based-standards] (PRIiLEAST32): Likewise.
23909 [C99-based-standards] (PRIoLEAST32): Likewise.
23910 [C99-based-standards] (PRIuLEAST32): Likewise.
23911 [C99-based-standards] (PRIxLEAST32): Likewise.
23912 [C99-based-standards] (PRIXLEAST32): Likewise.
23913 [C99-based-standards] (SCNdLEAST32): Likewise.
23914 [C99-based-standards] (SCNiLEAST32): Likewise.
23915 [C99-based-standards] (SCNoLEAST32): Likewise.
23916 [C99-based-standards] (SCNuLEAST32): Likewise.
23917 [C99-based-standards] (SCNxLEAST32): Likewise.
23918 [C99-based-standards] (PRIdFAST32): Likewise.
23919 [C99-based-standards] (PRIiFAST32): Likewise.
23920 [C99-based-standards] (PRIoFAST32): Likewise.
23921 [C99-based-standards] (PRIuFAST32): Likewise.
23922 [C99-based-standards] (PRIxFAST32): Likewise.
23923 [C99-based-standards] (PRIXFAST32): Likewise.
23924 [C99-based-standards] (SCNdFAST32): Likewise.
23925 [C99-based-standards] (SCNiFAST32): Likewise.
23926 [C99-based-standards] (SCNoFAST32): Likewise.
23927 [C99-based-standards] (SCNuFAST32): Likewise.
23928 [C99-based-standards] (SCNxFAST32): Likewise.
23929 [C99-based-standards] (PRId64): Likewise.
23930 [C99-based-standards] (PRIi64): Likewise.
23931 [C99-based-standards] (PRIo64): Likewise.
23932 [C99-based-standards] (PRIu64): Likewise.
23933 [C99-based-standards] (PRIx64): Likewise.
23934 [C99-based-standards] (PRIX64): Likewise.
23935 [C99-based-standards] (SCNd64): Likewise.
23936 [C99-based-standards] (SCNi64): Likewise.
23937 [C99-based-standards] (SCNo64): Likewise.
23938 [C99-based-standards] (SCNu64): Likewise.
23939 [C99-based-standards] (SCNx64): Likewise.
23940 [C99-based-standards] (PRIdLEAST64): Likewise.
23941 [C99-based-standards] (PRIiLEAST64): Likewise.
23942 [C99-based-standards] (PRIoLEAST64): Likewise.
23943 [C99-based-standards] (PRIuLEAST64): Likewise.
23944 [C99-based-standards] (PRIxLEAST64): Likewise.
23945 [C99-based-standards] (PRIXLEAST64): Likewise.
23946 [C99-based-standards] (SCNdLEAST64): Likewise.
23947 [C99-based-standards] (SCNiLEAST64): Likewise.
23948 [C99-based-standards] (SCNoLEAST64): Likewise.
23949 [C99-based-standards] (SCNuLEAST64): Likewise.
23950 [C99-based-standards] (SCNxLEAST64): Likewise.
23951 [C99-based-standards] (PRIdFAST64): Likewise.
23952 [C99-based-standards] (PRIiFAST64): Likewise.
23953 [C99-based-standards] (PRIoFAST64): Likewise.
23954 [C99-based-standards] (PRIuFAST64): Likewise.
23955 [C99-based-standards] (PRIxFAST64): Likewise.
23956 [C99-based-standards] (PRIXFAST64): Likewise.
23957 [C99-based-standards] (SCNdFAST64): Likewise.
23958 [C99-based-standards] (SCNiFAST64): Likewise.
23959 [C99-based-standards] (SCNoFAST64): Likewise.
23960 [C99-based-standards] (SCNuFAST64): Likewise.
23961 [C99-based-standards] (SCNxFAST64): Likewise.
23962 [C99-based-standards] (PRIdMAX): Likewise.
23963 [C99-based-standards] (PRIiMAX): Likewise.
23964 [C99-based-standards] (PRIoMAX): Likewise.
23965 [C99-based-standards] (PRIuMAX): Likewise.
23966 [C99-based-standards] (PRIxMAX): Likewise.
23967 [C99-based-standards] (PRIXMAX): Likewise.
23968 [C99-based-standards] (SCNdMAX): Likewise.
23969 [C99-based-standards] (SCNiMAX): Likewise.
23970 [C99-based-standards] (SCNoMAX): Likewise.
23971 [C99-based-standards] (SCNuMAX): Likewise.
23972 [C99-based-standards] (SCNxMAX): Likewise.
23973 [C99-based-standards] (PRIdPTR): Likewise.
23974 [C99-based-standards] (PRIiPTR): Likewise.
23975 [C99-based-standards] (PRIoPTR): Likewise.
23976 [C99-based-standards] (PRIuPTR): Likewise.
23977 [C99-based-standards] (PRIxPTR): Likewise.
23978 [C99-based-standards] (PRIXPTR): Likewise.
23979 [C99-based-standards] (SCNdPTR): Likewise.
23980 [C99-based-standards] (SCNiPTR): Likewise.
23981 [C99-based-standards] (SCNoPTR): Likewise.
23982 [C99-based-standards] (SCNuPTR): Likewise.
23983 [C99-based-standards] (SCNxPTR): Likewise.
23984 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23985 allow.
23986 * conform/data/stdint.h-data: Update comments to clarify
23987 requirements.
23988 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23989 type.
23990 [C99-based standards] (INT8_MAX): Likewise.
23991 [C99-based standards] (INT16_MIN): Likewise.
23992 [C99-based standards] (INT16_MAX): Likewise.
23993 [C99-based standards] (INT32_MIN): Likewise.
23994 [C99-based standards] (INT32_MAX): Likewise.
23995 [C99-based standards] (INT64_MIN): Likewise.
23996 [C99-based standards] (INT64_MAX): Likewise.
23997 [C99-based standards] (UINT8_MAX): Likewise.
23998 [C99-based standards] (UINT16_MAX): Likewise.
23999 [C99-based standards] (UINT32_MAX): Likewise.
24000 [C99-based standards] (UINT64_MAX): Likewise.
24001 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24002 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24003 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24004 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24005 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24006 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24007 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24008 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24009 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24010 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24011 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24012 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24013 [C99-based standards] (INT_FAST8_MIN): Likewise.
24014 [C99-based standards] (INT_FAST8_MAX): Likewise.
24015 [C99-based standards] (INT_FAST16_MIN): Likewise.
24016 [C99-based standards] (INT_FAST16_MAX): Likewise.
24017 [C99-based standards] (INT_FAST32_MIN): Likewise.
24018 [C99-based standards] (INT_FAST32_MAX): Likewise.
24019 [C99-based standards] (INT_FAST64_MIN): Likewise.
24020 [C99-based standards] (INT_FAST64_MAX): Likewise.
24021 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24022 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24023 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24024 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24025 [C99-based standards] (INTPTR_MIN): Likewise.
24026 [C99-based standards] (INTPTR_MAX): Likewise.
24027 [C99-based standards] (UINTPTR_MAX): Likewise.
24028 [C99-based standards] (INTMAX_MIN): Likewise.
24029 [C99-based standards] (INTMAX_MAX): Likewise.
24030 [C99-based standards] (UINTMAX_MAX): Likewise.
24031 [C99-based standards] (PTRDIFF_MIN): Likewise.
24032 [C99-based standards] (PTRDIFF_MAX): Likewise.
24033 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24034 [C99-based standards] (SIZE_MAX): Likewise.
24035 [C99-based standards] (WCHAR_MAX): Likewise.
24036 [C99-based standards] (WINT_MAX): Likewise.
24037 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24038 constraint on value.
24039 [C99-based standards] (WCHAR_MIN): Likewise.
24040 [C99-based standards] (WINT_MIN): Likewise.
24041 [C99-based standards] (*_t): Allow.
24042 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24043 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24044 Include math.h-data and complex.h-data. Remove all expectations
24045 of math.h and complex.h contents.
24046 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24047 at end of line.
24048 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24049 (struct tm): Expect tag.
24050 [C99-based-standards] (wcstof): Expect function.
24051 [C99-based-standards] (wcstold): Likewise.
24052 [C99-based-standards] (wcstoll): Likewise.
24053 [C99-based-standards] (wcstoull): Likewise.
24054 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24055 macro-int-constant. Specify type.
24056 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24057 constraint on value.
24058 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24059 Specify type.
24060 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24061 Specify value.
24062 [ISO C standards]: Do not allow headers.
24063 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24064 wcs[abcdefghijklmnopqrstuvwxyz]*.
24065 [ISO C standards] (*_t): Do not allow.
24066 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24067 Expect function.
24068 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24069 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24070 Specify type.
24071 [ISO C standards]: Do not allow headers.
24072 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24073 is[abcdefghijklmnopqrstuvwxyz]*.
24074 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24075 to[abcdefghijklmnopqrstuvwxyz]*.
24076 [ISO C standards] (*_t): Do not allow.
24077 * conform/data/stdalign.h-data: New file.
24078 * conform/data/stdbool.h-data: Likewise.
24079 * conform/data/stdnoreturn.h-data: Likewise.
24080
7514feb8
RM
240812012-11-07 Roland McGrath <roland@hack.frob.com>
24082
24083 [BZ #14815]
24084 * manual/filesys.texi (Directory Entries): Typo fix.
24085 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24086
19b2ecfc
MS
240872012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24088
24089 * elf/elf.h (EM_AARCH64): New macro.
24090 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24091 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24092 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24093 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24094 (R_AARCH64_TLSDESC): Likewise.
24095 (NT_ARM_TLS): Likewise.
24096 (NT_ARM_HW_BREAK): Likewise.
24097 (NT_ARM_HW_WATCH): Likewise.
24098
60e235ee
JM
240992012-11-07 Joseph Myers <joseph@codesourcery.com>
24100
24101 [BZ #14811]
24102 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24103 (__ieee754_powl): Saturate nonzero exponents with absolute value
24104 below 0x1p-79 to +/- 0x1p-79.
24105 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24106 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24107 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24108 nonzero exponents with absolute value below 0x1p-32 to +/-
24109 0x1p-32.
24110 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24111 (__ieee754_powl): Saturate nonzero exponents with absolute value
24112 below 0x1p-79 to +/- 0x1p-79.
24113 * math/libm-test.inc (pow_test): Add more tests.
24114
0ab234b7
AK
241152012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24116
24117 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24118 _dl_s390_cap_flags with kernel. Increase string length.
24119 (_dl_s390_platforms): Add z196 and zEC12.
24120
45832f74
JM
241212012-11-07 Joseph Myers <joseph@codesourcery.com>
24122
24123 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24124 Change XOPEN21K to XOPEN2K.
24125
19218757
MK
241262012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24127
24128 * string/memmove.c: Use memcpy when possible.
24129
c5f45721
AJ
241302012-11-06 Andreas Jaeger <aj@suse.de>
24131
24132 * po/eo.po: Update from translation team.
24133
82477c28
JM
241342012-11-06 Joseph Myers <joseph@codesourcery.com>
24135
24136 [BZ #14793]
24137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24138 exponent and small x and y exponents, scale x or y up. Increase
24139 by 2 the exponent used in scaling up.
24140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24142 * math/libm-test.inc (fma_test): Add more tests.
24143 (fma_test_towardzero): Likewise.
24144 (fma_test_downward): Likewise.
24145 (fma_test_upward): Likewise.
24146
99252c8c
JM
241472012-11-05 Joseph Myers <joseph@codesourcery.com>
24148
acfa885f
JM
24149 [BZ #14805]
24150 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24151 fenv_t *.
24152
99252c8c
JM
24153 [BZ #14801]
24154 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24155 namespace for names of struct fields.
24156 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24157 fenv_t fields.
24158 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24159 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24160
d6d98dea
ST
241612012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24162
24163 [BZ #3665]
24164 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24165
e10bb107
TS
241662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24167
24168 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24169 PTR_DEMANGLE.
24170
24171 [BZ #5246]
24172 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24173 PTR_DEMANGLE.
24174
a0c2940d
JM
241752012-11-04 Joseph Myers <joseph@codesourcery.com>
24176
24177 [BZ #14797]
24178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24179 definitely overflow as x * y not x * y + z.
24180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24182 * math/libm-test.inc (fma_test): Add more tests.
24183 (fma_test_towardzero): Likewise.
24184 (fma_test_downward): Likewise.
24185 (fma_test_upward): Likewise.
24186
b830319d
TS
241872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24188
24189 [BZ #157]
24190
24191 * include/stub-tag.h: Remove file.
24192 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24193 '#include' of it.
24194 * manual/maint.texi (Porting): Don't reference it.
24195 * Makerules ($(objpfx)stubs): Likewise.
24196 * dirent/closedir.c: Don't include <stub-tag.h>.
24197 * dirent/dirfd.c: Likewise.
24198 * dirent/fdopendir.c: Likewise.
24199 * dirent/getdents.c: Likewise.
24200 * dirent/getdents64.c: Likewise.
24201 * dirent/opendir.c: Likewise.
24202 * dirent/readdir.c: Likewise.
24203 * dirent/readdir64.c: Likewise.
24204 * dirent/readdir64_r.c: Likewise.
24205 * dirent/readdir_r.c: Likewise.
24206 * dirent/rewinddir.c: Likewise.
24207 * dirent/seekdir.c: Likewise.
24208 * dirent/telldir.c: Likewise.
24209 * gmon/profil.c: Likewise.
24210 * grp/setgroups.c: Likewise.
24211 * inet/if_index.c: Likewise.
24212 * io/access.c: Likewise.
24213 * io/chdir.c: Likewise.
24214 * io/chmod.c: Likewise.
24215 * io/chown.c: Likewise.
24216 * io/close.c: Likewise.
24217 * io/dup.c: Likewise.
24218 * io/dup2.c: Likewise.
24219 * io/dup3.c: Likewise.
24220 * io/euidaccess.c: Likewise.
24221 * io/faccessat.c: Likewise.
24222 * io/fchdir.c: Likewise.
24223 * io/fchmod.c: Likewise.
24224 * io/fchmodat.c: Likewise.
24225 * io/fchown.c: Likewise.
24226 * io/fchownat.c: Likewise.
24227 * io/fcntl.c: Likewise.
24228 * io/flock.c: Likewise.
24229 * io/fstatfs.c: Likewise.
24230 * io/fstatfs64.c: Likewise.
24231 * io/fstatvfs.c: Likewise.
24232 * io/fstatvfs64.c: Likewise.
24233 * io/futimens.c: Likewise.
24234 * io/fxstat.c: Likewise.
24235 * io/fxstat64.c: Likewise.
24236 * io/fxstatat.c: Likewise.
24237 * io/fxstatat64.c: Likewise.
24238 * io/getcwd.c: Likewise.
24239 * io/isatty.c: Likewise.
24240 * io/lchmod.c: Likewise.
24241 * io/lchown.c: Likewise.
24242 * io/link.c: Likewise.
24243 * io/linkat.c: Likewise.
24244 * io/lseek.c: Likewise.
24245 * io/lseek64.c: Likewise.
24246 * io/lxstat64.c: Likewise.
24247 * io/mkdir.c: Likewise.
24248 * io/mkdirat.c: Likewise.
24249 * io/mkfifo.c: Likewise.
24250 * io/mkfifoat.c: Likewise.
24251 * io/open.c: Likewise.
24252 * io/open64.c: Likewise.
24253 * io/openat.c: Likewise.
24254 * io/openat64.c: Likewise.
24255 * io/pipe.c: Likewise.
24256 * io/pipe2.c: Likewise.
24257 * io/poll.c: Likewise.
24258 * io/posix_fadvise.c: Likewise.
24259 * io/posix_fadvise64.c: Likewise.
24260 * io/posix_fallocate.c: Likewise.
24261 * io/posix_fallocate64.c: Likewise.
24262 * io/read.c: Likewise.
24263 * io/readlink.c: Likewise.
24264 * io/readlinkat.c: Likewise.
24265 * io/rmdir.c: Likewise.
24266 * io/sendfile.c: Likewise.
24267 * io/sendfile64.c: Likewise.
24268 * io/statfs.c: Likewise.
24269 * io/statfs64.c: Likewise.
24270 * io/statvfs.c: Likewise.
24271 * io/statvfs64.c: Likewise.
24272 * io/symlink.c: Likewise.
24273 * io/symlinkat.c: Likewise.
24274 * io/ttyname.c: Likewise.
24275 * io/ttyname_r.c: Likewise.
24276 * io/umask.c: Likewise.
24277 * io/unlink.c: Likewise.
24278 * io/unlinkat.c: Likewise.
24279 * io/utime.c: Likewise.
24280 * io/utimensat.c: Likewise.
24281 * io/write.c: Likewise.
24282 * io/xmknod.c: Likewise.
24283 * io/xmknodat.c: Likewise.
24284 * io/xstat.c: Likewise.
24285 * io/xstat64.c: Likewise.
24286 * login/getpt.c: Likewise.
24287 * login/grantpt.c: Likewise.
24288 * login/unlockpt.c: Likewise.
24289 * math/e_acoshl.c: Likewise.
24290 * math/e_acosl.c: Likewise.
24291 * math/e_asinl.c: Likewise.
24292 * math/e_atan2l.c: Likewise.
24293 * math/e_atanhl.c: Likewise.
24294 * math/e_coshl.c: Likewise.
24295 * math/e_expl.c: Likewise.
24296 * math/e_fmodl.c: Likewise.
24297 * math/e_gammal_r.c: Likewise.
24298 * math/e_hypotl.c: Likewise.
24299 * math/e_j0l.c: Likewise.
24300 * math/e_j1l.c: Likewise.
24301 * math/e_jnl.c: Likewise.
24302 * math/e_lgammal_r.c: Likewise.
24303 * math/e_log10l.c: Likewise.
24304 * math/e_log2l.c: Likewise.
24305 * math/e_logl.c: Likewise.
24306 * math/e_powl.c: Likewise.
24307 * math/e_rem_pio2l.c: Likewise.
24308 * math/e_sinhl.c: Likewise.
24309 * math/e_sqrtl.c: Likewise.
24310 * math/fclrexcpt.c: Likewise.
24311 * math/fedisblxcpt.c: Likewise.
24312 * math/feenablxcpt.c: Likewise.
24313 * math/fegetenv.c: Likewise.
24314 * math/fegetexcept.c: Likewise.
24315 * math/fegetround.c: Likewise.
24316 * math/feholdexcpt.c: Likewise.
24317 * math/fesetenv.c: Likewise.
24318 * math/fesetround.c: Likewise.
24319 * math/feupdateenv.c: Likewise.
24320 * math/fgetexcptflg.c: Likewise.
24321 * math/fraiseexcpt.c: Likewise.
24322 * math/fsetexcptflg.c: Likewise.
24323 * math/ftestexcept.c: Likewise.
24324 * math/k_cosl.c: Likewise.
24325 * math/k_rem_pio2l.c: Likewise.
24326 * math/k_sinl.c: Likewise.
24327 * math/k_tanl.c: Likewise.
24328 * math/s_asinhl.c: Likewise.
24329 * math/s_atanl.c: Likewise.
24330 * math/s_cbrtl.c: Likewise.
24331 * math/s_erfl.c: Likewise.
24332 * math/s_expm1l.c: Likewise.
24333 * math/s_log1pl.c: Likewise.
24334 * math/s_tanhl.c: Likewise.
24335 * misc/acct.c: Likewise.
24336 * misc/brk.c: Likewise.
24337 * misc/chflags.c: Likewise.
24338 * misc/chroot.c: Likewise.
24339 * misc/fchflags.c: Likewise.
24340 * misc/fgetxattr.c: Likewise.
24341 * misc/flistxattr.c: Likewise.
24342 * misc/fremovexattr.c: Likewise.
24343 * misc/fsetxattr.c: Likewise.
24344 * misc/fsync.c: Likewise.
24345 * misc/ftruncate.c: Likewise.
24346 * misc/futimes.c: Likewise.
24347 * misc/futimesat.c: Likewise.
24348 * misc/getdomain.c: Likewise.
24349 * misc/getdtsz.c: Likewise.
24350 * misc/gethostid.c: Likewise.
24351 * misc/gethostname.c: Likewise.
24352 * misc/getloadavg.c: Likewise.
24353 * misc/getpagesize.c: Likewise.
24354 * misc/getsysstats.c: Likewise.
24355 * misc/getxattr.c: Likewise.
24356 * misc/gtty.c: Likewise.
24357 * misc/ioctl.c: Likewise.
24358 * misc/lgetxattr.c: Likewise.
24359 * misc/listxattr.c: Likewise.
24360 * misc/llistxattr.c: Likewise.
24361 * misc/lremovexattr.c: Likewise.
24362 * misc/lsetxattr.c: Likewise.
24363 * misc/lutimes.c: Likewise.
24364 * misc/madvise.c: Likewise.
24365 * misc/mincore.c: Likewise.
24366 * misc/mlock.c: Likewise.
24367 * misc/mlockall.c: Likewise.
24368 * misc/mmap.c: Likewise.
24369 * misc/mprotect.c: Likewise.
24370 * misc/msync.c: Likewise.
24371 * misc/munlock.c: Likewise.
24372 * misc/munlockall.c: Likewise.
24373 * misc/munmap.c: Likewise.
24374 * misc/preadv.c: Likewise.
24375 * misc/preadv64.c: Likewise.
24376 * misc/ptrace.c: Likewise.
24377 * misc/pwritev.c: Likewise.
24378 * misc/pwritev64.c: Likewise.
24379 * misc/readv.c: Likewise.
24380 * misc/reboot.c: Likewise.
24381 * misc/remap_file_pages.c: Likewise.
24382 * misc/removexattr.c: Likewise.
24383 * misc/revoke.c: Likewise.
24384 * misc/select.c: Likewise.
24385 * misc/setdomain.c: Likewise.
24386 * misc/setegid.c: Likewise.
24387 * misc/seteuid.c: Likewise.
24388 * misc/sethostid.c: Likewise.
24389 * misc/sethostname.c: Likewise.
24390 * misc/setregid.c: Likewise.
24391 * misc/setreuid.c: Likewise.
24392 * misc/setxattr.c: Likewise.
24393 * misc/sstk.c: Likewise.
24394 * misc/stty.c: Likewise.
24395 * misc/swapoff.c: Likewise.
24396 * misc/swapon.c: Likewise.
24397 * misc/sync.c: Likewise.
24398 * misc/syncfs.c: Likewise.
24399 * misc/syscall.c: Likewise.
24400 * misc/truncate.c: Likewise.
24401 * misc/ualarm.c: Likewise.
24402 * misc/usleep.c: Likewise.
24403 * misc/ustat.c: Likewise.
24404 * misc/utimes.c: Likewise.
24405 * misc/vhangup.c: Likewise.
24406 * misc/writev.c: Likewise.
24407 * posix/_exit.c: Likewise.
24408 * posix/alarm.c: Likewise.
24409 * posix/execve.c: Likewise.
24410 * posix/fexecve.c: Likewise.
24411 * posix/fork.c: Likewise.
24412 * posix/fpathconf.c: Likewise.
24413 * posix/getaddrinfo.c: Likewise.
24414 * posix/getegid.c: Likewise.
24415 * posix/geteuid.c: Likewise.
24416 * posix/getgid.c: Likewise.
24417 * posix/getgroups.c: Likewise.
24418 * posix/getlogin.c: Likewise.
24419 * posix/getlogin_r.c: Likewise.
24420 * posix/getpgid.c: Likewise.
24421 * posix/getpid.c: Likewise.
24422 * posix/getppid.c: Likewise.
24423 * posix/getresgid.c: Likewise.
24424 * posix/getresuid.c: Likewise.
24425 * posix/getsid.c: Likewise.
24426 * posix/getuid.c: Likewise.
24427 * posix/glob64.c: Likewise.
24428 * posix/nanosleep.c: Likewise.
24429 * posix/pathconf.c: Likewise.
24430 * posix/pause.c: Likewise.
24431 * posix/posix_madvise.c: Likewise.
24432 * posix/pread.c: Likewise.
24433 * posix/pread64.c: Likewise.
24434 * posix/pwrite.c: Likewise.
24435 * posix/pwrite64.c: Likewise.
24436 * posix/sched_getaffinity.c: Likewise.
24437 * posix/sched_getp.c: Likewise.
24438 * posix/sched_gets.c: Likewise.
24439 * posix/sched_primax.c: Likewise.
24440 * posix/sched_primin.c: Likewise.
24441 * posix/sched_rr_gi.c: Likewise.
24442 * posix/sched_setaffinity.c: Likewise.
24443 * posix/sched_setp.c: Likewise.
24444 * posix/sched_sets.c: Likewise.
24445 * posix/sched_yield.c: Likewise.
24446 * posix/setgid.c: Likewise.
24447 * posix/setlogin.c: Likewise.
24448 * posix/setpgid.c: Likewise.
24449 * posix/setresgid.c: Likewise.
24450 * posix/setresuid.c: Likewise.
24451 * posix/setsid.c: Likewise.
24452 * posix/setuid.c: Likewise.
24453 * posix/sleep.c: Likewise.
24454 * posix/spawni.c: Likewise.
24455 * posix/sysconf.c: Likewise.
24456 * posix/times.c: Likewise.
24457 * posix/wait.c: Likewise.
24458 * posix/wait3.c: Likewise.
24459 * posix/wait4.c: Likewise.
24460 * posix/waitpid.c: Likewise.
24461 * resolv/gai_sigqueue.c: Likewise.
24462 * resource/getpriority.c: Likewise.
24463 * resource/getrlimit.c: Likewise.
24464 * resource/getrusage.c: Likewise.
24465 * resource/nice.c: Likewise.
24466 * resource/setpriority.c: Likewise.
24467 * resource/setrlimit.c: Likewise.
24468 * resource/ulimit.c: Likewise.
24469 * rt/aio_cancel.c: Likewise.
24470 * rt/aio_fsync.c: Likewise.
24471 * rt/aio_read.c: Likewise.
24472 * rt/aio_sigqueue.c: Likewise.
24473 * rt/aio_suspend.c: Likewise.
24474 * rt/aio_write.c: Likewise.
24475 * rt/clock_getres.c: Likewise.
24476 * rt/clock_gettime.c: Likewise.
24477 * rt/clock_nanosleep.c: Likewise.
24478 * rt/clock_settime.c: Likewise.
24479 * rt/lio_listio.c: Likewise.
24480 * rt/mq_close.c: Likewise.
24481 * rt/mq_getattr.c: Likewise.
24482 * rt/mq_notify.c: Likewise.
24483 * rt/mq_open.c: Likewise.
24484 * rt/mq_receive.c: Likewise.
24485 * rt/mq_send.c: Likewise.
24486 * rt/mq_setattr.c: Likewise.
24487 * rt/mq_timedreceive.c: Likewise.
24488 * rt/mq_timedsend.c: Likewise.
24489 * rt/mq_unlink.c: Likewise.
24490 * rt/shm_open.c: Likewise.
24491 * rt/shm_unlink.c: Likewise.
24492 * rt/timer_create.c: Likewise.
24493 * rt/timer_delete.c: Likewise.
24494 * rt/timer_getoverr.c: Likewise.
24495 * rt/timer_gettime.c: Likewise.
24496 * rt/timer_settime.c: Likewise.
24497 * setjmp/__longjmp.c: Likewise.
24498 * setjmp/setjmp.c: Likewise.
24499 * signal/kill.c: Likewise.
24500 * signal/killpg.c: Likewise.
24501 * signal/raise.c: Likewise.
24502 * signal/sigaction.c: Likewise.
24503 * signal/sigaltstack.c: Likewise.
24504 * signal/sigblock.c: Likewise.
24505 * signal/sigignore.c: Likewise.
24506 * signal/sigintr.c: Likewise.
24507 * signal/signal.c: Likewise.
24508 * signal/sigpause.c: Likewise.
24509 * signal/sigpending.c: Likewise.
24510 * signal/sigqueue.c: Likewise.
24511 * signal/sigreturn.c: Likewise.
24512 * signal/sigset.c: Likewise.
24513 * signal/sigsetmask.c: Likewise.
24514 * signal/sigstack.c: Likewise.
24515 * signal/sigsuspend.c: Likewise.
24516 * signal/sigtimedwait.c: Likewise.
24517 * signal/sigvec.c: Likewise.
24518 * signal/sigwait.c: Likewise.
24519 * signal/sigwaitinfo.c: Likewise.
24520 * signal/sysv_signal.c: Likewise.
24521 * socket/accept.c: Likewise.
24522 * socket/accept4.c: Likewise.
24523 * socket/bind.c: Likewise.
24524 * socket/connect.c: Likewise.
24525 * socket/getpeername.c: Likewise.
24526 * socket/getsockname.c: Likewise.
24527 * socket/getsockopt.c: Likewise.
24528 * socket/isfdtype.c: Likewise.
24529 * socket/listen.c: Likewise.
24530 * socket/recv.c: Likewise.
24531 * socket/recvfrom.c: Likewise.
24532 * socket/recvmsg.c: Likewise.
24533 * socket/send.c: Likewise.
24534 * socket/sendmsg.c: Likewise.
24535 * socket/sendto.c: Likewise.
24536 * socket/setsockopt.c: Likewise.
24537 * socket/shutdown.c: Likewise.
24538 * socket/sockatmark.c: Likewise.
24539 * socket/socket.c: Likewise.
24540 * socket/socketpair.c: Likewise.
24541 * stdio-common/ctermid.c: Likewise.
24542 * stdio-common/cuserid.c: Likewise.
24543 * stdio-common/remove.c: Likewise.
24544 * stdio-common/rename.c: Likewise.
24545 * stdio-common/renameat.c: Likewise.
24546 * stdio-common/tempname.c: Likewise.
24547 * stdlib/getcontext.c: Likewise.
24548 * stdlib/makecontext.c: Likewise.
24549 * stdlib/setcontext.c: Likewise.
24550 * stdlib/swapcontext.c: Likewise.
24551 * stdlib/system.c: Likewise.
24552 * streams/fattach.c: Likewise.
24553 * streams/fdetach.c: Likewise.
24554 * streams/getmsg.c: Likewise.
24555 * streams/getpmsg.c: Likewise.
24556 * streams/putmsg.c: Likewise.
24557 * streams/putpmsg.c: Likewise.
24558 * sysdeps/unix/bsd/getpt.c: Likewise.
24559 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24560 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24561 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24563 Likewise.
24564 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24565 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24566 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24567 * sysvipc/msgctl.c: Likewise.
24568 * sysvipc/msgget.c: Likewise.
24569 * sysvipc/msgrcv.c: Likewise.
24570 * sysvipc/msgsnd.c: Likewise.
24571 * sysvipc/semctl.c: Likewise.
24572 * sysvipc/semget.c: Likewise.
24573 * sysvipc/semop.c: Likewise.
24574 * sysvipc/semtimedop.c: Likewise.
24575 * sysvipc/shmat.c: Likewise.
24576 * sysvipc/shmctl.c: Likewise.
24577 * sysvipc/shmdt.c: Likewise.
24578 * sysvipc/shmget.c: Likewise.
24579 * termios/tcdrain.c: Likewise.
24580 * termios/tcflow.c: Likewise.
24581 * termios/tcflush.c: Likewise.
24582 * termios/tcgetattr.c: Likewise.
24583 * termios/tcgetpgrp.c: Likewise.
24584 * termios/tcsendbrk.c: Likewise.
24585 * termios/tcsetattr.c: Likewise.
24586 * termios/tcsetpgrp.c: Likewise.
24587 * time/adjtime.c: Likewise.
24588 * time/clock.c: Likewise.
24589 * time/getitimer.c: Likewise.
24590 * time/gettimeofday.c: Likewise.
24591 * time/setitimer.c: Likewise.
24592 * time/settimeofday.c: Likewise.
24593 * time/stime.c: Likewise.
24594 * time/time.c: Likewise.
24595
245962012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24597
a20492cf
PT
24598 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24599 /usr/old/bin.
24600
72e182e3
PT
24601 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24602 instead of spaces.
24603 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24604
fbeafede
JM
246052012-11-03 Joseph Myers <joseph@codesourcery.com>
24606
5b5b04d6
JM
24607 [BZ #14796]
24608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24609 FE_TONEAREST before applying Dekker multiplication and Knuth
24610 addition. Clear inexact exceptions and check for exact zero
24611 results afterwards.
24612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24613 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24615 * math/libm-test.inc (fma_test): Add more tests.
24616 (fma_test_towardzero): Likewise.
24617 (fma_test_downward): Likewise.
24618 (fma_test_upward): Likewise.
24619 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24620 function.
24621 (libc_fesetround): New macro.
24622 (libc_fesetroundf): Likewise.
24623 (libc_fesetroundl): Likewise.
24624 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24625 function.
24626 (libc_fesetround_387): Likewise.
24627 (libc_fesetroundf): New macro.
24628 (libc_fesetround): Likewise.
24629 (libc_fesetroundl): Likewise.
24630 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24631 function.
24632 (libc_fesetroundf): New macro.
24633 (libc_fesetround): Likewise.
24634 (libc_fesetroundl): Likewise.
24635 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24636 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24637 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24638 libm_hidden_ver.
24639 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24640 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24641 libm_hidden_def.
24642 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24643 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24644 libm_hidden_ver.
24645 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24646 libm_hidden_def.
24647
fbeafede
JM
24648 [BZ #3439]
24649 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24650 integer constant usable in #if and use that to give value to enum
24651 constant.
24652 (FE_DIVBYZERO): Likewise.
24653 (FE_UNDERFLOW): Likewise.
24654 (FE_OVERFLOW): Likewise.
24655 (FE_INVALID): Likewise.
24656 (FE_INVALID_SNAN): Likewise.
24657 (FE_INVALID_ISI): Likewise.
24658 (FE_INVALID_IDI): Likewise.
24659 (FE_INVALID_ZDZ): Likewise.
24660 (FE_INVALID_IMZ): Likewise.
24661 (FE_INVALID_COMPARE): Likewise.
24662 (FE_INVALID_SOFTWARE): Likewise.
24663 (FE_INVALID_SQRT): Likewise.
24664 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24665 (FE_TONEAREST): Likewise.
24666 (FE_TOWARDZERO): Likewise.
24667 (FE_UPWARD): Likewise.
24668 (FE_DOWNWARD): Likewise.
24669 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24670 (FE_DIVBYZERO): Likewise.
24671 (FE_OVERFLOW): Likewise.
24672 (FE_UNDERFLOW): Likewise.
24673 (FE_INEXACT): Likewise.
24674 (FE_TONEAREST): Likewise.
24675 (FE_DOWNWARD): Likewise.
24676 (FE_UPWARD): Likewise.
24677 (FE_TOWARDZERO): Likewise.
24678 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24679 (FE_UNDERFLOW): Likewise.
24680 (FE_OVERFLOW): Likewise.
24681 (FE_DIVBYZERO): Likewise.
24682 (FE_INVALID): Likewise.
24683 (FE_TONEAREST): Likewise.
24684 (FE_TOWARDZERO): Likewise.
24685 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24686 (FE_OVERFLOW): Likewise.
24687 (FE_UNDERFLOW): Likewise.
24688 (FE_DIVBYZERO): Likewise.
24689 (FE_INEXACT): Likewise.
24690 (FE_TONEAREST): Likewise.
24691 (FE_TOWARDZERO): Likewise.
24692 (FE_UPWARD): Likewise.
24693 (FE_DOWNWARD): Likewise.
24694 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24695 (FE_DIVBYZERO): Likewise.
24696 (FE_OVERFLOW): Likewise.
24697 (FE_UNDERFLOW): Likewise.
24698 (FE_INEXACT): Likewise.
24699 (FE_TONEAREST): Likewise.
24700 (FE_DOWNWARD): Likewise.
24701 (FE_UPWARD): Likewise.
24702 (FE_TOWARDZERO): Likewise.
24703
105ca950
CM
247042012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24705
24706 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24707
a542b389
AS
247082012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24709
24710 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24711 commands. Quote $PWD.
24712 (blacklist_exports): Don't use remove_newlines. Replace "declare
24713 -x" by "export".
24714 (remove_newlines): Remove.
24715
f62c8abc
L
247162012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24717
24718 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24719 * stdlib/stdlib.h (atof): Moved to ...
24720 * include/bits/stdlib-float.h: Here. New file.
24721 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24722 * stdlib/bits/stdlib-float.h: New file.
24723 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24724 -mno-sse -mno-mmx.
24725 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24726 <xmmintrin.h>.
24727
0155d5b2
JM
247282012-11-02 Joseph Myers <joseph@codesourcery.com>
24729
a68d0680
JM
24730 * conform/conformtest.pl (@headers): Add fenv.h.
24731 * conform/data/fenv.h-data: New file.
24732 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24733 include of <math/fenv.h>.
24734
caf7f573
JM
24735 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24736 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24737 && !UNIX98]. Enables tests for XOPEN2K8.
24738 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24739 POSIX2008]: Likewise.
24740
6c073ad6
JM
24741 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24742 (struct rusage): Do not expect type or its members.
24743
0155d5b2
JM
24744 [BZ #3439]
24745 * math/math.h (FP_NAN): Define macro to integer constant usable in
24746 #if and use that to give value to enum constant.
24747 (FP_INFINITE): Likewise.
24748 (FP_ZERO): Likewise.
24749 (FP_SUBNORMAL): Likewise.
24750 (FP_NORMAL): Likewise.
24751
b5dcacb4
AS
247522012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24753
24754 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24755 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24756 arguments.
24757
f7934be8
RM
247582012-11-02 Roland McGrath <roland@hack.frob.com>
24759
24760 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24761 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24762 autoconf-time if not.
24763 * configure.in: Remove AC_PREREQ.
24764
d7d08bde
TMQMF
247652012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24766
24767 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24768 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24769 of the internal implementation.
24770
dcdae19a
JM
247712012-11-02 Joseph Myers <joseph@codesourcery.com>
24772
24773 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24774 except include of <misc/sys/syslog.h>.
24775
d6cffd3e
AS
247762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24777
24778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24779 function returns with a NULL context exit with zero.
24780
b3563932
TMQMF
247812012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24782
24783 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24784
b288a93d
L
247852012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24786
24787 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24788 (run_program_cmd): This.
24789 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24790 (tst_langinfo): New variable. Use it.
24791
a2421a68
SAS
247922012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24793
24794 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24795 floating point opcodes.
24796
6f796e1b
TS
247972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24798
7402596b
TS
24799 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24800 variable.
24801
d0d4f868
TS
24802 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24803
6f796e1b
TS
24804 * sysdeps/mach/hurd/powerpc: Remove directory.
24805 * sysdeps/mach/powerpc: Likewise.
24806
4da224a2
AS
248072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24808
24809 * scripts/check-local-headers.sh: Ignore c++ headers.
24810
341dd673
TS
248112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24812
24813 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24814 __libc_cleanup_region_start argument.
24815
473611b2
JM
248162012-11-01 Joseph Myers <joseph@codesourcery.com>
24817
24818 [BZ #14784]
24819 [BZ #14785]
24820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24821 x * y using scaling, not as x * y + z.
24822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24824 * math/libm-test.inc (fma_test): Add more tests.
24825 (fma_test_towardzero): Likewise.
24826 (fma_test_downward): Likewise.
24827 (fma_test_upward): Likewise.
24828
4078da3d
TS
248292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24830
24831 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24832
903252aa
JM
248332012-10-31 Joseph Myers <joseph@codesourcery.com>
24834
24835 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24836 New variable.
24837
cbc818d0
TS
248382012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24839
24840 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24841
5a03cb1e
AS
248422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24843
24844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24845 Fix sort order.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24847 Likewise.
24848
90aff2ff
TMQMF
248492012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24850
24851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24852 Fix the order of the list for glibc 2.17.
24853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24854 Likewise.
24855
1818fcb7
AS
248562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24857
24858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24859
ef82f4da
JM
248602012-10-31 Joseph Myers <joseph@codesourcery.com>
24861
16a0e2ec
JM
24862 [BZ #14610]
24863 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24864 for low part of x being zero before using __atanl (y).
24865 * math/libm-test.inc (atan2_test): Add another test.
24866
0eb69512
JM
24867 * manual/install.texi (Configuring and compiling): Document
24868 general use of test-wrapper and test-wrapper-env.
24869 * INSTALL: Regenerated.
24870
ef82f4da
JM
24871 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24872 (__fma): Do not extract and scale down low bits on after-rounding
24873 systems when result rounded to normal precision would have normal
24874 exponent.
24875 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24876 (__fmal): Do not extract and scale down low bits on after-rounding
24877 systems when result rounded to normal precision would have normal
24878 exponent.
24879 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24880 (__fmal): Do not extract and scale down low bits on after-rounding
24881 systems when result rounded to normal precision would have normal
24882 exponent.
24883 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24884 macro.
24885 (fma_test): Add more tests.
24886 (fma_test_towardzero): Likewise.
24887 (fma_test_downward): Likewise.
24888 (fma_test_upward): Likewise.
24889
954ef0d9
L
248902012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24891
24892 * sysdeps/i386/tininess.h: Renamed to ...
24893 * sysdeps/x86/tininess.h: This.
24894 * sysdeps/x86_64/tininess.h: Removed.
24895
df61ffb2
JM
248962012-10-30 Joseph Myers <joseph@codesourcery.com>
24897
24898 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24899 input. Use $(build-program-cmd).
24900 ($(objpfx)tst-array1-static.out): Likewise.
24901 ($(objpfx)tst-array2.out): Likewise.
24902 ($(objpfx)tst-array3.out): Likewise.
24903 ($(objpfx)tst-array4.out): Likewise.
24904 ($(objpfx)tst-array5.out): Likewise.
24905 ($(objpfx)tst-array5-static.out): Likewise.
24906
01767843
CM
249072012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24908
47cc1490
CM
24909 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24910 if defined.
24911
01767843
CM
24912 * nss/nsswitch.h (nss_interface_function): Provide new
24913 macro for use with NSS functions.
24914 * grp/initgroups.c: Use new macro.
24915 * nss/getXXbyYY.c: Likewise.
24916 * nss/getXXbyYY_r.c: Likewise.
24917 * nss/getXXent.c: Likewise.
24918 * nss/getXXent_r.c: Likewise.
24919 * sysdeps/posix/getaddrinfo.c: Likewise.
24920
8321aa97
AJ
249212012-10-30 Andreas Jaeger <aj@suse.de>
24922
24923 * po/ru.po: Update Russion translation from translation project.
24924
2a27fd6d
JM
249252012-10-30 Joseph Myers <joseph@codesourcery.com>
24926
8627a232
JM
24927 [BZ #14152]
24928 [BZ #14783]
24929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24930 result and shift together with sticky bit instead of replicating
24931 round-to-nearest rounding.
24932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24933 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24934 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24935 missing underflow exceptions.
24936 (fma_test_towardzero): Add more tests.
24937 (fma_test_downward): Likewise.
24938 (fma_test_upward): Likewise.
24939
2a27fd6d
JM
24940 [BZ #14047]
24941 * sysdeps/generic/tininess.h: New file.
24942 * sysdeps/i386/tininess.h: Likewise.
24943 * sysdeps/sh/tininess.h: Likewise.
24944 * sysdeps/x86_64/tininess.h: Likewise.
24945 * stdlib/tst-strtod-underflow.c: Likewise.
24946 * stdlib/tst-tininess.c: Likewise.
24947 * stdlib/strtod_l.c: Include <tininess.h>.
24948 (round_and_return): Do not set errno for exact underflow cases.
24949 Force an underflow exception when setting errno for underflow.
24950 Determine underflow based on rounding to normal precision if
24951 TININESS_AFTER_ROUNDING.
24952 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24953 ERANGE for exact underflow cases.
24954 * stdlib/Makefile (tests): Add tst-tininess and
24955 tst-strtod-underflow.
24956 ($(objpfx)tst-tininess): Use $(link-libm).
24957 ($(objpfx)tst-strtod-underflow): Likewise.
24958
e7170363
AJ
249592012-10-30 Andreas Jaeger <aj@suse.de>
24960
e5088dc6
AJ
24961 [BZ#14767]
24962 * elf/Makefile (tests): Remove conditional for have-initfini-array
24963 since this is now always required and the variable does not exist
24964 anymore.
24965 (tests-static): Likewise.
24966 (modules-names): Likewise.
24967
e7170363 24968 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24969
24970 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24971 merged with constructor/destructor.
24972 (init_array): Likewise.
24973 * elf/tst-array2dep.c (fini_array): Likewise.
24974 (init_array): Likewise.
24975
60457d8a
MF
249762012-10-29 Mike Frysinger <vapier@gentoo.org>
24977
24978 * manual/message.texi: Delete @cartouche tags.
24979
8bece752
PT
249802012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24981
94ce799f
PT
24982 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24983 EOPNOTSUPP.
24984 * sysdeps/mach/hurd/fsync.c: Likewise.
24985
8bece752
PT
24986 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24987 [_POSIX_REALTIME_SIGNALS]: Change condition to
24988 [_POSIX_REALTIME_SIGNALS > 0].
24989
86ebe6b1
AJ
249902012-10-27 Andreas Jaeger <aj@suse.de>
24991
24992 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24993 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24995 [__WORDSIZE != 64]: Likewise.
24996
54399c08
L
249972012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24998
24999 * iconvdata/tst-table.sh: Remove ${SHELL}.
25000 * iconvdata/tst-tables.sh: Likewise.
25001
e2211bed
DM
250022012-10-25 David S. Miller <davem@davemloft.net>
25003
25004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25005 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25006 of strtoull.
25007
f303f97c
DM
25008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25009 ifunc-impl-list.c
25010 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25011 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25012 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25013 file.
25014
1e9d84cd
RM
250152012-10-25 Roland McGrath <roland@hack.frob.com>
25016
25017 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25018 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25019 __getdirentries.
25020
df381762
JM
250212012-10-25 Joseph Myers <joseph@codesourcery.com>
25022 Jim Blandy <jimb@codesourcery.com>
25023
25024 * scripts/cross-test-ssh.sh: New file.
25025 * manual/install.texi (Configuring and compiling): Document use of
25026 cross-test-ssh.sh.
25027 * INSTALL: Regenerated.
25028
bff64913
PT
250292012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25030
25031 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25032 EOPNOTSUPP.
25033
25fe8932
JM
250342012-10-25 Joseph Myers <joseph@codesourcery.com>
25035
25036 * Makeconfig (run-program-prefix): Fix comment.
25037
cc1290d0
JM
250382012-10-24 Joseph Myers <joseph@codesourcery.com>
25039 Jim Blandy <jimb@codesourcery.com>
25040
25041 * Makeconfig (test-wrapper): New variable,
25042 (test-wrapper-env): Likewise.
25043 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25044 (run-built-tests): Define to yes.
25045 (run-program-prefix): Use $(test-wrapper).
25046 (built-program-cmd): Likewise.
25047 * Rules (make-test-out): Use $(test-wrapper-env) and
25048 $(host-built-program-cmd).
25049 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25050 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25051 tst-pathopt.sh.
25052 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25053 $(test-wrapper-env) to tst-rtld-load-self.sh.
25054 ($(objpfx)order2.out): Use $(test-wrapper).
25055 ($(objpfx)tst-initorder.out): Likewise.
25056 ($(objpfx)tst-initorder2.out): Likewise.
25057 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25058 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25059 (test_wrapper_env): New variable. Use it to run ld.so.
25060 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25061 Use it to run ld.so.
25062 (test_wrapper_env): Likewise.
25063 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25064 $(test-wrapper) to run-iconv-test.sh.
25065 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25066 (ICONV): Use $test_wrapper.
25067 * posix/Makefile ($(objpfx)globtest.out): Pass
25068 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25069 globtest.sh, not $(run-program-prefix).
25070 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25071 (test_wrapper): Likewise.
25072 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25073 set together with run_via_rtld_prefix.
25074 (run_program_prefix): Define in terms of test_wrapper and
25075 run_via_rtld_prefix.
25076
6e6249d0
RM
250772012-10-24 Roland McGrath <roland@hack.frob.com>
25078
25079 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25080 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25081 Targets removed.
25082
25083 [BZ #14743]
25084 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25085 Declare __clock_getres, __clock_gettime, __clock_settime,
25086 __clock_nanosleep, and __clock_getcpuclockid.
25087 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25088 Remove librt_hidden_def (clock_gettime).
25089 * sysdeps/unix/clock_gettime.c: Likewise.
25090 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25091 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25092 * rt/clock_getres.c: Define __clock_getres as an alias.
25093 * sysdeps/posix/clock_getres.c: Likewise.
25094 * rt/clock_settime.c: Define __clock_settime as an alias.
25095 * sysdeps/unix/clock_settime.c: Likewise.
25096 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25097 * sysdeps/unix/clock_nanosleep.c: Likewise.
25098 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25099 * rt/clock-compat.c: New file.
25100 * rt/Makefile (librt-routines): Add clock-compat and move
25101 $(clock-routines) to ...
25102 (routines): ... here, new variable.
25103 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25104 Don't add get_clockfreq here.
25105 * rt/Versions (libc: GLIBC_2.17): New version set.
25106 Add clock_* symbols here.
25107 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25108 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25109 (GLIBC_2.17): Add clock_* symbols.
25110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25112 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25114 Likewise.
25115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25116 Likewise.
25117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25121 * NEWS: Mention the move.
25122
25123 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25124 Use __open, __read, __close rather than their public counterparts.
25125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25126 (__get_clockfreq_via_cpuinfo): Likewise.
25127 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25128 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25129
25130 * config.h.in (HAVE_IFUNC): New #undef.
25131 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25132 was successful.
25133 * configure: Regenerated.
25134
0cae3f4b
MF
251352012-10-24 Mike Frysinger <vapier@gentoo.org>
25136
25137 * configure.in: Move READELF check to start of file.
25138 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25139 libc_cv_asm_gnu_indirect_function in the process.
25140 * configure: Regenerated.
25141
8175a253
MF
251422012-10-24 Mike Frysinger <vapier@gentoo.org>
25143
25144 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25145 send the output to /dev/null.
25146 (libc_cv_cc_with_libunwind): Likewise.
25147 (libc_cv_as_noexecstack): Likewise.
25148 * configure: Regenerate.
25149
0708a7d1
JM
251502012-10-24 Joseph Myers <joseph@codesourcery.com>
25151
10b40d85
JM
25152 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25153
0708a7d1
JM
25154 * posix/globtest.sh (TMPDIR): Do not set.
25155 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25156 (testout): Likewise.
25157
9fddec1a
AJ
251582012-10-24 Andreas Jaeger <aj@suse.de>
25159
3a8db22f
AJ
25160 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25161 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25162 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25163 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25164 posix_fadvise64, posix_fallocate64.
25165
9fddec1a
AJ
25166 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25167 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25168 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25169 Likewise.
25170 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25171 Likewise.
25172 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25173
25174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25175 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25176 <bits/fcntl-linux.h>.
25177 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25178
25179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25180 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25181 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25182 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25183 [__WORDSIZE != 64]: Likewise.
25184
ebfd1bbd
JM
251852012-10-23 Joseph Myers <joseph@codesourcery.com>
25186
03ac099f
JM
25187 * Makeconfig (run-built-tests): New variable.
25188 * Rules [$(cross-compiling) = yes]: Change condition to
25189 [$(run-built-tests) = no].
25190 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25191 to [$(run-built-tests) = yes].
25192 * elf/Makefile [$(cross-compiling) = no]: Likewise
25193 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25194 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25195 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25196 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25197 * io/Makefile [$(cross-compiling) = no]: Likewise.
25198 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25199 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25200 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25201 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25202 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25203 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25204 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25205 * string/Makefile [$(cross-compiling) = no]: Likewise.
25206
ebfd1bbd
JM
25207 * posix/Makefile ($(objpfx)globtest.out): Pass
25208 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25209 $(rtld-installed-name).
25210 * posix/globtest.sh (elf_objpfx): Remove variable.
25211 (rtld_installed_name): Likewise.
25212 (library_path): Likewise.
25213 (run_program_prefix): New variable. Use for running globtest
25214 binary.
25215
166bca24
JB
252162012-10-23 Jim Blandy <jimb@codesourcery.com>
25217 Joseph Myers <joseph@codesourcery.com>
25218
25219 * Makeconfig (host-built-program-cmd): New variable.
25220 * elf/Makefile (tst-stackguard1-ARGS): Use
25221 $(host-built-program-cmd).
25222 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25223 (tst-spawn-ARGS): Likewise.
25224 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25225
88866099
JM
252262012-10-23 Joseph Myers <joseph@codesourcery.com>
25227 Jim Blandy <jimb@codesourcery.com>
25228
25229 * Makeconfig (run-via-rtld-prefix): New variable.
25230 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25231 (built-program-cmd): Likewise.
25232
b4b4c296
AJ
252332012-10-22 Andreas Jaeger <aj@suse.de>
25234
25235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25236 __O_RSYNC if it exists, otherwise to O_SYNC.
25237
6fb54a22
JB
252382012-10-22 Jim Blandy <jimb@codesourcery.com>
25239 Joseph Myers <joseph@codesourcery.com>
25240
25241 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25242 /dev/null.
25243 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25244 from /dev/null
25245 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25246 /dev/null.
25247
481b90b9
AJ
252482012-10-22 Andreas Jaeger <aj@suse.de>
25249
2a0e2669
AJ
25250 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25251 Define always.
25252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25253
76e38f9a
AJ
25254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25255 bits/fcntl-linux.h.
25256
7cd37b43
AJ
25257 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25258 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25259
481b90b9
AJ
25260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25261 to __O_LARGEFILE.
25262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25263 to __O_LARGEFILE.
25264
aba75984
JB
252652012-10-21 Jim Blandy <jimb@codesourcery.com>
25266 Joseph Myers <joseph@codesourcery.com>
25267
25268 * config.make.in (NM): New variable.
25269
88d4247f
AJ
252702012-10-21 Andreas Jaeger <aj@suse.de>
25271
25272 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25273 definitions and declarations that are provided by
25274 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25275
f2eed205
L
252762012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25277
25278 [BZ #14683]
25279 * elf/Makefile (tests-static): Add tst-leaks1-static.
25280 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25281 ($(objpfx)tst-leaks1-static): New rule.
25282 ($(objpfx)tst-leaks1-static-mem): Likewise.
25283 (tst-leaks1-static-ENV): New macro.
25284 * elf/dl-open.c (dl_open_worker): Check the main application
25285 only if SHARED is defined.
25286 * elf/tst-leaks1-static.c: New file.
25287
335e6931
AJ
252882012-10-20 Andreas Jaeger <aj@suse.de>
25289
25290 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25291 generic values for Linux.
25292 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25293 and declarations that are provided by <bits/fcntl-linux.h> and
25294 include <bits/fcntl-linux.h>.
25295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25297
ac5c94d3
RM
252982012-10-20 Roland McGrath <roland@hack.frob.com>
25299
25300 * io/fcntl.h: Move include of <bits/types.h> to the top and
25301 include it unconditionally.
25302
de54b33a
L
253032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25304
228cfb01
L
25305 * wcsmbs/Makefile (tests-ifunc): New variable.
25306 (tests): Add $(tests-ifunc).
25307 * wcsmbs/test-wcschr-ifunc.c: New file.
25308 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25309 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25310 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25311 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25312 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25313
69f07e5f
L
25314 * string/Makefile (tests-ifunc): New variable.
25315 (tests): Add $(tests-ifunc).
25316 * string/test-memccpy.c (TEST_NAME): New macro.
25317 * string/test-memchr.c (TEST_NAME): Likewise.
25318 * string/test-memcmp.c (TEST_NAME): Likewise.
25319 * string/test-memcpy.c (TEST_NAME): Likewise.
25320 * string/test-memmem.c (TEST_NAME): Likewise.
25321 * string/test-memmove.c (TEST_NAME): Likewise.
25322 * string/test-memset.c (TEST_NAME): Likewise.
25323 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25324 * string/test-stpcpy.c (TEST_NAME): Likewise.
25325 * string/test-stpncpy.c (TEST_NAME): Likewise.
25326 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25327 * string/test-strcasestr.c (TEST_NAME): Likewise.
25328 * string/test-strcat.c (TEST_NAME): Likewise.
25329 * string/test-strchr.c (TEST_NAME): Likewise.
25330 * string/test-strcmp.c(TEST_NAME): Likewise.
25331 * string/test-strcpy.c (TEST_NAME): Likewise.
25332 * string/test-strcspn.c (TEST_NAME): Likewise.
25333 * string/test-strlen.c (TEST_NAME): Likewise.
25334 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25335 * string/test-strncmp.c (TEST_NAME): Likewise.
25336 * string/test-strncpy.c (TEST_NAME): Likewise.
25337 * string/test-strnlen.c (TEST_NAME): Likewise.
25338 * string/test-strpbrk.c (TEST_NAME): Likewise.
25339 * string/test-strrchr.c (TEST_NAME): Likewise.
25340 * string/test-strspn.c (TEST_NAME): Likewise.
25341 * string/test-strstr.c (TEST_NAME): Likewise.
25342 * string/test-bcopy-ifunc.c: New file.
25343 * string/test-bzero-ifunc.c: Likewise.
25344 * string/test-memccpy-ifunc.c: Likewise.
25345 * string/test-memchr-ifunc.c: Likewise.
25346 * string/test-memcmp-ifunc.c: Likewise.
25347 * string/test-memcpy-ifunc.c: Likewise.
25348 * string/test-memmem-ifunc.c: Likewise.
25349 * string/test-memmove-ifunc.c: Likewise.
25350 * string/test-mempcpy-ifunc.c: Likewise.
25351 * string/test-memset-ifunc.c: Likewise.
25352 * string/test-rawmemchr-ifunc.c: Likewise.
25353 * string/test-stpcpy-ifunc.c: Likewise.
25354 * string/test-stpncpy-ifunc.c: Likewise.
25355 * string/test-strcasecmp-ifunc.c: Likewise.
25356 * string/test-strcasestr-ifunc.c: Likewise.
25357 * string/test-strcat-ifunc.c: Likewise.
25358 * string/test-strchr-ifunc.c: Likewise.
25359 * string/test-strchrnul-ifunc.c: Likewise.
25360 * string/test-strcmp-ifunc.c: Likewise.
25361 * string/test-strcpy-ifunc.c: Likewise.
25362 * string/test-strcspn-ifunc.c: Likewise.
25363 * string/test-strlen-ifunc.c: Likewise.
25364 * string/test-strncasecmp-ifunc.c: Likewise.
25365 * string/test-strncat-ifunc.c: Likewise.
25366 * string/test-strncmp-ifunc.c: Likewise.
25367 * string/test-strncpy-ifunc.c: Likewise.
25368 * string/test-strnlen-ifunc.c: Likewise.
25369 * string/test-strpbrk-ifunc.c: Likewise.
25370 * string/test-strrchr-ifunc.c: Likewise.
25371 * string/test-strspn-ifunc.c: Likewise.
25372 * string/test-strstr-ifunc.c: Likewise.
25373
de54b33a
L
25374 * debug/Makefile (tests-ifunc): New variable.
25375 (tests): Add $(tests-ifunc).
25376 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25377 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25378 * debug/test-stpcpy_chk-ifunc.c: New file.
25379 * debug/test-strcpy_chk-ifunc.c: Likewise.
25380
88481c16
SP
253812012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25382
25383 [BZ #13601]
25384 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25385 header is not read in.
25386
135948bd
JM
253872012-10-19 Joseph Myers <joseph@codesourcery.com>
25388
89f1c388
JM
25389 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25390 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25391 directly. Pass built executable to script as
25392 $(built-program-cmd).
25393 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25394 $testprogram without using LD_LIBRARY_PATH and $ldso.
25395
e40a0d21
JM
25396 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25397 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25398 $(rtld-installed-name).
25399 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25400 (rtld_installed_name): Likewise.
25401 (library_path): Likewise.
25402 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25403 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25404 $(run-program-prefix) to tst-tables.sh.
25405 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25406 it to run tst-table-from and tst-table-to.
25407 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25408 Pass it to tst-table.sh.
25409 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25410 $(run-program-prefix) to tst-gettext.sh.
25411 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25412 tst-translit.sh.
25413 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25414 tst-gettext2.sh.
25415 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25416 to run tst-gettext.
25417 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25418 to run tst-gettext2.
25419 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25420 to run tst-translit.
25421 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25422 $(run-program-prefix) to tst-mtrace.sh.
25423 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25424 to run tst-mtrace.
25425 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25426 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25427 $(rtld-installed-name).
25428 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25429 (rtld_installed_name): Likewise.
25430 (run_program_prefix): New variable. Use it to run wordexp-test.
25431
728e272a
JM
25432 * Makeconfig (ARCH): Remove all definitions.
25433 (machine): Likewise.
25434 [ARCH]: Remove conditional code.
25435 [!objdir]: Give error.
25436 [!objdir] (objpfx): Remove.
25437 [!objdir] (common-objpfx): Likewise.
25438 [!objdir] (common-objdir): Likewise.
25439 * configure.in (config_makefile): Remove. Hardcode Makefile in
25440 AC_CONFIG_FILES call.
25441 * configure: Regenerated.
25442
d528cdcf
JM
25443 [BZ #13888]
25444 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25445 or TMPDIR.
25446 (testout): Likewise.
25447
135948bd
JM
25448 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25449 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25450 $(rtld-installed-name).
25451 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25452 (rtld_installed_name): Likwise.
25453 (runit): Remove function.
25454 (run_getconf): New variable, Use it for running getconf binary.
25455
38c78296
L
254562012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 [BZ #14716]
25459 * string/test-memmem.c (check_result): New function.
25460 (do_one_test): Use it.
25461 (check1): New function.
25462 (test_main): Use it.
25463
d077f65f
MT
254642012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25465
25466 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25467
ced52c71
JM
254682012-10-18 Joseph Myers <joseph@codesourcery.com>
25469
25470 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25471 (_G_LSEEK64): Likewise.
25472 (_G_MMAP64): Likewise.
25473 (_G_FSTAT64): Likewise.
25474 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25475 (_G_LSEEK64): Likewise.
25476 (_G_MMAP64): Likewise.
25477 (_G_FSTAT64): Likewise.
25478 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25479 unconditional. Call __mmap64 directly.
25480 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25481 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25482 __lseek64 directly.
25483 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25484 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25485 __mmap64 directly.
25486 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25487 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25488 __lseek64 directly.
25489 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25490 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25491 __lseek64 directly.
25492 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25493 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25494 __lseek64 directly.
25495 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25496 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25497 __fxstat64 directly.
25498 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25499 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25500 unconditional.
25501 (freopen64) [!_G_OPEN64]: Remove conditional code.
25502 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25503 unconditional.
25504 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25505 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25506 unconditional.
25507 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25508 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25509 unconditional.
25510 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25511 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25512 unconditional.
25513 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25514 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25515 unconditional.
25516 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25517 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25518 unconditional.
25519 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25520 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25521 unconditional.
25522 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25523
b741de23
SP
255242012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25525
25526 [BZ #12140]
25527 * manual/memory.texi (Malloc Tunable Parameters): Add note
25528 about free list pointers overwriting some perturb bytes.
25529 Wording suggested by Roland McGrath.
25530
f9b9d9c9
JM
255312012-10-17 Joseph Myers <joseph@codesourcery.com>
25532
25533 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25534 (lgamma_test): Likewise.
25535 (tgamma_test): Likewise.
25536
172a631a
FW
255372012-10-16 Florian Weimer <fweimer@redhat.com>
25538
25539 [BZ #14700]
25540 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25541 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25542
e9f37252
MK
255432012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25544
25545 * NEWS: Mention BZ #14716.
25546 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25547 when removing AVAILABLE1_USES_J macro.
25548
d394eb74
L
255492012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25550
25551 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25552 (__bswap_64): __uint64_t for unsigned 64-bit int.
25553
ca38dc17
AS
255542012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25555
25556 * include/string.h (memmem): Declare libc hidden alias.
25557 * string/memmem.c (memmem): Define libc hidden alias.
25558 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25559 __read, __close instead of open, read, close.
25560
9a387d1f
L
255612012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25562
ac49ecaf
L
25563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25564 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25565 global and hidden.
25566 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25567 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25568 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25569 Likewise.
25570 (__rawmemchr_sse2): Likewise.
25571 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25572 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25573 (__strchr_sse2): Likewise.
25574 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25575 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25576 (__strcasecmp_sse2): Likewise.
25577 (__strncasecmp_sse2): Likewise.
25578 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25579 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25580 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25581 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25582 (__strrchr_sse2): Likewise.
25583 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25584 ifunc-impl-list.c.
25585 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25586 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25587 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25588 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25589 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25590 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25591 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25592 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25593 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25594 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25595 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25596 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25597 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25598 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25599 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25600 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25601 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25602 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25603 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25604 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25605 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25606 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25607 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25608 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25609 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25610 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25611 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25612 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25613 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25614 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25615
b090e8ea
L
25616 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25617 global and hidden.
25618 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25619 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25620 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25621 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25622 Likewise.
25623 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25624 Likewise.
25625 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25626 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25627 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25628 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25629 ifunc-impl-list.c.
25630 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25631 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25632 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25633 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25634 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25635 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25636 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25637 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25638 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25639 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25640 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25641 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25642 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25643 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25644 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25645 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25646 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25647 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25648 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25649 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25650 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25651 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25652 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25653 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25654 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25655 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25656 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25657 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25658 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25659 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25660 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25661 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25662 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25663 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25664 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25665 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25666 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25667 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25668 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25669 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25670 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25671
11dd4af6
L
25672 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25673 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25674 * include/ifunc-impl-list.h: New file.
25675 * misc/ifunc-impl-list.c: Likewise.
25676 * misc/Makefile (routines): Add ifunc-impl-list.
25677 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25678 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25679 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25680 TEST_NAME]: New variables.
11dd4af6
L
25681 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25682 are defined.
25683 (test_init): Call __libc_ifunc_impl_list to initialize
25684 func_list if TEST_IFUNC and TEST_NAME are defined.
25685
9a387d1f
L
25686 * string/Makefile (strop-tests): Add bcopy and bzero.
25687 * string/test-bcopy.c: New file.
25688 * string/test-bzero.c: Likewise.
25689 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25690 defined.
25691 * string/test-memset.c: Support bzero test if TEST_BZERO is
25692 defined.
25693 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25694 __libc_memmove.
25695 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25696 __libc_memset.
25697 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25698 of memset.
25699
472371b9
JM
257002012-10-10 Joseph Myers <joseph@codesourcery.com>
25701
1e4a9536
JM
25702 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25703 * configure: Regenerated.
25704
d173d12e
JM
25705 * Makeconfig (+link-static-before-libc): Don't include
25706 $(link-static-libc).
25707
472371b9
JM
25708 * libio/libio.h (_IO_pos_t): Remove.
25709
89a3ad0b
AO
257102012-10-10 Alexandre Oliva <aoliva@redhat.com>
25711
25712 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25713 McGrath.
25714
e7451425
AO
257152012-10-10 Alexandre Oliva <aoliva@redhat.com>
25716
25717 * crypt/crypt-entry.c: Include fips-private.h.
25718 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25719 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25720 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25721 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25722
4ba74a35
AO
257232012-10-10 Alexandre Oliva <aoliva@redhat.com>
25724
25725 * crypt/crypt-private.h: Include stdbool.h.
25726 (_ufc_setup_salt_r): Return bool.
25727 * crypt/crypt-entry.c: Include errno.h.
25728 (__crypt_r): Return NULL with EINVAL for bad salt.
25729 * crypt/crypt_util.c (bad_for_salt): New.
25730 (_ufc_setup_salt_r): Check that salt is long enough and within
25731 the specified alphabet.
25732 * crypt/badsalttest.c: New file.
25733 * crypt/Makefile (tests): Add it.
25734 ($(objpfx)badsalttest): New.
25735
f96f1242
MK
257362012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25737
25738 * NEWS: Add entry for BZ #14602.
25739
0e8e0c1c
JM
257402012-10-09 Joseph Myers <joseph@codesourcery.com>
25741
25742 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25743 type-generic.
25744 * math/libm-test.inc: Update comment listing what functions and
25745 macros are tested.
25746 (isgreater_test): New function.
25747 (isgreaterequal_test): Likewise.
25748 (isless_test): Likewise.
25749 (islessequal_test): Likewise.
25750 (islessgreater_test): Likewise.
25751 (isunordered_test): Likewise.
25752 (main): Call the new functions.
25753
273edc5e
RM
257542012-10-09 Roland McGrath <roland@hack.frob.com>
25755
b8493de0
RM
25756 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25757 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25758 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25759 * sysdeps/i386/configure: Regenerated.
25760 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25761 * sysdeps/mach/configure: Regenerated.
25762 * sysdeps/mach/hurd/configure: Regenerated.
25763 * sysdeps/powerpc/configure: Regenerated.
25764 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25765 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25766 * sysdeps/s390/s390-32/configure: Regenerated.
25767 * sysdeps/s390/s390-64/configure: Regenerated.
25768 * sysdeps/sh/configure: Regenerated.
25769 * sysdeps/sparc/configure: Regenerated.
25770 * sysdeps/unix/sysv/linux/configure: Regenerated.
25771 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25772 * sysdeps/x86_64/configure: Regenerated.
25773
273edc5e
RM
25774 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25775 defined. Don't check if MAP is NULL.
25776
c8450f70
JM
257772012-10-09 Joseph Myers <joseph@codesourcery.com>
25778
25779 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25780 (_G_stat64): Likewise.
25781 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25782 (_G_stat64): Likewise.
25783 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25784 instead of struct _G_stat64.
25785 * libio/fileops.c (mmap_remap_check): Likewise.
25786 (decide_maybe_mmap): Likewise.
25787 (_IO_new_file_seekoff): Likewise.
25788 (_IO_file_stat): Likewise.
25789 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25790 _G_off64_t.
25791 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25792 instead of struct _G_stat64.
25793 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25794
57e605ba
MK
257952012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25796
25797 [BZ #14602]
25798 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25799 Replace with ...
25800 (CHECK_EOL): New macro.
25801 (two_way_short_needle): Check beginning of haystack for EOL. Use
25802 CHECK_EOL.
25803 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25804 Replace with CHECK_EOL.
25805 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25806 Replace with CHECK_EOL.
25807
ef1bb361
JM
258082012-10-08 Joseph Myers <joseph@codesourcery.com>
25809
25810 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25811 type-generic.
25812 * math/libm-test.inc: Update comment listing what functions and
25813 macros are tested.
25814 (finite_test): New function.
25815 (isinf_test): Likewise.
25816 (isnan_test): Likewise.
25817 (fpclassify_test): Test subnormal input.
25818 (isfinite_test): Likewise.
25819 (isnormal_test): Likewise.
25820 (main): Call the new functions.
25821
55f11534
JN
258222012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25823
25824 [BZ #14660]
25825 * Makerules (%.dynsym): Force C locale when running
25826 $(OBJDUMP) --dynamic-syms.
25827
1ab29350
AS
258282012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25829
25830 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25831 <stdint.h>.
25832
f1ecb7ef
DM
258332012-10-06 David S. Miller <davem@davemloft.net>
25834
25835 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25836 upper 32-bits of the length value in %o2 since we use branch-on-register
25837 tests which consider the entire 64-bit register.
25838
5d41d91a
L
258392012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25840
25841 * string/test-strstr.c (check2): Add a test for page boundary.
25842
3baddb72
DM
258432012-10-05 David S. Miller <davem@davemloft.net>
25844
25845 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25846 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25847 file.
25848 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25849 sysdep_routines.
25850 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25851 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25852 and bzero when HWCAP_SPARC_CRYPTO is present.
25853
9cee5585
L
258542012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25855
d7e0dab9
L
25856 [BZ #14602]
25857 * string/test-strstr.c (check2): New function.
25858 (test_main): Call check2.
25859
03759f47
L
25860 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25861 and bug-strchr1.
25862 * string/bug-strcasestr1.c (do_test): Moved to ...
25863 * string/test-strcasestr.c (check1): Here. New function.
25864 (do_one_test): Break out result checking code into ...
25865 (check_result): This. New function.
25866 (do_one_test): Call check_result.
25867 (test_main): Call check1.
25868 * string/bug-strchr1.c (do_test): Moved to ...
25869 * string/test-strchr.c (check1): Here. New function.
25870 (do_one_test): Break out result checking code into ...
25871 (check_result): This. New function.
25872 (do_one_test): Call check_result.
25873 (test_main): Call check1.
25874 * string/bug-strstr1.c (main): Moved to ...
046f153e 25875 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25876 (do_one_test): Break out result checking code into ...
25877 (check_result): This. New function.
25878 (do_one_test): Call check_result.
25879 (test_main): Call check1.
25880 * string/bug-strcasestr1.c: Removed.
25881 * string/bug-strchr1.c: Likewise.
25882 * string/bug-strstr1.c: Likewise.
25883
53cea63e
L
25884 * elf/Makefile (dl-routines): Add hwcaps.
25885 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25886 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25887 (_dl_important_hwcaps): Moved to ...
25888 * elf/dl-hwcaps.c: Here. New file.
25889 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25890
9cee5585 25891 [BZ #14557]
bb859b06
L
25892 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25893 if IS_IN_rtld isn't defined.
25894
9cee5585
L
25895 * elf/dl-support.c (_dl_sysinfo_map): New.
25896 Include "get-dynamic-info.h" and "setup-vdso.h".
25897 (_dl_non_dynamic_init): Call setup_vdso.
25898 * elf/dynamic-link.h: Don't include <assert.h>.
25899 (elf_get_dynamic_info): Moved to ...
25900 * elf/get-dynamic-info.h: Here. New file.
25901 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25902 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25903 * elf/setup-vdso.h: Here. New file.
25904 * elf/rtld.c: Include "setup-vdso.h".
25905 (dl_main): Call setup_vdso.
25906
23c31b76
JM
259072012-10-05 Joseph Myers <joseph@codesourcery.com>
25908
28234b07
JM
25909 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25910 creal in comment listing functions tested. List finite, isinf,
25911 isnan, isless, islessequal, isgreater, isgreaterequal,
25912 islessgreater, isunordered, lgamma_r and pow10 as functions and
25913 macros not tested. Mention which functions not tested are aliases
25914 for other functions. Fix typo. Note that signs of NaNs are not
25915 tested.
25916
23c31b76
JM
25917 * scripts/config.guess: Update from config.git.
25918 * scripts/config.sub: Likewise.
25919
9043e228
RM
259202012-10-04 Roland McGrath <roland@hack.frob.com>
25921
25922 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25923 * misc/madvise.c (madvise): Renamed to __madvise.
25924 Make madvise a weak alias.
25925 * include/sys/mman.h: Declare __madvise.
25926 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25927 * sysdeps/unix/syscalls.list
25928 (madvise): Make __madvise the strong name, and madvise a weak alias.
25929 * sysdeps/unix/sysv/linux/syscalls.list
25930 (madvise, mmap): Remove redundant entries.
25931 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25932 * malloc/malloc.c (mtrim): Likewise.
25933 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25934
f57f8055
RM
259352012-10-03 Roland McGrath <roland@hack.frob.com>
25936
25937 * sysdeps/mach/hurd/dl-cache.c: File removed.
25938 * config.h.in (USE_LDCONFIG): New #undef.
25939 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25940 * configure: Regenerated.
25941 * elf/Makefile (dl-routines): Add dl-cache only under
25942 [$(use-ldconfig) = yes].
25943 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25944 cache on [USE_LDCONFIG].
25945 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25946 [USE_LDCONFIG].
25947 * elf/rtld.c (dl_main): Likewise.
25948
5bb0c10a
PT
259492012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25950
25951 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25952 _SC_LEVEL4_CACHE_LINESIZE.
25953
010188c6
RM
259542012-10-03 Roland McGrath <roland@hack.frob.com>
25955
25956 * sysdeps/unix/bsd/confstr.h: File removed.
25957
b6c5ec07
AO
259582012-10-02 Alexandre Oliva <aoliva@redhat.com>
25959
25960 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25961 sys/sdt-config.h.
25962
408223d4
RM
259632012-10-02 Roland McGrath <roland@hack.frob.com>
25964
25965 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25966 Make 'mapoff' field ElfW(Off) rather than off_t.
25967
bb9510dc
DL
259682012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25969
fc997c6e
DL
25970 * nscd/Makefile: Remove nscd-cflags and all its users.
25971 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25972 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25973
bb9510dc
DL
25974 [BZ #10631]
25975 * malloc.c (malloc_printerr): Clarify error message.
25976
05699367
L
259772012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25978
25979 [BZ #14648]
25980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25981 Set bit_FMA_Usable if FMA is supported.
25982 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25983 macro.
25984 (bit_FMA4_Usable): Updated.
25985 (index_FMA_Usable): New macro.
25986 (CPUID_FMA): Likewise
25987 (HAS_FMA): Defined with bit_FMA_Usable.
25988
51367701
RM
259892012-10-01 Roland McGrath <roland@hack.frob.com>
25990
25991 * bits/types.h (__swblk_t): Type removed.
25992 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25993 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25994 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25995 (__SWBLK_T_TYPE): Likewise.
25996 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25997 (__SWBLK_T_TYPE): Likewise.
25998 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25999 (__SWBLK_T_TYPE): Likewise.
26000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26001 (__SWBLK_T_TYPE): Likewise.
26002
4d57bf63 260032012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26004 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26005
26006 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26007 (xdr_mapname): Use YPMAXMAP as maxsize.
26008 (xdr_peername): Use YPMAXPEER as maxsize.
26009 (xdr_keydat): Use YPAXRECORD as maxsize.
26010 (xdr_valdat): Use YPMAXRECORD as maxsize.
26011
93c65d43
RM
260122012-10-01 Roland McGrath <roland@hack.frob.com>
26013
497a03d6
RM
26014 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26015
93c65d43
RM
26016 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26017 * csu/init-first.c: ... here.
26018 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26019 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26020 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26021 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26022 * sysdeps/i386/init-first.c: File removed.
26023 * sysdeps/sh/init-first.c: File removed.
26024
bec749fd
JM
260252012-10-01 Joseph Myers <joseph@codesourcery.com>
26026
26027 [BZ #14645]
26028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26029 if x * y might underflow to zero and z is zero.
26030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26031 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26032 * math/libm-test.inc (min_subnorm_value): New variable.
26033 (fma_test): Add more tests.
26034 (fma_test_towardzero): Likewise.
26035 (fma_test_downward): Likewise
26036 (fma_test_upward): Likewise.
26037 (initialize): Set min_subnorm_value.
26038
8ec5b013
JM
260392012-09-29 Joseph Myers <joseph@codesourcery.com>
26040
26041 [BZ #14638]
26042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26043 0 + 0.
26044 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26045 mode for addition resulting in exact zero.
26046 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26048 exact 0 + 0.
26049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26051 * math/libm-test.inc (fma_test): Add more tests.
26052 (fma_test_towardzero): New function.
26053 (fma_test_downward): Likewise.
26054 (fma_test_upward): Likewise.
26055 (main): Call the new functions.
26056
b1fa802e
DM
260572012-09-28 David S. Miller <davem@davemloft.net>
26058
26059 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26060
d3b9fd9e
RM
260612012-09-28 Roland McGrath <roland@hack.frob.com>
26062
ea4d37b3
RM
26063 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26064 instead of SIGALRM.
26065
ac51c949
RM
26066 * sysdeps/gnu/_G_config.h: Moved to ...
26067 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26068 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26069 * sysdeps/generic/_G_config.h: ... here.
26070
28c195f7
RM
26071 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26072
848917f9
RM
26073 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26074
6bacf05b
RM
26075 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26076 Conditionalize target on [libnss_test1.so-version].
26077
91363dbb
RM
26078 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26079
cc87f7d8
RM
26080 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26081 (elfobjdir): Move out of conditionals.
26082
b1c608fe
RM
26083 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26084 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26085 (__nss_lookup_function): Conditionalize label remove_from_tree on
26086 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26087
1d9a6d96
DM
260882012-09-28 David S. Miller <davem@davemloft.net>
26089
26090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26091 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26092 file.
26093 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26094 sysdep_routines.
26095 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26097 when HWCAP_SPARC_CRYPTO is present.
26098
72581615
PT
260992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26100
26101 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26102
715a900c
JL
261032012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26104
26105 [BZ #6530]
26106 * stdio-common/vfprintf.c (process_string_arg): Revert
26107 2000-07-22 change.
26108
261092011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26110
26111 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26112 for testcase.
26113 * stdio-common/tst-sprintf.c: Include <locale.h>
26114 (main): Test sprintf's handling of incomplete multibyte
26115 characters.
26116
9bac1d86
L
261172012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26118
26119 * elf/dl-runtime.c (VERSYMIDX): Removed.
26120 * elf/dl-version.c (VERSYMIDX): Likewise.
26121 * elf/do-rel.h (VERSYMIDX): Likewise.
26122 (VALIDX): Likewise.
26123 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26124 * elf/rtld.c (VALIDX): Likewise.
26125 (ADDRIDX): Likewise.
9bac1d86
L
26126 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26127 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26128 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26129 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26130 (VALIDX): Likewise.
26131 (ADDRIDX): Likewise.
9bac1d86 26132
b31606c0
PT
261332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26134
26135 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26136
11541177
JL
261372012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26138
26139 [BZ #11438]
26140 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26141 to global scope.
26142 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26143 addresses are in the same scope as 192.0.2/24.
26144 * posix/gai.conf: Document new scope table defaults.
26145
adb26fae
SP
261462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26147
26148 [BZ #5298]
26149 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26150 for ftell. Compute offsets from write pointers instead.
26151 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26152
4573c6b0
SP
261532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26154
26155 [BZ #14543]
26156 * libio/Makefile (tests): New test case tst-fseek.
26157 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26158 combination works in wide mode.
26159 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26160 state when the external buffer state changes.
26161
aa9bbfe6
DM
261622012-09-27 David S. Miller <davem@davemloft.net>
26163
26164 [BZ #14376]
26165 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26166 pass reloc->r_addend in as the 'high' argument to
26167 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26168
784421e7
DM
26169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26170
c39bc8b8
PT
261712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26172
26173 * rt/tst-aio2.c: Include <pthread.h>.
26174 * rt/tst-aio3.c: Likewise.
26175
1ccc2399
SE
261762012-09-27 Steve Ellcey <sellcey@mips.com>
26177
26178 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26179
31ed4153
L
261802012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26181
25f5f885
L
26182 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26183 contents on [SHARED].
31ed4153 26184
b7bfe116
MP
261852012-09-26 Marek Polacek <polacek@redhat.com>
26186
26187 [BZ #14530]
26188 [BZ #13741]
26189 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26190 for C++ and GCC <4.3 as well as for non GCC compilers.
26191
43c4edba
MT
261922012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26193
26194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26195
6a1bf82f
RM
261962012-09-25 Roland McGrath <roland@hack.frob.com>
26197
26198 * Makefile.in (all, install): Declare with .PHONY.
26199 Reported by Michael Hope <michael.hope@linaro.org>.
26200
8ad11b9a
TMQMF
262012012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26202
26203 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26204 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26205 system header.
26206 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26207 Likewise.
26208 (sydep_routines): Add the new and the internal functions.
26209 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26210 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26212 (GLIBC_2.17): Add the new function.
26213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26214 (GLIBC_2.17): Likewise.
26215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26216 (GLIBC_2.17): Likewise.
26217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26218 (GLIBC_2.17): Likewise.
26219 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26220
7e2fca8d
AM
262212012-09-25 Alan Modra <amodra@gmail.com>
26222
26223 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26224 Add release barrier before setting once_control to say
26225 initialisation is done. Add hints on lwarx. Use macro in
26226 place of isync.
26227 (clear_once_control): Add release barrier.
26228
b87c4b24
JM
262292012-09-25 Joseph Myers <joseph@codesourcery.com>
26230
d032e0d2
JM
26231 [BZ #13629]
26232 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26233 specially.
26234 * math/s_clog10.c (__clog10): Likewise.
26235 * math/s_clog10f.c (__clog10f): Likewise.
26236 * math/s_clog10l.c (__clog10l): Likewise.
26237 * math/s_clogf.c (__clogf): Likewise.
26238 * math/s_clogl.c (__clogl): Likewise.
26239 * math/Makefile (libm-calls): Add x2y2m1.
26240 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26241 (__x2y2m1): Likewise.
26242 (__x2y2m1l): Likewise.
26243 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26244 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26245 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26246 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26247 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26248 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26249 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26250 * sysdeps/i386/fpu/libm-test-ulps: Update.
26251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26252
b87c4b24
JM
26253 [BZ #14621]
26254 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26255 int as type of variable DEPTH.
26256 (glob): Use size_t instead of int as type of variables NEWCOUNT
26257 and OLD_PATHC.
26258
6d3bf199
LD
262592012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26260
22bf5c17
LD
26261 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26262 Add s_sincosf-sse2.
26263 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26264 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26265 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26266 macros for using routine as __sincosf_ia32.
26267 Use macro for function declaration and weak_alias.
26268 * sysdeps/i386/fpu/libm-test-ulps: Update.
26269
26270 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26272
26273 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26274 subnormal argument.
26275 * math/s_cexpf.c (__cexpf): Likewise.
26276 * math/s_csinf.c (__csinf): Likewise.
26277 * math/s_csinhf.c (__csinhf): Likewise.
26278 * math/s_ctanf.c (__ctanf): Likewise.
26279 * math/s_ctanhf.c (__ctanhf): Likewise.
26280 * math/s_ccosh.c (__ccoshf): Likewise.
26281 * math/s_cexp.c (__cexpl): Likewise.
26282 * math/s_csin.c (__csin): Likewise.
26283 * math/s_csinh.c (__csinh): Likewise.
26284 * math/s_ctan.c (__ctan): Likewise.
26285 * math/s_ctanh.c (ctanh): Likewise.
26286 * math/s_ccoshl.c (__ccoshl): Likewise.
26287 * math/s_cexpl.c (__cexpl): Likewise.
26288 * math/s_csinl.c (__csinl): Likewise.
26289 * math/s_csinhl.c (__csinhl): Likewise.
26290 * math/s_ctanl.c (__ctanl): Likewise.
26291 * math/s_ctanhl.c (__ctanhl): Likewise.
26292
203e5603
JM
262932012-09-25 Joseph Myers <joseph@codesourcery.com>
26294
26295 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26296 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26297 (_IO_off_t): Define to __off_t, not _G_off_t.
26298 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26299 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26300 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26301 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26302 type of __dummy and __dummy2 fields.
26303 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26304 (_G_ssize_t): Likewise.
26305 (_G_off_t): Likewise.
26306 (_G_pid_t): Likewise.
26307 (_G_uid_t): Likewise.
26308 (_G_wchar_t): Likewise.
26309 (_G_wint_t): Likewise.
26310 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26311 (_G_ssize_t): Likewise.
26312 (_G_off_t): Likewise.
26313 (_G_pid_t): Likewise.
26314 (_G_uid_t): Likewise.
26315 (_G_wchar_t): Likewise.
26316 (_G_wint_t): Likewise.
26317 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26318 (_G_ssize_t): Likewise.
26319 (_G_off_t): Likewise.
26320 (_G_pid_t): Likewise.
26321 (_G_uid_t): Likewise.
26322 (_G_wchar_t): Likewise.
26323 (_G_wint_t): Likewise.
26324
9fab36eb
SP
263252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26326
26327 * malloc/arena.c: Include malloc-sysdep.h.
26328 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26329 is sufficient to shrink the heap or an unmap is needed.
26330 * sysdeps/generic/malloc-sysdep.h: New file. Define
26331 new function check_may_shrink_heap.
26332 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26333 new function check_may_shrink_heap.
26334
2b4f00d1
SP
263352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26336
26337 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26338 comments.
26339
9a9028b1
DL
263402012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26341
57c69bef
DL
26342 * catgets/test-gencat.sh: Add "set -e".
26343 * elf/tst-pathopt.sh: Likewise.
26344 * grp/tst_fgetgrent.sh: Likewise.
26345 * iconvdata/run-iconv-test.sh: Likewise.
26346 * intl/tst-gettext.sh: Likewise.
26347 * intl/tst-gettext2.sh: Likewise.
26348 * intl/tst-gettext4.sh: Likewise.
26349 * intl/tst-gettext6.sh: Likewise.
26350 * intl/tst-translit.sh: Likewise.
26351 * io/ftwtest-sh: Likewise.
26352 * libio/test-freopen.sh: Likewise.
26353 * malloc/tst-mtrace.sh: Likewise.
26354 * posix/globtest.sh: Likewise.
26355 * posix/tst-getconf.sh: Likewise.
26356 * posix/wordexp-tst.sh: Likewise.
26357 * stdio-common/tst-printf.sh: Likewise.
26358 * stdio-common/tst-unbputc.sh: Likewise.
26359 * stdlib/tst-fmtmsg.sh: Likewise.
26360 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26361 * catgets/Makefile: Do not specify -e option when running
26362 testsuite shell scripts.
26363 * elf/Makefile: Likewise.
26364 * grp/Makefile: Likewise.
26365 * iconvdata/Makefile: Likewise.
26366 * intl/Makefile: Likewise.
26367 * io/Makefile: Likewise.
26368 * libio/Makefile: Likewise.
26369 * malloc/Makefile: Likewise.
26370 * posix/Makefile: Likewise.
26371 * stdio-common/Makefile: Likewise.
26372 * stdlib/Makefile: Likewise.
26373 * sysdeps/x86_64/Makefile: Likewise.
26374
9a9028b1
DL
26375 * io/ftwtest-sh: Add copyright header.
26376 * posix/globtest.sh: Likewise.
26377 * posix/tst-getconf.sh: Likewise.
26378 * posix/wordexp-tst.sh: Likewise.
26379 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26380
ced6f16e
L
263812012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26382
94b32c39
L
26383 [BZ #13679]
26384 * Makeconfig (+link): Defined as $(+link-static) if
26385 $(build-shared) isn't yes.
26386 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26387 isn't yes.
26388 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26389
189e935b
L
26390 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26391
ced6f16e
L
26392 [BZ #14562]
26393 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26394 new chunk size with MALLOC_ALIGN_MASK.
26395
a9f8e53a
JM
263962012-09-24 Joseph Myers <joseph@codesourcery.com>
26397
26398 [BZ #5044]
26399 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26400 <rounding-mode.h>.
26401 (__printf_fphex): Determine rounding using get_rounding_mode and
26402 round_away.
26403 * stdio-common/tst-printf-round.c (struct hex_test): New
26404 structure.
26405 (hex_tests): New variable.
26406 (test_hex_in_one_mode): New function.
26407 (do_test): Also run tests for hex float output.
26408
43153109
JM
264092012-09-21 Joseph Myers <joseph@codesourcery.com>
26410
26411 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26412 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26413 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26414 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26415 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26416 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26417 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26418 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26419
8a26625d
JM
264202012-09-20 Joseph Myers <joseph@codesourcery.com>
26421
26422 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26423 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26424 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26425 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26426
f3fd569c
DL
264272012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26428
26429 [BZ #14579]
26430 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26431 mode only.
26432 * elf/tst-rtld-load-self.sh: New test.
26433 * elf/Makefile: Run it.
26434
63bbedd4
JM
264352012-09-18 Joseph Myers <joseph@codesourcery.com>
26436
26437 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26438 (tst-writev-ENV): Remove.
26439 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26440
626f8b6a
CM
264412012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26442
26443 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26444
b7aaa4d6
JM
264452012-09-17 Joseph Myers <joseph@codesourcery.com>
26446
26447 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26448 unconditional.
26449 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26450 Likewise.
26451 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26452 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26453 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26454 Likewise.
26455
65513990
L
264562012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26457
26458 [BZ #14587]
26459 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26460 * config.make.in (have-cpp-asm-debuginfo): Removed.
26461 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26462 * configure: Regenerated.
26463
784761be
JM
264642012-09-14 Joseph Myers <joseph@codesourcery.com>
26465
26466 [BZ #5044]
26467 * stdio-common/printf_fp.c: Include <stdbool.h> and
26468 <rounding-mode.h>.
26469 (___printf_fp): Determine rounding using get_rounding_mode and
26470 round_away.
26471 * stdio-common/tst-printf-round.c: New file.
26472 * stdio-common/Makefile (tests): Add tst-printf-round.
26473 (link-libm): New variable.
26474 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26475
9503345f
L
264762012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26477
26478 [BZ #14576]
26479 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26480 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26481 Likewise.
26482 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26483 Likewise.
26484
ad35fc00
JM
264852012-09-13 Joseph Myers <joseph@codesourcery.com>
26486
26487 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26488 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26489 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26490 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26491
6c9b0f68
JM
264922012-09-12 Joseph Myers <joseph@codesourcery.com>
26493
26494 [BZ #14518]
26495 * include/rounding-mode.h: New file.
26496 * sysdeps/generic/get-rounding-mode.h: Likewise.
26497 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26498 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26499 (MAX_VALUE): New macro.
26500 (MIN_VALUE): Likewise.
26501 (overflow_value): New function.
26502 (underflow_value): Likewise.
26503 (round_and_return): Use overflow_value and underflow_value to
26504 determine return values in overflow and underflow cases. Use
26505 round_away to determine rounding depending on rounding mode.
26506 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26507 determine return values in overflow and underflow cases.
26508 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26509 (struct test_results): New structure.
26510 (struct test): Use struct test_results to store expected results
26511 for all rounding modes.
26512 (TEST): Include expected results for all rounding modes.
26513 (test_in_one_mode): New function.
26514 (do_test): Use test_in_one_mode to compute and check results.
26515 Check results for all rounding modes.
26516 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26517 $(link-libm).
26518
19fcedd5
AM
265192012-12-09 Allan McRae <allan@archlinux.org>
26520
1e9d84cd 26521 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26522
8bbfd2f1
JM
265232012-09-11 Joseph Myers <joseph@codesourcery.com>
26524
26525 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26526 (_G_int32_t): Likewise.
26527 (_G_uint16_t): Likewise.
26528 (_G_uint32_t): Likewise.
26529 (_G_HAVE_BOOL): Likewise.
26530 (_G_HAVE_ATEXIT): Likewise.
26531 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26532 (_G_HAVE_IO_FILE_OPEN): Likewise.
26533 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26534 (_G_int32_t): Likewise.
26535 (_G_uint16_t): Likewise.
26536 (_G_uint32_t): Likewise.
26537 (_G_HAVE_BOOL): Likewise.
26538 (_G_HAVE_ATEXIT): Likewise.
26539 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26540 (_G_HAVE_IO_FILE_OPEN): Likewise.
26541 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26542 (_G_int32_t): Likewise.
26543 (_G_uint16_t): Likewise.
26544 (_G_uint32_t): Likewise.
26545 (_G_HAVE_BOOL): Likewise.
26546 (_G_HAVE_ATEXIT): Likewise.
26547 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26548 (_G_HAVE_IO_FILE_OPEN): Likewise.
26549
b1dc5912
L
265502012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26551
26552 * csu/libc-tls.c: Update copyright years.
26553
0e886ef9
JM
265542012-09-10 Joseph Myers <joseph@codesourcery.com>
26555
28361c5e
JM
26556 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26557 [!_G_USING_THUNKS]: Remove conditional code.
26558 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26559 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26560
0e886ef9
JM
26561 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26562 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26563 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26564 (_G_VTABLE_LABEL_PREFIX): Likewise.
26565 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26566 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26567 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26568 (_G_VTABLE_LABEL_PREFIX): Likewise.
26569 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26570 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26571 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26572 (_G_VTABLE_LABEL_PREFIX): Likewise.
26573 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26574
bcba7aa2
L
265752012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26576
26577 * libio/Makefile: Include ../Makeconfig before tests.
26578 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26579 only if $(build-shared) is yes.
26580
06585ee8
L
26581 * iconv/gconv_db.c: Update copyright years.
26582
80ccd52c
LD
265832012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26584
26585 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26586 unwind info if defined PIC. Fix special cases description.
26587 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26588
26589 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26590 DP_HI_MASK entry.
26591 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26592
691bc9c1
L
265932012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26594
3d9b46b3
L
26595 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26596
de2139a9
L
26597 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26598 is NULL.
26599
5ca78dd0
L
26600 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26601 (LDLIBS-tst-chk4): This.
26602 (LDFLAGS-tst-chk5): Renamed to ...
26603 (LDLIBS-tst-chk5): This.
26604 (LDFLAGS-tst-chk6): Renamed to ...
26605 (LDLIBS-tst-chk6): This.
26606 (LDFLAGS-tst-lfschk4): Renamed to ...
26607 (LDLIBS-tst-lfschk4): This.
26608 (LDFLAGS-tst-lfschk5): Renamed to ...
26609 (LDLIBS-tst-lfschk5): This.
26610 (LDFLAGS-tst-lfschk6): Renamed to ...
26611 (LDLIBS-tst-lfschk6): This.
26612
691bc9c1
L
26613 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26614 on $(common-objpfx)soversions.mk.
26615
65cafb1c
JM
266162012-09-07 Joseph Myers <joseph@codesourcery.com>
26617
26618 [BZ #10014]
26619 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26620 example host name.
26621
c78ab094
SP
266222012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26623
26624 * malloc/arena.c (arena_get_retry): New function that gets
26625 another arena for the caller to try its request on.
26626 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26627 current arena cannot fulfill the request.
26628 (__libc_memalign): Likewise.
26629 (__libc_memalign): Likewise.
26630 (__libc_pvalloc): Likewise.
26631 (__libc_calloc): Likewise.
26632
01f49f59
JT
266332012-09-05 John Tobey <john.tobey@gmail.com>
26634
26635 [BZ #13542]
26636 * manual/arith.texi (Operations on Complex): Fix description
26637 of carg branch cut.
26638
4c23fed5
JM
266392012-09-06 Joseph Myers <joseph@codesourcery.com>
26640
1d3c8572
JM
26641 [BZ #10014]
26642 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26643 host name.
26644
4c23fed5
JM
26645 [BZ #10038]
26646 * manual/memory.texi (Memory): Make order of menu items match
26647 order of sections.
26648
04570aaa
L
266492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26650
26651 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26652 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26653 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26654
b80af2f4
L
266552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26656
26657 * csu/libc-tls.c (static_dtv): Renamed to ...
26658 (_dl_static_dtv): This. Make it global.
26659 (_dl_initial_dtv): Removed.
26660 (__libc_setup_tls): Updated.
26661 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26662 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26663 DL_INITIAL_DTV.
26664
2abe9f15
PM
266652012-09-06 Petr Machata <pmachata@redhat.com>
26666
26667 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26668 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26669 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26670 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26671
0948c3af
L
266722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26673
26674 [BZ #14545]
26675 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26676 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26677 freeing dtv[-1].
26678
a5055ad1
L
266792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26680
26681 [BZ #14544]
26682 * Makeconfig (link-static-before-libc): Replace $(+prector)
26683 with $(+prectorT).
26684 (link-static-after-libc): Replace $(+postctor) with
26685 $(+postctorT).
26686 (link-bounded): Replace $(+prector)/$(+postctor) with
26687 $(+prectorT)/$(+postctorT).
26688 (+prectorT): New macro.
26689 (+postctorT): Likewise.
26690
ed8c2ecd
JM
266912012-09-06 Joseph Myers <joseph@codesourcery.com>
26692
26693 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26694 (round_str): Handle values above the maximum for IBM long double
26695 as inexact.
26696 * stdlib/tst-strtod-round.c (tests): Regenerated.
26697
14c996c8
AK
266982012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26699
26700 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26701 assembler flag.
26702 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26703 zarch_nohighgprs around the zarch optimized routines.
26704 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26705 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26706 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26707 for zarch.
26708
430d6ce6
DM
267092012-09-05 David S. Miller <davem@davemloft.net>
26710
26711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26712
57f41c40
AS
26713 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26714 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26715 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26716 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26717 entries.
26718
24d4e01b
AO
267192012-09-05 Alexandre Oliva <aoliva@redhat.com>
26720
26721 * malloc/arena.c: Fold copyright years.
26722 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26723
61d58174
AO
267242012-09-05 Alexandre Oliva <aoliva@redhat.com>
26725
26726 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26727
20196a5e
AO
267282012-09-05 Alexandre Oliva <aoliva@redhat.com>
26729
26730 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26731
5c447383
AO
267322012-09-05 Alexandre Oliva <aoliva@redhat.com>
26733
26734 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26735 change internal state upon failure.
26736
fad64255
AO
267372012-09-05 Alexandre Oliva <aoliva@redhat.com>
26738
26739 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26740 * malloc/memusage.c (mmap): Likewise.
26741 (mmap64, mremap): Likewise. Adjust name in comment.
26742
1ffb8c90
SP
267432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26744
26745 * libio/fileops.c: Fix typos in comments.
26746 * libio/oldfileops.c: Likewise.
26747 * libio/wfileops.c: Likewise.
26748
6ef9cc37
SP
267492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26750
26751 [BZ #1349]
26752 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26753 (tst-malloc-usable-ENV): Set environment for test case.
26754 * malloc/hooks.c (malloc_check_get_size): New function to get
26755 requested size.
26756 * malloc/malloc.c (musable): Use malloc_check_get_size.
26757 * malloc/tst-malloc-usable.c: New test case.
26758
4d038ae3
AS
267592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26760
26761 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26762
c4e85184
AM
267632012-09-05 Allan McRae <allan@archlinux.org>
26764
b9dafc56 26765 [BZ #13966]
c4e85184
AM
26766 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26767 determine header location.
26768 * configure: Regenerated.
26769
e1343020
AS
267702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26771
26772 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26773 float format.
26774 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26775 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26776 format.
e1343020
AS
26777 (test): Regenerate.
26778
0a9f1987
DM
267792012-09-04 David S. Miller <davem@davemloft.net>
26780
26781 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26782 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26783 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26784
29237804
FW
267852012-09-04 Florian Weimer <fweimer@redhat.com>
26786
26787 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26788 failures.
26789
edb3cb88
FW
26790 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26791
60160d83
JM
267922012-09-04 Joseph Myers <joseph@codesourcery.com>
26793
26794 [BZ #9914]
26795 * libio/iogetdelim.c: Include <limits.h>.
26796 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26797 + len + 1 would overflow.
26798
bcd6c8dc
AJ
267992012-09-03 Andreas Jaeger <aj@suse.de>
26800
26801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26802 * sysdeps/i386/fpu/libm-test-ulps: Update.
26803
4ffffbd2
LD
268042012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26805
26806 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26807 Add s_sinf-sse2, s_conf-sse2.
26808
26809 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26810 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26811 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26812 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26813
26814 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26815 for using routine as __sinf_ia32.
26816 Use macro for function declaration and weak_alias.
26817 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26818 for using routine as __cosf_ia32.
26819 Use macro for function declaration and weak_alias.
26820
26821 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26822 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26823
26824 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26825 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26827
26828 * math/libm-test.inc (cos_test): Add more test cases.
26829 (sin_test): Likewise.
26830 (sincos_test): Likewise.
26831
511fa286
AK
268322012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26833
26834 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26835 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26836 hidden.
26837 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26838
5f30cfec
L
268392012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26840
26841 [BZ #14538]
26842 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26843 first element of the GOT.
26844 (elf_machine_load_address): Return the difference between
26845 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26846
0786794f
AM
268472012-09-01 Allan McRae <allan@archlinux.org>
26848
5f30cfec
L
26849 [BZ #13412]
26850 * configure.in (AWK): Require gawk version 3.0 or later.
26851 * configure: Regenerated.
0786794f 26852
26889eac
JM
268532012-09-01 Joseph Myers <joseph@codesourcery.com>
26854
26855 * sysdeps/unix/sysv/linux/kernel-features.h
26856 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26857 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26858 [__NR_clock_getres]: Make code unconditional.
26859 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26860 (clock_getcpuclockid): Remove code left unreachable by removal of
26861 conditionals.
26862 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26863 code unconditional.
26864 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26865 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26866 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26867 Make code unconditional.
26868 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26869 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26870 * sysdeps/unix/sysv/linux/clock_settime.c
26871 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26872 conditional code.
26873 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26874 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26875
d22e28b0
L
268762012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26877
26878 [BZ #14476]
26879 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26880 scripts/test-installation.pl.
26881
26882 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26883 and $ld_so_version if it is set.
26884
050af9c4
SP
268852012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26886
26887 [BZ #14516]
26888 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26889 failure if reading from procfs failed.
26890 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26891
ad845c0b
JM
268922012-08-27 Joseph Myers <joseph@codesourcery.com>
26893
26894 * sysdeps/unix/sysv/linux/kernel-features.h
26895 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26896 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26897 Remove conditional code.
26898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26899 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26900 Remove conditional code.
26901 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26902 * sysdeps/unix/sysv/linux/i386/fxstat.c
26903 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26904 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26905 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26906 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26907 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26908 * sysdeps/unix/sysv/linux/i386/lxstat.c
26909 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26910 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26911 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26912 Remove conditional code.
26913 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26914 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26915 Remove conditional code.
26916 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26917 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26918 <kernel-features.h>.
26919 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26920 Remove.
26921 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26922 Remove conditional code.
26923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26924 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26925 Remove conditional.
26926
5dbf56af
MF
269272012-08-27 Mike Frysinger <vapier@gentoo.org>
26928
26929 [BZ #5400]
26930 * NEWS: Add fixed bug number.
26931
d6e70f43
JM
269322012-08-27 Joseph Myers <joseph@codesourcery.com>
26933
7efb4737
JM
26934 [BZ #14519]
26935 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26936 underflowing exponent in case of negative sign.
26937 * stdlib/tst-strtod-round-data: Add more tests.
26938 * stdlib/tst-strtod-round.c (tests): Regenerated.
26939
af92131a
JM
26940 [BZ #3479]
26941 * stdlib/strtod_l.c (NDIG): Remove.
26942 (HEXNDIG): Likewise.
26943 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26944 smallest representable value.
26945 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26946 lie within an exact representation of 1/2 ulp of the result.
26947 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26948 unconditionally.
26949 (TENS_P9_IDX): Define unconditionally.
26950 (TENS_P9_SIZE): Likewise.
26951 (TENS_P10_IDX): Likewise.
26952 (TENS_P10_SIZE): Likewise.
26953 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26954 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26955 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26956 entries for 10^2^13 and 10^2^14.
26957 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26958 (TENS_P13_IDX): Define.
26959 (TENS_P13_SIZE): Likewise.
26960 (TENS_P14_IDX): Likewise.
26961 (TENS_P14_SIZE): Likewise.
26962 (_fpioconst_pow10): Change array size to
26963 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26964 unconditional.
26965 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26966 1024]: Add entries for 10^2^13 and 10^2^14.
26967 [LAST_POW10 > _LAST_POW10]: Remove #error.
26968 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26969 (_fpioconst_pow10): Change array size to
26970 FPIOCONST_POW10_ARRAY_SIZE.
26971 * stdlib/gen-fpioconst.c: New file.
26972 * stdlib/gen-tst-strtod-round.c: Likewise.
26973 * stdlib/tst-strtod-round-data: Likewise.
26974 * stdlib/tst-strtod-round.c: Likewise.
26975 * stdlib/Makefile (tests): Add tst-strtod-round.
26976
d6e70f43
JM
26977 [BZ #14459]
26978 * stdlib/strtod_l.c: Include <stdint.h>.
26979 (NDEBUG): Do not define.
26980 (round_and_return): Change EXPONENT parameter to type intmax_t.
26981 Rearrange calculations to avoid internal overflow possibilities.
26982 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26983 Rearrange calculations to avoid internal overflow possibilities.
26984 Assert that number fits inside MPNSIZE limbs.
26985 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26986 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26987 calculations and add assertions to avoid internal overflow
26988 possibilities. Add casts to avoid signed/unsigned operations.
26989 * stdlib/tst-strtod-overflow.c: New file.
26990 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26991
1f529f7d
MP
269922012-08-25 Marek Polacek <polacek@redhat.com>
26993
26994 * time/time.h: Fix some typos in comments.
26995
59a629f1
RM
269962012-08-23 Roland McGrath <roland@hack.frob.com>
26997
26998 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26999 * posix/tst-rfc3484-2.c: Likewise.
27000 * posix/tst-rfc3484-3.c: Likewise.
27001
d3bafbc9
SM
270022012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27003
27004 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27005 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27006
4efcc022
JM
270072012-08-23 Joseph Myers <joseph@codesourcery.com>
27008
27009 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27010 #include of fxstatat64.c.
27011
3cc3ef96
RM
270122012-08-22 Roland McGrath <roland@hack.frob.com>
27013
f04e2132
RM
27014 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27015 * shadow/getspent_r.c: Likewise.
27016 * shadow/getspnam.c: Likewise.
27017 * shadow/getspnam_r.c: Likewise.
27018 * gshadow/getsgent.c: Likewise.
27019 * gshadow/getsgent_r.c: Likewise.
27020 * gshadow/getsgnam.c: Likewise.
27021 * gshadow/getsgnam_r.c: Likewise.
27022 * inet/getnetbyad.c: Likewise.
27023 * inet/getnetbyad_r.c: Likewise.
27024 * inet/getnetbynm.c: Likewise.
27025 * inet/getnetbynm_r.c: Likewise.
27026 * inet/getnetent.c: Likewise.
27027 * inet/getnetent_r.c: Likewise.
27028 * inet/getproto.c: Likewise.
27029 * inet/getproto_r.c: Likewise.
27030 * inet/getprtent.c: Likewise.
27031 * inet/getprtent_r.c: Likewise.
27032 * inet/getprtname.c: Likewise.
27033 * inet/getprtname_r.c: Likewise.
27034 * inet/getrpcbyname.c: Likewise.
27035 * inet/getrpcbyname_r.c: Likewise.
27036 * inet/getrpcbynumber.c: Likewise.
27037 * inet/getrpcbynumber_r.c: Likewise.
27038 * inet/getrpcent.c: Likewise.
27039 * inet/getrpcent_r.c: Likewise.
27040 * inet/getaliasent.c: Likewise.
27041 * inet/getaliasent_r.c: Likewise.
27042 * inet/getaliasname.c: Likewise.
27043 * inet/getaliasname_r.c: Likewise.
27044 * nscd/getgrgid_r.c: Likewise.
27045 * nscd/getgrnam_r.c: Likewise.
27046 * nscd/gethstbyad_r.c: Likewise.
27047 * nscd/gethstbynm3_r.c: Likewise.
27048 * nscd/getpwnam_r.c: Likewise.
27049 * nscd/getpwuid_r.c: Likewise.
27050 * nscd/getsrvbynm_r.c: Likewise.
27051 * nscd/getsrvbypt_r.c: Likewise.
27052 * nscd/gai.c: Likewise.
27053
c53d909c
RM
27054 * configure.in (build_nscd): New substituted variable, set
27055 by --disable-build-nscd and defaults to $use_nscd.
27056 * configure: Regenerated.
27057 * config.make.in (build-nscd): New substituted variable.
27058 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27059 Change conditional to require [$(build-nscd) = yes] as well.
27060 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27061
3cc3ef96
RM
27062 [BZ# 13696]
27063 * configure.in (use_nscd): New substituted variable, set by
27064 --disable-nscd. If enabled, define USE_NSCD.
27065 * configure: Regenerated.
27066 * config.h.in: Add USE_NSCD.
27067 * config.make.in (use-nscd): New substituted variable.
27068 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27069 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27070 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27071 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27072 (CFLAGS-getgrnam_r.c): Likewise.
27073 (CFLAGS-initgroups.c): Likewise.
27074 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27075 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27076 Variables removed.
27077 * inet/getnetgrent_r.c
27078 (nscd_setnetgrent): New function, broken out of ...
27079 (setnetgrent): ... here. Call it.
27080 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27081 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27082 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27083 * nscd/Makefile (routines, aux): Move definitions after include of
27084 Makeconfig. Conditionalize on [$(use-nscd) != no].
27085 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27086 Conditionalize on [USE_NSCD].
27087 (is_nscd, nscd_init_cb): Likewise.
27088 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27089 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27090 * nss/nss_db/db-init.c: Likewise.
27091 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27092 [USE_NSCD].
27093 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27094 (make_request): Use it.
27095 (cache_valid_p): New function.
27096 (__check_pf): Use it.
27097 * NEWS: Add item for --disable-nscd.
27098
07e51550
DL
270992012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27100
27101 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27102 to support sed >= 4.2.1-20-ga9bf076.
27103 * configure: Regenerated.
27104
35a5b08b
RM
271052012-08-22 Roland McGrath <roland@hack.frob.com>
27106
27107 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27108 Conditionalize whole body on [IREL].
27109
8479f23a
JL
271102012-08-22 Jeff Law <law@redhat.com>
27111
27112 [BZ #14505]
27113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27114 if the family is PF_UNSPEC.
27115
48da0b21
MF
271162012-08-22 Mike Frysinger <vapier@gentoo.org>
27117
27118 * Makerules (lib-version): Rename from V.
27119 (install-lib-nosubdir): Change V to lib-version.
27120
15d0da8c
WS
271212012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27122
27123 [BZ #14252]
27124 * powerpc32/power6/wcschr.c: New file.
27125 * powerpc32/power6/wcscpy.c: New file.
27126 * powerpc32/power6/wcsrchr.c: New file.
27127 * powerpc64/power6/wcschr.c: New file.
27128 * powerpc64/power6/wcscpy.c: New file.
27129 * powerpc64/power6/wcsrchr.c: New file.
27130
bcca0895
MK
271312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27132
27133 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27134 (two_way_short_needle): Use it.
5a4aaa33
RM
27135 * string/strstr.c (AVAILABLE1_USES_J): Define.
27136 * string/strcasestr.c: Likewise.
99677e57
MK
27137
27138 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27139 array references.
27140 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27141
400726de
MK
27142 [BZ #11607]
27143 * NEWS: Add an entry.
27144 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27145 define their defaults.
27146 (two_way_short_needle): Detect end-of-string on-the-fly.
27147 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27148 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27149 * string/bug-strcasestr1.c: New test.
27150 * string/Makefile: Run it.
27151
20a71f2c
MK
271522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27153
27154 [BZ #11607]
27155 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27156 the first character.
27157
21ad0558
RM
271582012-08-21 Roland McGrath <roland@hack.frob.com>
27159
27160 * csu/elf-init.c (__libc_csu_irel): Function removed.
27161 * csu/libc-start.c (apply_irel): New function.
27162 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27163
0e1d9911
JM
271642012-08-21 Joseph Myers <joseph@codesourcery.com>
27165
27166 * sysdeps/unix/sysv/linux/kernel-features.h
27167 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27168 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27169 <kernel-features.h>.
27170 [__NR_fadvise64_64]: Make code unconditional.
27171 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27172 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27173 !__NR_fadvise64_64)]: Likewise.
27174 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27175 !__NR_fadvise64_64))]: Likewise.
27176 [__NR_fadvise64]: Make code unconditional.
27177 [!__NR_fadvise64]: Remove conditional code.
27178 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27179 <kernel-features.h>.
27180 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27181 unconditional.
27182 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27183 conditional code.
27184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27185 not include <kernel-features.h>.
27186 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27187 unconditional.
27188 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27189 conditional code.
27190 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27191 include <kernel-features.h>.
27192 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27193 unconditional.
27194 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27195 conditional code.
27196
14a50c9d
WS
271972012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27198
27199 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27200 slight instruction rearrangements per scrollpipe analysis.
27201 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27202
c0f4faf0
RM
272032012-08-20 Roland McGrath <roland@hack.frob.com>
27204
696da859
RM
27205 * manual/syslog.texi (syslog; vsyslog, closelog):
27206 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27207 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27208
c0f4faf0
RM
27209 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27210 DSOCAPS to match condition on defining it.
27211
348363b2
JM
272122012-08-20 Joseph Myers <joseph@codesourcery.com>
27213
a35cbf28
JM
27214 * sysdeps/unix/sysv/linux/kernel-features.h
27215 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27217 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27218 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27220 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27221 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27223 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27224 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27225
445f7ecd
JM
27226 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27227 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27228
348363b2
JM
27229 * sysdeps/unix/sysv/linux/kernel-features.h
27230 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27231 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27232 unconditional.
27233 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27234 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27235 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27236 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27237 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27238 Make code unconditional.
27239 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27240 (__mmap64) [!__NR_mmap2]: Likewise.
27241 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27242 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27243 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27244 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27245 [__NR_mmap2]: Make code unconditional.
27246 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27247 (__mmap64) [!__NR_mmap2]: Likewise.
27248
bc5bc0e5
AK
272492012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27250
27251 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27252
88d506de
AJ
272532012-08-18 Andreas Jaeger <aj@suse.de>
27254
27255 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27256
493387d2
MF
272572012-08-18 Mike Frysinger <vapier@gentoo.org>
27258
27259 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27260 * include/unistd.h (__have_sock_cloexec): Likewise.
27261 (__have_pipe2): Likewise.
27262 (__have_dup3): Likewise.
27263
a277af22
MF
272642012-08-18 Mike Frysinger <vapier@gentoo.org>
27265
27266 [BZ #9685]
27267 * include/unistd.h (__have_pipe2): Change define into an extern int.
27268 (__have_dup3): Likewise.
27269 * socket/have_sock_cloexec.c: Include fcntl.h.
27270 (__have_pipe2): New variable.
27271 (__have_dup3): Likewise.
27272
fdab8fd3
MF
272732012-08-17 Mike Frysinger <vapier@gentoo.org>
27274
27275 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27276
31035e80
MP
272772012-08-17 Marek Polacek <polacek@redhat.com>
27278
27279 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27280 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27281
3bd9e993
RM
272822012-08-17 Roland McGrath <roland@hack.frob.com>
27283
c91c505f
RM
27284 * configure.in: Add AC_SUBST for sysheaders.
27285 * configure: Regenerated.
27286 * config.make.in (sysheaders): New substituted variable.
27287
7c6f9d53
RM
27288 * sysdeps/unix/mkfifo.c: Moved ...
27289 * sysdeps/posix/mkfifo.c: ... here.
27290 * sysdeps/unix/mkfifoat.c: Moved ...
27291 * sysdeps/posix/mkfifoat.c: ... here.
27292
27293 * sysdeps/unix/utime.c: Moved ...
27294 * sysdeps/posix/utime.c: ... here.
27295
27296 * sysdeps/unix/time.c: Moved ...
27297 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27298 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27299 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27300
27301 * sysdeps/unix/nice.c: Moved ...
27302 * sysdeps/posix/nice.c: ... here.
27303
27304 * sysdeps/unix/alarm.c: Moved ...
27305 * sysdeps/posix/alarm.c: ... here.
27306
3bd9e993
RM
27307 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27308
d1f09384
JL
273092012-08-17 Jeff Law <law@redhat.com>
27310
27311 * intl/Makefile (codeset_mo): New variable.
27312 ($(codeset_mo)): New target.
27313 (tst-codeset.out): Depend on that. Remove explicit rule.
27314 (tst-gettext3.out, tst-gettext5.out): Likewise.
27315 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27316 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27317 * intl/tst-codeset.sh: Remove.
27318 * intl/tst-gettext3.sh: Likewise.
27319 * intl/tst-gettext5.sh: Likewise.
27320
2ae1ae5c
RM
273212012-08-17 Roland McGrath <roland@hack.frob.com>
27322
c31fdb83
RM
27323 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27324 * sysdeps/unix/syscalls.list: ... here.
27325
a0844057
RM
27326 * sysdeps/posix/getaddrinfo.c
27327 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27328 (gaiconf_init, gaiconf_reload): Use them.
27329 [!_STATBUF_ST_NSEC]
27330 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27331 Define using time_t rather than struct timespec.
27332
750c1f2a
RM
27333 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27334 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27335 Macros removed.
27336 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27337 [!NO_THREADS].
27338 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27339 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27340 Likewise.
27341
2ae1ae5c
RM
27342 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27343 __libc_cleanup_push argument.
27344
e66a42f5
RM
27345 * bits/param.h: New file.
27346 * misc/sys/param.h: New file.
27347 * include/sys/param.h: New file.
27348 * misc/Makefile (headers): Add bits/param.h.
27349 * sysdeps/generic/sys/param.h: File removed.
27350 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27351 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27352 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27353 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27354
b7c08a66
RM
27355 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27356 last change.
27357
b2e1c562
RM
27358 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27359 [_IO_MTSAFE_IO].
27360 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27361 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27362 New macros.
27363
c75ccd4c
RM
27364 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27365 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27366 rather than -D_IO_MTSAFE_IO conditionally.
27367 * stdio-common/Makefile (CPPFLAGS): Likewise.
27368 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27369 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27370 Use $(libio-mtsafe).
27371 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27372 of -D_IO_MTSAFE_IO.
27373 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27374 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27375 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27376 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27377 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27378 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27379 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27380 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27381 (CFLAGS-fread_u_chk.c): Likewise.
27382 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27383 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27384 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27385 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27386 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27387 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27388 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27389 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27390 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27391
27392 * libio/Makefile: Test [$(libc-reentrant) = yes]
27393 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27394
27395 * Makeconfig
27396 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27397 * sysdeps/pthread/configure: File removed.
27398 * sysdeps/pthread/Makeconfig: New file.
27399 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27400 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27401
d9195db8
GB
274022012-08-16 Gary Benson <gbenson@redhat.com>
27403
27404 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27405 unmapping the first object in a namespace.
27406
86466cd9
RM
274072012-08-16 Roland McGrath <roland@hack.frob.com>
27408
27409 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27410 (__internal_setnetgrent): ... this. Add internal_function to
27411 definition. Add libc_hidden_def.
27412 (setnetgrent): Update caller.
27413 (internal_endnetgrent): Renamed to ...
27414 (__internal_endnetgrent): ... this. Add internal_function to
27415 definition. Add libc_hidden_def.
27416 (endnetgrent): Update caller.
27417 (internal_getnetgrent_r): Renamed to ...
27418 (__internal_getnetgrent_r): ... this. Add internal_function to
27419 definition. Add libc_hidden_def.
27420 (__getnetgrent_r): Update caller.
27421 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27422
c3c8283c
JM
274232012-08-16 Joseph Myers <joseph@codesourcery.com>
27424
27425 * stdlib/longlong.h: Update from GCC.
27426
db1ee0a8
RM
274272012-08-16 Roland McGrath <roland@hack.frob.com>
27428
27429 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27430 on _QL, which is set by umul_ppmm but never used.
27431 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27432 variables, which are set by GMP macros but never used.
27433 * stdio-common/_itowa.c (_itowa): Likewise.
27434 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27435 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27436
30f69637
CD
274372012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27438
27439 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27440 struct La_sh_regs is not constant.
27441 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27442 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27443 and struct La_sparc64_regs are not constant.
27444
93a78ac4
JM
274452012-08-16 Joseph Myers <joseph@codesourcery.com>
27446
27447 * sysdeps/unix/sysv/linux/kernel-features.h
27448 (__ASSUME_POSIX_TIMERS): Remove.
27449 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27450 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27451 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27452 Make code unconditional.
27453 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27454 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27455 Make code unconditional.
27456 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27457 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27458 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27459 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27460 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27461 Make code unconditional.
27462 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27463 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27464 (__libc_missing_posix_timers): Remove.
27465
dd924cd7
RM
274662012-08-15 Roland McGrath <roland@hack.frob.com>
27467
4b4f2771
RM
27468 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27469 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27470
601c888b
RM
27471 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27472
176790a7
RM
27473 * elf/dl-sym.c: Include <stdlib.h>.
27474
329bc018
RM
27475 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27476 constants, which avoids warnings in 32-bit builds.
27477
e04e272d
RM
27478 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27479 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27480
952bf94a
RM
27481 * misc/lseek.c: File moved to ...
27482 * io/lseek.c: ... here.
27483
7c99b50a
RM
27484 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27485
dd924cd7
RM
27486 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27487 shifting LEN more than 31 bits at once.
27488
b3f479a8
LD
274892012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27490
27491 [BZ #14195]
8c4ae0d4
RM
27492 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27493 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27494 * string/test-strncasecmp.c (check1): Renamed to...
27495 (bz12205): ...this.
27496 (bz14195): Add new testcase for two empty input strings and N > 0.
27497 (test_main): Call new testcase, adapt for renamed function.
27498
9c55864e
AJ
274992012-08-15 Andreas Jaeger <aj@suse.de>
27500
27501 [BZ #14090]
27502 * crypt/md5test2.c: New test, based on test supplied by Serge
27503 Belyshev <belyshev@depni.sinp.msu.ru>.
27504 * crypt/Makefile (xtests): Add md5test-giant..
27505 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27506
02dcb6c5
PE
275072012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27508
27509 [BZ #14090]
27510 * crypt/md5.c (md5_process_block): Don't assume the buffer
27511 length is less than 2**32.
27512 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27513 length is less than 2**64.
27514
a3f95dcc
RM
275152012-08-15 Roland McGrath <roland@hack.frob.com>
27516
be75d758
RM
27517 * string/str-two-way.h: Include <sys/param.h>.
27518 (MAX): Macro removed.
27519
7312ca90
RM
27520 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27521 Move #define and #undef of memmove to just before and after
27522 including <string.h>.
27523
9a0a5486
RM
27524 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27525 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27526 and after including <string.h>. Move declarations of
27527 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27528 to before #include "string/memmove.c".
27529
67cc348d
RM
27530 * include/dirent.h: Declare __getdirentries.
27531
a3f95dcc
RM
27532 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27533 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27534
ca98e171
MF
275352012-08-14 Mike Frysinger <vapier@gentoo.org>
27536
27537 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27538 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27539 * sysdeps/i386/configure: Regenerated.
27540 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27541 STABS_CURRENT_FILE, and STABS_FUN.
27542 (END): Remove call to STABS_FUN_END.
27543 (STABS_CURRENT_FILE1): Delete.
27544 (STABS_CURRENT_FILE): Likewise.
27545 (STABS_FUN): Likewise.
27546 (STABS_FUN_END): Likewise.
27547 (STABS_FUN2): Likewise.
27548 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27549 * sysdeps/x86_64/configure: Regenerated.
27550
5908bf46
RM
275512012-08-14 Roland McGrath <roland@hack.frob.com>
27552
27553 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27554 * elf/dl-lookup.c: Likewise.
5908bf46 27555
f2c05b9e
JM
275562012-08-14 Joseph Myers <joseph@codesourcery.com>
27557
27558 * sysdeps/unix/sysv/linux/kernel-features.h
27559 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27560 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27561 unconditionally.
27562 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27563 unconditionally.
27564 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27565 condition on __ASSUME_CLONE_THREAD_FLAGS.
27566
e11f5155
AJ
275672012-08-14 Andreas Jaeger <aj@suse.de>
27568
27569 * sysdeps/i386/fpu/libm-test-ulps: Update.
27570
51a9ba86
MK
275712012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27572
2fdd4f78
AJ
27573 * include/atomic.h (atomic_exchange_and_add): Split into ...
27574 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27575 New atomic macros.
51a9ba86 27576
ba6cba9e
MT
275772012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27578
27579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27580
42443a47
JL
275812012-08-13 Jeff Law <law@redhat.com>
27582
27583 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27584 null byte in the output string.
27585
121dce05
JM
275862012-08-10 Joseph Myers <joseph@codesourcery.com>
27587
27588 * sysdeps/unix/sysv/linux/kernel-features.h
27589 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27590 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27591 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27592 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27593 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27594 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27595 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27596
bf51f568
JL
275972012-08-09 Jeff Law <law@redhat.com>
27598
27599 [BZ #13939]
27600 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27601 When avoid_arena is set, don't retry in the that arena. Pick the
27602 next one, whatever it might be.
27603 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27604 (arena_lock): Pass in new parameter to arena_get2.
27605 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27606 arena_get2.
27607 (__libc_malloc): Unify retrying after main arena failure with
27608 __libc_memalign version.
27609 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27610
f85fa270
L
276112012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27612
27613 [BZ #14166]
27614 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27615 to __redirect_strstr.
27616 (__strstr_sse42): Use typeof __redirect_strstr.
27617 (__strstr_ia32): Likewise.
27618 (__libc_strstr): New prototype.
27619 (strstr): Renamed to ...
27620 (__libc_strstr): This.
27621 (strstr): New strong alias of __libc_strstr.
27622 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27623 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27624 __redirect_time.
27625 Include <time.h>.
27626 (__libc_time): New prototype.
27627 (time_ifunc): Replace time with __libc_time.
27628 (time): New strong alias and hidden definition of __libc_time.
27629 (__GI_time): Remove strong alias.
27630 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27631 Include <stddef.h>.
27632 (memmove): Redefined to __redirect_memmove.
27633 (__memmove_sse2): Use typeof __redirect_memmove.
27634 (__memmove_ssse3): Likewise.
27635 (__memmove_ssse3_back): Likewise.
27636 (__libc_memmove): New prototype.
27637 (memmove): Renamed to ...
27638 (__libc_memmove): This.
27639 (memmove): New strong alias of __libc_memmove.
27640
33b4a91e
MS
276412012-08-08 Mark Salter <msalter@redhat.com>
27642
27643 * elf/elf.h
27644 (R_MN10300_TLS_GD): Define.
27645 (R_MN10300_TLS_LD): Likewise.
27646 (R_MN10300_TLS_LDO): Likewise.
27647 (R_MN10300_TLS_GOTIE): Likewise.
27648 (R_MN10300_TLS_IE): Likewise.
27649 (R_MN10300_TLS_LE): Likewise.
27650 (R_MN10300_TLS_DTPMOD): Likewise.
27651 (R_MN10300_TLS_DTPOFF): Likewise.
27652 (R_MN10300_TLS_TPOFF): Likewise.
27653 (R_MN10300_SYM_DIFF): Likewise.
27654 (R_MN10300_ALIGN): Likewise.
27655 (R_MN10300_NUM): Update.
27656
b36137f1
JM
276572012-08-08 Joseph Myers <joseph@codesourcery.com>
27658
27659 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27660 Remove.
27661
cdd915fd
RM
276622012-08-08 Roland McGrath <roland@hack.frob.com>
27663
a2433aac
RM
27664 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27665
cdd915fd
RM
27666 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27667 sysdeps/unix -> sysdeps/posix move.
27668 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27669
bf9b740a
AM
276702012-08-07 Allan McRae <allan@archlinux.org>
27671
27672 [BZ #14303]
27673 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27674 (SUNOS_CPP): Likewise.
27675 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27676 not found.
27677 (open_input): Call CPP using execvp.
27678
93df14ee
JM
276792012-08-07 Joseph Myers <joseph@codesourcery.com>
27680
27681 * sysdeps/unix/sysv/linux/kernel-features.h
27682 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27683 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27684 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27685 (__ASSUME_WAITID_SYSCALL): Likewise.
27686 * sysdeps/unix/sysv/linux/dl-execstack.c
27687 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27688 code unconditional.
27689 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27690 conditional code.
27691 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27692 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27693 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27694 code.
27695 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27696 unconditional.
27697 [__ASSUME_WAITID_SYSCALL]: Likewise.
27698 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27699
d34689de
RM
277002012-08-07 Roland McGrath <roland@hack.frob.com>
27701
a281decc
RM
27702 * sysdeps/unix/closedir.c: Renamed to ...
27703 * sysdeps/posix/closedir.c: ... here.
27704 * sysdeps/unix/dirfd.c: Renamed to ...
27705 * sysdeps/posix/dirfd.c: ... here.
27706 * sysdeps/unix/dirstream.h: Renamed to ...
27707 * sysdeps/posix/dirstream.h: ... here.
27708 * sysdeps/unix/fdopendir.c: Renamed to ...
27709 * sysdeps/posix/fdopendir.c: ... here.
27710 * sysdeps/unix/opendir.c: Renamed to ...
27711 * sysdeps/posix/opendir.c: ... here.
27712 * sysdeps/unix/readdir.c: Renamed to ...
27713 * sysdeps/posix/readdir.c: ... here.
27714 * sysdeps/unix/readdir_r.c: Renamed to ...
27715 * sysdeps/posix/readdir_r.c: ... here.
27716 * sysdeps/unix/rewinddir.c: Renamed to ...
27717 * sysdeps/posix/rewinddir.c: ... here.
27718 * sysdeps/unix/seekdir.c: Renamed to ...
27719 * sysdeps/posix/seekdir.c: ... here.
27720 * sysdeps/unix/telldir.c: Renamed to ...
27721 * sysdeps/posix/telldir.c: ... here.
27722 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27723 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27724 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27725 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27726
22895b47
RM
27727 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27728 * bits/fcntl.h: ... here.
27729
707a53b6
RM
27730 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27731 not 0.
27732 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27733 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27734 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27735 (struct flock): Move l_start, l_len to the beginning.
27736 Use __pid_t for l_pid.
27737 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27738 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27739 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27740 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27741 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27742 [__USE_LARGEFILE64] (struct flock64): New type.
27743 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27744
f0bd3e25
RM
27745 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27746 * bits/dirent.h: ... here.
27747
d34689de
RM
27748 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27749 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27750
6dad2c06
JM
277512012-08-07 Joseph Myers <joseph@codesourcery.com>
27752
27753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27754 Change from 2.6.0 to 2.6.16.
27755 * sysdeps/unix/sysv/linux/configure: Regenerated.
27756 * sysdeps/unix/sysv/linux/kernel-features.h
27757 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27758 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27759 version.
27760 (__ASSUME_UTIMES): Likewise.
27761 (__ASSUME_CLONE_STOPPED): Remove.
27762 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27763 architectures, not kernel version.
27764 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27765 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27766 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27767 (__ASSUME_WAITID_SYSCALL): Likewise.
27768 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27769 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27770 * README: State 2.6.16 as minimum Linux kernel version. Do not
27771 refer to older versions.
27772
03af9520
RM
277732012-08-06 Roland McGrath <roland@hack.frob.com>
27774
8e49df1d
RM
27775 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27776 Define alphasort64 as an alias.
27777 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27778 Define versionsort64 as an alias.
27779 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27780 Define scandir64 as an alias.
27781 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27782 Define scandirat64 as an alias.
27783 * dirent/alphasort64.c (alphasort64):
27784 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27785 * dirent/versionsort64.c: Likewise.
27786 * dirent/scandir64.c: Likewise.
27787 * dirent/scandirat64.c: Likewise.
27788 * sysdeps/wordsize-64/alphasort.c: File removed.
27789 * sysdeps/wordsize-64/alphasort64.c: File removed.
27790 * sysdeps/wordsize-64/scandir.c: File removed.
27791 * sysdeps/wordsize-64/scandir64.c: File removed.
27792 * sysdeps/wordsize-64/scandirat.c: File removed.
27793 * sysdeps/wordsize-64/scandirat64.c: File removed.
27794 * sysdeps/wordsize-64/versionsort.c: File removed.
27795 * sysdeps/wordsize-64/versionsort64.c: File removed.
27796 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27797 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27798 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27799 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27800 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27801 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27802 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27803 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27804
27805 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27807 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27809 [defined __arch64__ || defined __sparcv9]
27810 (__INO_T_MATCHES_INO64_T): New macro.
27811 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27812 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27813 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27814 * sysdeps/unix/sysv/linux/bits/dirent.h
27815 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27816 (_DIRENT_MATCHES_DIRENT64): New macro.
27817
03af9520
RM
27818 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27819 Define lockf64 as an alias.
27820 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27821 Define fseeko64 as an alias.
27822 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27823 Define ftello64 as an alias.
27824 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27825 Define _IO_fgetpos64 and fgetpos64 as aliases.
27826 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27827 Define _IO_fsetpos64 and fsetpos64 as aliases.
27828 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27829 Conditionalize body on this.
27830 * libio/fseeko64.c: Likewise.
27831 * libio/ftello64.c: Likewise.
27832 * libio/iofgetpos64.c: Likewise.
27833 * libio/iofsetpos64.c: Likewise.
27834 * sysdeps/wordsize-64/lockf.c: File removed.
27835 * sysdeps/wordsize-64/lockf64.c: File removed.
27836 * sysdeps/wordsize-64/fseeko.c: File removed.
27837 * sysdeps/wordsize-64/fseeko64.c: File removed.
27838 * sysdeps/wordsize-64/ftello.c: File removed.
27839 * sysdeps/wordsize-64/ftello64.c: File removed.
27840 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27841 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27842 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27843 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27844 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27845 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27846 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27847 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27848 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27849 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27850 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27851 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27852 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27853 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27854
27855 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27857 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27859 [defined __arch64__ || defined __sparcv9]
27860 (__OFF_T_MATCHES_OFF64_T): New macro.
27861 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27862 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27863 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27864 (__OFF_T_MATCHES_OFF64_T): New macro.
27865
c5757acd
L
278662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27867
27868 * stdlib/secure-getenv.c (__secure_getenv): Replace
27869 GLIBC_2_16 with GLIBC_2_17.
27870
3a31811e
L
278712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27872
27873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27874 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27875
faa2bccb
DM
278762012-08-03 David S. Miller <davem@davemloft.net>
27877
27878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27879
85fe1997
JM
278802012-08-03 Joseph Myers <joseph@codesourcery.com>
27881
27882 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27883 Remove.
27884 (__ASSUME_CORRECT_SI_PID): Likewise.
27885 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27886 (__ASSUME_TMPFS_NAME): Likewise.
27887 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27888 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27889 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27890 (HAVE_AUX_SECURE): Make definition unconditional.
27891 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27892 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27893
4f75b7a0
RM
278942012-08-03 Roland McGrath <roland@hack.frob.com>
27895
27896 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27897 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27898 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27899 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27900 __eloop_threshold instead of SYMLOOP_MAX.
27901
27902 * sysdeps/generic/eloop-threshold.h: New file.
27903 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27904 of MAXSYMLINKS.
27905 * elf/chroot_canon.c (chroot_canon): Likewise.
27906
7aab07e4
JM
279072012-08-03 Joseph Myers <joseph@codesourcery.com>
27908
27909 [BZ #13717]
27910 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27911 Change to 2.6.0 everywhere.
27912 * sysdeps/unix/sysv/linux/configure: Regenerated.
27913 * sysdeps/unix/sysv/linux/kernel-features.h
27914 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27915 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27916 kernel versions.
27917 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27918 (__ASSUME_FUTEX_REQUEUE): Remove.
27919 (__ASSUME_STATFS64): Define unconditionally.
27920 (__ASSUME_AT_SECURE): Likewise.
27921 (__ASSUME_CORRECT_SI_PID): Likewise.
27922 (__ASSUME_TGKILL): Define without depending on kernel version for
27923 i386.
27924 (__ASSUME_UTIMES): Likewise.
27925 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27926 kernel version.
27927 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27928 (__ASSUME_TMPFS_NAME): Likewise.
27929 * README: Update reference to Linux kernel versions.
27930
b67e9372
MP
279312012-08-02 Marek Polacek <polacek@redhat.com>
27932
1f529f7d 27933 [BZ# 14150]
b67e9372
MP
27934 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27935 libc_cv_asm_type_prefix with %.
27936 * configure: Regenerated.
d2441631
RM
27937 * include/libc-symbols.h: Remove comment about
27938 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27939 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27940 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27941 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27942 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27943 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27944 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27945 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27946 * elf/tst-unique2mod1.c: Likewise.
27947 * elf/tst-unique1mod2.c: Likewise.
27948 * elf/tst-unique1mod1.c: Likewise.
27949 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27950 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27951 Replace ASM_TYPE_DIRECTIVE with .type.
27952 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27953 * sysdeps/i386/sysdep.h: Likewise.
27954 * sysdeps/x86_64/sysdep.h: Likewise.
27955 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27957 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27958 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27959 * sysdeps/powerpc/powerpc32/sysdep.h:
27960 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27961 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27962 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27963 * sysdeps/i386/fpu/e_powf.S: Likewise.
27964 * sysdeps/i386/fpu/e_expl.S: Likewise.
27965 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27966 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27967 * sysdeps/i386/fpu/e_pow.S: Likewise.
27968 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27969 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27970 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27971 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27972 * sysdeps/i386/fpu/e_log2.S: Likewise.
27973 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27974 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27975 * sysdeps/i386/fpu/e_powl.S: Likewise.
27976 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27977 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27978 * sysdeps/i386/fpu/e_logl.S: Likewise.
27979 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27980 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27981 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27982 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27983 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27984 * sysdeps/i386/fpu/e_log.S: Likewise.
27985 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27986 * sysdeps/i386/fpu/e_logf.S: Likewise.
27987 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27988 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27989 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27990 * sysdeps/i386/fpu/e_log10.S: Likewise.
27991 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27992 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27993 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27994 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27995 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27996 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27997 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27998 * sysdeps/i386/i686/strtok.S: Likewise.
27999 * sysdeps/i386/i386-mcount.S: Likewise.
28000 * sysdeps/i386/strtok.S: Likewise.
28001 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28002 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28003 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28004 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28005 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28006 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28007 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28008 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28009 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28010 * sysdeps/x86_64/_mcount.S: Likewise.
28011 * sysdeps/x86_64/strtok.S: Likewise.
28012 * sysdeps/sh/_mcount.S: Likewise.
28013
2747bf9a
RM
280142012-08-01 Roland McGrath <roland@hack.frob.com>
28015
28016 * libio/iofopen.c: Include <fcntl.h>.
28017 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28018 (_IO_fopen64, fopen64): Define as aliases.
28019 * libio/iofopen64.c: Include <fcntl.h>.
28020 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28021 Conditionalize body on this.
28022 * sysdeps/wordsize-64/iofopen.c: File removed.
28023 * sysdeps/wordsize-64/iofopen64.c: File removed.
28024
3fb791b8
MP
280252012-08-01 Marek Polacek <polacek@redhat.com>
28026
28027 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28028 Use dlfcn directly instead of a variable.
28029 (binfmt-subdir): Do not define.
28030 (dlfcn): Likewise.
28031
a9f1039f
JM
280322012-08-01 Joseph Myers <joseph@codesourcery.com>
28033
23bddc06
JM
28034 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28035 Remove all definitions.
28036 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28037 <kernel-features.h>.
28038 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28039 (miss_F_GETOWN_EX): Remove all definitions.
28040 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28041 macro definition.
28042 [!__ASSUME_FCNTL64]: Remove conditional code.
28043 [__ASSUME_FCNTL64]: Make code unconditional.
28044 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28045 <kernel-features.h>.
28046 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28047 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28048 (lockf64) [__NR_fcntl64]: Make code unconditional.
28049 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28050
a9f1039f
JM
28051 * sysdeps/unix/sysv/linux/kernel-features.h
28052 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28053 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28054 Make code unconditional.
28055 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28056 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28058 [__NR_vfork]: Make code unconditional.
28059 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28060 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28062 [__NR_vfork]: Make code unconditional.
28063 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28064 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28065
09c0ee5f
RM
280662012-08-01 Roland McGrath <roland@hack.frob.com>
28067
48aec5b9
RM
28068 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28069 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28070
cd97c966
RM
28071 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28072 Define mkstemp64 as an alias.
3f55550c
RM
28073 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28074 Define mkstemps64 as an alias.
cd97c966
RM
28075 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28076 Define mkostemp64 as an alias.
b8625cfc
RM
28077 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28078 Define mkostemps64 as an alias.
cd97c966
RM
28079 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28080 Conditionalize body on this.
28081 * misc/mkostemp64.c: Likewise.
b8625cfc 28082 * misc/mkostemps64.c: Likewise.
3f55550c 28083 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28084 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28085 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28086 * sysdeps/wordsize-64/mkostemp.c: File removed.
28087 * sysdeps/wordsize-64/mkstemp.c: File removed.
28088 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28089 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28090 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28091 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28092
09c0ee5f
RM
28093 [BZ #14138]
28094 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28095 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28096 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28097 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28098
28099 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28100 compat_symbol macros from <shlib-compat.h> rather than the underlying
28101 default_symbol_version and symbol_version macros, so that DEFAULT
28102 lines in shlib-versions are respected.
28103 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28104
7e66ee51
FW
281052012-08-01 Florian Weimer <fweimer@redhat.com>
28106
28107 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28108 Declare with warn_unused_result.
28109 (setgid, setregid, setegid, setresgid): Likewise.
28110 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28111 Likewise.
28112 * WUR-REPORT: Remove set*id functions.
28113
d2a54255
PT
281142012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28115
28116 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28117
7ecdb005
RM
281182012-07-31 Roland McGrath <roland@hack.frob.com>
28119
b4180a5e 28120 [BZ #10191]
789bd351
RM
28121 * include/sys/socket.h (__libc_accept, __libc_accept4):
28122 Add attribute_hidden.
28123 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28124
40ce302d
RM
28125 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28126 use of PTR_MANGLE.
28127 * inet/getnetgrent_r.c (setup): Likewise.
28128
7ecdb005
RM
28129 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28130
e2eabb2c
DM
281312012-07-31 David S. Miller <davem@davemloft.net>
28132
28133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28134
d0419dbf
JM
281352012-07-31 Joseph Myers <joseph@codesourcery.com>
28136
28137 [BZ #13629]
28138 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28139 value between 1.0 and 2.0 and smaller part has absolute value less
28140 than 1.0.
28141 * math/s_clog10.c (__clog10): Likewise.
28142 * math/s_clog10f.c (__clog10f): Likewise.
28143 * math/s_clog10l.c (__clog10l): Likewise.
28144 * math/s_clogf.c (__clogf): Likewise.
28145 * math/s_clogl.c (__clogl): Likewise.
28146 * math/libm-test.inc (clog_test): Add more tests.
28147 (clog10_test): Likewise.
28148 * sysdeps/i386/fpu/libm-test-ulps: Update.
28149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28150
2bc13872
FW
281512012-07-31 Florian Weimer <fweimer@redhat.com>
28152
28153 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28154 Exit with zero in case no suitable GID is found, and write a
28155 message to standard error.
28156
bea9b193
RM
281572012-07-30 Roland McGrath <roland@hack.frob.com>
28158
28159 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28160 rather than to 1.
28161 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28162 (MAXPATHLEN): Removed.
28163 (NOGROUP, NODEV): New macros.
28164 (setbit, clrbit, isset, isclr): New macros.
28165 (howmany, roundup, powerof2): New macros.
28166 (DEV_BSIZE): New macro.
28167
28168 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28169 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28170
28171 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28172 definition on [!__NO_LONG_DOUBLE_MATH].
28173
28174 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28175 PTR_MANGLE and PTR_DEMANGLE.
28176
28177 * socket/accept4.c (accept4): Rename to __libc_accept4.
28178 Define accept4 as a weak alias.
28179
28180 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28181 on [_DIRENT_HAVE_D_TYPE].
28182 * io/ftw.c (ftw_dir): Likewise.
28183
28184 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28185
28186 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28187
28188 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28189 Use the BSD numbers rather than the arbitrary ones we had.
28190 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28191 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28192 (SIGXCPU, SIGXFSZ): New macros.
28193 (_NSIG): Now 32.
28194
28195 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28196 initializer on [_LIBC_REENTRANT].
28197
28198 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28199 definitions inside [_POSIX_MAPPED_FILES].
28200
28201 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28202
28203 * dirent/opendir.c: Include <fcntl.h>.
28204
28205 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28206 (__libc_getspecific): Likewise.
28207 (__libc_key_create): Likewise.
28208
28209 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28210 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28211 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28212 (tmpfile64): Define as alias.
28213 * sysdeps/wordsize-64/tmpfile.c: File removed.
28214 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28215 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28216 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28217
28218 * stdio-common/vfscanf.c: Include <stdbool.h>.
28219 * nss/makedb.c: Likewise.
28220 * stdio-common/_i18n_number.h: Likewise.
28221 * argp/argp-help.c: Likewise.
28222 * posix/wordexp.c: Likewise.
28223 * sysdeps/posix/spawni.c: Likewise.
28224 * nss/nss_files/files-initgroups.c: Likewise.
28225 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28226 * nss/nss_files/files-initgroups.c: Likewise.
28227 * nss/nss_db/db-netgrp.c: Likewise.
28228 * nss/nss_db/db-initgroups.c: Likewise.
28229 * io/fchmodat.c: Include <sys/stat.h>.
28230
28231 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28232 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28233
28234 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28235 [HAVE_MMAP].
28236
28237 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28238 Add multiple inclusion protection.
28239
e5abc686
DM
282402012-07-27 David S. Miller <davem@davemloft.net>
28241
28242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28243
815e6fa3
GB
282442012-07-27 Gary Benson <gbenson@redhat.com>
28245
28246 [BZ #14298]
28247 * elf/rtld.c: Include <stap-probe.h>.
28248 (dl_main): Added static probes "init_start" and "init_complete".
28249 * elf/dl-load.c: Include <stap-probe.h>.
28250 (lose): Take new parameter "nsid".
28251 Added static probe "map_failed".
28252 (_dl_map_object_from_fd): Pass namespace id to lose.
28253 Added static probe "map_start".
28254 (open_verify): Pass namespace id to lose.
28255 * elf/dl-open.c: Include <stap-probe.h>.
28256 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28257 and "reloc_complete".
28258 * elf/dl-close.c: Include <stap-probe.h>.
28259 (_dl_close_worker): Added static probes "unmap_start" and
28260 "unmap_complete".
28261 * elf/rtld-debugger-interface.txt: New file documenting the above.
28262
9f98c16c
RM
282632012-07-26 Roland McGrath <roland@hack.frob.com>
28264
28265 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28266 rather than a string variable.
28267 * sunrpc/rpc_main.c (h_output): Likewise.
28268 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28269
f3c22df3
PT
282702012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28271
28272 * inet/check_native.c: New file.
28273
3129cfc6
JM
282742012-07-26 Joseph Myers <joseph@codesourcery.com>
28275
da865e95
JM
28276 [BZ #13629]
28277 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28278 if larger part has absolute value 1.0.
28279 * math/s_clog10.c (__clog10): Likewise.
28280 * math/s_clog10f.c (__clog10f): Likewise.
28281 * math/s_clog10l.c (__clog10l): Likewise.
28282 * math/s_clogf.c (__clogf): Likewise.
28283 * math/s_clogl.c (__clogl): Likewise.
28284 * math/libm-test.inc (clog_test): Add more tests.
28285 (clog10_test): Likewise.
28286 * sysdeps/i386/fpu/libm-test-ulps: Update.
28287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28288
3129cfc6
JM
28289 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28290 (pltexit): Likewise.
28291 (La_regs): Likewise.
28292 (La_retval): Likewise.
28293 (int_retval): Likewise.
28294 Update #error for removed macros to refer only to definitions in
28295 tst-audit.h.
28296 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28297 macro.
28298 (pltexit): Likewise.
28299 (La_regs): Likewise.
28300 (La_retval): Likewise.
28301 (int_retval): Likewise.
28302 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28303 macro.
28304 (pltexit): Likewise.
28305 (La_regs): Likewise.
28306 (La_retval): Likewise.
28307 (int_retval): Likewise.
28308 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28309 macro.
28310 (pltexit): Likewise.
28311 (La_regs): Likewise.
28312 (La_retval): Likewise.
28313 (int_retval): Likewise.
28314 * elf/tst-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
28327 macro.
28328 (pltexit): Likewise.
28329 (La_regs): Likewise.
28330 (La_retval): Likewise.
28331 (int_retval): Likewise.
28332 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28333 macro definitions in tst-audit.h.
28334 * sysdeps/i386/tst-audit.h: New file.
28335 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28336 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28337 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28338 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28339 * sysdeps/sh/tst-audit.h: Likewise.
28340 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28341 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28342 * sysdeps/x86_64/tst-audit.h: Likewise.
28343
bfc07087
AJ
283442012-07-26 Andreas Jaeger <aj@suse.de>
28345
b1b2aaf8
AJ
28346 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28347 ptrace.
28348
28349 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28350 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28351 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28352 PTRACE_O_MASK.
28353 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28354 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28355 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28356
bfc07087
AJ
28357 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28358 value.
28359
28360 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28361 _sigsys.
28362 (si_call_addr, si_syscall, si_arch): Define new macro.
28363 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28364 _sigsys.
28365 (si_call_addr, si_syscall, si_arch): Define new marcro.
28366 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28367 _sigsys.
28368 (si_call_addr, si_syscall, si_arch): Define new macro.
28369 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28370 _sigsys.
28371 (si_call_addr, si_syscall, si_arch): Define new macro.
28372
89b4b02f
JM
283732012-07-25 Joseph Myers <joseph@codesourcery.com>
28374
28375 [BZ #13717]
28376 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28377 Change to 2.4.21 where previously 2.4.1.
28378 * sysdeps/unix/sysv/linux/configure: Regenerated.
28379 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28380 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28381 Linux kernel version.
28382 (__ASSUME_STD_AUXV): Remove.
28383 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28384 kernel version.
28385 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28386 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28387 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28388 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28389 (__ASSUME_NETLINK_SUPPORT): Likewise.
28390 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28391 (__no_netlink_support): Remove conditional definition.
28392 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28393 Remove.
28394 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28395 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28396 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28397 (if_nameindex_ioctl): Remove.
28398 (if_nameindex_netlink): Do not handle __no_netlink_support.
28399 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28400 code.
28401 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28402 Remove conditional code.
28403 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28404 code.
28405 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28406 unconditional.
28407 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28408 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28409 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28410 Remove.
28411 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28412 [!__ASSUME_STD_AUXV]: Remove conditional code.
28413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28414 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28415 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28417 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28418 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28419 code.
28420 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28422 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28423 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28424 conditional code.
28425 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28427 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28428 code.
28429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28430 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28431 conditional code.
28432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28433 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28434 code unconditional.
28435 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28436 conditional code.
28437 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28438 unconditional.
28439 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28440 conditional code.
28441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28442 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28443 unconditional.
28444 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28445 conditional code.
28446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28447 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28448 code unconditional.
28449 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28450 conditional code.
28451 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28452 unconditional.
28453 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28454 conditional code.
28455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28456 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28457 code unconditional.
28458 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28459 conditional code.
28460 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28461 unconditional.
28462 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28463 conditional code.
28464
842a39cd
AS
284652012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28466
28467 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28468 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28469 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28470 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28471 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28472 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28473 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28474 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28475 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28476 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28477 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28478 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28479 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28480 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28481 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28482 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28483 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28484 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28485 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28487 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28488 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28489 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28490
84b3fd84
FW
284912012-07-25 Florian Weimer <fweimer@redhat.com>
28492
28493 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28494 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28495 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28496 Introduce __libc_secure_getenv.
0c7936d5
FW
28497 * stdlib/Versions (2.17): Add secure_getenv
28498 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28499 * stdlib/secure-getenv.c: Rename __secure_getenv to
28500 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28501 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28502 * stdlib/tst-secure-getenv.c: New.
28503 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28504 * manual/startup.texi (Environment Access): Document
28505 secure_getenv.
84b3fd84
FW
28506 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28507 __libc_secure_getenv.
28508 * inet/ruserpass.c (ruserpass): Likewise.
28509 * malloc/mtrace.c (mtrace): Likewise.
28510 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28511 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28512 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28513 * sysdeps/posix/tempname.c: Likewise. Evaluate
28514 HAVE_SECURE_GETENV.
28515 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28516 __secure_getenv to __libc_secure_getenv.
84b3fd84 28517 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28519 Likewise.
28520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28521 Likewise.
28522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28524 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28529
56e49b71
JM
285302012-07-25 Joseph Myers <joseph@codesourcery.com>
28531
28532 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28533 (struct La_i86_retval): Likewise.
28534 (struct La_x86_64_regs): Likewise.
28535 (struct La_x86_64_retval): Likewise.
28536 (struct La_x32_regs): Likewise.
28537 (struct La_x32_retval): Likewise.
28538 (struct La_ppc32_regs): Likewise.
28539 (struct La_ppc32_retval): Likewise.
28540 (struct La_ppc64_regs): Likewise.
28541 (struct La_ppc64_retval): Likewise.
28542 (struct La_sh_regs): Likewise.
28543 (struct La_sh_retval): Likewise.
28544 (struct La_s390_32_regs): Likewise.
28545 (struct La_s390_32_retval): Likewise.
28546 (struct La_s390_64_regs): Likewise.
28547 (struct La_s390_64_retval): Likewise.
28548 (struct La_sparc32_regs): Likewise.
28549 (struct La_sparc32_retval): Likewise.
28550 (struct La_sparc64_regs): Likewise.
28551 (struct La_sparc64_retval): Likewise.
28552 (struct audit_ifaces): Remove architecture-specific pltenter and
28553 pltexit members.
28554 * sysdeps/i386/ldsodefs.h: New file.
28555 * sysdeps/powerpc/ldsodefs.h: Likewise.
28556 * sysdeps/s390/ldsodefs.h: Likewise.
28557 * sysdeps/sh/ldsodefs.h: Likewise.
28558 * sysdeps/sparc/ldsodefs.h: Likewise.
28559 * sysdeps/x86_64/ldsodefs.h: Likewise.
28560
354691b7
MP
285612012-07-25 Marek Polacek <polacek@redhat.com>
28562
28563 [BZ #6808]
28564 * math/libm-test.inc (yn_test): Add another test.
28565 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28566 to ERANGE when the result is +-Inf.
28567 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28568 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28569 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28570 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28571
bf9e2071
JM
285722012-07-24 Joseph Myers <joseph@codesourcery.com>
28573
28574 * conform/data/time.h-data (NULL): Use macro-constant. Require
28575 equal to 0.
28576 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28577 clock_t.
28578 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28579
57633811
TS
285802012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28581
28582 * configure.in <sysdeps resolving>: Correct printing
28583 Implies_before.
28584 * configure: Regenerate.
28585
c23c33b0
TS
285862012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28587
28588 * math/w_ilogb.c: Include <limits.h>.
28589 * math/w_ilogbl.c: Likewise.
28590
b5982523
JM
285912012-07-20 Joseph Myers <joseph@codesourcery.com>
28592
28593 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28594 va_copy. Document allowing for unavailable va_copy only as
28595 pre-C99 compatibility.
28596 * manual/string.texi (Copying and Concatenation): Use va_copy
28597 instead of __va_copy in concat example.
28598
ac4ea442
PT
285992012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28600
28601 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28602 (__sendto): Use create_address_port. Initialize APORT and deallocate
28603 it if not null.
28604
f98eafbd
PT
28605 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28606 with O_NOLINK passed to __file_name_lookup.
28607
898c7aab
PT
28608 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28609 with O_NOLINK passed to __file_name_lookup.
28610
0ced335a
PT
28611 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28612 negative N or less than NGIDS.
28613
b3404dbd
PT
28614 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28615 type to string_t. Set ERANGE as errno and return it if NAME is not big
28616 enough. Use memcpy instead of strncpy.
28617
0f48659e
JM
286182012-07-20 Joseph Myers <joseph@codesourcery.com>
28619
28620 * elf/Makefile (check-data): Remove.
28621 (localplt.data): New vpath directive.
28622 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28623 instead of $(check-data).
28624 * scripts/data/localplt-generic.data: Move to ...
28625 * sysdeps/generic/localplt.data: ... here.
28626 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28627 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28628 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28630 ... here.
28631 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28633 ... here.
28634 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28636 ... here.
28637 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28639 ... here.
28640 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28642 ... here.
28643 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28645 ... here.
28646
d37cbdaa
AZ
286472012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28648
28649 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28650 PPC32 and PPC64 files.
28651 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28652 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28653
46f85fc2
AK
286542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28655
28656 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28657 __makecontext_ret to ...
28658 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28659 ... here and call exit if uc_link is NULL. New file.
28660 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28661 __makecontext_ret.S.
28662 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28663 __makecontext_ret to ...
28664 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28665 ... here and call exit if uc_link is NULL. New file.
28666 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28667 __makecontext_ret.S.
28668
08f43f9b
AK
286692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28670
28671 * elf/elf.h (R_390_IRELATIVE): New definition.
28672 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28673 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28674 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28675 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28676 (elf_machine_lazy_rel): Likewise.
28677 * sysdeps/s390/dl-irel.h: New file.
28678 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28679 * sysdeps/s390/s390-64/memset.S: New asm code.
28680 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28681 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28682 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28683 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28684 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28685 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28686 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28687 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28688 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28689 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28690 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28691 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28692 * sysdeps/s390/s390-32/memset.S: New asm code.
28693 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28694
3b05db33
MP
286952012-07-17 Marek Polacek <polacek@redhat.com>
28696
28697 [BZ #14349]
28698 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28699 * sysdeps/s390/s390-64/configure.in: Likewise.
28700 * sysdeps/sparc/configure.in: Likewise.
28701 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28702 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28703 * sysdeps/i386/configure.in: Likewise.
28704 * sysdeps/x86_64/configure.in: Likewise.
28705 * sysdeps/sh/configure.in: Likewise.
28706 * sysdeps/s390/s390-32/configure: Regenerated.
28707 * sysdeps/s390/s390-64/configure: Likewise.
28708 * sysdeps/x86_64/configure: Likewise.
28709 * sysdeps/sh/configure: Likewise.
28710 * sysdeps/powerpc/powerpc64/configure: Likewise.
28711 * sysdeps/powerpc/powerpc32/configure: Likewise.
28712 * sysdeps/sparc/configure: Likwise.
28713 * sysdeps/i386/configure: Likewise.
28714
a66877c6
MP
28715 * elf/dl-open.c: Comment fixes.
28716
cfc82fd8
JM
287172012-07-17 Joseph Myers <joseph@codesourcery.com>
28718
bd29910a
JM
28719 * Makefile [CXX] (check-data): Remove.
28720 [CXX] (c++-types.data): New vpath directive.
28721 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28722 vpath. Do not allow for C++ type data being missing.
28723 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28724 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28725 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28726 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28727 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28728 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28729 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28731 ... here.
28732 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28734 ... here.
28735 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28737 ... here.
28738 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28740 ... here.
28741 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28743 ... here.
28744 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28746 ... here.
28747 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28749 ... here.
28750 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28752
cfc82fd8
JM
28753 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28754 definitions to architecture-specific files.
28755 (TLS_IE): Likewise.
28756 (TLS_LD): Likewise.
28757 (TLS_GD): Likewise.
28758 * sysdeps/i386/tls-macros.h: New file.
28759 * sysdeps/powerpc/tls-macros.h: Likewise.
28760 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28761 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28762 * sysdeps/sh/tls-macros.h: Likewise.
28763 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28764 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28765 * sysdeps/x86_64/tls-macros.h: Likewise.
28766
f7db3170
TS
287672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28768
07cbfc23
TS
28769 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28770 zero value for regular exit case.
28771
f7db3170
TS
28772 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28773 (__start_context): Preserve zero value for regular exit case.
28774
dc97c227
TS
287752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28776 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28777
28778 * manual/setjmp.texi (setcontext): Clarify normal process
28779 termination when uc_link is the null pointer.
28780 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28781 exit call.
28782
d0cd7d02
AS
287832012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28784
28785 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28786 preprocessor. Test for each exception mask separately.
28787
dd318934
AJ
287882012-07-16 Andreas Jaeger <aj@suse.de>
28789
28790 * po/ru.po: Update from translation team.
28791
8048311a
JM
287922012-07-15 Joseph Myers <joseph@codesourcery.com>
28793
28794 * conform/data/string.h-data (NULL): Use macro-constant. Require
28795 equal to 0.
28796 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28797 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28798 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28799 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28801
b637d46e
AJ
288022012-07-13 Andreas Jaeger <aj@suse.de>
28803
28804 * po/fr.po: Update from translation team.
28805
541428fe
MP
288062012-07-12 Marek Polacek <polacek@redhat.com>
28807
28808 [BZ #14173]
28809 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28810 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28811 loop condition.
28812
ec332e94
JM
288132012-07-12 Joseph Myers <joseph@codesourcery.com>
28814
28815 [BZ #13717]
28816 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28817 Change to 2.4.1 where previously 2.4.0.
28818 * sysdeps/unix/sysv/linux/configure: Regenerated.
28819 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28820 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28821 version.
28822 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28823 (__ASSUME_AT_CLKTCK): Remove.
28824 (__ASSUME_AT_PAGESIZE): Likewise.
28825 (__ASSUME_AT_XID): Likewise.
28826 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28827 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28828 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28829 unconditionally.
28830 (HAVE_AUX_PAGESIZE): Likewise.
28831 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28832 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28833 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28834
7b6e99be
JB
288352012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28836
28837 [BZ #14307]
28838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28839 the temporary buffer used to invoke __gethostbyname2_r,
28840 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28841 host_data / struct gaih_addrtuple.
28842 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28843 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28844 header file nss/nsswitch.h.
28845 * nss/nsswitch.h (global scope): Add definition of implementation
28846 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28847 resolv/nss_dns/dns-host.c).
28848
608404eb
AJ
288492012-07-11 Andreas Jaeger <aj@suse.de>
28850
28851 * po/fr.po: Update from translation team.
28852
71220aca
AJ
28853 * po/sv.po: Update from translation team
28854 * po/fr.po: Another update from translation team.
28855
28cfe843
AZ
288562012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28857
28858 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28859 for subnormals or multiply small sinh result by itself.
28860 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28862
6b90f981
DM
288632012-07-11 David S. Miller <davem@davemloft.net>
28864
28865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28866
c6825772
AS
288672012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28868
28869 [BZ #14347]
28870 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28871 (INTERNAL_MARK): Shift it here.
28872
7b8e0d49
MP
288732012-07-10 Marek Polacek <polacek@redhat.com>
28874
28875 [BZ #14151]
28876 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28877 libc_cv_asm_global_directive with .globl.
28878 * configure: Regenerated.
28879 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28880 with .globl.
28881 * sysdeps/i386/configure: Regenerated.
28882 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28883 with .globl.
28884 * sysdeps/x86_64/configure: Regenerated.
28885 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28886 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28887 * elf/tst-unique2mod2.c: Likewise.
28888 * elf/tst-unique2mod1.c: Likewise.
28889 * elf/tst-unique1mod2.c: Likewise.
28890 * elf/tst-unique1mod1.c: Likewise.
28891 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28892 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28893 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28894 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28895 * sysdeps/mach/sysdep.h: Likewise.
28896 * sysdeps/i386/sysdep.h: Likewise.
28897 * sysdeps/i386/i386-mcount.S: Likewise.
28898 * sysdeps/x86_64/_mcount.S: Likewise.
28899 * sysdeps/x86_64/sysdep.h: Likewise.
28900 * sysdeps/sh/_mcount.S: Likewise.
28901 * sysdeps/sh/sysdep.h: Likewise.
28902 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28903 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28904 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28905 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28906 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28907 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28908 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28909 * locale/localeinfo.h: Likewise.
28910 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28911 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28912
6c55cda3
RM
289132012-07-09 Roland McGrath <roland@hack.frob.com>
28914
28915 [BZ #14336]
28916 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28917 system".
28918 * manual/message.texi (The Uniforum approach): Likewise.
28919 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28920 (glibc iconv Implementation): Likewise.
28921
638a572e
JM
289222012-07-09 Joseph Myers <joseph@codesourcery.com>
28923
28924 [BZ #14337]
28925 * math/s_clog.c (__clog): Avoid scaling a value down where that
28926 could result in underflow.
28927 * math/s_clog10.c (__clog10): Likewise.
28928 * math/s_clog10f.c (__clog10f): Likewise.
28929 * math/s_clog10l.c (__clog10l): Likewise.
28930 * math/s_clogf.c (__clogf): Likewise.
28931 * math/s_clogl.c (__clogl): Likewise.
28932 * math/libm-test.inc (clog_test): Add more tests.
28933 (clog10_test): Likewise.
28934 * sysdeps/i386/fpu/libm-test-ulps: Update.
28935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28936
261f4859
AS
289372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28938
0abaf3e4
AS
28939 [BZ #14283]
28940 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28941 by 7 not 8 to examine high bit of fractional part.
28942
261f4859
AS
28943 [BZ #14042]
28944 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28945 for call to __mcount_internal.
28946 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28947 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28948 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28949
f17ac40d
JM
289502012-07-06 Joseph Myers <joseph@codesourcery.com>
28951
9ad63c23
JM
28952 [BZ #14154]
28953 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28954 approximation for values within 0x1p-13f of an odd multiple of
28955 pi/4.
28956 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28957 exception. Add more tests.
28958 * sysdeps/i386/fpu/libm-test-ulps: Update.
28959
f17ac40d
JM
28960 [BZ #6778]
28961 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28962 inputs and return -1 for them. Do not check for +Inf in case not
28963 reachable for +Inf.
28964 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28965 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28967 and return -1 for them. Do not check for +Inf in case not
28968 reachable for +Inf.
28969 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28970 define.
28971 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28972 and return -1 for them. Do not check for +Inf in case not
28973 reachable for +Inf.
28974 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28975 spurious underflow.
28976 * sysdeps/i386/fpu/libm-test-ulps: Update.
28977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28978
fb21f89b
MF
289792012-07-06 Mike Frysinger <vapier@gentoo.org>
28980
28981 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28982
cdfe2c5e
JM
289832012-07-05 Joseph Myers <joseph@codesourcery.com>
28984
28985 [BZ #14157]
28986 [BZ #14331]
28987 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28988 could result in spurious underflow. Scale down values above
28989 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28990 * math/s_csqrtf.c (__csqrtf): Likewise.
28991 * math/s_csqrtl.c (__csqrtl): Likewise.
28992 * math/libm-test.inc (csqrt_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
70d35b67
AS
289972012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28998
704bc459
AS
28999 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29000 xopen-msg.sed.
29001 * catgets/xopen-msg.awk: New file.
29002 * catgets/xopen-msg.sed: Removed.
29003
70d35b67
AS
29004 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29005 po2text.sed.
29006 * intl/po2test.awk: New file.
29007 * intl/po2test.sed: Removed.
29008
ca61cf32
JM
290092012-07-04 Joseph Myers <joseph@codesourcery.com>
29010
29011 [BZ #14328]
29012 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29013 or multiply small sinh result by itself.
29014 * math/s_ctanf.c (__ctanf): Likewise.
29015 * math/s_ctanh.c (__ctanh): Likewise.
29016 * math/s_ctanhf.c (__ctanhf): Likewise.
29017 * math/s_ctanhl.c (__ctanhl): Likewise.
29018 * math/s_ctanl.c (__ctanl): Likewise.
29019 * math/libm-test.inc (ctan_test_tonearest): New function.
29020 (ctan_test_towardzero): Likewise.
29021 (ctan_test_downward): Likewise.
29022 (ctan_test_upward): Likewise.
29023 (ctanh_test_tonearest): Likewise.
29024 (ctanh_test_towardzero): Likewise.
29025 (ctanh_test_downward): Likewise.
29026 (ctanh_test_upward): Likewise.
29027 (main): Call these new functions.
29028 * sysdeps/i386/fpu/libm-test-ulps: Update.
29029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29030
ca48a46a
MF
290312012-07-03 Mike Frysinger <vapier@gentoo.org>
29032
29033 * .gitignore: Delete /ports entry.
29034
9d63d37d
AJ
290352012-07-03 Andreas Jaeger <aj@suse.de>
29036
29037 * po/bg.po: Update from translation team.
29038 * po/cs.po: Likewise.
29039 * po/de.po: Likewise.
29040 * po/hr.po: Likewise.
29041 * po/nl.pl: Likewise.
29042 * po/pl.po: Likewise.
29043 * po/vi.po: Likewise.
29044
370ca3d2
JM
290452012-07-03 Joseph Myers <joseph@codesourcery.com>
29046
95f5a9a8
JM
29047 * Makeconfig [!+link] (+link-before-libc): New variable.
29048 [!+link] (+link-after-libc): Likewise.
29049 [!+link] (+link-tests): Likewise.
29050 [!+link] (+link): Define in terms of $(+link-before-libc) and
29051 $(+link-after-libc).
29052 [!+link-static] (+link-static-before-libc): New variable.
29053 [!+link-static] (+link-static-after-libc): Likewise.
29054 [!+link-static] (+link-static-tests): Likewise.
29055 [!+link-static] (+link-static): Define in terms of
29056 $(+link-static-before-libc) and $(+link-static-after-libc).
29057 [build-shared] (link-libc-before-gnulib): New variable.
29058 [build-shared] (link-libc-tests): Likewise.
29059 [build-shared] (link-libc): Define in terms of
29060 $(link-libc-before-gnulib).
29061 [!build-shared] (link-libc-tests): New variable.
29062 (link-libc-static-tests): New variable.
29063 [!gnulib] (gnulib-arch): New variable.
29064 [!gnulib] (gnulib-tests): Likewise.
29065 [!gnulib] (static-gnulib-arch): Likewise.
29066 [!gnulib] (static-gnulib-tests): Likewise.
29067 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29068 Define with "=" instead of ":=".
29069 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29070 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29071 * Rules (binaries-all-notests): New variable.
29072 (binaries-all-tests): Likewise.
29073 (binaries-static-notests): Likewise.
29074 (binaries-static-tests): Likewise.
29075 (binaries-all): Define using $(binaries-all-notests) and
29076 $(binaries-all-tests).
29077 (binaries-static): Define using $(binaries-static-notests) and
29078 $(binaries-static-tests).
29079 (binaries-shared-tests): New variable.
29080 (binaries-shared-notests): Likewise.
29081 (binaries-shared): Remove variable.
29082 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29083 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29084 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29085 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29086 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29087 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29088 * elf/Makefile (sln-modules): New variable.
29089 (extra-objs): Add $(sln-modules:=.o).
29090 (ldconfig-modules): Add static-stubs.
29091 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29092 * elf/static-stubs.c: New file.
29093
7a845b2c
JM
29094 [BZ #14283]
29095 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29096 by 7 not 8 to examine high bit of fractional part. Use volatile
29097 variables when splitting into final array of floats if
29098 __FLT_EVAL_METHOD__ != 0.
29099 * math/libm-test.inc (cos_test): Add another test.
29100 (sin_test): Likewise.
29101 * sysdeps/i386/fpu/libm-test-ulps: Update.
29102
e2283f38
JM
29103 [BZ #14273]
29104 * math/libm-test.inc (cosh_test): Add more tests.
29105
370ca3d2
JM
29106 * version.h (RELEASE): Set to "development".
29107 (VERSION): Set to "2.16.90".
29108
ee9247c3
CD
291092012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29110
29111 * NEWS: Update copyright. Remove last-updated date.
29112 Mention math library bug fixes and timezone data changes.
29113 * README: Mention GNU/Hurd, x32, and HPPA support status.
29114
4648c381
TS
291152012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29116
29117 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29118
aac78a43
AJ
291192012-06-27 Andreas Jaeger <aj@suse.de>
29120
29121 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29122
ed3dbfad
AJ
291232012-06-25 Andreas Jaeger <aj@suse.de>
29124
29125 * sysdeps/s390/fpu/libm-test-ulps: Update.
29126
4d0ee855
AS
291272012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29128 Thomas Schwinge <thomas@codesourcery.com>
29129
29130 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29131 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29132 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29133 fanotify_mark.
29134
af1bce34
TS
291352012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29136
a9fa33ba
TS
29137 * sysdeps/mach/start.c: Remove file.
29138 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29139 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29140 * sysdeps/sh/init-first.c: Likewise.
29141
58f902b8
TS
29142 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29143 registers for frame unwinding purposes, add CFI directives.
29144 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29145 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29146 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29147 Likewise.
29148
1518f58b
TS
29149 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29150 __fortify_fail returning.
29151 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29152
db9b5059
TS
29153 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29154 sysdeps/sh/____longjmp_chk.S.
29155 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29156 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29157 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29158 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29159
967705fe
TS
29160 * sysdeps/sh/abort-instr.h: New file.
29161 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29162 process in case exit returns.
29163
a9def8c4
TS
29164 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29165 initialize the GOT register before use.
29166
2a649725
TS
29167 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29168 calculation of ARGC > 4.
29169
af1bce34
TS
29170 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29171 meaningful names to some local labels.
29172
d230f50a
KK
291732012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29174 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29175
29176 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29177 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29178 (__arch_compare_and_exchange_val_16_acq): Likewise.
29179 (__arch_compare_and_exchange_val_32_acq): Likewise.
29180 (atomic_exchange_and_add): Fix gUSA sequence.
29181 (atomic_add): Likewise.
29182 (atomic_add_negative): Likewise.
29183 (atomic_add_zero): Likewise.
29184 (atomic_bit_test_set): Likewise.
29185
0479b305
AS
291862012-06-22 Andreas Schwab <schwab@redhat.com>
29187
29188 [BZ #13579]
29189 * include/link.h (struct link_map): Add l_free_initfini.
29190 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29191 l_initfini.
29192 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29193 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29194 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29195 set.
29196
0e3933b9
CD
291972012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29198
29199 * configure.in: Use AC_LANG_SOURCE.
29200 * configure: Regenerate.
29201
4248b1b1
RM
292022012-06-22 Roland McGrath <roland@hack.frob.com>
29203
29204 * configure.in (libc_cv_localstatedir): New substituted variable.
29205 * configure: Regenerated.
29206 * config.make.in (localstatedir): New variable, substituted from
29207 libc_cv_localstatedir.
29208 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29209 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29210 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29211 * sysdeps/gnu/configure: Regenerated.
29212
006dd861
JL
292132012-06-21 Jeff Law <law@redhat.com>
29214
29215 [BZ #14277]
29216 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29217 free. Simplify list management for _LIBC case.
29218
79662d42
JM
292192012-06-21 Joseph Myers <joseph@codesourcery.com>
29220
b7abb4bf
JM
29221 [BZ #14273]
29222 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29223 Clear sign bit of 64-bit integer value before comparing against
29224 overflow value.
29225
79662d42
JM
29226 * sysdeps/mach/configure: Regenerated.
29227
1f150908
L
292282012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29229
29230 [BZ #14278]
29231 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29232
28363bbf
JL
292332012-06-21 Jeff Law <law@redhat.com>
29234
29235 [BZ #13882]
29236 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29237 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29238 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29239 * elf/dl-open.c (dl_open_worker): Likewise.
29240
09615db4
CD
292412012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29242
29243 * scripts/list-sources.sh: Scan PORTS for translations.
29244 * po/libc.pot: Regenerated.
29245
2174c6dd
AJ
292462012-06-21 Andreas Jaeger <aj@suse.de>
29247
29248 [BZ #12194]
29249 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29250 warning.
29251 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29252 * bits/byteswap-16.h (__bswap_16): Likewise.
29253 * bits/byteswap.h (__bswap_constant_16): Likewise.
29254
3ee947b1
L
292552012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29256
29257 [BZ #14117]
a2f34833
L
29258 * sysdeps/i386/fpu_control.h: Removed.
29259 * sysdeps/x86_64/fpu_control.h: Moved to ...
29260 * sysdeps/x86/fpu_control.h: Here.
29261
3ee947b1
L
29262 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29263 (_FPU_SETCW): Likewise.
29264
ed1825f8
L
292652012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29266
25f1282a
L
29267 [BZ #14117]
29268 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29269 * sysdeps/x86/fpu/bits/mathinline.h: This.
29270 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29271
ed1825f8
L
29272 [BZ #14050]
29273 [BZ #14117]
29274 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29275 functions if __x86_64__ is defined.
29276
36d54b74
CLT
292772012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29278
29279 * string/endian.h: Add !__ASSEMBLER__ condition for including
29280 conversion interfaces.
29281
10285c21
JM
292822012-06-15 Joseph Myers <joseph@codesourcery.com>
29283
29284 [BZ #14241]
29285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29286 of ABS(x) in calculating zero to negative powers other than odd
29287 integers.
29288 * math/libm-test.inc (pow_test): Add more tests.
29289
06c5abbd
AJ
292902012-06-15 Andreas Jaeger <aj@suse.de>
29291
29292 * manual/contrib.texi (Contributors): Update entry of Liubov
29293 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29294 Machado Filho.
29295
a3aeac40
CH
292962012-06-15 Cyril Hrubis <metan@ucw.cz>
29297
29298 * string/string.h: Add __wur to GNU version of strerror_r.
29299
49bdf4c1
L
293002012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29301
29302 [BZ #14229]
29303 * string/Makefile (tests): Add tst-strtok_r.
29304 * string/tst-strtok_r.c: New file.
29305 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29306 RAX_LP/RDX_LP on SAVE_PTR.
29307
834f9b8d
RM
293082012-06-14 Roland McGrath <roland@hack.frob.com>
29309
29310 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29311
75fa1921
JM
293122012-06-14 Joseph Myers <joseph@codesourcery.com>
29313
29314 * libm_test.inc (csqrt_test): Allow more spurious underflow
29315 exceptions.
29316 (j0_test): Likewise.
29317 (j1_test): Likewise.
29318 (y0_test): Likewise.
29319 (y1_test): Likewise.
29320
771766df
CD
293212012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29322
29323 * po/Makefile (libc.pot): Use UTF-8 charset.
29324
ceb9e56b
PP
293252012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29326
29327 [BZ #14210]
29328 Suppress sign-conversion warning from FD_SET.
29329 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29330 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29331 not unsigned long int.
29332 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29333
ddb28975
L
293342012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29335
29336 [BZ #14050]
29337 [BZ #14117]
29338 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29339 __extern_always_inline instead of __extern_inline.
29340 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29341 (__signbit): Likewise.
29342 (__signbitl): Support C++ namespace.
29343 (lrintf): New inline function.
29344 (lrint): Likewise.
29345 (llrintf): Likewise.
29346 (llrint): Likewise.
29347 (fmaxf): Likewise.
29348 (fmax): Likewise.
29349 (fminf): Likewise.
29350 (fmin): Likewise.
29351 (rint): Likewise.
29352 (rintf): Likewise.
29353 (ceil): Likewise.
29354 (ceilf): Likewise.
29355 (floor): Likewise.
29356 (floorf): Likewise.
29357 (nearbyint): Likewise.
29358 (nearbyintf): Likewise.
29359
d7b4fb26
TS
293602012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29361
29362 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29363 non-default versions.
29364
eb55f5c2
RM
293652012-06-11 Roland McGrath <roland@hack.frob.com>
29366
29367 [BZ #14218]
29368 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29369
366af02c
TS
293702012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29371
99ff6e5c
TS
29372 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29373 (FE_UPWARD, FE_DOWNWARD): Don't define.
29374 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29375 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29376
366af02c
TS
29377 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29378 reading it.
29379 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29380 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29381
793ea851
KK
293822012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29383
29384 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29385 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29386 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29387 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29388
a728a38f
L
293892012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29390
29391 [BZ #14117]
c08010c7
L
29392 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29393 * sysdeps/i386/fpu/Implies: New file.
29394 * sysdeps/x86_64/fpu/Implies: Likewise.
29395 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29396 * sysdeps/x86/fpu/bits/fenv.h: This.
29397
a728a38f
L
29398 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29399 __SSE_MATH__.
29400
6e230d11
SP
294012012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29402
29403 [BZ #14134]
29404 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29405 character 0xffff that matches the last element of the
29406 conversion table.
29407
1b671feb
AZ
294082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29409
29410 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29411 fmodl commit.
29412
6043738b
AZ
294132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29414
29415 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29416 values higher than 25.6283.
29417
34ae0b32
AZ
294182012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29419
29420 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29421 subnormal exponent extraction and add some __builtin_expect.
29422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29423 Fix for subnormal mantissa calculation.
29424
1214ec8f
MF
294252012-06-04 Mike Frysinger <vapier@gentoo.org>
29426
29427 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29428 cpu2 is -1 and errno is not ENOSYS.
29429
f3d1f93c
L
294302012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29431
29432 [BZ #14117]
0e4a3cd7
L
29433 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29434 * sysdeps/x86/bits/string.h: This.
29435 * sysdeps/x86_64/bits/string.h: Removed.
29436
6704c645
L
29437 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29438 if not compiling for x86-64, but compiling for >= i486.
29439
48495318
L
29440 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29441 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29442
14adcbfc
L
29443 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29444 New macro from Linux kernel 3.4.0.
29445 (FP_XSTATE_MAGIC2): Likewise.
29446 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29447 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29448 (struct _fpx_sw_bytes): New struct.
29449 (struct _xsave_hdr): Likewise.
29450 (struct _ymmh_state): Likewise.
29451 (struct _xstate): Likewise.
29452
68e408ab
L
29453 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29454 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29455 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29456 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29457 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29458 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29459
f3d1f93c
L
29460 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29461 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29462 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29463 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29464 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29465 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29466
d9dc34cd
TMQMF
294672012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29468
29469 [BZ #13743]
29470 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29471 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29472 (sysdep_headers): Include sys/platform/ppc.h.
29473 * sysdeps/powerpc/test-gettimebase.c: Test for
29474 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29475 * manual/Makefile (appendices): Include platform.texi.
29476 * manual/contrib.texi (Contributors): Update @node pointers.
29477 * manual/maint.texi (Maintenance): Likewise.
29478 (Platform): New node.
29479 * manual/platform.texi: New file. Document the new features.
29480
4af3879c
SP
294812012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29482 Jakub Jelinek <jakub@redhat.com>
29483
29484 [BZ #14188]
29485 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29486 where __builtin_expect is unavailable.
29487
2fd6ff13
DM
294882012-06-03 David S. Miller <davem@davemloft.net>
29489
29490 * stdlib/longlong.h: Updated from GCC.
29491
173f7220
AS
294922012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29493
29494 [BZ #14042]
29495 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29496 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29497 __mcount_internal.
29498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29499 (GLIBC_2.16): Likewise.
29500
f34a1c6f
L
295012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29502
29503 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29504
88a4576f
JM
295052012-06-01 Joseph Myers <joseph@codesourcery.com>
29506
ea32bcdd
JM
29507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29508 (default-abi): New variable.
29509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29510 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29511 variable.
29512 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29513 Likewise.
29514 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29515 Likewise.
29516 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29517 Likewise.
29518
88a4576f
JM
29519 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29520 definition. Document in comment.
29521
402fe938
DM
295222012-06-01 David S. Miller <davem@davemloft.net>
29523
29524 * stdlib/longlong.h: Updated from GCC.
29525
3553723f
L
295262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29527
29528 [BZ #14117]
3bd872c4
L
29529 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29530 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29531 sys/debugreg.h sys/io.h here.
29532 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29533 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29534 sys/io.h.
29535 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29536 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29537 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29538 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29539 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29540 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29541
3553723f
L
29542 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29543 Define only if __x86_64__ is defined.
29544
4842e4fe
JM
295452012-06-01 Joseph Myers <joseph@codesourcery.com>
29546
c5bfe3d5
JM
29547 [BZ #14048]
29548 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29549 Use int64_t for variable i.
29550 * math/libm-test.inc (fmod_test): Add more tests.
29551
4842e4fe
JM
29552 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29553 z computation is not scheduled after fetestexcept.
29554 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29555 Use math_force_eval instead of asm to ensure calculation scheduled
29556 before exception test.
29557 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29558 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29559
efb73488
AJ
295602012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29561
29562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29563 computation is not scheduled after fetestexcept.
29564
29bcce7c
L
295652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29566
29567 [BZ #14117]
29568 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29569 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29570
73a68f94
AZ
295712012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29572
29573 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29574 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29575
67b6df78
L
295762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29577
edf2933a 29578 [BZ #14117]
ebc64a18
L
29579 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29580 <bits/wordsize.h>.
29581 (__WCHAR_MIN): Support __WORDSIZE == 64.
29582 (__WCHAR_MAX): Likewise.
29583
edf2933a
L
29584 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29585 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29586
57c6cf40
L
29587 [BZ #14183]
29588 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29589 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29590
67b6df78 29591 [BZ #14117]
8eb6281e
L
29592 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29593 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29594
aac639f4
L
29595 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29596 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29597
67b6df78
L
29598 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29599 Defined to 1 if __x86_64__ isn't defined.
29600 (_STAT_VER_LINUX_OLD): New.
29601 (st_atime): Remove duplicate.
29602 (st_mtime): Likewise.
29603 (st_ctime): Likewise.
29604
1c2cfe81
DM
296052012-05-31 David S. Miller <davem@davemloft.net>
29606
29607 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29608 entries.
29609
5be8418c
AS
296102012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29611
e7725326
AS
29612 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29613 gen-libm-test.pl.
29614
5be8418c
AS
29615 [BZ #14132]
29616 * elf/dl-reloc.c: Include <_itoa.h>.
29617 (_dl_reloc_bad_type): Remove use of INTUSE.
29618 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29619 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29620 * stdio-common/psiginfo.c (psiginfo): Likewise.
29621 * stdio-common/psignal.c (psignal): Likewise.
29622 * string/strsignal.c (strsignal): Likewise.
29623 * include/signal.h (_sys_siglist): Declare hidden proto.
29624 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29625 INTVARDEF with libc_hidden_data_def.
29626 * stdio-common/itoa-udigits.c: Likewise.
29627 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29628 (_itoa_lower_digits_internal): Remove declaration.
29629 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29630 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29631 (_sys_sigabbrev_internal): Remove aliases.
29632 (_sys_siglist): Define hidden alias.
29633
507352f1
MT
296342012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29635
29636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29637 bits/sysctl.h.
29638
42bbb1c3
L
296392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29640
29641 [BZ #14117]
6bd784b6
L
29642 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29643 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29644
8bca20f0
L
29645 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29646 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29647 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29648 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29649 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29650 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29651
f9e890a9
L
29652 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29653 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29654 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29655
471101a1
L
29656 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29657 with __addr.
29658 (insw): Likewise.
29659 (insl): Likewise.
29660 (outsb): Likewise.
29661 (outsw): Likewise.
29662 (outsl): Likewise.
29663
6451c862
L
29664 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29666 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29667
a254b8c9
L
29668 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29669 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29670 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29671 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29672 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29673 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29674
b8dfdd92
L
29675 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29676 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29677
578cd270
L
29678 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29679 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29680
de662f5f
L
29681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29682 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29683 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29684
25653439
L
29685 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29686 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29687 to ...
29688 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29689
6bad24a0
L
29690 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29691 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29692 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29693
42bbb1c3
L
29694 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29695 for x86-64.
29696 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29697
2d10d547
JM
296982012-05-31 Joseph Myers <joseph@codesourcery.com>
29699
29700 * math/math.h (M_El): Use two more decimal places.
29701 (M_LOG2El): Likewise.
29702 (M_LOG10El): Likewise.
29703 (M_LN2l): Likewise.
29704 (M_LN10l): Likewise.
29705 (M_PIl): Likewise.
29706 (M_PI_2l): Likewise.
29707 (M_PI_4l): Likewise.
29708 (M_1_PIl): Likewise.
29709 (M_2_PIl): Likewise.
29710 (M_2_SQRTPIl): Likewise.
29711 (M_SQRT2l): Likewise.
29712 (M_SQRT1_2l): Likewise.
29713
f230c29b
DM
297142012-05-31 David S. Miller <davem@davemloft.net>
29715
29716 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29717 values between float registers.
29718 * sysdeps/sparc/sparc64/memset.S: Likewise.
29719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29720
fed806c3
MF
297212012-05-31 Mike Frysinger <vapier@gentoo.org>
29722
29723 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29724 -D_FORTIFY_SOURCE=1.
29725 (CPPFLAGS-tst-longjmp_chk.c): Define.
29726 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29727 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29728 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29729 CFLAGS-tst-wchar-h.c.
29730
30917259
MP
297312012-05-31 Marek Polacek <polacek@redhat.com>
29732
29733 [BZ #14132]
29734 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29735 __endmntent_internal): Remove declaration.
29736 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29737 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29738 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29739
1c58d5dc
DM
297402012-05-30 David S. Miller <davem@davemloft.net>
29741
29742 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29743 (___Q_simulate_exceptions): Use real FP ops rather than writing
29744 into the %fsr.
29745 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29746 Likewise.
29747
7dc00e0d
L
297482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29749
29750 [BZ #14117]
0bd53985
L
29751 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29752 * sysdeps/x86/bits/xtitypes.h: This.
29753
3a257e66
L
29754 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29755 * sysdeps/x86/bits/wordsize.h: This.
29756
62f62904
L
29757 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29758 * sysdeps/x86/bits/huge_vall.h: This.
29759
404fe9d9
L
29760 * sysdeps/i386/bits/select.h: Removed.
29761 * sysdeps/x86_64/bits/select.h: Renamed to ...
29762 * sysdeps/x86/bits/select.h: This.
29763
d48d0446
L
29764 * sysdeps/i386/bits/setjmp.h: Removed.
29765 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29766 * sysdeps/x86/bits/setjmp.h: This.
29767
7dc00e0d
L
29768 * sysdeps/i386/bits/mathdef.h: Removed.
29769 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29770 * sysdeps/x86/bits/mathdef.h: This.
29771
03277f8f
AS
297722012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29773
29774 [BZ #14132]
29775 * include/sys/socket.h (__connect_internal)
29776 (__libc_sa_len_internal): Remove declaration.
29777 (__connect, __libc_sa_len): Declare hidden_proto.
29778 (SA_LEN): Remove use of INTUSE.
29779 * socket/connect.c: Add libc_hidden_def.
29780 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29781 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29782 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29783 alias.
29784 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29785 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29786 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29787 of adding _internal alias.
29788
13764867
L
297892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 [BZ #14117]
6bd97696
L
29792 * sysdeps/i386/bits/link.h: Removed.
29793 * sysdeps/i386/bits/linkmap.h: Likewise.
29794 * sysdeps/x86_64/bits/link.h: Renamed to ...
29795 * sysdeps/x86/bits/link.h: This.
29796 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29797 * sysdeps/x86/bits/linkmap.h: This.
29798
f726f0bb
L
29799 * sysdeps/i386/bits/endian.h: Removed.
29800 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29801 * sysdeps/x86/bits/endian.h: This.
29802
13764867
L
29803 * sysdeps/i386/bits/byteswap.h: Removed.
29804 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29805 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29806 * sysdeps/x86/bits/byteswap.h: This.
29807 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29808 * sysdeps/x86/bits/byteswap-16.h: This.
29809 * sysdeps/i386/Implies: Add x86.
29810 * sysdeps/x86_64/Implies: Likewise.
29811
ae251b0b
DM
298122012-05-30 David S. Miller <davem@davemloft.net>
29813
29814 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29815 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29816 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29817 (FP_TRAPPING_EXCEPTIONS): Define.
29818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29819 (FP_TRAPPING_EXCEPTIONS): Define.
29820 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29821 subnormals only when inexact has been signalled or underflow
29822 exceptions are enabled.
29823 (_FP_PACK_CANONICAL): Likewise.
29824
d5c90867
L
298252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29826
29827 [BZ #14183]
29828 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29829 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29830
63f1549e
RH
298312012-05-30 Richard Henderson <rth@twiddle.net>
29832
8d8f2279
RH
29833 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29834 with #ifndef NOT_IN_libc.
29835
63f1549e
RH
29836 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29837 marked to avoid plt entry.
29838
0ab0291b
L
298392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29840
29841 [BZ #14112]
29842 * Makeconfig (default-abi): New macro.
29843 (abi-includes): Likewise.
29844 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29845 $(abi-$(default-abi)-lib-soname) for soname if defined.
29846 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29847 abi-variants.
29848 * Makefile (installed-stubs): Likewise.
29849 * include/stubs-biarch.h: Removed.
29850 * scripts/lib-names.awk: Only handle one library at a time.
29851 * scripts/soversions.awk: Remove WORDSIZE support.
29852 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29853 entries.
29854 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29855 Removed.
29856 (syscall-list-default-condition): Likewise.
29857 (syscall-list-default-condition): Likewise.
29858 (syscall-list-includes): Likewise.
29859 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29860 syscall-list-* with abi-*. Handle undefined abi-variants.
29861 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29862 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29863 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29864 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29865 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29866 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29867 Removed.
29868 (syscall-list-32-options): Likewise.
29869 (syscall-list-32-condition): Likewise.
29870 (syscall-list-64-options): Likewise.
29871 (syscall-list-64-condition): Likewise.
29872 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29873 macro.
29874 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29875 Renamed to ...
29876 (abi-*): This.
29877 (abi-64-ld-soname): New macro.
29878 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29879 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29880 Renamed to ...
29881 (abi-*): This.
29882 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29883 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29884
4da0431d
JM
298852012-05-30 Joseph Myers <joseph@codesourcery.com>
29886
3a85279c
JM
29887 * sysdeps/unix/sysv/linux/kernel-features.h
29888 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29889 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29890 include <kernel-features.h>.
29891 [!__NR_ftruncate64]: Remove conditional code.
29892 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29893 [__NR_ftruncate64]: Make code unconditional.
29894 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29895 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29896 include <kernel-features.h>.
29897 [!__NR_ftruncate64]: Remove conditional code.
29898 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29899 [__NR_ftruncate64]: Make code unconditional.
29900 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29902 include <kernel-features.h>.
29903 [!__NR_ftruncate64]: Remove conditional code.
29904 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29905 [__NR_ftruncate64]: Make code unconditional.
29906 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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
4da0431d
JM
29914 * configure.in (libc_cv_fpie): Weaken to a compile test using
29915 LIBC_TRY_CC_OPTION.
29916 * configure: Regenerated.
29917
11ef492c
AK
299182012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29919
29920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29924 Refreshed.
29925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29931 Refreshed.
29932
d66ef399
DM
299332012-05-27 David S. Miller <davem@davemloft.net>
29934
29935 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29936 (___Q_zero): New.
29937 (__Q_simulate_exceptions): Return void. Change to simulate
29938 exceptions by writing into the %fsr.
29939 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29940 (__Qp_handle_exceptions): Likewise.
29941 (numbers): Delete.
29942 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29943 __Qp_handle_exceptions.
29944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29945 __Qp_handle_exceptions.
29946 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29947 as unused and give dummy FP_RND_NEAREST initializer.
29948 (FP_INHIBIT_RESULTS): Define.
29949 (___Q_simulate_exceptions): Update declaration.
29950 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29951 formatting.
29952 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29953 as unused and give dummy FP_RND_NEAREST initializer.
29954 (__Qp_handle_exceptions): Update declaration.
29955 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29956 formatting.
29957
04fb54b5
TS
299582012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29959
29960 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29961 the temporary FPU control word.
29962 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29963 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29964 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29965 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29966 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29967 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29968 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29969 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29970 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29971 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29972 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29973
3f99608f
KK
299742012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29975
29976 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29977 fields.
29978
65a4de4e
CLT
299792012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29980
29981 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29982 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29983 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29984 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29985 Likewise.
29986 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29987 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29988 Likewise.
29989
15749d40
UD
299902012-05-27 Ulrich Drepper <drepper@gmail.com>
29991
29992 * po/h.po: Update from translation team.
29993
25dbcb27
AS
299942012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29995
3d3f8e55
AS
29996 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29997
25dbcb27
AS
29998 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29999 handling of denormals.
30000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30001 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30002 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30003 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30004 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30006 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30007 Likewise.
30008
7ad47a80 300092012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30010
30011 [BZ #14152]
30012 * math/libm-test.inc (fma_test): Don't always expect underflow
30013 exception.
30014
9c6ea9fa
SP
300152012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30016
30017 [BZ #12416]
30018 * elf/tst-execstack.c: Include stackinfo.h.
30019 (do_test): Adjust test case to ensure that pthread_getattr_np
30020 behaviour remains the same after marking stack executable.
30021
a8239222
JM
300222012-05-25 Joseph Myers <joseph@codesourcery.com>
30023
30024 * sysdeps/unix/sysv/linux/kernel-features.h
30025 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30026 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30027 kernel-features.h.
30028 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30029 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30030 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30031 kernel-features.h.
30032 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30033 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30034
918b5606
L
300352012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30036
30037 * configure.in: Define the default includes to being none.
30038 * configure: Regenerated.
30039
3a097cc7
RM
300402012-05-25 Roland McGrath <roland@hack.frob.com>
30041
8422c9a5
RM
30042 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30043 * sysdeps/x86_64/setjmp.S: Likewise.
30044 * sysdeps/i386/bsd-setjmp.S: Likewise.
30045 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30046 * sysdeps/i386/setjmp.S: Likewise.
30047 * sysdeps/i386/__longjmp.S: Likewise.
30048 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30049 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30050
3a097cc7
RM
30051 * include/stap-probe.h: New file.
30052 * configure.in: Handle --enable-systemtap.
30053 * configure: Regenerated.
30054 * config.h.in (USE_STAP_PROBE): New #undef.
30055 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30056 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30057 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30058
21708942
JM
300592012-05-25 Joseph Myers <joseph@codesourcery.com>
30060
30061 [BZ #13717]
30062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30063 to 2.4.0 where earlier.
30064 * sysdeps/unix/sysv/linux/configure: Regenerated.
30065 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30066 <kernel-features.h>.
30067 [__ASSUME_32BITUIDS]: Make code unconditional.
30068 [!__ASSUME_32BITUIDS]: Remove conditional code.
30069 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30070 <kernel-features.h>.
30071 [__ASSUME_32BITUIDS]: Make code unconditional.
30072 [!__ASSUME_32BITUIDS]: Remove conditional code.
30073 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30074 [__ASSUME_32BITUIDS]: Make code unconditional.
30075 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30076 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30077 <kernel-features.h>.
30078 [__ASSUME_32BITUIDS]: Make code unconditional.
30079 [!__ASSUME_32BITUIDS]: Remove conditional code.
30080 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30081 <kernel-features.h>.
30082 [__ASSUME_32BITUIDS]: Make code unconditional.
30083 [!__ASSUME_32BITUIDS]: Remove conditional code.
30084 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30085 <kernel-features.h>.
30086 [__ASSUME_32BITUIDS]: Make code unconditional.
30087 [!__ASSUME_32BITUIDS]: Remove conditional code.
30088 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30089 <kernel-features.h>.
30090 [__ASSUME_32BITUIDS]: Make code unconditional.
30091 [!__ASSUME_32BITUIDS]: Remove conditional code.
30092 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30093 <kernel-features.h>.
30094 [__ASSUME_32BITUIDS]: Make code unconditional.
30095 [!__ASSUME_32BITUIDS]: Remove conditional code.
30096 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30097 <kernel-features.h>.
30098 [__ASSUME_32BITUIDS]: Make code unconditional.
30099 [!__ASSUME_32BITUIDS]: Remove conditional code.
30100 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30101 <kernel-features.h>.
30102 [__ASSUME_32BITUIDS]: Make code unconditional.
30103 [!__ASSUME_32BITUIDS]: Remove conditional code.
30104 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30105 <kernel-features.h>.
30106 [__ASSUME_32BITUIDS]: Make code unconditional.
30107 [!__ASSUME_32BITUIDS]: Remove conditional code.
30108 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30109 <kernel-features.h>.
30110 [__ASSUME_32BITUIDS]: Make code unconditional.
30111 [!__ASSUME_32BITUIDS]: Remove conditional code.
30112 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30113 <kernel-features.h>.
30114 [__ASSUME_32BITUIDS]: Make code unconditional.
30115 [!__ASSUME_32BITUIDS]: Remove conditional code.
30116 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30117 <kernel-features.h>.
30118 [__NR_setresgid] (__setresgid): Do not declare.
30119 [__ASSUME_32BITUIDS]: Make code unconditional.
30120 [!__ASSUME_32BITUIDS]: Remove conditional code.
30121 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30122 <kernel-features.h>.
30123 [__NR_setresuid] (__setresuid): Do not declare.
30124 [__ASSUME_32BITUIDS]: Make code unconditional.
30125 [!__ASSUME_32BITUIDS]: Remove conditional code.
30126 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
30135 <kernel-features.h>.
30136 [__ASSUME_32BITUIDS]: Make code unconditional.
30137 [!__ASSUME_32BITUIDS]: Remove conditional code.
30138 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30139 <kernel-features.h>.
30140 [__ASSUME_32BITUIDS]: Make code unconditional.
30141 [!__ASSUME_32BITUIDS]: Remove conditional code.
30142 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30143 <kernel-features.h>.
30144 [__ASSUME_32BITUIDS]: Make code unconditional.
30145 [!__ASSUME_32BITUIDS]: Remove conditional code.
30146 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30147 <kernel-features.h>.
30148 [__ASSUME_32BITUIDS]: Make code unconditional.
30149 [!__ASSUME_32BITUIDS]: Remove conditional code.
30150 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30151 <kernel-features.h>.
30152 [__ASSUME_32BITUIDS]: Make code unconditional.
30153 [!__ASSUME_32BITUIDS]: Remove conditional code.
30154 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30155 <kernel-features.h>.
30156 [__ASSUME_32BITUIDS]: Make code unconditional.
30157 [!__ASSUME_32BITUIDS]: Remove conditional code.
30158 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30159 <kernel-features.h>.
30160 [__ASSUME_32BITUIDS]: Make code unconditional.
30161 [!__ASSUME_32BITUIDS]: Remove conditional code.
30162 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30163 <kernel-features.h>.
30164 [__ASSUME_32BITUIDS]: Make code unconditional.
30165 [!__ASSUME_32BITUIDS]: Remove conditional code.
30166 * sysdeps/unix/sysv/linux/kernel-features.h
30167 (__ASSUME_SETRESUID_SYSCALL): Remove.
30168 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30169 (__ASSUME_32BITUIDS): Likewise.
30170 (__ASSUME_LDT_WORKS): Likewise.
30171 (__ASSUME_O_DIRECTORY): Likewise.
30172 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30173 architecture but not kernel version.
30174 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30175 (__ASSUME_MMAP2_SYSCALL): Likewise.
30176 (__ASSUME_STAT64_SYSCALL): Likewise.
30177 (__ASSUME_IPC64): Likewise.
30178 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30179 <kernel-features.h>.
30180 [__ASSUME_32BITUIDS]: Make code unconditional.
30181 [!__ASSUME_32BITUIDS]: Remove conditional code.
30182 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30183 <kernel-features.h>.
30184 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30185 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30186 132096]: Remove conditional code.
30187 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30188 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30189 <kernel-features.h>.
30190 [__ASSUME_32BITUIDS]: Make code unconditional.
30191 [!__ASSUME_32BITUIDS]: Remove conditional code.
30192 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30193 <kernel-features.h>.
30194 [__ASSUME_32BITUIDS]: Make code unconditional.
30195 [!__ASSUME_32BITUIDS]: Remove conditional code.
30196 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30197 <kernel-features.h>.
30198 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30199 unconditional.
30200 (__setresgid): Do not declare.
30201 [__ASSUME_32BITUIDS]: Make code unconditional.
30202 [!__ASSUME_32BITUIDS]: Remove conditional code.
30203 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30204 <kernel-features.h>.
30205 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30206 unconditional.
30207 (__setresuid): Do not declare.
30208 [__ASSUME_32BITUIDS]: Make code unconditional.
30209 [!__ASSUME_32BITUIDS]: Remove conditional code.
30210 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
30215 <kernel-features.h>.
30216 [__ASSUME_32BITUIDS]: Make code unconditional.
30217 [!__ASSUME_32BITUIDS]: Remove conditional code.
30218
a386f1cc
RH
302192012-05-25 Richard Henderson <rth@twiddle.net>
30220
30221 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30222 dl_hwcap to ifunc resolver.
30223 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30224 elf_ifunc_invoke.
30225 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30226 dl_hwcap to ifunc resolver.
30227 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30228
b6550497
JM
302292012-05-24 Joseph Myers <joseph@codesourcery.com>
30230
30231 [BZ #14153]
30232 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30233 for |x| <= 2**-26, not 2**-57.
30234 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30235 exception.
30236
b0bc23a1
JL
302372012-05-24 Jeff Law <law@redhat.com>
30238
30239 * stdio-common/Makefile (tests): Add bug25.
30240 * stdio-common/bug25.c: New test.
30241
347c92e9
L
302422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30243
30244 [BZ #13576]
30245 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30246 multiple of MALLOC_ALIGNMENT in size.
30247 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30248
6bcc8b3f
JM
302492012-05-24 Joseph Myers <joseph@codesourcery.com>
30250
30251 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30252 Require >= 256.
30253 (FILENAME_MAX): Use macro-int-constant.
30254 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30255 (_IOFBF): Use macro-int-constant.
30256 (_IOLBF): Likewise.
30257 (_IONBF): Likewise.
30258 (SEEK_CUR): Likewise.
30259 (SEEK_END): Likewise.
30260 (SEEK_SET): Likewise.
30261 (TMP_MAX): Likewise.
30262 (EOF): Use macro-int-constant. Require < 0.
30263 (NULL): Use macro-constant. Require == 0.
30264 (stdin): Require type to be FILE *.
30265 (stdout): Likewise.
30266 (stderr): Likewise.
30267 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30268 macro-int-constant.
30269 (EXIT_SUCCESS): Likewise.
30270 (NULL): Use macro-constant. Require == 0.
30271 (RAND_MAX): Use macro-int-constant.
30272 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30273 [C99-based standards] (strtof): Require function.
30274 [C99-based standards] (strtold): Likewise.
30275 [C99-based standards] (strtoll): Likewise.
30276 [C99-based standards] (strtoull): Likewise.
30277 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30278 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30279 [ISO || ISO99 || ISO11] (math.h): Likewise.
30280 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30281 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30283
d18ea0c5
AS
302842012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30285
30286 [BZ #14132]
56d25bb8
AS
30287 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30288 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30289 * intl/dgettext.c (DCGETTEXT): Likewise.
30290 * intl/gettext.c (DCGETTEXT): Likewise.
30291 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30292 * posix/regex_internal.h (gettext): Likewise.
30293 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30294 Remove declaration.
30295 * include/argz.h (__argz_count_internal)
30296 (__argz_stringify_internal): Remove declaration.
30297 (__argz_count, __argz_stringify): Declare hidden proto.
30298 * intl/dcgettext.c: Remove use of INTDEF.
30299 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30300 * string/argz-stringify.c: Likewise.
30301 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30302 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30303 Declare hidden proto.
d18ea0c5
AS
30304 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30305 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30306 Declare hidden proto.
30307 * include/stdio.h (__asprintf_internal): Don't declare.
30308 (__asprintf): Don't define as macro. Declare hidden proto.
30309 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30310 (__fsetlocking): Declare hidden proto.
30311 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30312 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30313 hidden proto.
30314 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30315 (_IO_setlinebuf): Remove use of INTUSE.
30316 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30317 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30318 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30319 Remove declaration.
30320 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30321 (_IO_do_flush): Remove use of INTUSE.
30322 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30323 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30324 (_IO_adjust_column, _IO_least_wmarker)
30325 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30326 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30327 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30328 (_IO_default_doallocate, _IO_wdefault_doallocate)
30329 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30330 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30331 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30332 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30333 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30334 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30335 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30336 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30337 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30338 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30339 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30340 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30341 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30342 proto.
30343 (_IO_flush_all_internal, _IO_adjust_column_internal)
30344 (_IO_default_uflow_internal, _IO_default_finish_internal)
30345 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30346 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30347 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30348 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30349 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30350 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30351 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30352 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30353 (_IO_file_close_internal, _IO_file_close_it_internal)
30354 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30355 (_IO_file_init_internal, _IO_file_attach_internal)
30356 (_IO_file_fopen_internal, _IO_file_read_internal)
30357 (_IO_file_sync_internal, _IO_file_seek_internal)
30358 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30359 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30360 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30361 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30362 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30363 (_IO_list_all_internal, _IO_link_in_internal)
30364 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30365 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30366 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30367 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30368 (_IO_do_write_internal, _IO_padn_internal)
30369 (_IO_getline_info_internal, _IO_getline_internal)
30370 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30371 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30372 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30373 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30374 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30375 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30376 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30377 with libc_hidden_ver, remove use of INTUSE.
30378 * libio/genops.c: Likewise.
30379 * libio/freopen.c: Likewise.
30380 * libio/freopen64.c: Likewise.
30381 * libio/iofclose.c: Likewise.
30382 * libio/iofdopen.c: Likewise.
30383 * libio/iofflush.c: Likewise.
30384 * libio/iofflush_u.c: Likewise.
30385 * libio/iofgets.c: Likewise.
30386 * libio/iofgets_u.c: Likewise.
30387 * libio/iofopen.c: Likewise.
30388 * libio/iofopncook.c: Likewise.
30389 * libio/iofread.c: Likewise.
30390 * libio/iofread_u.c: Likewise.
30391 * libio/ioftell.c: Likewise.
30392 * libio/iofwrite.c: Likewise.
30393 * libio/iogetline.c: Likewise.
30394 * libio/iogets.c: Likewise.
30395 * libio/iogetwline.c: Likewise.
30396 * libio/iopadn.c: Likewise.
30397 * libio/iopopen.c: Likewise.
30398 * libio/ioseekoff.c: Likewise.
30399 * libio/ioseekpos.c: Likewise.
30400 * libio/iosetbuffer.c: Likewise.
30401 * libio/iosetvbuf.c: Likewise.
30402 * libio/ioungetc.c: Likewise.
30403 * libio/ioungetwc.c: Likewise.
30404 * libio/iovdprintf.c: Likewise.
30405 * libio/iovsprintf.c: Likewise.
30406 * libio/iovsscanf.c: Likewise.
30407 * libio/memstream.c: Likewise.
30408 * libio/obprintf.c: Likewise.
30409 * libio/oldfileops.c: Likewise.
30410 * libio/oldiofclose.c: Likewise.
30411 * libio/oldiofdopen.c: Likewise.
30412 * libio/oldiofopen.c: Likewise.
30413 * libio/oldiopopen.c: Likewise.
30414 * libio/oldstdfiles.c: Likewise.
30415 * libio/putc.c: Likewise.
30416 * libio/setbuf.c: Likewise.
30417 * libio/setlinebuf.c: Likewise.
30418 * libio/stdfiles.c: Likewise.
30419 * libio/strops.c: Likewise.
30420 * libio/vasprintf.c: Likewise.
30421 * libio/vscanf.c: Likewise.
30422 * libio/vsnprintf.c: Likewise.
30423 * libio/vswprintf.c: Likewise.
30424 * libio/wfiledoalloc.c: Likewise.
30425 * libio/wfileops.c: Likewise.
30426 * libio/wgenops.c: Likewise.
30427 * libio/wmemstream.c: Likewise.
30428 * libio/wstrops.c: Likewise.
30429 * libio/__fpurge.c: Likewise.
30430 * libio/__fsetlocking.c: Likewise.
30431 * assert/assert.c: Likewise.
30432 * debug/fgets_chk.c: Likewise.
30433 * debug/fgets_u_chk.c: Likewise.
30434 * debug/fread_chk.c: Likewise.
30435 * debug/fread_u_chk.c: Likewise.
30436 * debug/gets_chk.c: Likewise.
30437 * debug/obprintf_chk.c: Likewise.
30438 * debug/vasprintf_chk.c: Likewise.
30439 * debug/vdprintf_chk.c: Likewise.
30440 * debug/vsnprintf_chk.c: Likewise.
30441 * debug/vsprintf_chk.c: Likewise.
30442 * malloc/mtrace.c: Likewise.
30443 * misc/error.c: Likewise.
30444 * misc/syslog.c: Likewise.
30445 * stdio-common/asprintf.c: Likewise.
30446 * stdio-common/fxprintf.c: Likewise.
30447 * stdio-common/getw.c: Likewise.
30448 * stdio-common/isoc99_fscanf.c: Likewise.
30449 * stdio-common/isoc99_scanf.c: Likewise.
30450 * stdio-common/isoc99_vfscanf.c: Likewise.
30451 * stdio-common/isoc99_vscanf.c: Likewise.
30452 * stdio-common/isoc99_vsscanf.c: Likewise.
30453 * stdio-common/printf-prs.c: Likewise.
30454 * stdio-common/printf_fp.c: Likewise.
30455 * stdio-common/printf_fphex.c: Likewise.
30456 * stdio-common/printf_size.c: Likewise.
30457 * stdio-common/putw.c: Likewise.
30458 * stdio-common/scanf.c: Likewise.
30459 * stdio-common/sprintf.c: Likewise.
30460 * stdio-common/tmpfile.c: Likewise.
30461 * stdio-common/vfprintf.c: Likewise.
30462 * stdio-common/vfscanf.c: Likewise.
30463 * stdlib/strfmon_l.c: Likewise.
30464 * sunrpc/openchild.c: Likewise.
30465 * sunrpc/xdr_stdio.c: Likewise.
30466 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30467 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30468
d6c33fda
RM
304692012-05-24 Roland McGrath <roland@hack.frob.com>
30470
c1487492
RM
30471 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30472
30473 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30474 in the third column, to generate for the shared library an IFUNC
30475 that uses _dl_vdso_vsym.
30476 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30477 * Makeconfig (object-suffixes-noshared): New variable.
30478
30479 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30480 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30481 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30482 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30483
d6c33fda
RM
30484 [BZ #14132]
30485 * include/sys/time.h (__gettimeofday): Remove macro.
30486 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30487 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30488 Remove INTDEF.
30489 (__gettimeofday): Add libc_hidden_def.
30490 (gettimeofday): Add libc_hidden_weak.
30491 * sysdeps/mach/gettimeofday.c: Likewise.
30492 * sysdeps/posix/gettimeofday.c: Likewise.
30493 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30494 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30496 (__gettimeofday_internal): Remove strong_alias.
30497 (__gettimeofday): Add libc_hidden_def.
30498 (gettimeofday): Add libc_hidden_weak.
30499 * sysdeps/unix/syscalls.list (gettimeofday):
30500 Remove __gettimeofday_internal alias.
30501
b5a2bbe6
L
305022012-05-24 Daniel Jacobowitz <drow@false.org>
30503 H.J. Lu <hongjiu.lu@intel.com>
30504
30505 [BZ #12495]
30506 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30507 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30508 (largebin_index_32_big): New.
30509 (largebin_index): Use it for 16-byte alignment.
30510 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30511 correction with front_misalign.
30512
cfba4fda
L
305132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30514
7f907421
L
30515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30517 Likewise.
30518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30519 Likewise.
30520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30521 Likewise.
30522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30523 Likewise.
30524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30525 Likewise.
30526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30527 Likewise.
30528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30529 Likewise.
30530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30531 Likewise.
30532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30533 Likewise.
30534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30535 Likewise.
30536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30537 Likewise.
30538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30539 Likewise.
30540
cfba4fda
L
30541 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30542 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30543
80bad0cc
JM
305442012-05-24 Joseph Myers <joseph@codesourcery.com>
30545
7a25eb06
JM
30546 [BZ #10846]
30547 [BZ #14036]
30548 * math/libm-test.inc (exp_test): Add test from bug 14036.
30549 (pow_test): Add test from bug 10846.
30550
795405f9
JM
30551 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30552 and other flags.
30553 (special_function): Do not include flags in test name.
30554 (parse_args): Likewise.
30555 * sysdeps/i386/fpu/libm-test-ulps: Update.
30556 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30557 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30558 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30560
80bad0cc
JM
30561 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30562 exceptions.
30563 * math/libm-test.inc ("Philosophy"): Update comment about
30564 exception testing.
30565 (UNDERFLOW_EXCEPTION): New macro.
30566 (UNDERFLOW_EXCEPTION_OK): Likewise.
30567 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30568 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30569 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30570 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30571 (INVALID_EXCEPTION_OK): Update value.
30572 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30573 (OVERFLOW_EXCEPTION_OK): Likewise.
30574 (IGNORE_ZERO_INF_SIGN): Likewise.
30575 (test_exceptions): Handle underflow exceptions.
30576 (acos_test): Update for underflow exception expectations.
30577 (cexp_test): Likewise.
30578 (clog_test): Likewise.
30579 (clog10_test): Likewise.
30580 (csqrt_test): Likewise.
30581 (ctan_test): Likewise.
30582 (ctanh_test): Likewise.
30583 (exp_test): Likewise.
30584 (exp10_test): Likewise.
30585 (exp2_test): Likewise.
30586 (expm1_test): Likewise.
30587 (fma_test): Likewise.
30588 (j0_test): Likewise.
30589 (jn_test): Likewise.
30590 (nexttoward_test): Likewise.
30591 (pow_test): Likewise.
30592 (scalbn_test): Likewise.
30593 (scalbln_test): Likewise.
30594 (tan_test): Likewise.
30595 (y1_test): Likewise.
30596 * sysdeps/i386/fpu/libm-test-ulps: Update.
30597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30598
9e0e3d0b
DM
305992012-05-23 David S. Miller <davem@davemloft.net>
30600
30601 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30602 (__libc_sigaction): Remove unused local variables.
30603
ccd0a08f
L
306042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30605
30606 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30607
62bdf9a6
PE
306082012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30609
f8591f80
PE
30610 mktime: avoid signed integer overflow
30611 * time/mktime.c (__mktime_internal): Do not mishandle the case
30612 where diff == INT_MIN.
30613
94c7d826
PE
30614 mktime: simplify computation of average
30615 * time/mktime.c (ranged_convert): Use new time_t_avg function
30616 instead of rolling our own (probably-slower) code.
30617
ce73d683
PE
30618 mktime: do not assume signed right shift propagates sign bit
30619 * time/mktime.c (isdst_differ): New static function.
30620 (__mktime_internal): No need to normalize tm_isdst now.
30621 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30622 tm_isdst values.
30623
72a22e59
PE
30624 mktime: merge another wrapv change from gnulib
30625 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30626 from some compilers.
30627
68605433
PE
30628 mktime: remove incorrect attempt at unusual arithmetics
30629 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30630 The code didn't really work on such machines anyway.
30631 (TYPE_MINIMUM): Assume two's complement.
30632 (twos_complement_arithmetic): Verify that long_int and time_t
30633 are two's complement (or unsigned, in the latter case).
30634
03cf7fe3
PE
30635 mktime: check signed shifts on long_int and time_t, too
30636 * time/mktime.c (SHR): Check that shifts work as desired
30637 on the types long_int and time_t too, as SHR is used on
30638 such types.
30639
f04dfbc2
PE
30640 mktime: do not assume 'long' is wide enough
30641 * time/mktime.c (verify): Move decl up.
30642 (long_int): New type.
30643 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30644 to remove assumption in the code that 'long' is wide enough to
30645 store year values. This assumption is not true on x32 and on
30646 some non-glibc platforms.
30647
62bdf9a6
PE
30648 mktime: merge wrapv change from gnulib
30649 * time/mktime.c (WRAPV): New macro.
30650 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30651 (guess_time_tm, __mktime_internal): Do not assume that signed
30652 integer overflow wraps around; modern compilers generate code
30653 where this assumption is no longer valid.
30654
5e292e4f
L
306552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30656
30657 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30658 Replace "jmp L(pseudo_end)" with "ret".
30659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30660 Likewise.
30661
8caf8c87
AJ
306622012-05-23 Andreas Jaeger <aj@suse.de>
30663
30664 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30665 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30666
1a09dc56
AJ
306672012-05-23 Andreas Jaeger <aj@suse.de>
30668 Maximilian Attems <max@stro.at>
30669
30670 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30671 New macros.
30672
1c87aba0
L
306732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30674
30675 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30676 code so that pseudo_end is just ret and the stack pointer is
30677 correct also for static library in error case.
30678
40e45bd5
JM
306792012-05-23 Joseph Myers <joseph@codesourcery.com>
30680
c2670533
JM
30681 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30682 move to syscalls.list.
30683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30687
40e45bd5
JM
30688 * manual/install.texi (Running make install): Do not mention Linux
30689 kernel version for which pt_chown is not needed.
30690 (Linux): Do not mention problems with nscd with 2.0 kernels.
30691 * INSTALL: Regenerated.
30692
be08eda5
AJ
306932012-05-23 Andreas Jaeger <aj@suse.de>
30694
30695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30696 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30697 macro.
30698 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30699 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30700 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30701 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30702 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30704 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30705 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30706 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30707 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30708 * sysdeps/unix/sysv/linux/bits/in.h
30709 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30710
a6a056bb
RM
307112012-05-22 Roland McGrath <roland@hack.frob.com>
30712
30713 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30714 (PREPARE_VERSION): Just use assert instead, it will be elided
30715 under [NDEBUG] anyway.
30716
c9009328
L
307172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30718
30719 * sysdeps/unix/sysv/linux/Makefile: Include
30720 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30721 (sysdep_routines): Remove sysctl.
c9009328
L
30722 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30723 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30724 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30725 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30726 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30727
73338355
AJ
307282012-05-22 Andreas Jaeger <aj@suse.de>
30729
30730 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30731 that pseudo_end is just ret and the stack pointer is correct also
30732 for static library in error case.
30733
d44638b0
PP
307342012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30735
30736 [BZ #14122]
30737 * nss/nsswitch.c (defconfig_entries): New variable.
30738 (__nss_database_lookup): Don't leak defconfig entries.
30739 (nss_parse_service_list): Don't leak on error paths.
30740 (free_database_entries): New function.
30741 (free_defconfig): New function.
30742 (free_mem): Move common code to free_database_entries.
30743
31a39bd8
L
307442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30745
da0331a8
L
30746 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30747 Add arch_prctl.
30748 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30749
31a39bd8
L
30750 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30751 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30753 New macro.
30754 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30755 (INTERNAL_SYSCALL_TYPES): Likewise.
30756 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30757 (LOAD_REGS_TYPES_[1-6]): Likewise.
30758 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30759 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30760
45470df3
AZ
307612012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30762
30763 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30764 copysignl for GLIBC_2_0.
30765 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30766 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30768 logbl for GLIBC_2_0.
30769 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30770 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30771
98a61bcb
L
307722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30773
a4f6e481
L
30774 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30775 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30776
f63d5db6
L
30777 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30778 Use "neg %eax".
30779
98a61bcb
L
30780 * time/mktime.c: Update copyright years.
30781
95770f14
PE
307822012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30783
6226efbd
PE
30784 mktime: merge comment-quoting-style change from gnulib
30785 * time/mktime.c: Quote 'like this' in comments.
30786 The GNU coding standards suggest that we no longer quote `like this',
30787 as "`" and "'" are typically rendered asymmetrically nowadays.
30788 The typical gnulib style is to quote 'like this' when quoting
30789 code, and "like this" when quoting English.
30790
b99e4f78
PE
30791 * time/mktime.c (compile-command): Add "-I.".
30792
643e01e6
PE
30793 mktime: merge mktime-internal.h change from gnulib
30794 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30795
2554247d
PE
30796 mktime: merge time_r change from gnulib
30797 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30798
826dd0ab
PE
30799 mktime: merge DEBUG change from gnulib
30800 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30801 case system <time.h> has a #define.
30802
bd83aabe
PE
30803 mktime: merge <sys/types.h> change from gnulib
30804 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30805 since <time.t> is now guaranteed to define time_t.
30806
95770f14
PE
30807 mktime: merge HAVE_CONFIG_H change from gnulib
30808 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30809
5e1a27a9
L
308102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30811
0e44a77e
L
30812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30813 Use "neg %eax".
30814
5e1a27a9
L
30815 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30816 __rlim_t cast.
30817 (struct rusage): Use anonymous union to pad each field to
30818 __syscall_slong_t.
30819
46259bec
DM
308202012-05-21 David S. Miller <davem@davemloft.net>
30821
30822 * Makefules (o-iterator): Remove .s cases.
30823 (compile-command.s): Delete.
30824 (COMPILE.s): Delete.
30825 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30826
59f0c22e
JM
308272012-05-21 Joseph Myers <joseph@codesourcery.com>
30828
30829 * configure.in (libc_cv_predef_stack_protector): Only consider
30830 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30831 * configure: Regenerated.
30832
20c07380
L
308332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30834
bbb3154b
L
30835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30836 New macro. Use R*LP on int and pointer.
30837 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30838 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30839 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30840 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30841
20c07380
L
30842 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30843 [__WORDSIZE_TIME64_COMPAT32] instead of
30844 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30845 (struct utmp): Likewise.
30846 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30847 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30848 Renamed to ...
30849 (__WORDSIZE_TIME64_COMPAT32): This.
30850 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30851 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30852 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30853 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30854 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30855 (__WORDSIZE_TIME64_COMPAT32): New macro.
30856
d8d1017e
AJ
308572012-05-21 Andreas Jaeger <aj@suse.de>
30858
30859 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30860 only if [SHARED]. Add prototype for __wcschr_ia32.
30861
6c7fb145
RM
308622012-05-21 Roland McGrath <roland@hack.frob.com>
30863
30864 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30865 of %rbp unmolested in the jmp_buf while mangling the low bits.
30866 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30867 unmolested high bits of %rbp while demangling the low bits.
30868 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30869
66274218
AJ
308702012-05-21 Andreas Jaeger <aj@suse.de>
30871
07c58f8f
AJ
30872 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30873 * sunrpc/svc_simple.c: Use it for registerrpc.
30874 * sunrpc/xcrypt.c: Use it for passwd2des.
30875
66274218
AJ
30876 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30877
61f65140
L
308782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30879
30880 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30881 Don't define if [__SYSCALL_WORDSIZE != 32].
30882 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30883 New macro.
30884
5fefb436
AJ
308852012-05-21 Bruno Haible <bruno@clisp.org>
30886 Andreas Jaeger <aj@suse.de>
30887
30888 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30889 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30890 inptr and inend for must_buffer_ch.
30891 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30892 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30893 * stdio-common/Makefile (tests): Remove bug15.
30894 (bug15-ENV): Remove macro.
30895 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30896 anymore.
30897
d8e272ab
AJ
308982012-05-19 Andreas Jaeger <aj@suse.de>
30899 Roland McGrath <roland@hack.frob.com>
30900
30901 * manual/contrib.texi: Completely rewritten. It contains now an
30902 alphabetical list of contributors and their contributions.
30903
4a56a162
RH
309042012-05-21 Richard Henderson <rth@twiddle.net>
30905
30906 * misc/getauxval.c (__getauxval): Use unsigned long int.
30907 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30908 (getauxval): Use unsigned long int.
30909
d024d23c
L
309102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30911
30912 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30913
cbc00a03
RM
309142012-05-21 Roland McGrath <roland@hack.frob.com>
30915
30916 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30917 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30918 __alignof__ (long double).
30919
478143fa
AZ
309202012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30921
30922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30923
c7683a6d
RH
309242012-05-20 Richard Henderson <rth@twiddle.net>
30925
30926 * misc/getauxval.c: New file.
30927 * misc/sys/auxv.h: New file.
30928 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30929 (routines): Add getauxval.
30930 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30931 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30932 * elf/dl-sysdep.c (_dl_auxv): Remove.
30933 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30934 * elf/dl-support.c (_dl_auxv): New variable.
30935 (_dl_aux_init): Initialize it.
30936 * manual/startup.texi (Auxiliary Vector): New node.
30937 * sysdeps/generic/bits/hwcap.h: New file.
30938 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30939 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30940 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30941 * sysdeps/sparc/sysdep.h: ... here. Include it.
30942 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30943 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30945 Update.
c7683a6d
RH
30946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30954
a6f1845d
AZ
309552012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30956
30957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30958
cbcbe830
DM
309592012-05-19 David S. Miller <davem@davemloft.net>
30960
30961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30962
e0b16cc2
JM
309632012-05-19 Joseph Myers <joseph@codesourcery.com>
30964
30965 [BZ #14123]
30966 * math/s_ccosh.c: Include <float.h>
30967 (__ccosh): Avoid internal overflow calculating sinh and cosh
30968 values before multiplying by sin and cos values.
30969 * math/s_ccoshf.c: Likewise.
30970 * math/s_ccoshl.c: Likewise.
30971 * math/s_csin.c: Likewise.
30972 * math/s_csinf.c: Likewise.
30973 * math/s_csinl.c: Likewise.
30974 * math/s_csinh.c: Likewise.
30975 * math/s_csinhf.c: Likewise.
30976 * math/s_csinhl.c: Likewise.
30977 * math/libm-test.inc (ccos_test): Add more tests.
30978 (ccosh_test): Likewise.
30979 (csin_test): Likewise.
30980 (csinh_test): Likewise.
30981 * sysdeps/i386/fpu/libm-test-ulps: Update.
30982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30983
6ad13e08
L
309842012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30985
f66f0ce8
L
30986 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30987 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30988
6ad13e08
L
30989 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30990
b1d072a7
JM
309912012-05-19 Joseph Myers <joseph@codesourcery.com>
30992
30993 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30994 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30995 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30996 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30997 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30998 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30999 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31000 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31001 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31002 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31003 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31004 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31005 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31006 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31007 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31008 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31009 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31010 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31011 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31012 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31013 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31014 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31015 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31016 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31017 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31018 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31019 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31020 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31021 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31022 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31023 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31024
9eae47cb
AJ
310252012-05-18 Andreas Jaeger <aj@suse.de>
31026
31027 * csu/.gitignore: Delete.
31028
bb07f69f
L
310292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31030
31031 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31032 (timex): Use __syscall_slong_t.
31033
e6bdb741
AJ
310342012-05-18 Andreas Jaeger <aj@suse.de>
31035 Carlos O'Donell <carlos_odonell@mentor.com>
31036
31037 * manual/install.texi (Configuring and compiling): Update
31038 description about files modified in the source directory.
d6c33fda 31039 * INSTALL: Regenerated.
e6bdb741 31040
1b74487e
L
310412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31042
31043 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31044 value. Use "or" to set return value to -1.
31045 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31046 negate return value.
31047
a88b64b9
TMQMF
310482012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31049
57f41c40
AS
31050 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31051 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31052 failure if the compiler has Graphite support disabled.
31053 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31054 Likewise.
57f41c40
AS
31055 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31056 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31057 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31058 Likewise.
31059
3707636e
L
310602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31061
610b8622
L
31062 * sysdeps/x86_64/x32/_itoa.h: New file.
31063
7cd195df
L
31064 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31065 getdents system call only if kernel and user dirents have the
31066 same d_ino and d_off.
31067
94b07d20
L
31068 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31069 LLONG_MAX != LONG_MAX.
31070 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31071 (_fitoa_word): Likewise.
31072
18298070
L
31073 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31074 years.
31075 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31076 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31077 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31078
553c7ea4
L
31079 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31080 include <bits/wordsize.h>. Check __x86_64__ instead of
31081 __WORDSIZE.
31082 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31083 if __x86_64__ is defined. Use anonymous union on fpstate.
31084
3707636e
L
31085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31086 anonymous union.
31087
b53ef01a
AS
310882012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31089
37fb1dc0
AS
31090 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31091 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31092 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31093 Refer to _rtld_local_ro instead of _rtld_global_ro.
31094 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31095 Likewise.
31096 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31097 Likewise.
31098 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31099 Likewise.
31100 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31101 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31102 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31103
b53ef01a
AS
31104 * sysdeps/powerpc/powerpc32/dl-machine.c
31105 (__elf_machine_runtime_setup) [PROF]: Don't reference
31106 _dl_prof_resolve.
31107
7a185db2
AJ
311082012-05-18 Andreas Jaeger <aj@suse.de>
31109
31110 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31111 function only available for GCCs before 3.4 since GCC 3.4
31112 introduced a builtin.
31113 (lrint): Likewise.
31114 (llrintf): Likewise.
31115 (llrint): Likewise.
31116 (fmaxf): Likewise.
31117 (fmax): Likewise.
31118 (fminf): Likewise.
31119 (fmin): Likewise.
31120 (rint): Likewise.
31121 (rintf): Likewise.
31122 (nearbyint): Likewise.
31123 (nearbyintf): Likewise.
31124 (ceil): Likewise.
31125 (ceilf): Likewise.
31126 (floor): Likewise.
31127 (floorf): Likewise.
31128
3e5aef87
L
311292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31130
428bd707
L
31131 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31132 on both fields and cast pointer to __syscall_ulong_t.
31133
3e5aef87
L
31134 * bits/types.h (__fsword_t): New type.
31135 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31136 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31138 (__FSWORD_T_TYPE): Likewise.
31139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31140 (__FSWORD_T_TYPE): Likewise.
31141 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31142 (__FSWORD_T_TYPE): Likewise.
31143 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31144 (__FSWORD_T_TYPE): Likewise.
31145 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31146 __SWORD_TYPE with __fsword_t.
31147 (statfs64): Likewise.
31148
1ba7c3dc
DM
311492012-05-17 David S. Miller <davem@davemloft.net>
31150
31151 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31152
59910343
AJ
311532012-05-17 Andreas Jaeger <aj@suse.de>
31154
31155 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31156 warning.
31157
2e4c1e9e
L
311582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31159
31160 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31161
de7f5ce7
AJ
311622012-05-17 Andreas Jaeger <aj@suse.de>
31163
31164 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31165 when it is used.
31166
286abc3d
CM
311672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31168
31169 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31170
477cc68e
L
311712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31172
31173 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31174 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31175
1a0994f5
CD
311762012-05-17 Andreas Jaeger <aj@suse.de>
31177 Carlos O'Donell <carlos_odonell@mentor.com>
31178
31179 [BZ #14059]
31180 * sysdeps/x86_64/multiarch/init-arch.h
31181 (bit_YMM_Usable): Rename to...
31182 (bit_AVX_Usable): ... this.
31183 (bit_FMA4_Usable): New macro.
31184 (bit_XMM_state): New macro.
31185 (bit_YMM_state): New macro.
31186 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31187 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31188 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31189 (CPUID_OSXSAVE): New macro.
31190 (CPUID_AVX): New macro.
31191 (CPUID_FMA4): New macro.
31192 (index_YMM_Usable): Rename to...
31193 (index_AVX_Usable): ... this.
31194 (HAS_AVX): Use HAS_ARCH_FEATURE.
31195 (HAS_FMA4): Likewise.
31196 (HAS_YMM_USABLE): Remove.
31197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31198 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31199 are present.
31200 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31201 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31202 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31203 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31204 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31205
0af797de
CM
312062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31207
31208 * math/libm-test.c: Support platforms without multiple rounding modes.
31209 * math/bug-nextafter.c: Support platforms without FP exceptions.
31210 * math/bug-nexttoward.c: Likewise.
31211 * math/test-fenv.c: Likewise.
31212 * math/test-misc.c: Likewise.
31213 * stdlib/bug-getcontext.c: Likewise.
31214
e39745ff
AJ
312152012-05-17 Andreas Jaeger <aj@suse.de>
31216
31217 * manual/examples/search.c (critter_cmp): Change signature to
31218 avoid warnings.
31219 * manual/string.texi (Collation Functions): Likewise.
31220
48970aba
L
312212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31222
31223 * bits/types.h: Fold copyright years.
31224 * bits/typesizes.h: Likewise.
31225 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31226 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31228 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31229 * time/time.h: Likewise.
31230
bedee953
PP
312312012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31232
31233 [BZ #208]
31234 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31235 in instead of returning them. Return void.
31236 (__libc_mallinfo): Accumulate over all arenas.
31237 (__malloc_stats): Adjust for change in int_mallinfo interface.
31238
61653dfb
RM
312392012-05-16 Roland McGrath <roland@hack.frob.com>
31240
30b99d79
RM
31241 [BZ #10375]
31242 * configure.in (NM): Add AC_CHECK_TOOL for it.
31243 (libc_extra_cflags): New substituted variable.
31244 Check for -fstack-protector being used implicitly.
31245 * configure: Regenerated.
31246 * config.make.in (config-extra-cflags): New variable,
31247 gets @libc_extra_cflags@.
31248 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31249
61653dfb
RM
31250 [BZ #10375]
31251 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31252 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31253 * configure: Regenerated.
31254 * config.make.in (CPPUNDEFS): New substituted variable.
31255 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31256 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31257 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31258
661768bb
L
312592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31260
31261 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31262 (mq_attr): Use __syscall_slong_t.
31263
d4261567
L
312642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31265
31266 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31267 Check __x86_64__ instead of __WORDSIZE.
31268 (_STAT_VER_LINUX): Likewise.
31269 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31270 __syscall_ulong_t and __syscall_slong_t.
31271 (stat64): Likewise.
31272
cf3ff365
L
312732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31274
31275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31276
76cf3e4d
L
312772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31278
31279 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31280
a637753a
L
312812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31282
31283 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31284 __syscall_ulong_t.
31285
d5e05119
L
31286 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31287 include <bits/wordsize.h>. Check __x86_64__ instead of
31288 __WORDSIZE.
31289 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31290 defined.
31291 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31292
f62ee380
L
31293 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31294 include <bits/wordsize.h>. Check __x86_64__ instead of
31295 __WORDSIZE.
31296 (user_regs_struct): Use "__extension__ unsigned long long"
31297 instead of "unsigned long" if __x86_64__ is defined.
31298 (user): Likewise. Pad after pointer field if __ILP32__ is
31299 defined.
31300
4e124ced
JM
313012012-05-16 Joseph Myers <joseph@codesourcery.com>
31302
6a3951a0
JM
31303 * configure.in (makeinfo): Require version 4.5 or later. Allow
31304 versions 5 to 9.
31305 * configure: Regenerated.
31306 * manual/install.texi (texinfo): Increase version requirement to
31307 4.5 or later.
31308 * INSTALL: Regenerated.
31309
4e124ced
JM
31310 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31311
953ca31a
L
313122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31313
31314 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31315
617aca05
L
31316 * sysdeps/x86_64/x32/ffs.c: New file.
31317
5762f7ae
L
31318 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31319 __syscall_ulong_t.
31320 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31321 defined. Use __syscall_ulong_t.
31322 (shminfo): Use __syscall_ulong_t.
31323 (shm_info): Likewise.
31324
a26b6856
L
31325 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31326 __syscall_ulong_t.
31327
cb2b9ef7
L
31328 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31329 <bits/wordsize.h>.
31330 (msgqnum_t): Use __syscall_ulong_t.
31331 (msglen_t): Likewise.
31332 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31333 __syscall_ulong_t.
31334
34683bb0
L
31335 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31336 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31337
84a68786
L
31338 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31339
48baa5f1
L
31340 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31341 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31342
180be88b
L
31343 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31344 __syscall_slong_t.
31345
5e90c8ad
L
31346 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31347 include <bits/wordsize.h>. Check __x86_64__ instead of
31348 __WORDSIZE.
31349
23dfb58b
L
31350 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31351 "unsigned long long int" if __x86_64__ is defined.
31352 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31353
ce5d54b0
L
31354 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31355 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31356 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31357
13dc9eac
L
31358 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31359 <stdint.h>.
31360 (GET_PC): Cast to uintptr_t first.
31361 (GET_FRAME): Likewise.
31362 (GET_STACK): Likewise.
31363
a7895d15
L
31364 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31365 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31366 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31367 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31368 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31369 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31370 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31371 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31372 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31373 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31374 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31375 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31376 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31377 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31378 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31379 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31380 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31381 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31382 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31383 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31384 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31385 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31386 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31387 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31388 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31389 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31390 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31391 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31392 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31393
656416c9
AS
313942012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31395
5bd66283
AS
31396 * Makerules (+depfiles): Also collect depfiles from .oS in
31397 $(extra-objs).
31398 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31399 .oS, $(libnldbl-routines)).
31400
656416c9
AS
31401 * Makerules (native-compile-mkdep-flags): Define.
31402 * sunrpc/Makefile (extra-objs): Add $(addprefix
31403 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31404 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31405 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31406 calling $(make-target-directory).
31407
a46f2169
L
314082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31409
31410 * bits/types.h (__snseconds_t): Removed.
31411 * time/time.h (struct timespec): Replace __snseconds_t with
31412 __syscall_slong_t.
31413 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31414 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31415 Likewise.
31416 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31417 (__SNSECONDS_T_TYPE): Likewise.
31418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31419 (__SNSECONDS_T_TYPE): Likewise.
31420 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31421 (__SNSECONDS_T_TYPE): Likewise.
31422
6af6528b
L
314232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31424
31425 * sysdeps/mach/hurd/bits/typesizes.h
31426 (__SYSCALL_SLONG_TYPE): New macro.
31427 (__SYSCALL_ULONG_TYPE): Likewise.
31428
de986b56
L
314292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31430
31431 * bits/types.h (__syscall_slong_t): New type.
31432 (__syscall_ulong_t): Likewise.
31433
31434 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31435 (__SYSCALL_ULONG_TYPE): Likewise.
31436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31437 (__SYSCALL_SLONG_TYPE): Likewise.
31438 (__SYSCALL_ULONG_TYPE): Likewise.
31439 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31440 (__SYSCALL_SLONG_TYPE): Likewise.
31441 (__SYSCALL_ULONG_TYPE): Likewise.
31442 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31443 (__SYSCALL_SLONG_TYPE): Likewise.
31444 (__SYSCALL_ULONG_TYPE): Likewise.
31445
85736dc7
L
314462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31447
31448 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31449 Add sigaltstack-offsets.sym.
31450 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31451 <sigaltstack-offsets.h>.
31452 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31453 longjmp_msg pointer.
31454 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31455 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31456 signal stack.
31457 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31458
cc03b296
JM
314592012-05-15 Joseph Myers <joseph@codesourcery.com>
31460
a9538892
JM
31461 * elf/stackguard-macros.h: Remove file.
31462 * sysdeps/generic/stackguard-macros.h: New file.
31463 * sysdeps/i386/stackguard-macros.h: Likewise.
31464 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31465 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31466 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31467 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31468 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31469 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31470 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31471 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31472 <elf/stackguard-macros.h>.
31473
cc03b296
JM
31474 [BZ #14109]
31475 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31476 __aligned__ in attribute.
31477 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31478 (gregset_t): Likewise.
31479
93171016
L
314802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31481
31482 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31483 * sysdeps/x86_64/64/Implies-after: Here. New file.
31484 * sysdeps/x86_64/x32/Implies-after: New file.
31485
d86813a0
L
314862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31487
31488 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31489 and access return value for _dl_profile_fixup. Use R10_LP to
31490 load frame size.
31491
2953ec75
L
314922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31493
31494 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31495
3b550e9e
L
314962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31497
31498 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31499 * sysdeps/x86_64/x32/sysdep.h: New file.
31500
eda41706
L
315012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31502
31503 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31504 * sysdeps/x86_64/setjmp.S: Likewise.
31505
9ea01d93
AZ
315062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31507
31508 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31509 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31510 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31511 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31512 remove unused global constant.
31513
02a91938
CM
315142012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31515
31516 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31517 include of <not-cancel.h>.
31518
6540185f
RM
315192012-05-15 Roland McGrath <roland@hack.frob.com>
31520
31521 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31522
509072a0
AJ
315232012-05-15 Jeff Law <law@redhat.com>
31524 Andreas Jaeger <aj@suse.de>
31525
31526 [BZ #13594]
31527 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31528 out from...
31529 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31530 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31531 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31532 code changing __hst_map_handle.map.
31533
ba75122d
RM
315342012-05-15 Roland McGrath <roland@hack.frob.com>
31535
31536 * configure.in (sysnames): Look for Implies-before and Implies-after
31537 files.
31538 * configure: Regenerated.
31539
890d8bd8
L
315402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31541
31542 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31543 8-byte data alignment with LP_SIZE alignment.
31544
f6ee6623
L
315452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31546
31547 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31548 into R10_LP.
31549
ea2626f6
L
315502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31551
31552 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31553
085f715e
L
315542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31555
31556 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31557 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31558 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31559 Likewise.
31560 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31561
be8498fc
L
315622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31563
31564 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31565 (stackinfo_sub_sp): Likewise.
31566
70bc83b9
L
315672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31568
31569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31570 RAX_LP.
31571
9bc0b730
L
315722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31573
31574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31575 into R*_LP.
31576
6d2850e7
L
315772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31578
31579 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31580 sizes into R*_LP.
31581
3cb84561
L
315822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31583
31584 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31585
54e2ed81
L
315862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31587
31588 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31589 into R11_LP and load __x86_64_shared_cache_size_half into
31590 R8_LP.
31591
8a17f349
L
315922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31593
31594 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31595 R8_LP.
31596
777b1eea
AZ
315972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31598
31599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31600 logb for POWER7.
31601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31602 logbf for POWER7.
31603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31604 logbl for POWER7.
31605 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31606 powerpc32/power7/fpu/s_logb.c via #include.
31607 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31608 powerpc32/power7/fpu/s_logbf.c via #include.
31609 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31610 powerpc32/power7/fpu/s_logbl.c via #include.
31611
d20d4ac2
JM
316122012-05-15 Joseph Myers <joseph@codesourcery.com>
31613
31614 * README.libm: Remove file.
31615
6cdef1ab
L
316162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31617
31618 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31619 count for x32. Use R*_LP and omit operand-size suffix.
31620
0b254d8f
L
316212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31622
31623 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31624 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31625 * sysdeps/x86_64/x32/shlib-versions: New file.
31626
ceb809dc
RM
316272012-05-14 Roland McGrath <roland@hack.frob.com>
31628
31629 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31630 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31631 Use _dl_fatal_printf instead.
31632
37f1abd4
JM
316332012-05-14 Joseph Myers <joseph@codesourcery.com>
31634
31635 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31636 set if not set by the user. Do not allow for being unset.
31637 * sysdeps/unix/sysv/linux/configure: Regenerated.
31638
11de3a33
L
316392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31640
31641 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31642 the `q' suffix from lea and replace .quad with ASM_ADDR.
31643
e02f153a
L
316442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31647 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31648 instead of $17.
31649 (PTR_DEMANGLE): Likewise.
31650
520ae0fd
L
316512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31652
31653 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31654 (LP_OP): Likewise.
31655 (ASM_ADDR): Likewise.
31656 (RAX_LP): Likewise.
31657 (RBP_LP): Likewise.
31658 (RBX_LP): Likewise.
31659 (RCX_LP): Likewise.
31660 (RDI_LP): Likewise.
31661 (RSI_LP): Likewise.
31662 (RSP_LP): Likewise.
31663 (R8_LP): Likewise.
31664 (R9_LP): Likewise.
31665 (R10_LP): Likewise.
31666 (R10_LP): Likewise.
31667 (R11_LP): Likewise.
31668 (R12_LP): Likewise.
31669 (R13_LP): Likewise.
31670 (R14_LP): Likewise.
31671 (R15_LP): Likewise.
31672
b985be81
L
316732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31674
31675 * sysdeps/x86_64/x32/dl-machine.h: New file.
31676
6a4888ff
AJ
316772012-05-14 Andreas Jaeger <aj@suse.de>
31678
31679 * manual/Makefile (subdir): Remove export of subdir.
31680 (all): Remove target.
31681 (.PHONY): Remove all from list.
31682 (mkinstalldirs): Remove.
31683 (.PHONY): Remove installdirs from list.
31684 ($(inst_infodir)/libc.info): Use make-target-directory.
31685 (installdirs): Remove.
31686 (subdir_%): Remove.
31687 (glibc-targets): Remove.
31688 (lib): Remove.
31689 (stubs): Remove.
31690 ($(objpfx)stubs ../po/manual.pot): Remove.
31691 ($(objpfx)stamp%): Remove.
31692 (make-target-directory): Remove.
31693 (subdir_install): Remove.
31694 (routines): Remove.
31695 (aux): Remove.
31696 (sources): Remove.
31697 (objects): Remove.
31698 (headers): Remove.
31699
31700 [BZ #13750]
31701 * manual/.gitignore: Remove, it's not needed anymore.
31702 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31703 all files in it.
31704 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31705 directory.
31706 (texis): Renamed to $(objpfx)texis.
31707 (texis-path): New, contains path to generated files.
31708 (chapters.%): Use texis-path for complete path, add extra argument
31709 libc-texinfo.sh.
31710 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31711 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31712 (summary,texi, stamp-summary): Use complete path of
31713 files. Generate files in build dir.
31714 (dir-add.texi): Build in build dir.
31715 (libm-err.texi,stamp-libm-err): Likewise.
31716 (version.texi, stamp-version): Likewise.
31717 (.%c.texi): Likewise.
31718 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31719 (mostlyclean): Remove target.
31720 (realclean): Remove target.
31721 (generated): Add new variable with contents from mostlyclean and
31722 realclean, remove entries duplicated in common-mostlyclean, add
31723 stamp-libm-err and stamp-version.
31724 (generated-dirs): Add libc directory.
31725 ($(inst_infodir)/libc.info): Install files from build dir.
31726
31727 * manual/install.texi (Configuring and compiling): Adjust since
31728 the info files are not part of the tar ball anymore.
31729
7ac77294
AJ
317302012-05-14 Andreas Jaeger <aj@suse.de>
31731
31732 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31733 variable.
31734
ffb7875d
JM
317352012-05-14 Joseph Myers <joseph@codesourcery.com>
31736
31737 [BZ #13717]
31738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31739 to 2.2.0 where earlier.
31740 * sysdeps/unix/sysv/linux/configure: Regenerated.
31741 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31742 Remove conditional code.
31743 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31744 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31745 Remove conditional code.
31746 [!__NR_lchown]: Likewise.
31747 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31748 [__NR_lchown]: Likewise.
31749 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31750 comment referencing __ASSUME_LCHOWN_SYSCALL.
31751 * sysdeps/unix/sysv/linux/i386/sigaction.c
31752 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31753 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31754 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31755 Remove conditional code.
31756 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31757 (__protocol_available): Remove #if 0 code.
31758 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31759 conditional code.
31760 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31761 * sysdeps/unix/sysv/linux/kernel-features.h
31762 (__ASSUME_GETCWD_SYSCALL): Don't define.
31763 (__ASSUME_REALTIME_SIGNALS): Likewise.
31764 (__ASSUME_PREAD_SYSCALL): Likewise.
31765 (__ASSUME_PWRITE_SYSCALL): Likewise.
31766 (__ASSUME_POLL_SYSCALL): Likewise.
31767 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31768 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31769 non-SPARC.
31770 (__ASSUME_SIOCGIFNAME): Don't define.
31771 (__ASSUME_MSG_NOSIGNAL): Likewise.
31772 (__ASSUME_SENDFILE): Define unconditionally.
31773 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31774 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31775 conditional code.
31776 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31777 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31778 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31779 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31780 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31781 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31782 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31784 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31787 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31790 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31793 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31796 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31799 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31802 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31805 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31807 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31808 Remove conditional code.
31809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31810 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31811 Remove conditional code.
31812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31813 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31814 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31815 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31816 Remove conditional code.
31817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31818 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31819 Remove conditional code.
31820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31821 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31822 Remove conditional code.
31823 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31824 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31825 Remove conditional code.
31826 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31827 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31828 Remove conditional code.
31829 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31830 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31831 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31832 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31833 * sysdeps/unix/sysv/linux/sigaction.c
31834 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31835 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31836 * sysdeps/unix/sysv/linux/sigpending.c
31837 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31838 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31839 * sysdeps/unix/sysv/linux/sigprocmask.c
31840 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31841 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31842 * sysdeps/unix/sysv/linux/sigsuspend.c
31843 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31844 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31845 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31846 (__libc_missing_rt_sigs): Remove.
31847 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31848 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31849 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31850 Remove conditional code.
31851 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31852 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31853 return 1.
31854 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31855 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31856 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31857 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31858
1bfb7291
AJ
318592012-05-14 Andreas Jaeger <aj@suse.de>
31860
caae5a81
AJ
31861 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31862 it's not used in glibc.
31863 (__coshm1): Likewise.
31864 (__acosh1p): Likewise.
31865 (__sgn): Likewise.
31866
1bfb7291
AJ
31867 * manual/string.texi (Copying and Concatenation): Add missing
31868 variable in concat example.
31869 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31870
c044d724
L
318712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31872
144c5467 31873 [BZ #14103]
c044d724
L
31874 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31875 __builtin_clzl with __builtin_clzll.
31876
2523c62b
L
318772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31878
31879 [BZ #14104]
31880 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31881 libc_freeres_ptr.
31882
d7bb4c42
LD
318832012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31884
31885 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31886 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31887 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31888 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31889
9dc4e1fb
MF
318902012-05-14 Mike Frysinger <vapier@gentoo.org>
31891
31892 * NEWS: Update ia64 info.
31893
c7df0112
AS
318942012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31895
31896 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31897 used as bcopy.
31898
dc70356c
TS
318992012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31900
31901 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31902 * sysdeps/unix/syscalls.list (dup3): Likewise.
31903 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31904 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31905
9fb1a21f
L
319062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31907
31908 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31909 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31910
4822a2a5
L
319112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31912
31913 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31914 thread pointer.
31915 (TLS_IE): Use mov/add instead of movq/addq to load thread
31916 pointer.
31917 (TLS_GD_PREFIX): New.
31918 (TLS_GD): Use it.
31919
842b81d6
DM
319202012-05-11 David S. Miller <davem@davemloft.net>
31921
31922 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31923 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31924 (_FPU_SETCW): Likewise.
31925
1cf463cd
L
319262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31927
31928 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31929 is 32-byte aligned.
31930
60cc4a18
AS
319312012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31932
31933 [BZ #11837]
31934 * iconvdata/gb18030.c: Update tables.
31935 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31936 characters specially.
31937 (BODY for TO_LOOP): Add encoding of missing ranges.
31938
febb44a4
TS
319392012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31940
31941 [BZ #13673]
31942 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31943 * sysdeps/mach/hurd/dup3.c: Likewise.
31944 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31945 * sysdeps/powerpc/memmove.c:: Likewise.
31946
0a10fb9e
L
319472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31948
31949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31950 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31951
df8a552f
L
319522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31953
31954 * elf/elf.h (R_X86_64_RELATIVE64): New.
31955 (R_X86_64_NUM): Updated.
31956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31957 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31958 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31959 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31960 tst-quad1pie tst-quad2pie
31961 (modules-names): Add tst-quadmod1 tst-quadmod2.
31962 ($(objpfx)tst-quad1): New dependency.
31963 ($(objpfx)tst-quad2): Likewise.
31964 ($(objpfx)tst-quad1pie): Likewise.
31965 ($(objpfx)tst-quad2pie): Likewise.
31966 * sysdeps/x86_64/tst-quad1.c: New file.
31967 * sysdeps/x86_64/tst-quad1pie.c: New file.
31968 * sysdeps/x86_64/tst-quad2.c: Likewise.
31969 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31970 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31971 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31972 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31973 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31974
f34d6f84
ST
319752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31976
f42d41d1
ST
31977 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31978 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31979 * streams/stropts.h (t_scalar_t): Define type.
31980
3c3571fc
ST
31981 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31982 (_PATH_PRESERVE): Set to "/var/lib".
31983 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31984
61f06bd3
ST
31985 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31986 instead of int.
31987
918d4d71
ST
31988 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31989 if __dir_mkfile succeeded.
31990
f34d6f84
ST
31991 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31992 checking for _hurd_dtablesize. Unlock it right after having
31993 finished _hurd_dtable allocation.
31994
10589b4a
TS
319952012-05-10 Thomas Schwinge <thomas@schwinge.name>
31996
674cdbc7
TS
31997 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31998 * sysdeps/mach/hurd/configure: Regenerated.
31999 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32000 special-casing to...
32001 * sysdeps/gnu/configure.in: ... this new file.
32002 * sysdeps/unix/sysv/linux/configure: Regenerated.
32003 * sysdeps/gnu/configure: New generated file.
32004
8e41b99f
TS
32005 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32006 for Linux: use nsec instead of usec, as well as:
32007 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32008 members of type struct timespec.
32009 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32010 New macros.
32011 (struct stat64): Likewise.
32012 (_STATBUF_ST_NSEC): New macro.
32013 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32014
10589b4a
TS
32015 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32016 __strtoul_internal rather than strtoul.
32017
63643c85
PT
320182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32019
32020 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32021 and reject them.
32022
3faebe6a
ST
320232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32024
32025 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32026 which preserves existing values.
32027 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32028
c6474b07
PT
320292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32030
32031 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32032 TIMEOUT values. Return EINVAL for NFDS values either negative or
32033 greater than FD_SETSIZE.
32034
1043890b
ST
320352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32036
32037 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32038 allocated, call __vm_protect to finish enabling the existing space, and
32039 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32040 allocate the remainder.
32041
37ed8b9b
PT
320422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32043
32044 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32045 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32046
db653660
ST
320472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32048
37ed8b9b
PT
32049 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32050 sysdeps/mach/hurd/readlink.c.
b29d4053 32051
db653660
ST
32052 * posix/tst-sysconf.c (posix_options): Only use
32053 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32054 _POSIX_SYNCHRONIZED_IO when they are defined
32055 * sysdeps/mach/hurd/bits/posix_opt.h:
32056 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32057 (_XOPEN_REALTIME): Undefine macro.
32058 (_XOPEN_REALTIME_THREADS): Undefine macro.
32059 (_XOPEN_SHM): Undefine macro.
32060 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32061 macro to -1.
32062 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32063 macro to -1.
32064 (_POSIX_ASYNC_IO): Undefine macro.
32065 (_POSIX_PRIORITIZED_IO): Undefine macro.
32066 (_POSIX_SPIN_LOCKS): Define macro to -1.
32067
ee16e894
ST
32068 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32069 SA_NODEFER, SA_RESETHAND.
32070 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32071 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32072 F_DUPFD_CLOEXEC.
32073
6103ae3b
TS
320742012-05-10 Thomas Schwinge <thomas@schwinge.name>
32075
32076 * elf/Makefile (pldd-modules): Define unconditionally.
32077
80b4e5f3
TS
320782012-05-10 Thomas Schwinge <thomas@schwinge.name>
32079
32080 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32081
edadcbd6
ST
320822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32083
32084 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32085 Return ENOENT when name is empty.
32086 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32087
80694780
TS
320882012-05-10 Thomas Schwinge <thomas@schwinge.name>
32089
1792c087
TS
32090 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32091
80694780
TS
32092 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32093
6b645f0d
ST
320942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32095
80694780
TS
32096 Fix mlock in all cases except non-readable pages.
32097 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32098 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32099
6b645f0d
ST
32100 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32101 (__mkdir): When path is `/', just fail with EEXIST.
32102 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32103
e468f8a3
TS
321042012-05-10 Thomas Schwinge <thomas@schwinge.name>
32105
32106 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32107 <sys/uio.h> (for writev).
32108 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32109 and <sys/param.h> (for MIN).
32110
a4186cff
PT
321112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32112
32113 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32114 REQUESTED_TIME. Properly set the remaining time and return EINTR
32115 if interrupted.
32116
510bbf14
TS
321172012-05-10 Thomas Schwinge <thomas@schwinge.name>
32118
32119 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32120 Depend on against $(link-rpcuserlibs).
32121
5d5722e8
ST
321222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32123
a4186cff
PT
32124 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32125 (__libc_stack_end): Do not use attribute_relro.
32126 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32127 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32128 to libthread-provided value.
a4186cff
PT
32129 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32130 attribute_relro.
5d5722e8 32131
37233df9
TS
321322012-05-10 Thomas Schwinge <thomas@schwinge.name>
32133
be971a2b
TS
32134 [BZ #3748]
32135 * bits/libc-lock.h (__libc_once_get): New macro.
32136 * sysdeps/mach/bits/libc-lock.h: Likewise.
32137 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32138 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32139 instead of using implementation details.
32140
37233df9
TS
32141 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32142 * libio/freopen.c: Likewise.
32143 * libio/freopen64.c: Likewise.
32144 * misc/syslog.c: Likewise.
32145 * nscd/connections.c: Likewise.
32146 * nscd/netgroupcache.c: Likewise.
32147 * sysdeps/posix/getcwd.c: Likewise.
32148
38de94a5
RM
321492012-05-10 Roland McGrath <roland@hack.frob.com>
32150
32151 * math/w_ilogbf.c: Add #include <limits.h>.
32152
67530489
ST
321532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32154
a4186cff 32155 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32156 path instead of returning without unlocking.
32157
67530489
ST
32158 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32159 immediate-write ioctls.
32160 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32161
5aa3a74a
TS
321622012-05-10 Thomas Schwinge <thomas@schwinge.name>
32163
18bad2ae
TS
32164 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32165 __builtin_frame_address instead of making assumptions about the
32166 location of the return address relative to DATA. Force early load of
32167 the return address.
32168 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32169 __builtin_frame_address.
32170
5aa3a74a
TS
32171 dup3 for GNU Hurd.
32172 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32173 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32174 implement dup3 and do some further code clean-ups.
32175 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32176 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32177
ecd0de9a
ST
321782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32179
cd9fa985
ST
32180 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32181
a4186cff
PT
32182 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32183 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32184 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32185 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32186 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32187 d->port.lock.
802ca5a5 32188
a4186cff
PT
32189 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32190 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32191 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32192
bcf55240
TS
321932012-05-10 Thomas Schwinge <thomas@schwinge.name>
32194
6960eb42
TS
32195 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32196 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32197 definitions.
32198
eb43375f
TS
32199 accept4 for GNU Hurd.
32200 * include/sys/socket.h (__libc_accept4): New prototype.
32201 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32202 to implement __libc_accept4.
32203 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32204 __libc_accept4.
32205 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32206
bcf55240
TS
32207 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32208 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32209 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32210 signal-defines.sym.
32211
6178c55b
ST
322122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32213
a4186cff 32214 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32215
6f080c2f
TS
322162012-05-10 Thomas Schwinge <thomas@schwinge.name>
32217
32218 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32219 assertion on O_CLOEXEC flag.
32220 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32221 * hurd/intern-fd.c: Likewise.
32222 * hurd/port2fd.c: Likewise.
32223
bcfe3a54
ST
322242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32225
32226 [BZ #3906]
32227 * bits/in.h (IPV6_PKTINFO): Define new macro.
32228 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32229
89c9aa49
AZ
322302012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32231
32232 [BZ #13954]
32233 [BZ #13955]
32234 [BZ #13956]
32235 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32236 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32237 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32238 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32239 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32240 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32241 * math/libm-test.inc (logb_test) : Additional logb tests.
32242
021db4be
AJ
322432012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32244 Andreas Jaeger <aj@suse.de>
32245
32246 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32247 * configure: Regenerated.
32248 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32249 * config.make.in (link-obsolete-rpc): New substituted variable.
32250 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32251 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32252 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32253 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32254 so that libc.a contains the symbols.
32255 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32256 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32257 * sunrpc/auth_none.c: Likewise.
32258 * sunrpc/auth_unix.c: Likewise.
32259 * sunrpc/authdes_prot.c: Likewise.
32260 * sunrpc/authuxprot.c: Likewise.
32261 * sunrpc/clnt_gen.c: Likewise.
32262 * sunrpc/clnt_perr.c: Likewise.
32263 * sunrpc/clnt_raw.c: Likewise.
32264 * sunrpc/clnt_simp.c: Likewise.
32265 * sunrpc/clnt_tcp.c: Likewise.
32266 * sunrpc/clnt_udp.c: Likewise.
32267 * sunrpc/clnt_unix.c: Likewise.
32268 * sunrpc/des_crypt.c: Likewise.
32269 * sunrpc/des_soft.c: Likewise.
32270 * sunrpc/get_myaddr.c: Likewise.
32271 * sunrpc/key_call.c: Likewise.
32272 * sunrpc/key_prot.c: Likewise.
32273 * sunrpc/netname.c: Likewise.
32274 * sunrpc/pm_getmaps.c: Likewise.
32275 * sunrpc/pm_getport.c: Likewise.
32276 * sunrpc/pmap_clnt.c: Likewise.
32277 * sunrpc/pmap_prot.c: Likewise.
32278 * sunrpc/pmap_prot2.c: Likewise.
32279 * sunrpc/pmap_rmt.c: Likewise.
32280 * sunrpc/publickey.c: Likewise.
32281 * sunrpc/rpc_cmsg.c: Likewise.
32282 * sunrpc/rpc_common.c: Likewise.
32283 * sunrpc/rpc_dtable.c: Likewise.
32284 * sunrpc/rpc_prot.c: Likewise.
32285 * sunrpc/rpc_thread.c: Likewise.
32286 * sunrpc/rtime.c: Likewise.
32287 * sunrpc/svc.c: Likewise.
32288 * sunrpc/svc_auth.c: Likewise.
32289 * sunrpc/svc_raw.c: Likewise.
32290 * sunrpc/svc_run.c: Likewise.
32291 * sunrpc/svc_tcp.c: Likewise.
32292 * sunrpc/svc_udp.c: Likewise.
32293 * sunrpc/svc_unix.c: Likewise.
32294 * sunrpc/svcauth_des.c: Likewise.
32295 * sunrpc/xcrypt.c: Likewise.
32296 * sunrpc/xdr.c: Likewise.
32297 * sunrpc/xdr_array.c: Likewise.
32298 * sunrpc/xdr_float.c: Likewise.
32299 * sunrpc/xdr_intXX_t.c: Likewise.
32300 * sunrpc/xdr_mem.c: Likewise.
32301 * sunrpc/xdr_rec.c: Likewise.
32302 * sunrpc/xdr_ref.c: Likewise.
32303 * sunrpc/xdr_sizeof.c: Likewise.
32304 * sunrpc/xdr_stdio.c: Likewise.
32305
b5c086a2
RM
323062012-05-10 Roland McGrath <roland@hack.frob.com>
32307
32308 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32309 change. Update copyright years.
32310
6d74dd09
JM
323112012-05-10 Joseph Myers <joseph@codesourcery.com>
32312
32313 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32314
28e72501
MK
323152012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32316 Joseph Myers <joseph@codesourcery.com>
32317 Paul Pluzhnikov <ppluzhnikov@google.com>
32318
32319 [BZ #14012]
32320 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32321 requiring rpcgen.
32322 [cross-compiling] (extra-libs): Likewise.
32323 [cross-compiling] (extra-libs-others): Likewise.
32324 [cross-compiling] (librpcsvc-routines): Likewise.
32325 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32326 [cross-compiling] (omit-deps): Likewise.
32327 (sunrpc-CPPFLAGS): New variable.
32328 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32329 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32330 (cross-rpcgen-objs): New variable.
32331 (extra-objs): Append $(cross-rpcgen-objs).
32332 ($(cross-rpcgen-objs)): New rule.
32333 ($(objpfx)cross-rpcgen): Likewise.
32334 (rpcgen-cmd): Define to use $(built-program-file). Expand
32335 comment.
32336 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32337 ($(objpfx)x%.stmp): Likewise.
32338 * sunrpc/proto.h [IS_IN_build] (_): Define.
32339 [IS_IN_build] (_libc_intl_domainname): Likewise.
32340
c8c59454
L
323412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32342
32343 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32344 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32345 and R_X86_64_TPOFF64.
32346
6f27cd16
JM
323472012-05-10 Joseph Myers <joseph@codesourcery.com>
32348
32349 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32350 sysdeps/unix/sysv/syscalls.list.
32351 (stime): Likewise.
32352 (utime): Likewise.
32353 * sysdeps/unix/sysv/syscalls.list: Remove file.
32354
02467e1c
PE
323552012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32356
32357 [BZ #3440]
32358 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32359 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32360 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32361 (__LC_IDENTIFICATION): Make these macros useful in #if
32362 expressions, as required by C99.
32363
da392631
AS
323642012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32365
32366 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32367 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32368 after this.
32369
8115f29b
L
323702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32371
32372 * stdlib/longlong.h: Updated from GCC.
32373
bdd74070
AJ
323742012-05-09 Andreas Jaeger <aj@suse.de>
32375
edfe0dbe
AJ
32376 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32377 default is first entry.
32378 (run_mode): Set type.
32379 (main): Remove informal message about syslog.
32380 (options): Fix typo.
32381
bcfe3a54
ST
32382 [BZ #14053]
32383 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32384 to asm.
bcfe3a54
ST
32385 (lrint): Likewise.
32386 (llrintf): Likewise.
32387 (llrint): Likewise.
32388 (rint): Likewise.
32389 (rintf): Likewise.
32390 (nearbyint): Likewise.
32391 (nearbyintf): Likewise.
bdd74070 32392
91d8d69e
AJ
323932012-05-09 Andreas Jaeger <aj@suse.de>
32394 Pedro Alves <palves@redhat.com>
32395
32396 * nscd/nscd.c (run_mode): Use enum.
32397 (main): Cleanup coding style issue.
32398
bb90b80b
AJ
323992012-05-09 Alexandre Oliva <aoliva@redhat.com>
32400 Andreas Jaeger <aj@suse.de>
32401
bcfe3a54
ST
32402 * nscd/nscd.c (go_background): Replaced with...
32403 (run_mode): ... this.
bb90b80b 32404 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32405 (options): Add -F --foreground.
32406 (main): Implement it.
32407 (parse_opt): Parse it.
bb90b80b 32408
1a4b75a1
AJ
324092012-05-09 Andreas Jaeger <aj@suse.de>
32410
32411 [BZ #14083]
32412 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32413 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32414 -Wconversion warning.
32415 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32416 Likewise.
32417
b1cc2472
JM
324182012-05-09 Joseph Myers <joseph@codesourcery.com>
32419
32420 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32421 == 0.
32422 (LC_ALL): Use macro-int-constant.
32423 (LC_COLLATE): Likewise.
32424 (LC_CTYPE): Likewise.
32425 (LC_MESSAGES): Likewise.
32426 (LC_MONETARY): Likewise.
32427 (LC_NUMERIC): Likewise.
32428 (LC_TIME): Likewise.
32429 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32430 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32431 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32432 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32433 Specify type.
32434 [C99-based standards] (float_t): Expect type.
32435 [C99-based standards] (double_t): Expect type.
32436 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32437 type.
32438 [C99-based standards] (HUGE_VALL): Likewise.
32439 [C99-based standards] (INFINITY): Likewise.
32440 [C99-based standards] (NAN): Likewise.
32441 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32442 [C99-based standards] (FP_NAN): Likewise.
32443 [C99-based standards] (FP_NORMAL): Likewise.
32444 [C99-based standards] (FP_SUBNORMAL): Likewise.
32445 [C99-based standards] (FP_ZERO): Likewise.
32446 [C99-based standards] (FP_FAST_FMA): Use
32447 optional-macro-int-constant. Specify type. Require == 1.
32448 [C99-based standards] (FP_FAST_FMAF): Likewise.
32449 [C99-based standards] (FP_FAST_FMAL): Likewise.
32450 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32451 [C99-based standards] (FP_ILOGBNAN): Likewise.
32452 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32453 Specify type.
32454 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32455 [C99-based standards] (math_errhandling): Specify type.
32456 [ISO99 || ISO11] (signgam): Do not allow.
32457 [non-C99-based standards] (copysignf): Do not allow.
32458 [non-C99-based standards] (exp2f): Likewise.
32459 [non-C99-based standards] (log2f): Likewise.
32460 [non-C99-based standards] (modff): Allow.
32461 [non-C99-based standards] (erff): Do not allow.
32462 [non-C99-based standards] (erfcf): Likewise.
32463 [non-C99-based standards] (gammaf): Likewise.
32464 [non-C99-based standards] (hypotf): Likewise.
32465 [non-C99-based standards] (j0f): Likewise.
32466 [non-C99-based standards] (j1f): Likewise.
32467 [non-C99-based standards] (jnf): Likewise.
32468 [non-C99-based standards] (lgammaf): Likewise.
32469 [non-C99-based standards] (tgammaf): Likewise.
32470 [non-C99-based standards] (y0f): Likewise.
32471 [non-C99-based standards] (y1f): Likewise.
32472 [non-C99-based standards] (ynf): Likewise.
32473 [non-C99-based standards] (isnanf): Likewise.
32474 [non-C99-based standards] (acoshf): Likewise.
32475 [non-C99-based standards] (asinhf): Likewise.
32476 [non-C99-based standards] (atanhf): Likewise.
32477 [non-C99-based standards] (cbrtf): Likewise.
32478 [non-C99-based standards] (expm1f): Likewise.
32479 [non-C99-based standards] (ilogbf): Likewise.
32480 [non-C99-based standards] (log1pf): Likewise.
32481 [non-C99-based standards] (logbf): Likewise.
32482 [non-C99-based standards] (nextafterf): Likewise.
32483 [non-C99-based standards] (remainderf): Likewise.
32484 [non-C99-based standards] (rintf): Likewise.
32485 [non-C99-based standards] (scalbf): Likewise.
32486 [non-C99-based standards] (copysignl): Likewise.
32487 [non-C99-based standards] (exp2l): Likewise.
32488 [non-C99-based standards] (log2l): Likewise.
32489 [non-C99-based standards] (modfl): Allow.
32490 [non-C99-based standards] (erfl): Do not allow.
32491 [non-C99-based standards] (erfcl): Likewise.
32492 [non-C99-based standards] (gammal): Likewise.
32493 [non-C99-based standards] (hypotl): Likewise.
32494 [non-C99-based standards] (j0l): Likewise.
32495 [non-C99-based standards] (j1l): Likewise.
32496 [non-C99-based standards] (jnl): Likewise.
32497 [non-C99-based standards] (lgammal): Likewise.
32498 [non-C99-based standards] (tgammal): Likewise.
32499 [non-C99-based standards] (y0l): Likewise.
32500 [non-C99-based standards] (y1l): Likewise.
32501 [non-C99-based standards] (ynl): Likewise.
32502 [non-C99-based standards] (isnanl): Likewise.
32503 [non-C99-based standards] (acoshl): Likewise.
32504 [non-C99-based standards] (asinhl): Likewise.
32505 [non-C99-based standards] (atanhl): Likewise.
32506 [non-C99-based standards] (cbrtl): Likewise.
32507 [non-C99-based standards] (expm1l): Likewise.
32508 [non-C99-based standards] (ilogbl): Likewise.
32509 [non-C99-based standards] (log1pl): Likewise.
32510 [non-C99-based standards] (logbl): Likewise.
32511 [non-C99-based standards] (nextafterl): Likewise.
32512 [non-C99-based standards] (remainderl): Likewise.
32513 [non-C99-based standards] (rintl): Likewise.
32514 [non-C99-based standards] (scalbl): Likewise.
32515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32516 [non-C99-based standards] (FP_*): Do not allow.
32517 [C99-based standards] (FP_*): Change to
32518 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32519 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32520 allow.
32521 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32522 (SIG_ERR): Likewise.
32523 [X/Open-based standards] (SIG_HOLD): Likewise.
32524 (SIG_IGN): Likewise.
32525 (SIGABRT): Use macro-int-constant. Specify type. Require
32526 positive value.
32527 (SIGFPE): Likewise.
32528 (SIGILL): Likewise.
32529 (SIGINT): Likewise.
32530 (SIGSEGV): Likewise.
32531 (SIGTER): Likewise.
32532 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32533 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32534 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32535 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32536 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32537 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32538 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32539 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32540 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32541 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32542 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32543 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32544 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32545 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32546 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32547 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32548 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32549 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32550 [X/Open-based standards] (SIGTRAP): Likewise.
32551 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32552 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32553 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32554 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32555 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32556 allow.
32557
b9f1922d
IW
325582012-05-08 Ian Wienand <ianw@vmware.com>
32559
32560 [BZ #14080]
32561 * time/tzset.c (__tzset_parse_tz): Update default rules for
32562 daylight time changes in the Energy Policy Act of 2005.
32563
1db86e88
AJ
325642012-05-09 Andreas Jaeger <aj@suse.de>
32565
32566 [BZ #13983]
32567 * elf/ldconfig.c (parse_conf): Change string to make clear that
32568 ldconfig only issued a warning if ld.so.conf does not exist.
32569
dee4a4e3
DM
325702012-05-08 David S. Miller <davem@davemloft.net>
32571
ee0db190
DM
32572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32573 movxtod instead of popping the value on the stack.
32574
dee4a4e3
DM
32575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32576
6a43ec98
CD
325772012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32578
32579 * config.h.in: Add HAVE_ARM_PCS_VFP.
32580
05c2c961
RMG
325812012-05-08 Roland Mc Grath <roland@hack.frob.com>
32582
bcfe3a54
ST
32583 [BZ #13979]
32584 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32585 checking but the checks are disabled for any reason.
05c2c961 32586
4b30f61a
L
325872012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32588
32589 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32590 and ELF64_R_TYPE with ELFW(R_TYPE).
32591
eee2bc67
JM
325922012-05-08 Joseph Myers <joseph@codesourcery.com>
32593
7ea5391a
JM
32594 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32595 (ulimit): Likewise.
32596
eee2bc67
JM
32597 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32598 (settimeofday): Likewise.
32599
abb66a67
MF
326002012-05-08 Mike Frysinger <vapier@gentoo.org>
32601
32602 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32603 a struct th_u2 inside the union, and move tu_block/tu_code into
32604 a new th_u3 union of tu_block/tu_code inside of that. Move
32605 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32606 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32607 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32608 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32609 (th_stuff): Change to th_u1.tu_stuff.
32610 (th_data): Define.
32611 (th_msg): Change to th_u1.th_u2.tu_data.
32612
7f18b530
DM
326132012-05-07 David S. Miller <davem@davemloft.net>
32614
05760585
DM
32615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32616
7f18b530
DM
32617 [BZ #14074]
32618 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32619 (SETUP_PIC_REG): Use it.
32620 (SETUP_PIC_REG_LEAF): Use it.
32621
495fd99f
JM
326222012-05-07 Joseph Myers <joseph@codesourcery.com>
32623
32624 [BZ #13885]
32625 [BZ #13923]
32626 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32627 USE_AS_EXPM1L.
32628 (EXPL_FINITE): Likewise.
32629 (FLDLOG): Likewise.
32630 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32631 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32632 e_expl.S.
32633 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32634 USE_AS_EXPM1L.
32635 (EXPL_FINITE): Likewise.
32636 (FLDLOG): Likewise.
32637 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32638 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32639 e_expl.S.
32640 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32641 test of -max_value argument for long double.
32642 * sysdeps/i386/fpu/libm-test-ulps: Update.
32643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32644
6693d694
DM
326452012-05-06 David S. Miller <davem@davemloft.net>
32646
32647 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32648 quad soft-float symbols whose references which are compiler
32649 generated.
32650 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32651
6c23e11c
JM
326522012-05-06 Joseph Myers <joseph@codesourcery.com>
32653
d8b82cad
JM
32654 [BZ #13884]
32655 [BZ #13914]
32656 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32657 USE_AS_EXP10L.
32658 (EXPL_FINITE): Likewise.
32659 (FLDLOG): Likewise.
32660 (c0): Likewise.
32661 (c1): Likewise.
32662 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32663 Adjust comments for base varying.
32664 (__expl_finite): Change alias to EXPL_FINITE.
32665 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32666 e_expl.S.
32667 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32668 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32669 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32670 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32671 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32672 USE_AS_EXP10L.
32673 (EXPL_FINITE): Likewise.
32674 (FLDLOG): Likewise.
32675 (c0): Likewise.
32676 (c1): Likewise.
32677 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32678 Adjust comments for base varying.
32679 (__expl_finite): Change alias to EXPL_FINITE.
32680 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32681 tests for bugs.
32682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32683
6c23e11c
JM
32684 [BZ #14064]
32685 * math/libm-test.inc (check_float_internal): Correct ulp
32686 calculation for subnormal expected results.
32687
29ba805c
AJ
326882012-05-06 Andreas Jaeger <aj@suse.de>
32689
32690 * Makeconfig (+math-flags): New, set to -frounding-math.
32691 (+cflags): Add +math-flags so that all of glibc gets compiled with
32692 it.
32693
32694 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32695
7b17aeda
JM
326962012-05-05 Joseph Myers <joseph@codesourcery.com>
32697
5779f134
JM
32698 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32699 Disable one test.
32700
41498f4d
JM
32701 [BZ #13787]
32702 [BZ #13922]
32703 [BZ #14036]
32704 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32705 (__ieee754_expl): Allow for and saturate large arguments.
32706 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32707 (u_threshold): Likewise.
32708 (__exp): Call __ieee754_exp before checking for overflow and
32709 underflow.
32710 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32711 (u_threshold): Likewise.
32712 (__expf): Call __ieee754_expf before checking for overflow and
32713 underflow.
32714 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32715 (u_threshold): Likewise.
32716 (__expl): Call __ieee754_expl before checking for overflow and
32717 underflow.
32718 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32719 (__ieee754_expl): Allow for and saturate large arguments.
32720 * math/libm-test.inc (exp_test): Add another test. Do not allow
32721 missing overflow exception on overflow.
32722 (expm1_test): Do not allow missing overflow exception on overflow.
32723
6698b8bf
JM
32724 * sysdeps/i386/fpu/e_expl.c: Move to ...
32725 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32726 rather than using inline asm.
32727 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32728 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32729 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32730
7b17aeda
JM
32731 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32732 (nice): Likewise.
32733 (poll): Likewise.
32734 (signal): Likewise.
32735 (time): Likewise.
32736 (times): Likewise.
32737
f7c85819
JM
327382012-05-04 Joseph Myers <joseph@codesourcery.com>
32739
32740 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32741 sysdeps/unix/common/syscalls.list.
32742 (fchmod): Likewise.
32743 (fchown): Likewise.
32744 (ftruncate): Likewise.
32745 (getrusage): Likewise.
32746 (gettimeofday): Likewise.
32747 (setpgid): Likewise.
32748 (setregid): Likewise.
32749 (setreuid): Likewise.
32750 (sigaction): Likewise.
32751 (truncate): Likewise.
32752 (vhangup): Likewise.
32753 * sysdeps/unix/common/syscalls.list: Remove file.
32754 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32755 * sysdeps/unix/sysv/linux/Implies: Likewise.
32756
336270d0
L
327572012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32758
32759 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32761 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32762 Moved to ...
32763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32764 Here.
32765 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32766 to ...
32767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32768 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32769 to ...
32770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32771 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32772 to ...
32773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32774 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32775 to ...
32776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32777 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32778 to ...
32779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32780 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32781 to ...
32782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32783 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32784 to ...
32785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32786 Here.
32787 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32788 to ...
32789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32790 Here.
32791 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32792 to ...
32793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32794 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32795 Moved to ...
32796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32797 Here.
32798 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32799 to ...
32800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32801
d128e450
JM
328022012-05-04 Joseph Myers <joseph@codesourcery.com>
32803
fa8ee516
JM
32804 * sysdeps/unix/common/bits/dirent.h: Remove file.
32805 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32806
d128e450
JM
32807 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32808 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32809 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32810 * sysdeps/unix/bsd/isatty.c: Likewise.
32811 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32812 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32813 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32814
ff8faaf0 328152012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32816
62881be4 32817 [BZ #13563]
31dc8730
AZ
32818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32819 long double comparison inaccuracies.
32820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32822
6fef930c
AS
328232012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32824
32825 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32827
8f203e6c
JM
328282012-05-04 Joseph Myers <joseph@codesourcery.com>
32829
32830 [BZ #14049]
32831 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32832 nonzero digits before rounding a hex value.
32833 * stdlib/tst-strtod.c (tests): Add another test.
32834
5197d9c2
AK
328352012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32836
32837 * sysdeps/s390/fpu/libm-test-ulps: Update.
32838
f0c1dedf
AJ
328392012-05-03 Andreas Jaeger <aj@suse.de>
32840
32841 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32842 does not get optimized out.
32843 (malloc_opt_barrier): New.
32844
a65ef2ae 328452012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32846 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32847
2b942cb7 32848 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32849 intermediate file deletion.
2b942cb7 32850 (generated): Add .symlist files.
a65ef2ae 32851
54b71e02
JM
328522012-05-03 Joseph Myers <joseph@codesourcery.com>
32853
32854 [BZ #13775]
32855 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32856 Redirect under this condition.
32857 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32858 [__USE_GNU] (__dprintf_chk): Not under this condition.
32859 [__USE_GNU] (__vdprintf_chk): Likewise.
32860 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32861 under this condition.
32862 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32863 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32864 [__USE_XOPEN2K8] (vdprintf): Likewise.
32865 [__USE_GNU] (__dprintf_chk): Not under this condition.
32866 [__USE_GNU] (__vdprintf_chk): Likewise.
32867 [__USE_GNU] (dprintf): Likewise.
32868 [__USE_GNU] (vdprintf): Likewise.
32869
d3dfcc41
RM
328702012-05-03 Roland McGrath <roland@hack.frob.com>
32871
32872 * elf/Makefile (common-generated): Set this instead of generated for
32873 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32874 $(all-built-dso)-derived lists.
32875
7ac30cc5
AJ
328762012-05-03 Andreas Jaeger <aj@suse.de>
32877
0c51e550
AJ
32878 * sysdeps/i386/fpu/libm-test-ulps: Update.
32879
7ac30cc5
AJ
32880 * FAQ: Removed.
32881 * FAQ.in: Likewise.
32882 * scripts/gen-FAQ.pl: Likewise.
32883 * manual/install.texi (Installation): Point to online location of
32884 FAQ.
32885 * Makefile (files-for-dist): Remove FAQ.
32886 (FAQ): Remove.
32887
d4c2917f
AM
328882012-05-02 Allan McRae <allan@archlinux.org>
32889
32890 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32891 (LDFLAGS-reldepmod5.so): Likewise.
32892 (LDFLAGS-reldep6mod1.so): Likewise.
32893 (LDFLAGS-reldep6mod4.so): Likewise.
32894 (LDFLAGS-reldep8mod3.so): Likewise.
32895 (LDFLAGS-unload4mod1.so): Likewise.
32896 (LDFLAGS-unload4mod2.so): Likewise.
32897 (LDFLAGS-tst-initorder): Likewise.
32898 (LDFLAGS-tst-initordera2.so): Likewise.
32899 (LDFLAGS-tst-initordera3.so): Likewise.
32900 (LDFLAGS-tst-initordera4.so): Likewise.
32901 (LDFLAGS-tst-initorderb2.so): Likewise.
32902 (LDFLAGS-noload): Likewise.
32903 (LDFLAGS-next): Likewise.
32904 (LDFLAGS-order2mod1.so): Likewise.
32905 (LDFLAGS-order2mod2.so): Likewise.
32906 (LDFLAGS-tst-initorder2): Likewise.
32907 (LDFLAGS-tst-initorder2a.so): Likewise.
32908 (LDFLAGS-tst-initorder2b.so): Likewise.
32909 (LDFLAGS-tst-initorder2c.so): Likewise.
32910 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32911
d77f993f
DM
329122012-05-02 David S. Miller <davem@davemloft.net>
32913
32914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32915
171a70b4
PP
329162012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32917
32918 [BZ #14055]
32919 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32920
0be196ad
AJ
329212012-05-02 Andreas Jaeger <aj@suse.de>
32922
32923 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32924 since we manipulate rounding mode.
32925 (CPPFLAGS-test-idouble.c): Likewise.
32926 (CPPFLAGS-test-ifloat.c): Likewise.
32927 (CFLAGS-test-ldouble.c): Likewise.
32928 (CFLAGS-test-double.c): Likewise.
32929 (CFLAGS-test-float.c): Likewise.
32930 (CFLAGS-test-misc.c): Likewise.
32931 (CFLAGS-test-test-fenv.c): Likewise.
32932
4f9d04aa
AZ
329332012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32934
2b942cb7
RM
32935 [BZ #2550]
32936 [BZ #2570]
32937 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32938 comparisons to determine direction to adjust input.
4f9d04aa 32939
82a79e7d
RM
329402012-05-01 Roland McGrath <roland@hack.frob.com>
32941
f5a01ca9
RM
32942 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32943 output to the target.
32944
90fe4186
RM
32945 * scripts/localplt.awk: New file.
32946 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32947 (check-localplt-CFLAGS): Variable removed.
32948 ($(all-built-dso:=.jmprel)): New static pattern rule.
32949 (generated): Add those targets.
32950 (localplt-built-dso): New variable.
32951 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32952
32953 * elf/check-localplt.c: File removed.
32954
82397ed6
RM
32955 * scripts/check-execstack.awk: New file.
32956 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32957 (check-execstack-CFLAGS): Variable removed.
32958 ($(objpfx)check-execstack.h): Target removed.
32959 ($(objpfx)execstack-default): New target.
32960 (generated): Add that instead of check-execstack.h.
32961 ($(all-built-dso:=.phdr)): New static pattern rule.
32962 (generated): Add those targets.
32963 * elf/check-execstack.c: File removed.
32964
82a79e7d
RM
32965 * scripts/check-textrel.awk: New file.
32966 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32967 (check-textrel-CFLAGS): Variable removed.
32968 (all-built-dso): Use := to define.o
32969 ($(all-built-dso:=.dyn)): New static pattern rule.
32970 (generated): Add those targets.
32971 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32972 * config.make.in (READELF): New substituted variable.
32973 * elf/check-textrel.c: File removed.
32974
62fde54f 329752012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32976
615605c9
JM
32977 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32978 allow.
32979 * conform/data/ctype.h-data [C99-based standards] (isblank):
32980 Expect function.
32981 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32982 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32984 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32985 Specify type. Require positive value.
32986 (EILSEQ): Likewise.
32987 (ERANGE): Likewise.
32988 [ISO || POSIX] (EILSEQ): Do not expect.
32989 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32990 Specify type. Require positive value.
32991 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32992 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32993 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32994 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32995 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32996 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32997 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32998 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32999 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33000 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33001 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33002 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33003 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33004 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33005 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33006 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33007 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33008 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33009 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33010 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33011 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33012 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33013 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33014 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33015 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33016 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33017 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33018 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33019 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33020 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33021 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33022 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33023 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33024 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33025 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33026 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33027 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33028 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33029 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33030 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33031 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33032 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33033 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33034 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33035 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33036 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33037 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33038 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33039 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33040 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33041 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33042 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33043 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33044 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33045 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33046 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33047 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33048 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33049 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33050 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33051 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33052 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33053 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33054 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33055 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33056 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33057 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33058 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33059 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33060 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33061 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33062 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33063 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33064 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33065 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33066 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33067 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33068 Require >= 2.
33069 (FLT_ROUNDS): Expect as macro, not constant.
33070 (FLT_MANT_DIG): Use macro-int-constant.
33071 (DBL_MANT_DIG): Likewise.
33072 (LDBL_MANT_DIG): Likewise.
33073 (FLT_DIG): Likewise.
33074 (DBL_DIG): Likewise.
33075 (LDBL_DIG): Likewise.
33076 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33077 (DBL_MIN_EXP): Likewise.
33078 (LDBL_MIN_EXP): Likewise.
33079 (FLT_MAX_EXP): Use macro-int-constant.
33080 (DBL_MAX_EXP): Likewise.
33081 (LDBL_MAX_EXP): Likewise.
33082 (FLT_MAX_10_EXP): Likewise.
33083 (DBL_MAX_10_EXP): Likewise.
33084 (LDBL_MAX_10_EXP): Likewise.
33085 (FLT_MAX): Use macro-constant.
33086 (DBL_MAX): Likewise.
33087 (LDBL_MAX): Likewise.
33088 (FLT_EPSILON): Use macro-constant. Give upper bound.
33089 (DBL_EPSILON): Likewise.
33090 (LDBL_EPSILON): Likewise.
33091 (FLT_MIN): Likewise.
33092 (DBL_MIN): Likewise.
33093 (LDBL_MIN): Likewise.
33094 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33095 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33096 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33097 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33098 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33099 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33100 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33101 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33102 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33103 [ISO11] (FLT_TRUE_MIN): Likewise.
33104 [ISO11] (LDBL_TRUE_MIN): Likewise.
33105 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33106 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33107 (SCHAR_MIN): Use macro-int-constant. Specify type.
33108 (SCHAR_MAX): Likewise.
33109 (UCHAR_MAX): Likewise.
33110 (CHAR_MIN): Likewise.
33111 (CHAR_MAX): Likewise.
33112 (MB_LEN_MAX): Use macro-int-constant.
33113 (SHRT_MIN): Use macro-int-constant. Specify type.
33114 (SHRT_MAX): Likewise.
33115 (USHRT_MAX): Likewise.
33116 (INT_MAX): Likewise.
33117 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33118 bound negative.
33119 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33120 bound with "U".
33121 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33122 bound with "L".
33123 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33124 bound negative. Suffix upper bound with "L".
33125 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33126 bound with "UL".
33127 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33128 Specify type.
33129 [C99-based standards] (LLONG_MAX): Likewise.
33130 [C99-based standards] (ULLONG_MAX): Likewise.
33131 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33132 == 0.
33133 [ISO11] (max_align_t): Require type.
33134 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33135
c9140a62
JM
33136 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33137 from $CFLAGS, without defining away __attribute__ calls.
33138 (checknamespace): Use $CFLAGS_namespace.
33139
9af0bf29
JM
33140 * conform/conformtest.pl (@keywords): Only include C99 keywords
33141 for standards based on C99 or C11.
33142
343222a2
JM
33143 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33144 Disable tests.
33145 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33146 UNIX98]: Likewise.
33147
661f8cf0
JM
33148 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33149 usability of symbols in #if.
33150
ee74b9cb
JM
33151 * conform/conformtest.pl: If macro or constant types start
33152 "promoted:", expect the symbol to be of the following type
33153 promoted by the integer promotions.
62fde54f 33154
aafc49b3
JM
33155 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33156 in one place. Also handle "macro-constant".
33157
fefdf574
JM
33158 * conform/conformtest.pl: Only accept expected macro values with
33159 "==". Parse all "macro" lines in one place.
33160 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33161
f2d922fe
JM
33162 * conform/conformtest.pl: Handle braced types on "constant" lines
33163 instead of handling "typed-constant".
33164 * conform/data/signal.h-data: Use "constant" instead of
33165 "typed-constant".
33166
d22956c9
JM
33167 * conform/conformtest.pl: Handle "optional-" at start of lines in
33168 one place rather than duplicating several cases. Handle each
33169 format of "macro" line with initial "optional-".
33170
028e2e38
JM
33171 * conform/conformtest.pl: Only accept expected constant or
33172 optional-constant values with "==". Parse all "constant" lines in
33173 one place. Parse all "optional-constant" lines in one place.
33174 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33175 * conform/data/fmtmsg.h-data: Likewise.
33176 * conform/data/netinet/in.h-data: Likewise.
33177 * conform/data/tar.h-data: Likewise.
33178 * conform/data/limits.h-data: Use "==" form on "constant" and
33179 "optional-constant" lines.
33180
1b8f2850
JM
33181 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33182 Use -std=c99 for XOPEN2K.
33183 (@knownproblems): Remove.
33184 (newtoken): Don't check %isknown.
33185
a05a144b
JM
33186 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33187 Do not expect macro.
33188 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33189 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33190 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33191 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33192 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33193 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33194 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33195 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33196 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33197 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33198 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33199 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33200 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33201 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33202 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33203 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33204 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33205 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33206 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33207 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33208 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33209 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33210 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33211 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33212 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33213 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33214 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33215 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33216 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33217 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33218 [XPG3] (acosh): Likewise.
33219 [XPG3] (asinh): Likewise.
33220 [XPG3] (atanh): Likewise.
33221 [XPG3] (cbrt): Likewise.
33222 [XPG3] (expm1): Likewise.
33223 [XPG3] (ilogb): Likewise.
33224 [XPG3] (log1p): Likewise.
33225 [XPG3] (logb): Likewise.
33226 [XPG3] (nextafter): Likewise.
33227 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33228 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33229 [XPG3] (remainder): Likewise.
33230 [XPG3] (rint): Likewise.
33231 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33232 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33233 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33234 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33235 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33236 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33237 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33238 [UNIX98 || XOPEN2K] (scalb): Expect.
33239 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33240 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33241 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33242 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33243 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33244 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33245 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33246 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33247 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33248 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33249 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33250 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33251 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33252 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33253 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33254 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33255 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33256 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33257 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33258 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33259 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33260 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33261 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33262 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33263 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33264 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33265 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33266 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33267 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33268 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33269 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33270 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33271 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33272 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33273 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33274 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33275 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33276 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33277 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33278 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33279 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33280 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33281 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33282 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33283 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33284 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33285 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33286 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33287 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33288 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33289 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33290 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33291 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33292 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33293 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33294 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33295 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33296 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33297 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33298 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33299 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33300 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33301 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33302 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33303 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33304 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33305 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33306 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33307 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33308 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33309 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33310 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33311 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33312 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33313 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33314 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33315 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33316 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33317 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33318 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33319 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33320 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33321 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33322 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33323 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33324 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33325 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33326 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33327 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33328 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33329 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33330 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33331 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33332 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33333 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33334 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33335 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33336 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33337 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33338 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33339 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33340 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33341 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33342 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33343 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33344 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33345 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33346 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33347 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33348 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33349 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33350 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33351 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33352 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33353 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33354 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33355 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33356 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33357 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33358 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33359 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33360 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33361 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33362 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33363 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33364 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33365 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33366 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33367 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33368 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33369 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33370 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33371 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33372 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33373 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33374 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33375 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33376
73c5ebe3
JM
33377 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33378 _XOPEN_SOURCE_EXTENDED for XPG4.
33379
39c33b6c
JM
33380 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33381
62fde54f
JM
33382 * Makeconfig (localtime): Remove variable.
33383 (inst_localtime-file): Likewise.
33384
0741d64c
AS
333852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33386
33387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33388 Update.
33389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33390 Update.
33391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33392 Update.
33393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33394 Update.
33395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33396 Update.
33397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33398 Update.
33399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33400 Update.
33401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33402 Update.
33403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33404 Update.
33405
7cb029ee
JM
334062012-05-01 Joseph Myers <joseph@codesourcery.com>
33407
33408 [BZ #2550]
33409 [BZ #2570]
33410 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33411 comparisons to determine direction to adjust input.
33412 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33413 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33415 Likewise.
33416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33417 Likewise.
33418 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33419 Likewise.
33420 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33421 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33422 Likewise.
33423 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33424 Likewise.
33425 * math/libm-test.inc (nexttoward_test): Add more tests.
33426
412bd966
AS
334272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33428
33429 [BZ #14040]
33430 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33431 in version GLIBC_2.1, not GLIBC_2.0.
33432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33433 Likewise.
33434
9568c0c2
JM
334352012-04-30 Joseph Myers <joseph@codesourcery.com>
33436
adfbc8ac
JM
33437 [BZ #13942]
33438 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33439 (1 - x) * (1 + x).
33440 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33441 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33442 * math/libm-test.inc (acos_test): Add more tests.
33443 (asin_test): Likewise.
33444 * sysdeps/i386/fpu/libm-test-ulps: Update.
33445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33446
5ba3cc69
JM
33447 [BZ #14034]
33448 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33449 of square root.
33450 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33451 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33452 * math/libm-test.inc (acos_test_tonearest): New function.
33453 (acos_test_towardzero): Likewise.
33454 (acos_test_downward): Likewise.
33455 (acos_test_upward): Likewise.
33456 (asin_test_tonearest): Likewise.
33457 (asin_test_towardzero): Likewise.
33458 (asin_test_downward): Likewise.
33459 (asin_test_upward): Likewise.
33460 (main): Call the new functions.
33461 * sysdeps/i386/fpu/libm-test-ulps: Update.
33462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33463
9568c0c2
JM
33464 [BZ #13884]
33465 [BZ #13924]
33466 * math/e_exp10.c: Include <float.h>.
33467 (__ieee754_exp10): Handle underflow here rather than multiplying
33468 large negative argument by M_LN10.
33469 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33470 of __ieee754_expf.
33471 * math/e_exp10l.c: Include <float.h>.
33472 (__ieee754_exp10l): Handle underflow here rather than multiplying
33473 large negative argument by M_LN10l.
33474 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33475 spurious overflow exception on underflow.
33476
5ac3ea17
MP
334772012-04-29 Marek Polacek <polacek@redhat.com>
33478
33479 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33480 (__fortify_function): New macro.
33481 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33482 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33483 __extern_always_inline.
33484 * libio/bits/stdio2.h: Likewise.
33485 * libio/bits/stdio.h: Likewise.
33486 * string/string.h: Likewise.
33487 * string/bits/string3.h: Likewise.
33488 * include/stdio.h: Likewise.
33489 * stdlib/bits/stdlib.h: Likewise.
33490 * stdlib/stdlib.h: Likewise.
33491 * rt/bits/mqueue2.h: Likewise.
33492 * rt/mqueue.h: Likewise.
33493 * posix/bits/unistd.h: Likewise.
33494 * posix/unistd.h: Likewise.
33495 * io/bits/poll2.h: Likewise.
33496 * io/bits/fcntl2.h: Likewise.
33497 * io/fcntl.h: Likewise.
33498 * io/sys/poll.h: Likewise.
33499 * misc/bits/syslog.h: Likewise.
33500 * misc/bits/syslog-ldbl.h: Likewise.
33501 * misc/sys/syslog.h: Likewise.
33502 * socket/bits/socket2.h: Likewise.
33503 * socket/sys/socket.h: Likewise.
33504 * debug/tst-chk1.c: Likewise.
33505 * wcsmbs/bits/wchar2.h: Likewise.
33506 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33507 * wcsmbs/wchar.h: Likewise.
33508
ecf0ebfb
AJ
335092012-04-29 Andreas Jaeger <aj@suse.de>
33510
33511 * Makerules (tests): Remove enable-check-abi protection.
33512 (check-abi-warn): Remove.
33513 (check-abi-%): Remove check-abi-warn usage.
33514
33515 * configure.in: Remove check-abi configure option.
33516 * configure: Regenerated.
33517 * config.make.in (enable-check-abi): Remove.
33518
6d5c57fa
AS
335192012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33520
24c5d07e 33521 [BZ #14033]
ded5180a
AS
33522 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33523 double functions to double *_finite functions.
33524
7e0d315d
AS
33525 [BZ #13941]
33526 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33527 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33528 LDBL_MIN_EXP.
33529 * stdio-common/Makefile (tests): Add tst-sprintf3.
33530 * stdio-common/tst-sprintf3.c: New file.
33531
6d5c57fa
AS
33532 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33533 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33534
0749ff8b
JM
335352012-04-28 Joseph Myers <joseph@codesourcery.com>
33536
33537 * conform/conformtest.pl: Remove duplicate typed-constant
33538 handling.
33539
8dbd5d7b
DM
335402012-04-28 David S. Miller <davem@davemloft.net>
33541
33542 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33543 (check-abi-%): Remove AWK script prerequisite and explicit
33544 abilist directory.
33545 (check-abi): Rewrite to just diff the symlist with the abilist.
33546 (config-tls, config-abi-config): Delete, no longer used.
33547 (update-abi-%): Remove AWK script and explicit abilist directory.
33548 (update-abi): Rewrite to simply compare and conditionally copy the
33549 symlist and the sysdep abilist file. Remove update-abi-config
33550 checks.
33551 * abilist/ld.abilist: Remove.
33552 * abilist/libBrokenLocale.abilist: Remove.
33553 * abilist/libanl.abilist: Remove.
33554 * abilist/libcrypt.abilist: Remove.
33555 * abilist/libdl.abilist: Remove.
33556 * abilist/librt.abilist: Remove.
33557 * abilist/libthread_db.abilist: Remove.
33558 * abilist/libutil.abilist: Remove.
33559 * scripts/extract-abilist.awk: Remove.
33560 * scripts/merge-abilist.awk: Remove.
33561 * sysdeps/generic/libcidn.abilist: New file.
33562 * sysdeps/generic/libnss_compat.abilist: New file.
33563 * sysdeps/generic/libnss_db.abilist: New file.
33564 * sysdeps/generic/libnss_dns.abilist: New file.
33565 * sysdeps/generic/libnss_files.abilist: New file.
33566 * sysdeps/generic/libnss_hesiod.abilist: New file.
33567 * sysdeps/generic/libnss_nis.abilist: New file.
33568 * sysdeps/generic/libnss_nisplus.abilist: New file.
33569 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33570 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33571 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33572 file.
33573 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33574 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33575 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33576 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33577 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33578 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33579 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33580 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33581 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33582 file.
33583 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33584 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33585 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33586 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33587 file.
33588 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33589 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33590 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33591 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33592 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33593 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33594 file.
33595 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33596 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33597 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33598 file.
33599 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33601 New file.
33602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33603 New file.
33604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33605 New file.
33606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33607 New file.
33608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33609 New file.
33610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33611 New file.
33612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33613 New file.
33614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33615 New file.
33616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33617 New file.
33618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33619 New file.
33620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33621 New file.
33622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33623 New file.
33624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33625 New file.
33626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33627 file.
33628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33629 New file.
33630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33631 New file.
33632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33633 file.
33634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33635 New file.
33636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33637 New file.
33638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33639 file.
33640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33641 New file.
33642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33643 New file.
33644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33645 New file.
33646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33647 New file.
33648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33649 New file.
33650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33651 New file.
33652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33654 file.
33655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33656 New file.
33657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33658 file.
33659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33660 file.
33661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33662 file.
33663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33664 file.
33665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33666 file.
33667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33668 New file.
33669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33670 file.
33671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33672 file.
33673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33674 New file.
33675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33676 file.
33677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33679 file.
33680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33681 New file.
33682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33683 file.
33684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33685 file.
33686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33687 file.
33688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33689 file.
33690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33691 file.
33692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33693 New file.
33694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33695 file.
33696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33697 file.
33698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33699 New file.
33700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33701 file.
33702 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33703 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33704 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33705 file.
33706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33707 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33708 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33709 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33710 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33711 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33712 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33713 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33714 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33715 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33718 file.
33719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33720 New file.
33721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33722 file.
33723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33724 file.
33725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33726 file.
33727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33728 file.
33729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33730 file.
33731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33732 New file.
33733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33734 New file.
33735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33736 file.
33737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33738 New file.
33739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33740 file.
33741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33743 file.
33744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33745 New file.
33746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33747 file.
33748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33749 file.
33750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33751 file.
33752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33753 file.
33754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33755 file.
33756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33757 New file.
33758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33759 New file.
33760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33761 file.
33762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33763 New file.
33764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33765 file.
33766
41d73a1b
JM
337672012-04-28 Joseph Myers <joseph@codesourcery.com>
33768
33769 * conform/conformtest.pl: Fix typo in handling typed-constant from
33770 allow-header.
33771
28aeeda4
JM
337722012-04-27 Joseph Myers <joseph@codesourcery.com>
33773
adae8f5e
JM
33774 * README: Cut down references to pre-2.6 Linux kernels and
33775 Linuxthreads. Update lists of configurations in libc and ports
33776 and sort alphabetically. Say "or newer" with Linux kernel version
33777 requirements.
33778
28aeeda4
JM
33779 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33780
a462cb63
RA
337812012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33782
33783 [BZ #887]
33784 * math/libm-test.inc (logb_test_downward): New test to expose
33785 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33786 rounding mode.
33787
6ad3493e
JM
337882012-04-27 Joseph Myers <joseph@codesourcery.com>
33789
33790 [BZ #14027]
33791 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33792 to be done.
33793 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33794 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33795
2ce4f015
JM
337962012-04-26 Joseph Myers <joseph@codesourcery.com>
33797
5aeb141a
JM
33798 * sysdeps/unix/i386/brk.S: Remove file.
33799 * sysdeps/unix/i386/dl-brk.S: Likewise.
33800 * sysdeps/unix/i386/pipe.S: Likewise.
33801 * sysdeps/unix/i386/sigreturn.S: Likewise.
33802 * sysdeps/unix/i386/syscall.S: Likewise.
33803 * sysdeps/unix/i386/vfork.S: Likewise.
33804 * sysdeps/unix/i386/wait.S: Likewise.
33805
7143acae
JM
33806 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33807 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33808
2ce4f015
JM
33809 * configure.in (arm*-none*): Do not allow without
33810 --enable-hacker-mode.
33811 (netbsd*): Remove case setting base_os.
33812 (386bsd*): Likewise.
33813 (freebsd*): Likewise.
33814 (bsdi*): Likewise.
33815 (osf*): Likewise.
33816 (sunos*): Likewise.
33817 (ultrix*): Likewise.
33818 (newsos*): Likewise.
33819 (dynix*): Likewise.
33820 (*bsd*): Likewise.
33821 (sysv*): Likewise.
33822 (isc*): Likewise.
33823 (esix*): Likewise.
33824 (sco*): Likewise.
33825 (minix*): Likewise.
33826 (irix4*): Likewise.
33827 (irix6*): Likewise.
33828 (solaris[2-9]*): Likewise.
33829 (none): Likewise.
33830 * configure: Regenerated.
33831
0ac229c8
AZ
338322012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33833
33834 [BZ #11521]
33835 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33836 overflow or cancellation in calculating denominator.
33837 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33838 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33839 down expression to avoid unexpected rounding in newer GCCs.
33840 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33841
33f244f4
DM
338422012-04-26 David S. Miller <davem@davemloft.net>
33843
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33845 long-double compat symbols.
33846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33859
cfa1f3e8
DM
338602012-04-25 David S. Miller <davem@davemloft.net>
33861
33862 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33863 HWCAP_* values only after the memory barriers have been defined.
33864 (atomic_full_barrier): Define.
33865 (atomic_read_barrier): Define.
33866 (atomic_write_barrier): Define.
33867
6e236b92
SP
338682012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33869
33870 * shlib-versions: Add libgcc_s version information.
33871 * sysdeps/generic/libgcc_s.h: Remove.
33872 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33873 libgcc_s.h.
33874 * sysdeps/gnu/unwind-resume.c: Likewise.
33875 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33876
aab39a09
DM
338772012-04-25 David S. Miller <davem@davemloft.net>
33878
33879 * sysdeps/unix/sparc/brk.S: Delete.
33880 * sysdeps/unix/sparc/dl-brk.S: Delete.
33881 * sysdeps/unix/sparc/pipe.S: Delete.
33882 * sysdeps/unix/sparc/sysdep.S: Delete.
33883 * sysdeps/unix/sparc/sysdep.h: Delete.
33884 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33885 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33886 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33887 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33888 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33889 (JUMPTARGET): Remove.
33890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33891 sysdeps/unix/sparc/sysdep.h
33892 (ENTRY, END): Remove.
33893 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33894
a3cc4f48
JM
338952012-04-25 Joseph Myers <joseph@codesourcery.com>
33896
2ed8cda2
JM
33897 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33898 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33899 -DIS_IN_build.
33900
35d76d59
JM
33901 * timezone/README: Update upstream location and email address for
33902 tzcode and tzdata.
33903 * timezone/zdump.c: Update from tzcode 2012b.
33904 * timezone/zic.c: Likewise.
33905
a3cc4f48
JM
33906 * configure.in (libc_cv_as_needed): Remove test.
33907 * configure: Regenerated.
33908 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33909 conditional definition.
33910 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33911 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33912 * config.make.in (have-as-needed): Remove variable.
33913
ceab42c3
SP
339142012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33915 Paul Pluzhnikov <ppluzhnikov@google.com>
33916
33917 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33918 strings correctly.
33919
3ce2865f
CLT
339202012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33921
33922 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33923 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33924 * sysdeps/sh/strlen.S: Likewise.
33925
f37e0d68
JM
339262012-04-24 Joseph Myers <joseph@codesourcery.com>
33927
ae186e9a
JM
33928 * sysdeps/unix/fork.S: Remove file.
33929 * sysdeps/unix/i386/fork.S: Likewise.
33930 * sysdeps/unix/sparc/fork.S: Likewise.
33931
b96914af
JM
33932 * sysdeps/unix/system.c: Remove file.
33933 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33934
f37e0d68
JM
33935 * sysdeps/unix/getegid.S: Remove file.
33936 * sysdeps/unix/geteuid.S: Likewise.
33937
87ef29ca
RM
339382012-04-24 Roland McGrath <roland@hack.frob.com>
33939
83bcd236
RM
33940 * scripts/check-localplt.awk: New file.
33941 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33942 of diff.
33943 * scripts/data/localplt-generic.data: Add a comment.
33944
87ef29ca
RM
33945 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33946 NODE when __dir_mkfile failed.
33947 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33948 Reported by Ludovic Courtès <ludo@gnu.org>.
33949
e5a6e567
AJ
339502012-04-24 Andreas Jaeger <aj@suse.de>
33951
33952 * Makerules (common-clean): Also remove gen-as-const-headers
33953 files.
33954
c1820385
JM
339552012-04-24 Joseph Myers <joseph@codesourcery.com>
33956
33957 * Makerules (native-compile): Do not change working directory for
33958 build. Use $(OUTPUT_OPTION) in command.
33959 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33960
94e02fc4
AZ
339612012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33962
33963 [BZ #13886]
33964 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33965 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33966 * math/libm-test.inc (floor_test): Add more tests.
33967 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33968
3a533ca3
JM
339692012-04-24 Joseph Myers <joseph@codesourcery.com>
33970
940ab4b3
JM
33971 * sysdeps/unix/getdents.c: Remove file.
33972 * sysdeps/unix/sysv/getdents.c: Likewise.
33973 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33974
90e037bd
JM
33975 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33976 sysdeps/unix/mman/syscalls.list.
33977 (mmap): Likewise.
33978 (mprotect): Likewise.
33979 (msync): Likewise.
33980 (munmap): Likewise.
33981 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33982 * sysdeps/unix/mman/syscalls.list: Remove.
33983 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33984
3a533ca3
JM
33985 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33986 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33987 * configure: Regenerated.
33988 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33989 $(libgcc_s_suffix).
33990 * config.make.in (libgcc_s_suffix): Remove variable.
33991
1ad743de
JM
339922012-04-23 Joseph Myers <joseph@codesourcery.com>
33993
4ad451e2
JM
33994 * sysdeps/unix/sysv/gethostname.c: Move to ...
33995 * sysdeps/posix/gethostname.c: ... here.
33996
5e37ce39
JM
33997 * sysdeps/unix/execve.S: Remove file.
33998
1ad743de
JM
33999 * sysdeps/unix/_exit.S: Remove file.
34000
4e681b5b
AJ
340012012-04-23 Andreas Jaeger <aj@suse.de>
34002
34003 [BZ #13739]
34004 * manual/Makefile: Remove make dist support, there's no
34005 need for a stand-alone documentation tar ball.
34006 (TEXI2DVI): Define always, it's not in Makeconfig.
34007 (dist): Removed.
34008 (tar-it): Removed.
34009 (edition): Removed.
34010 (glibc-doc-$(edition).tar): Removed
34011 (%.Z): Removed.
34012 (%.gz): Removed.
34013 (%.uu): Removed.
34014 (ETAGS): Remove, it's in Makeconfig.
34015 (move-if-change): Remove, it's in Makeconfig.
34016
38686a03 340172012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34018
34019 [BZ #13970]
34020 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34021 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34022 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34023 (strtod_l, strtof_l, strtold_l): Remove __wur.
34024 It is not necessarily an error to ignore strtol's return value.
34025 One can reliably look at the stored endptr to decide whether
34026 the number had valid syntax.
34027
7c0616fa
AJ
340282012-04-21 Andreas Jaeger <aj@suse.de>
34029
803cb6b7 34030 [BZ #13739]
7c0616fa
AJ
34031 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34032
b0fe253f
JM
340332012-04-21 Joseph Myers <joseph@codesourcery.com>
34034
34035 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34036 * sysdeps/unix/sysv/Versions: Remove file.
34037
8280f22d
MT
340382012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34039
34040 [BZ #13927]
34041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34042
75ce411f 340432012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34044
34045 [BZ #7064]
34046 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34047 version from __vm86.
34048
097d59fa
JM
340492012-04-20 Joseph Myers <joseph@codesourcery.com>
34050
a90f3bcb
JM
34051 * sysdeps/unix/common/lxstat.c: Remove file.
34052 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34053
edc7ea78
JM
34054 * sysdeps/unix/sysv/Makefile: Remove file.
34055
cb78c221
JM
34056 * sysdeps/unix/sysv/direct.h: Remove file.
34057
efa6a45f
JM
34058 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34059 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34060 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34061 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34062 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34063 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34064 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34065
9c9f2d0c
JM
34066 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34067
4541c83b
JM
34068 * sysdeps/unix/xmknod.c: Remove file.
34069 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34070
f5d153a0
JM
34071 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34072
aa746595
JM
34073 * sysdeps/unix/sysv/i386/time.S: Remove file.
34074
cce5905e
JM
34075 * sysdeps/unix/fxstat.c: Remove file.
34076 * sysdeps/unix/xstat.c: Likewise.
34077 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34078
37fa3841
JM
34079 * sysdeps/unix/sysv/sigaction.c: Remove file.
34080
ff1962a3
JM
34081 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34082 (sysdep_headers): Remove variable.
34083 [termio.h not in sysdep_headers] (generated): Likewise.
34084 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34085 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34086 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34087 * sysdeps/unix/sysv/tcflow.c: Likewise.
34088 * sysdeps/unix/sysv/tcflush.c: Likewise.
34089 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34090 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34091 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34092 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34093 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34094
e7740d31
JM
34095 * sysdeps/unix/siglist.c: Remove file.
34096
ee06f18b
JM
34097 * sysdeps/unix/getppid.S: Remove file.
34098
097d59fa
JM
34099 * sysdeps/unix/mkdir.c: Remove file.
34100 * sysdeps/unix/rmdir.c: Likewise.
34101
ff3d51ec
AS
341022012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34103
34104 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34105 ERR_MAX value.
34106 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34107 errlist-compat value.
34108
50f81fd7
DM
341092012-04-18 David S. Miller <davem@davemloft.net>
34110
34111 * sysdeps/generic/memcopy.h (reg_char): Delete.
34112 * debug/strcat_chk.c: Use char, not reg_char.
34113 * debug/strcpy_chk.c: Likewise.
34114 * debug/strncat_chk.c: Likewise.
34115 * debug/strncpy_chk.c: Likewise.
34116 * string/memchr.c: Likewise.
34117 * string/memrchr.c: Likewise.
34118 * string/rawmemchr.c: Likewise.
34119 * string/strcat.c: Likewise.
34120 * string/strchr.c: Likewise.
34121 * string/strchrnul.c: Likewise.
34122 * string/strcmp.c: Likewise.
34123 * string/strcpy.c: Likewise.
34124 * string/strncat.c: Likewise.
34125 * string/strncmp.c: Likewise.
34126 * string/strncpy.c: Likewise.
34127
8ff41c46
WS
341282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34129
34130 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34131 __builtin_memcopy is called when src and dest ranges are known to not
34132 overlap.
34133
6b652f46
WS
341342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34135
34136 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34137 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34138 fwd_align_merge macro call.
34139 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34140 bwd_align_merge macro call.
34141 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34142
b282631e
WS
341432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34144
34145 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34146 bwd_align_merge macros.
34147 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34148 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34149 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34150
95aa737c
DM
341512012-04-18 David S. Miller <davem@davemloft.net>
34152
34153 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34154
7a99a614
AJ
341552012-04-18 Andreas Jaeger <aj@suse.de>
34156
34157 [BZ# 6794]
34158 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34159 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34160 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34161
34162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34163 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34164 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34165
34166 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34167 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34168 Adjust for changed ldbl-128 files.
34169
34170 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34171 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34172 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34173
e5270c23
DM
341742012-04-17 David S. Miller <davem@davemloft.net>
34175
34176 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34177
fb5e92c9
AS
341782012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34179
34180 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34181 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34182 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34183 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34184 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34185 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34186
76da7265
AZ
341872012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34188
34189 [BZ #6794]
34190 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34191 * math/libm-test.inc: Add ilogb errno and exception tests.
34192 * math/w_ilogb.c: New file: ilogb wrapper.
34193 * math/w_ilogbf.c: New file: ilogbf wrapper.
34194 * math/w_ilogbl.c: New file: ilogbl wrapper.
34195 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34196 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34197 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34198 exception being thrown with 0.0 as argument.
34199 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34200 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34201 exception being thrown with 0.0 as argument.
34202 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34203 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34204 exception being thrown with 0.0 as argument.
34205 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34206 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34207 exception being thrown with 0.0 as argument.
34208 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34209 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34210 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34211 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34212 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34213 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34214 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34215 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34216 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34217
0396e69d
PB
342182012-04-17 Petr Baudis <pasky@ucw.cz>
34219
34220 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34221 with altivec.
34222
750b5926
MP
342232012-04-16 Marek Polacek <polacek@redhat.com>
34224
34225 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34226
751728a1
MP
342272012-04-16 Marek Polacek <polacek@redhat.com>
34228
34229 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34230 operands of fdivp instruction.
34231
34a27407
L
342322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34233
34234 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34235 * elf/tst-auditmod3b.c: Likewise.
34236 * elf/tst-auditmod4b.c: Likewise.
34237 * elf/tst-auditmod5b.c: Likewise.
34238 * elf/tst-auditmod6b.c: Likewise.
34239 * elf/tst-auditmod6c.c: Likewise.
34240 * elf/tst-auditmod7b.c: Likewise.
34241 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34242 * sysdeps/x86_64/preconfigure.in: Likewise.
34243 * sysdeps/x86_64/preconfigure: Regenerated.
34244
7e73e17d
L
342452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34246
34247 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34248 __ILP32__.
34249
c7a6ab72
AB
342502012-04-13 Antoine Balestrat <merkil33@gmail.com>
34251
34252 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34253 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34254
a9e8e0e0
CL
342552012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34256
34257 [BZ #13973]
34258 * locale/iso-639.def: Fix gl language name. Spotted by
34259 Yaron Shahrabani.
34260
ec98af7d
RM
342612012-04-12 Roland McGrath <roland@hack.frob.com>
34262
34263 [BZ #2074]
34264 * libio/libio.h (__io_write_fn): Update comment.
34265
247c3ede
PB
342662012-04-12 Petr Baudis <pasky@ucw.cz>
34267
34268 [BZ #2074]
34269 * stdio.texi (Hook Functions): The user provided writer function
34270 is not allowed to return -1.
34271
55939d6d
DM
342722012-04-11 David S. Miller <davem@davemloft.net>
34273
34274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34275
90020f5a
MF
342762012-04-11 Mike Frysinger <vapier@gentoo.org>
34277
34278 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34279 Add a leading slash to rtkaio.
34280
288f9098
JM
342812012-04-11 Jim Meyering <meyering@redhat.com>
34282
90020f5a
MF
34283 [BZ #11959]
34284 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34285 It is not necessarily an error to ignore fwrite's return
34286 value. One can reliably use ferror to test for errors after
34287 the fact.
288f9098 34288
4be2b570
L
342892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34290
34291 * bits/types.h (__snseconds_t): New type.
34292 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34293
34294 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34296 (__SNSECONDS_T_TYPE): Likewise.
34297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34298 (__SNSECONDS_T_TYPE): Likewise.
34299 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34300 (__SNSECONDS_T_TYPE): Likewise.
34301
288f9098 343022012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34303
34304 [BZ #2636]
34305 * manual/time.texi (Processor Time): Return type of times is
34306 elapsed real time since an arbitrary point in the past.
34307 (CPU Time): Move CLK_TCK from here...
34308 (Processor Time): ...to here. Correct description.
34309 * manual/conf.texi (Constants for Sysconf): Correct description of
34310 _SC_CLK_TCK.
34311
d7dd4413
DM
343122012-04-10 David S. Miller <davem@davemloft.net>
34313
34314 [BZ #13967]
34315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34316 where the is a gap between DT_REL(A) and DT_JMPREL.
34317
b46068fc
L
343182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34319
34320 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34321 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34322 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34323
73d65cc3
SP
343242012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34325
34326 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34327 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34328 (dl_main): Handle --inhibit-cache.
34329 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34330 _dl_inhibit_cache.
34331 * elf/dl-load.c (_dl_map_object): Use it.
34332 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34333
bcc8d661
JM
343342012-04-09 Joseph Myers <joseph@codesourcery.com>
34335
8f9a2fae
JM
34336 [BZ #13872]
34337 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34338 (__ieee754_powl): Saturate large exponents rather than testing for
34339 overflow of y*log2(x).
34340 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34341 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34342 exceptions.
34343
bcc8d661
JM
34344 [BZ #11521]
34345 * math/s_ctan.c: Include <float.h>.
34346 (__ctan): Avoid internal overflow or cancellation in calculating
34347 denominator.
34348 * math/s_ctanf.c: Likewise.
34349 * math/s_ctanl.c: Likewise.
34350 * math/s_ctanh.c: Likewise.
34351 * math/s_ctanhf.c: Likewise.
34352 * math/s_ctanhl.c: Likewise.
34353 * math/libm-test.inc (ctan_test): Add more tests.
34354 (ctanh_test): Likewise.
34355 * sysdeps/i386/fpu/libm-test-ulps: Update.
34356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34357
823fbbb4
AJ
343582012-04-09 Andreas Jaeger <aj@suse.de>
34359
03879793
AJ
34360 [BZ #6894]
34361 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34362 is an optional BSD extension.
34363
823fbbb4
AJ
34364 [BZ #10254]
34365 * manual/stdio.texi (Opening Streams): Document additional fopen
34366 parameters.
34367
8de131cb
RM
343682012-04-09 Roland McGrath <roland@hack.frob.com>
34369
34370 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34371 %eax without telling the compiler.
34372
c0ed9d7d
CD
343732012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34374
34375 [BZ # 13963]
34376 * manual/install.texi: Use sourceware.org.
34377
c483f6b4
JM
343782012-04-09 Joseph Myers <joseph@codesourcery.com>
34379
d7dd9453
JM
34380 [BZ #13873]
34381 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34382 (__ieee754_pow): Generate overflow and underflow using huge*huge
34383 and tiny*tiny rather than just returning constant infinity or zero
34384 for large exponents.
34385 * math/libm-test.inc (pow_test): Require overflow exceptions for
34386 applicable cases of large exponents.
34387
c483f6b4
JM
34388 [BZ #706]
34389 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34390 (__ieee754_pow): Use iterative multiplication algorithm only for
34391 integer exponents with absolute value below 1024. Check for odd
34392 integer exponents when using algorithm for real exponents.
34393 * math/libm-test.inc (pow_test): Add more tests.
34394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34395
d2de7579
JM
343962012-04-08 Joseph Myers <joseph@codesourcery.com>
34397
34398 [BZ #13705]
34399 * math/libm-test.inc (exp_test): Do not allow overflow exception
34400 on underflow test.
34401
f77f1232
AJ
344022012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34403
34404 [BZ #13705]
34405 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34406 instead of __kernel_standard_f.
34407
3884932b
MF
344082012-04-08 Mike Frysinger <vapier@gentoo.org>
34409
34410 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34411 * sysdeps/x86_64/memset_chk.S: Likewise.
34412
54472e9c
AJ
344132012-04-08 Andreas Jaeger <aj@suse.de>
34414
6ab0fbfc
AJ
34415 [BZ #10153]
34416 * manual/startup.texi (Environment Access): Describe return value
34417 for putenv and setenv.
34418
61efba8c
AJ
34419 [BZ #6895]
34420 * manual/filesys.texi (Directory Entries): Add description for
34421 DT_LNK.
34422
95c3f29a
AJ
34423 [BZ #6890]
34424 * manual/filesys.texi (Directory Entries): Clarify that it's file
34425 system not operating system in the description of DT_UNKNOWN.
34426
54472e9c
AJ
34427 [BZ #6578]
34428 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34429
624254b1
SC
344302012-04-08 Stephen Compall <s11@member.fsf.org>
34431
34432 [BZ #6649]
34433 * manual/llio.texi (Opening and Closing Files): Add cross
34434 reference to explain mode argument.
34435
1e4920e0
MF
344362012-04-07 Mike Frysinger <vapier@gentoo.org>
34437
34438 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34439 * sysdeps/x86_64/memset_chk.S: Likewise.
34440
5ed848f3
DM
344412012-04-07 David S. Miller <davem@davemloft.net>
34442
34443 * elf/elf.h (R_SPARC_WDISP10): Define.
34444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34445 R_SPARC_SIZE32.
34446 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34447 R_SPARC_SIZE64 and R_SPARC_H34.
34448
96154cd8
CD
344492012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34450
34451 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34452 conditions and remove no longer applicable assertion.
34453
9904dc47
L
344542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34455
34456 * bits/byteswap.h: Include <features.h>.
34457 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34458 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34459
f8887d0a
L
344602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34461
34462 * bits/byteswap.h (__bswap_16): Removed.
34463 Include <bits/byteswap-16.h> to get __bswap_16.
34464 * sysdeps/i386/bits/byteswap.h: Likewise.
34465 * sysdeps/s390/bits/byteswap.h: Likewise.
34466 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34467 * bits/byteswap-16.h: New file.
34468 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34469 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34470 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34471 * string/Makefile (headers): Add bits/byteswap-16.h.
34472
62470f60
PP
344732012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34474
34475 [BZ #13895]
34476 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34477 extra indirection.
34478 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34479 * nss/tst-nss-static.c: New.
34480
4dad7bab
RM
344812012-04-06 Robert Millan <rmh@gnu.org>
34482
34483 [BZ #6486]
34484 * manual/llio.texi (File Position Primitive): lseek
34485 refers to WHENCE when it really means OFFSET.
34486
e9142a17
AJ
344872012-04-06 Andreas Jaeger <aj@suse.de>
34488
2c040eff
AJ
34489 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34490 strncmp declarations.
34491
e9142a17
AJ
34492 * abilist/libc.abilist: Add __poll and __ppoll.
34493
ff9f1c5f
DM
344942012-04-05 David S. Miller <davem@davemloft.net>
34495
dcd2ae90
DM
34496 * scripts/check-local-headers.sh: Accept a host triplet in the
34497 path matched by the exclude regexp.
34498
993eb054
DM
34499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34500 definition.
34501 * sysdeps/powerpc/powerpc32/dl-machine.h
34502 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34503 * sysdeps/s390/s390-32/dl-machine.h
34504 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34505 * sysdeps/sparc/sparc32/dl-machine.h
34506 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34507 * sysdeps/sparc/sparc64/dl-machine.h
34508 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34509
ff9f1c5f
DM
34510 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34511 lazy binding.
48e2e132 34512 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34513 undefined symbol errors.
34514
48e2e132 34515 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34516 DT_NEEDED entries.
34517
e80d6f94
MM
345182012-04-05 Michael Matz <matz@suse.de>
34519
34520 [BZ #13592]
34521 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34522
349fa79f
AJ
345232012-04-05 Andreas Jaeger <aj@suse.de>
34524
34525 [BZ #13908]
34526 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34527 comment.
34528
f402708f
KK
345292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34530
34531 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34532 which ROUND is no valid rounding mode.
34533
2ecccfc9
KK
345342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34535
34536 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34537 read again.
34538 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34539
8a53f50f
KK
345402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34541
34542 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34543 an exception using FPU order intentionally.
34544
345452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34546
34547 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34548 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34549 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34550 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34551
d653abb7
SJ
345522012-04-05 Simon Josefsson <simon@josefsson.org>
34553
34554 [BZ #12340]
34555 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34556 EINVAL when BUFLEN is too smal.
34557
c3b1bf7d
TS
345582012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34559
34560 [BZ #13553]
34561 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34562 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34563
b1aa60f3
AJ
345642012-04-03 Andreas Jaeger <aj@suse.de>
34565
c3b1bf7d 34566 [BZ #13938]
67f60a26
AJ
34567 * manual/setjmp.texi (System V contexts): Fix sentence.
34568
b1aa60f3
AJ
34569 [BZ #13926]
34570 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34571 New macro for this case.
34572 [!__GNUC__] (__bswap_64): New inline function for this case.
34573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34574 * bits/byteswap.h: Likewise.
34575 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34576 ull, guard with __GLIBC_HAVE_LONG_LONG.
34577
34578 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34579 __GLIBC_HAVE_LONG_LONG.
34580
34581 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34582 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34583
39c59c35
TMQMF
345842012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34585
34586 [BZ #13691]
34587 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34588 inptr and inend, rather than using last_ch.
34589
135ffda8
DM
345902012-04-02 David S. Miller <davem@davemloft.net>
34591
34592 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34593 * stdio-common/printf-parse.h (read_int): Change return type to
34594 'int', return -1 on INT_MAX overflow.
34595 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34596 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34597 overflows INT_MAX. Check for overflow of in-format-string precision
34598 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34599 SIZE_MAX not INT_MAX for integer overflow test.
34600 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34601 skip the construct in the format string but do not record anything.
34602 * stdio-common/bug22.c: Adjust to test both width/prevision
34603 INT_MAX overflow as well as total length INT_MAX overflow. Check
34604 explicitly for proper errno values.
34605
228c019e
TS
346062012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34607
302cadd3
TS
34608 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34609 CHAR_MAX.
34610 * string/test-strcmp.c [! WIDE]: Likewise.
34611 * time/tst-mktime2.c: Likewise for INT_MAX.
34612 * string/test-string.h: #include <sys/param.h> for MIN.
34613
228c019e
TS
34614 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34615 * sysdeps/i386/init-first.c (init): Likewise.
34616 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34617 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34618 * sysdeps/sh/init-first.c (init): Likewise.
34619
cfa633f5
UD
346202012-04-01 Ulrich Drepper <drepper@gmail.com>
34621
34622 * po/ru.po: Update from translation team.
d1635ef8 34623 * po/vi.po: Likewise.
cfa633f5 34624
6cd0a5ea
SP
346252012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34626
34627 * resolv/nss_dns/dns-host.c: Merge copyright years.
34628
4b43400f
LD
346292012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34630
34631 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34632 Optimize memcpy with prefetch if
34633 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34634 src, dst pointers have unequal 16 byte alignments.
34635
48c41d04
SP
346362012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34637
34638 [BZ #13928]
34639 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34640 from a CNAME entry and return the minimum ttl for the query.
34641 (gaih_getanswer_slice): Likewise.
34642
b8dc394d
JL
346432012-03-30 Jeff Law <law@redhat.com>
34644
34645 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34646 due to long keys.
34647 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34648 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34649
2f5a5ed0
JL
34650 * resolv/nss_dns/dns-host.c: Update copyright year.
34651
1d39e359
UD
346522012-03-30 Ulrich Drepper <drepper@gmail.com>
34653
c030f70c 34654 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34655 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34656
1d39e359
UD
34657 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34658 comments for sendmmsg.
34659
346602012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34661
34662 [BZ #13691]
34663 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34664 with only 1 character between 0x0041 and 0x01b0.
34665 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34666 * wcsmbs/tst-mbsnrtowcs.c: New file.
34667
20fde227
DM
346682012-03-29 David S. Miller <davem@davemloft.net>
34669
34670 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34671 small copies by hand.
34672
984a4237
JL
346732012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34674
34675 [BZ #13761]
57f41c40
AS
34676 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34677 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34678 group memberships.
984a4237 34679
18c9d62b
DM
346802012-03-28 David S. Miller <davem@davemloft.net>
34681
88d85d4f
DM
34682 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34683 that branches into memcpy.
34684 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34686 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34687 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34689 bits.
34690 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34691 implementation too.
34692 * sysdeps/sparc/mempcpy.S: New file.
34693
e5aa83e1
DM
34694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34695 the IFUNC routine in the libc case.
34696 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34697
88570753
DM
34698 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34699 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34700 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34701 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34702 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34703 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34704 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34705 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34706
249d7567
DM
34707 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34708 loop to 256 bytes instead of 64 bytes and fix test signedness.
34709
18c9d62b
DM
34710 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34711 * sysdeps/sparc/sparc32/Makefile: rather than here...
34712 * sysdeps/sparc/sparc64/Makefile: and here.
34713
05f3d1f6
UD
347142012-03-28 Ulrich Drepper <drepper@gmail.com>
34715
34716 * malloc/mallocbug.c: Avoid warnings about unused variables.
34717
86ae07a8
JL
347182012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34719
34720 [BZ #13760]
34721 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34722 in the right place. Discard and retry query if response is
34723 larger than input buffer size.
34724
41bf21a1
JM
347252012-03-28 Joseph Myers <joseph@codesourcery.com>
34726
d6270972
JM
34727 [BZ #369]
34728 [BZ #2678]
34729 [BZ #3866]
34730 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34731 x for large integer exponent.
34732 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34733 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34734 sign of result as needed afterwards.
34735 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34736 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34737 result for underflowing pow the same as for overflow.
34738 (__kernel_standard_l): Handle powl overflow and underflow here
34739 rather than calling __kernel_standard.
34740 * math/libm-test.inc (pow_test): Add more tests.
34741
414fca03 34742 [BZ #3868]
41bf21a1
JM
34743 [BZ #13879]
34744 [BZ #13910]
34745 [BZ #13911]
34746 [BZ #13912]
34747 [BZ #13913]
34748 [BZ #13915]
34749 [BZ #13916]
34750 [BZ #13917]
34751 [BZ #13918]
34752 [BZ #13919]
34753 [BZ #13920]
34754 [BZ #13921]
34755 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34756 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34757 (__kernel_standard_l): New function.
34758 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34759 __kernel_standard.
34760 * math/w_acosl.c (__acosl): Likewise.
34761 * math/w_asinl.c (__asinl): Likewise.
34762 * math/w_atan2l.c (__atan2l): Likewise.
34763 * math/w_atanhl.c (__atanhl): Likewise.
34764 * math/w_coshl.c (__coshl): Likewise.
34765 * math/w_exp10l.c (__exp10l): Likewise.
34766 * math/w_exp2l.c (__exp2l): Likewise.
34767 * math/w_fmodl.c (__fmodl): Likewise.
34768 * math/w_hypotl.c (__hypotl): Likewise.
34769 * math/w_j0l.c (__j0l, __y0l): Likewise.
34770 * math/w_j1l.c (__j1l, __y1l): Likewise.
34771 * math/w_jnl.c (__jnl, __ynl): Likewise.
34772 * math/w_lgammal.c (__lgammal): Likewise.
34773 * math/w_log10l.c (__log10l): Likewise.
34774 * math/w_log2l.c (__log2l): Likewise.
34775 * math/w_logl.c (__logl): Likewise.
34776 * math/w_powl.c (__powl): Likewise.
34777 * math/w_remainderl.c (__remainderl): Likewise.
34778 * math/w_scalbl.c (sysv_scalbl): Likewise.
34779 * math/w_sinhl.c (__sinhl): Likewise.
34780 * math/w_sqrtl.c (__sqrtl): Likewise.
34781 * math/w_tgammal.c (__tgammal): Likewise.
34782 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34783 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34784 * math/libm-test.inc (acos_test): Add more tests.
34785 (acosh_test): Likewise.
34786 (asin_test): Likewise.
34787 (atanh_test): Likewise.
34788 (exp_test): Likewise.
34789 (exp10_test): Likewise.
34790 (exp2_test): Likewise.
34791 (expm1_test): Likewise.
34792 (lgamma_test): Likewise.
34793 (log_test): Likewise.
34794 (log10_test): Likewise.
34795 (log1p_test): Likewise.
34796 (log2_test): Likewise.
34797 (pow_test): Do not allow some spurious overflow exceptions.
34798 (sqrt_test): Add more tests.
34799 (tgamma_test): Likewise.
34800 (y0_test): Likewise.
34801 (y1_test): Likewise.
34802 (yn_test): Likewise.
34803
dd62fda6
AB
348042012-03-27 Anton Blanchard <anton@samba.org>
34805
34806 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34807 MAP_HUGETLB.
34808 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34809 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34810 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34811
1e3cdfda
AJ
348122012-03-27 David S. Miller <davem@davemloft.net>
34813
b855ab85
DM
34814 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34815
1e3cdfda
AJ
34816 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34817 have-as-vis3 check.
34818
348192012-03-27 Andreas Jaeger <aj@suse.de>
34820
34821 * sysdeps/x86_64/elf/configure.in: Moved to ...
34822 * sysdeps/x86_64/configure.in: ... here.
34823 * sysdeps/x86_64/elf/start.S: Moved to ...
34824 * sysdeps/x86_64/start.S: ... here.
34825 * sysdeps/x86_64/elf/configure: Delete.
34826
34827 * sysdeps/x86_64/configure.in: Merge contents from
34828 sysdeps/i386/configure.in (without i686 check).
34829
34830 * sysdeps/i386/elf/Versions: Merge into ...
34831 * sysdeps/i386/Versions: ... this.
34832 * sysdeps/i386/elf/Versions: Delete file.
34833 * sysdeps/i386/elf/start.S: Moved to ...
34834 * sysdeps/i386/start.S: ...here.
34835 * sysdeps/i386/elf/configure.in: Merge into...
34836 * sysdeps/i386/configure.in: ...here.
34837 * sysdeps/i386/elf/configure.in: Delete file.
34838 * sysdeps/i386/elf/configure: Delete file.
34839
34840 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34841 * debug/backtracesyms.c: ... here.
34842 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34843 * debug/backtracesymsfd.c: ... here.
34844 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34845 * sysdeps/generic/ifunc-sel.h: ... here.
34846
34847 * sysdeps/unix/i386/start.c: Delete file.
34848 * sysdeps/unix/sparc/start.c: Delete file.
34849 * sysdeps/unix/start.c: Delete file.
34850
34851 * sysdeps/sh/elf/configure.in: Moved to ...
34852 * sysdeps/sh/configure.in: ... here.
34853 * sysdeps/sh/elf/start.S: Moved to ...
34854 * sysdeps/sh/start.S: ... here.
34855 * sysdeps/sh/elf/configure: Delete file.
34856
34857 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34858 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34859 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34860 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34861 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34862 * sysdeps/powerpc/powerpc64/start.S: here.
34863 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34864 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34865 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34866 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34867 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34868
34869 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34870 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34871 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34872 * sysdeps/powerpc/powerpc32/start.S: ... here.
34873 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34874 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34875 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34876
34877 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34878 * sysdeps/powerpc/ifunc-sel.h: ... here.
34879 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34880 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34881
34882 * sysdeps/sparc/elf/configure.in: Moved to ...
34883 * sysdeps/sparc/configure.in: ... here.
34884 * sysdeps/sparc/elf/configure: Delete file.
34885 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34886 * sysdeps/sparc/sparc32/start.S: ... here.
34887 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34888 * sysdeps/sparc/sparc64/start.S: ... here.
34889 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34890 * sysdeps/sparc/sparc32/Makefile: ... this.
34891 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34892 * sysdeps/sparc/sparc64/Makefile: ... this.
34893
34894 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34895 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34896 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34897 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34898 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34899 * sysdeps/s390/s390-32/setjmp.S: ... here.
34900 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34901 * sysdeps/s390/s390-32/configure.in: ... here.
34902 * sysdeps/s390/s390-32/elf/configure: Delete file.
34903 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34904 * sysdeps/s390/s390-32/start.S: ... here.
34905
34906 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34907 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34908 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34909 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34910 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34911 * sysdeps/s390/s390-64/setjmp.S: ... here.
34912 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34913 * sysdeps/s390/s390-64/configure.in: ... here
34914 * sysdeps/s390/s390-64/elf/configure: Delete file.
34915 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34916 * sysdeps/s390/s390-64/start.S: ... here.
34917 * sysdeps/s390/s390-64/elf/configure: Delete.
34918
34919 * configure.in: Remove support for elf directories in sysdeps.
34920
34921 * configure: Regenerated.
34922 * sysdeps/i386/configure: Regenerated.
34923 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34924 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34925 * sysdeps/s390/s390-32/configure: Regenerated.
34926 * sysdeps/s390/s390-64/configure: Regenerated.
34927 * sysdeps/sh/configure: Regenerated.
34928 * sysdeps/sparc/configure: Regenerated.
34929 * sysdeps/x86_64/configure: Regenerated.
34930
a3f61311
AS
349312012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34932
c876e002
AS
34933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34934
a3f61311
AS
34935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34936 denormal result into account.
34937
ac4c54f0
RM
349382012-03-25 Roland McGrath <roland@hack.frob.com>
34939
34940 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34941 Reported by Allan McRae <allan@archlinux.org>.
34942
6a9b9c02
JL
349432012-03-23 Jeff Law <law@redhat.com>
34944
34945 * nss/getnssent.c (__nss_getent): Fix typo.
34946
4c42a0c1
DM
349472012-03-23 David S. Miller <davem@davemloft.net>
34948
34949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34950
1532c7ac
L
349512012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34952
34953 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34954 to pad to uint64_t for each field.
34955 (dl_tls_index): Replace unsigned long with uint64_t.
34956
3ff42526
PP
349572012-03-23 Daniel Jacobowitz <dmj@google.com>
34958 Paul Pluzhnikov <ppluzhnikov@google.com>
34959
34960 [BZ #6528]
34961 * grp/Makefile (otherlibs): Don't set it.
34962 * inet/Makefile (otherlibs): Likewise.
34963 * login/Makefile (otherlibs): Likewise.
34964 * nscd/Makefile (otherlibs): Likewise.
34965 * posix/Makefile (otherlibs): Likewise.
34966 * pwd/Makefile (otherlibs): Likewise.
34967 * rt/Makefile (otherlibs): Likewise.
34968 * sunrpc/Makefile (otherlibs): Likewise.
34969 * nss/Makefile (otherlibs): Likewise.
34970 Add libnss_files to routines and static-only-routines.
34971 ($(objpfx)getent): Remove rule.
34972 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34973 static-only-routines.
34974
7c69cd14
JM
349752012-03-22 Joseph Myers <joseph@codesourcery.com>
34976
34977 [BZ #13892]
34978 * math/s_cexp.c: Include <float.h>.
34979 (__cexp): Handle exp result overflowing not necessarily
34980 overflowing both real and imaginary parts of result.
34981 * math/s_cexpf.c: Likewise.
34982 * math/s_cexpl.c: Likewise.
34983 * math/libm-test.inc (cexp_test): Add more tests.
34984 * sysdeps/i386/fpu/libm-test-ulps: Update.
34985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34986
81b035fe
L
349872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34988
34989 * include/link.h (ELFW): New macro.
34990 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34991 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34992
1da7940c
L
349932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34994
34995 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34996 with uint64_t.
34997
b749dbb9
L
349982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34999
35000 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35001 declaration.
35002 (struct La_x32_retval): Likewise.
35003
2ff87f3f
L
350042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35005
35006 * sysdeps/x86_64/preconfigure.in: New file.
35007 * sysdeps/x86_64/preconfigure: New generated file.
35008
c0df8e69
JM
350092012-03-22 Joseph Myers <joseph@codesourcery.com>
35010
48e44791
JM
35011 [BZ #13824]
35012 * math/e_exp2l.c: Include <float.h>.
35013 (__ieee754_exp2l): Handle overflow and underflow cases
35014 separately. Only pass fractional part of argument to
35015 __ieee754_expl.
35016 * math/libm-test.inc (exp2_test): Add more tests.
35017
c0df8e69
JM
35018 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35019 negating x to take absolute value.
35020 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35021 Likewise.
35022 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35023 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35024 Likewise.
35025 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35026 computing low part if x was negated.
35027 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35028
c8e43ba7
L
350292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35030
35031 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35032 la_x32_gnu_pltexit.
35033 (pltexit): Cast int_retval to ptrdiff_t.
35034 * elf/tst-auditmod3b.c: Likewise.
35035 * elf/tst-auditmod4b.c: Likewise.
35036 * elf/tst-auditmod5b.c: Likewise.
35037 * elf/tst-auditmod6b.c: Likewise.
35038 * elf/tst-auditmod6c.c: Likewise.
35039 * elf/tst-auditmod7b.c: Likewise.
35040
35041 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35042 and x32_gnu_pltexit.
35043
35044 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35045 __ELF_NATIVE_CLASS.
35046 (La_x32_regs): New macro.
35047 (La_x32_retval): Likewise.
35048 (la_x32_gnu_pltenter): New function prototype.
35049 (la_x32_gnu_pltexit): Likewise.
35050
7998fa78
AS
350512012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35052
dcb33988
AS
35053 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35054 exponent.
35055
233fc563
AS
35056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35057
7998fa78
AS
35058 * configure.in (libc_cv_cc_nofma): Check for option to disable
35059 generation of FMA instructions.
35060 * configure: Regenerate.
35061 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35062 * sysdeps/ieee754/dbl-64/Makefile: New file.
35063 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35064 Remove brandred-fma4.
35065 (CFLAGS-brandred-fma4.c): Remove.
35066 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35067 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35068 define.
35069 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35070 define.
35071
8e95c99a
L
350722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35073
35074 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35075 LLONG_MAX != LONG_MAX.
35076 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35077 (_fitoa_word): Likewise.
35078 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35079 LLONG_MAX != LONG_MAX.
35080 * stdio-common/_itowa.h: Include <_itoa.h>.
35081 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35082 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35083 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35084 only if not defined.
35085 (_ITOA_WORD_TYPE): Likewise.
35086 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35087 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35088
6f4db457
DM
350892012-03-21 David S. Miller <davem@davemloft.net>
35090
35091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35092
7785fe5a
L
350932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35094
35095 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35096 of x86_64 when setting libc_cv_slibdir, libdir and
35097 libc_cv_localedir.
35098 * sysdeps/unix/sysv/linux/configure: Regenerated.
35099
4535cd55
JM
351002012-03-21 Joseph Myers <joseph@codesourcery.com>
35101
35102 * manual/lang.texi (Old Varargs): Remove section.
35103 (How Variadic): Update menu.
35104 (va_start): Do not mention varargs.h.
35105
17228132
TS
351062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35107 Joseph Myers <joseph@codesourcery.com>
35108
35109 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35110 link test.
35111 * configure: Regenerated.
35112
8149f976
TS
351132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35114
05f3d1f6
UD
35115 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35116 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35117 conformtest.pl
8149f976 35118
1a4ac776
JM
351192012-03-21 Joseph Myers <joseph@codesourcery.com>
35120
be22ce65
JM
35121 * NOTES: Remove.
35122 * Makefile (files-for-dist): Remove NOTES.
35123 (NOTES): Remove rule.
35124 * README: Don't refer to NOTES.
35125 * manual/creature.texi: Don't include macros.texi.
35126 * manual/intro.texi (creature.texi): Remove comment referring to
35127 NOTES.
35128
40b601fb
JM
35129 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35130 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35131 * configure: Regenerated.
35132 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35133 LIBC_TRY_CC_OPTION.
35134 (libc_cv_as_i686): Likewise.
35135 (libc_cv_cc_avx): Likewise.
35136 (libc_cv_cc_sse2avx): Likewise.
35137 (libc_cv_cc_fma4): Likewise.
35138 (libc_cv_cc_novzeroupper): Likewise.
35139 * sysdeps/i386/configure: Regenerated.
35140
1a4ac776
JM
35141 [BZ #13883]
35142 * sysdeps/i386/fpu/s_cexp.S: Remove.
35143 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35144 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35145 * math/libm-test.inc (cexp_test): Add more tests.
35146 * sysdeps/i386/fpu/libm-test-ulps: Update.
35147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35148
a458e7fe
AM
351492012-03-21 Allan McRae <allan@archlinux.org>
35150
35151 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35152
0cb7efc5
JM
351532012-03-21 Joseph Myers <joseph@codesourcery.com>
35154
35155 [BZ #13871]
35156 * math/w_exp2.c: Do not include <float.h>.
35157 (o_threshold, u_threshold): Remove.
35158 (__exp2): Calculate result before checking finiteness and calling
35159 __kernel_standard.
35160 * math/w_exp2f.c: Likewise.
35161 * math/w_exp2l.c: Likewise.
35162 * math/libm-test.inc (exp2_test): Require overflow exception for
35163 1e6 input.
2460d3aa
JM
35164
35165 [BZ #3866]
35166 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35167 range of signed 64-bit integers before using fistpll. Remove
35168 checks for whether integers fit in mantissa bits.
35169 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35170 the range of signed 32-bit integers before using fistpl. Remove
35171 checks for whether integers fit in mantissa bits.
35172 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35173 (__ieee754_powl): Test for y outside the range of signed 64-bit
35174 integers before using fistpll. Reduce 64-bit values to 63-bit
35175 ones as needed.
35176 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35177 divide-by-zero is raised for zero to large negative powers.
35178 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35179 (__ieee754_powl): Test for y outside the range of signed 64-bit
35180 integers before using fistpll. Reduce 64-bit values to 63-bit
35181 ones as needed.
35182 * math/libm-test.inc (pow_test): Add more tests.
35183
eb96ffb0
L
351842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35185
35186 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35187 <stdio-common/_itoa.h>.
35188 * debug/segfault.c: Likewise.
35189 * elf/dl-cache.c: Likewise.
35190 * elf/dl-minimal.c: Likewise.
35191 * elf/dl-misc.c: Likewise.
35192 * elf/dl-sysdep.c: Likewise.
35193 * elf/dl-version.c: Likewise.
35194 * elf/rtld.c: Likewise.
35195 * hurd/hurdsock.c: Likewise.
35196 * hurd/lookup-retry.c: Likewise.
35197 * malloc/malloc.c: Likewise.
35198 * malloc/mtrace.c: Likewise.
35199 * nscd/nscd_getgr_r.c: Likewise.
35200 * nscd/nscd_getpw_r.c: Likewise.
35201 * nscd/nscd_getserv_r.c: Likewise.
35202 * posix/getopt_init.c: Likewise.
35203 * posix/wordexp.c: Likewise.
35204 * stdio-common/_itoa.c: Likewise.
35205 * stdio-common/printf_fphex.c: Likewise.
35206 * stdio-common/vfprintf.c: Likewise.
35207 * string/_strerror.c: Likewise.
35208 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35209 * sysdeps/i386/i686/hp-timing.h: Likewise.
35210 * sysdeps/mach/_strerror.c: Likewise.
35211 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35212 * sysdeps/mach/hurd/sethostid.c: Likewise.
35213 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35214 * sysdeps/mach/xpg-strerror.c: Likewise.
35215 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35216 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35217 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35218 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35219 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35220 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35221 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35222 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35223 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35224 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35225 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35226 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35227 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35228 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35229 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35230 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35231 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35232 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35233 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35234 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35235 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35236
35237 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35238
35239 * stdio-common/_itoa.h: Moved to ...
35240 * sysdeps/generic/_itoa.h: Here.
35241
35242 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35243
35244 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35245 instead of "_itoa.h" and "_itowa.h".
35246 * stdio-common/vfprintf.: Likewise.
35247
d1af992d
L
352482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35249
35250 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35251 <bits/wordsize.h>.
35252 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35253 (__signbit): Likwise.
35254 (llrintf): Likwise.
35255 (llrint): Likwise.
35256
114883e0
L
352572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35258
35259 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35260 __WORDSIZE != 64.
35261
c135cc1b
JM
352622012-03-20 Joseph Myers <joseph@codesourcery.com>
35263
35264 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35265 OVERFLOW_EXCEPTION_OK.
35266 * math/libm-test.inc ("Philosophy"): Update comment about
35267 exception testing.
35268 (OVERFLOW_EXCEPTION): Define.
35269 (OVERFLOW_EXCEPTION_OK): Likewise.
35270 (INVALID_EXCEPTION_OK): Renumber.
35271 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35272 (IGNORE_ZERO_INF_SIGN): Likewise.
35273 (test_exceptions): Handle FE_OVERFLOW.
35274 (exp10_test): Expect overflow exceptions.
35275 (exp2_test): Likewise.
35276 (expm1_test): Likewise.
35277 (nextafter_test): Likewise.
35278 (pow_test): Likewise.
35279 (scalbn_test): Likewise.
35280 (scalbln_test): Likewise.
35281
95443d88
L
352822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35283
35284 * sysdeps/x86_64/bits/atomic.h
35285 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35286 64bit integer.
35287 (atomic_exchange_acq): Likewise.
35288 (__arch_exchange_and_add_body): Likewise.
35289 (__arch_add_body): Likewise.
35290 (atomic_add_negative): Likewise.
35291 (atomic_add_zero): Likewise.
35292
490df6c4
L
352932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35294
c2722551 35295 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35296 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35297
5e52b189
L
352982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35299
35300 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35301 Check __x86_64__ instead of __WORDSIZE.
35302
a9879d4c
L
353032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35304
35305 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35306
5df98260
DM
353072012-03-19 David S. Miller <davem@davemloft.net>
35308
e1497744
DM
35309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35310
5df98260
DM
35311 * sysdeps/sparc/fpu/fenv_private.h: New file.
35312 * sysdeps/sparc/fpu/math_private.h: Use it.
35313 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35314 Remove.
57f41c40 35315 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35316 (libc_feholdexcept_setroundl): Remove.
35317 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35318 Remove.
35319 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35320 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35321
b4c35121
L
353222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35323
35324 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35325 int64_t instead of long int.
35326 (INSERT_WORDS64): Likwise.
35327
56965fd7
L
353282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35329
35330 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35331 _Unwind_GetCFA return to _Unwind_Ptr first.
35332
83d1aec8
JM
353332012-03-19 Joseph Myers <joseph@codesourcery.com>
35334
1897ad44
JM
35335 [BZ #13629]
35336 * math/s_clog.c: Include <float.h>.
35337 (__clog): Scale large or subnormal inputs.
35338 * math/s_clogf.c: Likewise.
35339 * math/s_clogl.c: Likewise.
35340 * math/s_clog10.c: Include <float.h>.
35341 (M_LOG10_2): Define.
35342 (__clog10): Scale large or subnormal inputs.
35343 * math/s_clog10f.c: Likewise.
35344 * math/s_clog10l.c: Likewise.
35345 * math/libm-test.inc (clog_test): Add more tests.
35346 (clog10_test): Likewise.
35347 * sysdeps/i386/fpu/libm-test-ulps: Update.
35348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35349
7726d6a9
JM
35350 [BZ #11451]
35351 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35352 x and y.
35353 * math/libm-test.inc (atan2_test): Add another test.
35354
83d1aec8
JM
35355 * Makerules (common-objdir-compile): Remove.
35356 * sysdeps/unix/Makefile (config-generated): Do not add
35357 $(unix-generated) to variable.
35358 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35359 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35360 Remove rule.
35361 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35362 Likewise.
35363 [generic bits/local_lim.h] (before-compile): Do not append to
35364 variable.
35365 [generic bits/local_lim.h] (common-generated): Likewise.
35366 [generic sys/param.h] (before-compile): Do not append to variable.
35367 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35368 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35369 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35370 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35371 include.
35372 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35373 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35374 [generic sys/param.h] ($(addprefix
35375 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35376 [generic sys/param.h] (common-generated): Do not append to
35377 variable.
35378 [generic sys/param.h] (sysdep_headers): Likewise.
35379 [generic bits/errno.h] (before-compile): Do not append to
35380 variable.
35381 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35382 rule.
35383 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35384 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35385 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35386 [generic bits/errno.h] (common-generated): Do not append to
35387 variable.
35388 [generic bits/ioctls.h] (before-compile): Do not append to
35389 variable.
35390 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35391 rule.
35392 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35393 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35394 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35395 rule.
35396 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35397 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35398 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35399 [generic bits/ioctls.h] (common-generated): Do not append to
35400 variable.
35401 [generic sys/syscall.h] (syscall.h): Remove variable.
35402 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35403 rule.
35404 [generic sys/syscall.h] (before-compile): Do not append to
35405 variable.
35406 [generic sys/syscall.h] (common-generated): Likewise.
35407 * sysdeps/unix/errnos-tmpl.c: Remove file.
35408 * sysdeps/unix/errnos.awk: Likewise.
35409 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35410 * sysdeps/unix/ioctls.awk: Likewise.
35411 * sysdeps/unix/mk-local_lim.c: Likewise.
35412 * sysdeps/unix/snarf-ioctls: Likewise.
35413
4851a949
RH
354142012-03-19 Richard Henderson <rth@twiddle.net>
35415
bd37f2ee
RH
35416 * sysdeps/i386/fpu/fenv_private.h: New file.
35417 * sysdeps/i386/fpu/math_private.h: Use it.
35418 (math_opt_barrier, math_force_eval): Remove.
35419 (libc_feholdexcept_setround_53bit): Remove.
35420 (libc_feupdateenv_53bit): Remove.
35421 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35422 (math_opt_barrier, math_force_eval): Remove.
35423 (libc_feholdexcept): Remove.
35424 (libc_feholdexcept_setround): Remove.
35425 (libc_fetestexcept, libc_fesetenv): Remove.
35426 (libc_feupdateenv_test): Remove.
35427 (libc_feupdateenv, libc_feholdsetround): Remove.
35428 (libc_feresetround): Remove.
35429
d0adc922
RH
35430 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35431 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35432
0fe0f1f8
RH
35433 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35434 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35435 (libc_feupdateenv_testl): New.
35436 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35437 (libc_feupdateenv_testf): New.
35438 (libc_feupdateenv): Use libc_feupdateenv_test.
35439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35440 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35441
eb92c487
RH
35442 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35443 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35444 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35445 (libc_feresetround_noex): New.
35446 (libc_feresetround_noexf): New.
35447 (libc_feresetround_noexl): New.
35448 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35449 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35450 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35451 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35452 SET_RESTORE_ROUND.
35453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35455 (__cos): Likewise.
35456 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35457 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35458 SET_RESTORE_ROUND_NOEX.
35459 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35460 SET_RESTORE_ROUND_NOEXF.
35461 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35462 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35463 (libc_feholdsetroundf): New.
35464 (libc_feresetround, libc_feresetroundf): New.
35465
7d2e8012
RH
35466 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35467 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35468 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35469
b4dabbb4
RH
35470 * sysdeps/generic/math_private.h: Include <fenv.h>.
35471 (default_libc_feholdexcept): New.
35472 (default_libc_feholdexcept_setround): New.
35473 (default_libc_fesetenv, default_libc_feupdateenv): New.
35474 (libc_feholdexcept): Only define if undefined.
35475 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35476 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35477 (libc_feholdexcept_setroundl): Likewise.
35478 (libc_feholdexcept_setround_53bit): Likewise.
35479 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35480 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35481 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35482 (libc_feupdateenv_53bit): Likewise.
35483 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35484 (libc_feholdexcept): Convert from macro to inline function.
35485 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35486 (libc_fesetenv, libc_feupdateenv): Likewise.
35487
4851a949
RH
35488 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35489 not previously defined.
35490 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35491 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35492 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35493 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35494 * sysdeps/ieee754/flt-32/math_private.h: New file.
35495 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35496 math_private.h below SET_FLOAT_WORD.
35497 (__isnan, __isinf_ns, __finite): Remove.
35498 (__isnanf, __isinf_nsf, __finitef): Remove.
35499
e79d442e
AS
355002012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35501
35502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35503
90b80344
DM
355042012-03-17 David S. Miller <davem@davemloft.net>
35505
35506 [BZ #6471]
35507 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35508 for 2.16.
35509
edc21804
DM
355102012-03-16 David S. Miller <davem@davemloft.net>
35511
77e927af
DM
35512 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35513 warnings.
35514
374976dd
DM
35515 [BZ #6471]
35516 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35517 properly.
35518 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35519 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35520 sysdep_routines when subdir is sysvipc.
35521 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35522 __getshmlba helper.
35523
edc21804
DM
35524 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35525
473c3ef3
L
355262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35527
35528 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35529 [__LP64__].
35530
eb0f39b6
L
355312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35532
35533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35534 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35535 (__lround): Renamed to ...
35536 (__llround): This. Replace long int with long long int.
35537 Define lround functions as aliases of llround functions.
35538 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35539
6b6cd74b
L
355402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35541
35542 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35543 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35544 adresses to uintptr_t. Replace "long int" and "unsigned long
35545 int" with "greg_t" on va_arg.
35546
f1a77b01
L
355472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35548
35549 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35550 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35551
35552 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35553 Move e_machine check before EI_CLASS check. Handle x32
35554 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35555 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35556 SKIP_EM_IA_64 and include
35557 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35558
35559 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35560 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35561 (add_system_dir): New macro.
35562
35563 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35564 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35565
11b90b9f
JM
355662012-03-16 Joseph Myers <joseph@codesourcery.com>
35567
c36e1d23
JM
35568 [BZ #2551]
35569 [BZ #2552]
35570 [BZ #2553]
35571 [BZ #2554]
35572 [BZ #2562]
35573 [BZ #2563]
35574 [BZ #2565]
35575 [BZ #2566]
35576 [BZ #2576]
35577 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35578 (y0): Likewise.
35579 * math/w_j0f.c (j0f): Likewise.
35580 (y0f): Likewise.
35581 * math/w_j0l.c (__j0l): Likewise.
35582 (__y0l): Likewise.
35583 * math/w_j1.c (j1): Likewise.
35584 (y1): Likewise.
35585 * math/w_j1f.c (j1f): Likewise.
35586 (y1f): Likewise.
35587 * math/w_j1l.c (__j1l): Likewise.
35588 (__y1l): Likewise.
35589 * math/w_jn.c (jn): Likewise.
35590 (yn): Likewise.
35591 * math/w_jnf.c (jnf): Likewise.
35592 (ynf): Likewise.
35593 * math/w_jnl.c (__jnl): Likewise.
35594 (__ynl): Likewise.
35595 * math/libm-test.inc (j0_test): Add more tests.
35596 (j1_test): Likewise.
35597 (jn_test): Likewise. Add trailing semicolon to existing test.
35598 (y0_test): Likewise.
35599 (y1_test): Likewise.
35600 * sysdeps/i386/fpu/libm-test-ulps: Update.
35601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35602
11b90b9f
JM
35603 [BZ #13851]
35604 [BZ #13854]
35605 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35606 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35607 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35608 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35609 (__tanl): Set errno for infinite argument.
35610 * sysdeps/i386/fpu/mptan.c: Remove.
35611 * sysdeps/i386/fpu/s_tan.S: Likewise.
35612 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35613 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35614 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35615 * math/libm-test.inc (tan_test): Add more tests and enable more
35616 tests for double and long double.
35617 * sysdeps/i386/fpu/libm-test-ulps: Update.
35618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35619
6a1bd2a1
JK
356202012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35621
35622 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35623 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35624
10a803e0
RM
356252012-03-16 Roland McGrath <roland@hack.frob.com>
35626
35627 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35628 * configure.in: Use it for both main tree and add-ons.
35629 * configure: Regenerated.
35630
f196c7f7
L
356312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35632
35633 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35634
8848d99d
JM
356352012-03-16 Joseph Myers <joseph@codesourcery.com>
35636
96cbe7f4
JM
35637 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35638 in comment.
35639
8848d99d
JM
35640 [BZ #13851]
35641 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35642 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35645 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35646 infinite argument.
35647 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35649 != 0 for prec == 2.
35650 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35651 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35652 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35653 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35654 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35655 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35656 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35657 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35658 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35659 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35660 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35661 * math/libm-test.inc (cos_test): Add more tests and enable more
35662 tests for long double.
35663 (sin_test): Likewise.
35664 (sincos_test): Likewise.
35665 * sysdeps/i386/fpu/libm-test-ulps: Update.
35666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35667
dd7f4703
DM
356682012-03-16 David S. Miller <davem@davemloft.net>
35669
35670 * sysdeps/sparc/fpu/math_private.h: New file.
35671
006f1daa
DM
356722012-03-15 David S. Miller <davem@davemloft.net>
35673
c0c83bc8
DM
35674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35675 file.
e6a62e18 35676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35678 file.
e6a62e18
DM
35679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35685 sysdep routines.
35686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35687
88cb87d9
DM
35688 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35689 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35690
006f1daa 35691 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35693 sparc-ifunc.h
006f1daa 35694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35696 Likewise.
35697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35698 Likewise.
006f1daa
DM
35699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35703 Likewise.
006f1daa
DM
35704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35709 Likewise.
35710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35711 Likewise.
006f1daa
DM
35712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35735 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35736
11e0098e
AS
357372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35738
35739 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35740 scaling.
35741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35742
e85b09d0
AJ
357432012-03-15 Andreas Jaeger <aj@suse.de>
35744
35745 [BZ #13852]
35746 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35747 ieee754/flt-32 implementation for sin, cos and sincos.
35748 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35749 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35750 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35751 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35752 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35753 ieee754/flt-32 implementation for tan.
35754
35755 * math/libm-test.inc (cos_test): Enable some large input tests for
35756 float as well
35757 (sin_test): Likewise.
35758 (sincos_test): Likewise.
35759 (tan_test): Add tests for large input.
35760
35761 * sysdeps/i386/fpu/libm-test-ulps: Update.
35762
81c64153
AJ
357632012-03-15 Andreas Jaeger <aj@suse.de>
35764
35765 [BZ #13658]
35766 * math/libm-test.inc (cos_test): Add more test cases.
35767 (sin_test): Likewise.
35768 (sincos_test): Likewise.
35769
7bbfa5c6
AJ
357702012-03-15 Andreas Jaeger <aj@suse.de>
35771
35772 [BZ #13837]
35773 * math/libm-test.inc (cos_test): Add a test case for large input
35774 value.
35775 (sin_test): Likewise.
35776 (sincos_test): Likewise.
35777
57f41c40
AS
357782012-03-15 Andreas Jaeger <aj@suse.de>
35779 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35780
35781 [BZ #13658]
0671f479 35782 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35783 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35784 * sysdeps/i386/fpu/branred.c: Likewise.
35785 * sysdeps/i386/fpu/dosincos.c: Likewise.
35786 * sysdeps/i386/fpu/mpa.c: Likewise.
35787 * sysdeps/i386/fpu/s_cos.S: Likewise.
35788 * sysdeps/i386/fpu/s_sin.S: Likewise.
35789 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35790 * sysdeps/i386/fpu/sincos32.c: Likewise.
35791
35792 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35793 Define.
35794 (libc_feupdateenv_53bit): Define.
35795 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35796 Define.
35797 (libc_feupdateenv_53bit): Define.
35798
35799 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35800 53 bit (without extend i386 double precision).
35801
35802 * math/libm-test.inc (sincos_test): Add tests for large input.
35803 (sin): Likewise.
35804 (cos): Likewise.
35805
35806 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35807
9cad04ea
AS
358082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35809
35810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35811
f7062b9a
DM
358122012-03-15 David S. Miller <davem@davemloft.net>
35813
35814 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35815 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35816 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35817 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35830 file.
f7062b9a 35831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35833 file.
f7062b9a 35834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35836 file.
f7062b9a 35837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35839 file.
f7062b9a
DM
35840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35841 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35842 fmin/fmax sysdep routines.
35843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35844
7bd951ff
DM
358452012-03-14 David S. Miller <davem@davemloft.net>
35846
559398ab
DM
35847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35875 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35876 routines.
35877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35878 file.
559398ab 35879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35881 file.
559398ab 35882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35884 file.
559398ab 35885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35887 file.
559398ab 35888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35890 file.
559398ab 35891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35893 file.
35894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35895 file.
35896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35897 file.
35898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35899 file.
35900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35901 New file.
35902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35903 file.
35904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35905 file.
559398ab 35906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35908 file.
559398ab 35909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35911 file.
559398ab 35912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35914 file.
559398ab 35915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35917 VIS3 routines.
559398ab
DM
35918
35919 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35920 New file.
35921
5a1c1e32
DM
35922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35923
eae47a36
DM
35924 * sysdeps/sparc/configure.in: New file.
35925 * sysdeps/sparc/configure: Generate.
35926 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35927 * configure: Regenerate.
35928 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35929 * config.make.in (have-as-vis3): New.
35930 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35931 available use -Av9d instead of -Av9a.
35932 * sysdeps/sparc/sparc64/Makefile: Likewise.
35933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35935 New file.
35936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35937 file.
35938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35939 New file.
35940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35941 file.
eae47a36
DM
35942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35945 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35947
c0c83bc8
DM
35948 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35949 fzeros/fnegs to load 0x80000000 into a float register instead of
35950 using the stack.
7bd951ff
DM
35951 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35952
bd951ccb
JM
359532012-03-14 Joseph Myers <joseph@codesourcery.com>
35954
35955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35956 bits/syscall.h.
35957 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35958 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35959 ($(inst_includedir)/bits/syscall.h): Remove rule.
35960 ($(objpfx)bits/syscall.d): Include instead of
35961 $(objpfx)syscall-list.d.
35962 (generated): Change syscall-list.h and syscall-list.d to
35963 bits/syscall.h and bits/syscall.d.
35964
bb4e6db2
RM
359652012-03-14 Roland McGrath <roland@hack.frob.com>
35966
35967 [BZ #13846]
35968 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35969
aa4a2ae1
JM
359702012-03-14 Joseph Myers <joseph@codesourcery.com>
35971
e456826d
JM
35972 [BZ #13841]
35973 * math/s_csqrt.c: Include <float.h>.
35974 (__csqrt): Scale large or subnormal inputs.
35975 * math/s_csqrtf.c: Likewise.
35976 * math/s_csqrtl.c: Likewise.
35977 * math/libm-test.inc (csqrt_test): Add more tests.
35978 * sysdeps/i386/fpu/libm-test-ulps: Update.
35979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35980
aa4a2ae1
JM
35981 [BZ #13840]
35982 * math/libm-test.inc (hypot_test): Add more tests.
35983
7c10fd35
DM
359842012-03-13 David S. Miller <davem@davemloft.net>
35985
35986 [BZ #13840]
35987 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35988 double-precision for the calculation instead of scaling.
35989
f453b98b
JM
359902012-03-13 Joseph Myers <joseph@codesourcery.com>
35991
35992 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35993 manipulate bits before adding and subtracting TWO52[sx].
35994 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35995 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35996 Likewise.
35997 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35998
09a3453f
DM
359992012-03-13 David S. Miller <davem@davemloft.net>
36000
8e59da90
DM
36001 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36002 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36004 rtld-global-offsets.h
36005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36006
2a8ab7f2
DM
36007 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36008 large parameters.
36009
10f62770
DM
36010 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36011
5f0bdb18
DM
36012 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36013 'err' in the ifdef scope in which it is actually used.
36014
09a3453f
DM
36015 * nss/nss_db/db-init.c: Include string.h
36016
b4b2eb5e
DM
360172012-03-12 David S. Miller <davem@davemloft.net>
36018
98bb2f1c
DM
36019 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36020 masking out of the most significant byte of random value used.
36021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36022 Fix coding style in previous change.
36023
b4b2eb5e
DM
36024 * sysdeps/unix/sysv/linux/kernel-features.h
36025 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36026 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36027 expression.
36028 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36029 later.
36030
6e226b09
DM
360312012-03-11 David S. Miller <davem@davemloft.net>
36032
a1bcbd40
DM
36033 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36034 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36035 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36036 for 'resultvar' otherwise things get truncated on 64-bit.
36037
cb9d6174
DM
36038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36039 Fix masking out of the most significant byte of random value used.
36040
6e226b09
DM
36041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36042
058c132d
AS
360432012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36044
36045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36046
2d2cd515
DM
360472012-03-09 David S. Miller <davem@davemloft.net>
36048
36049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36050 variables with appropriate CPP guards.
57f41c40
AS
36051 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36052 from the frame pointer, not the stack pointer. Correct layout
36053 comments. Fix test on resulting framesize and the management of
36054 the outregs buffer for pltexit. Preserve floating point return
36055 values across _dl_call_pltexit call.
2d2cd515
DM
36056 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36057 framesize and the management of the outregs buffer for pltexit.
36058 Preserve floating point return values across _dl_call_pltexit
36059 call.
57f41c40
AS
36060 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36061 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36062 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36063 (print_exit): Fix format string for return register value.
36064
9a07f9d0
JM
360652012-03-10 Joseph Myers <joseph@codesourcery.com>
36066
36067 * sunrpc/Makefile (others): Add rpcgen.
36068 ($(objpfx)rpcgen): Remove special build rule and dependency on
36069 libc.
36070 * sunrpc/rpcgen.c: New file.
36071
547b5e30
PE
360722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36073
c524201a
PE
36074 [BZ #13673]
36075 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36076 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36077 * sysdeps/i386/crti.S: Likewise.
36078 * sysdeps/i386/crtn.S: Likewise.
36079 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36080 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36081 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36082 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36083 * sysdeps/sh/crti.S: Likewise.
36084 * sysdeps/sh/crtn.S: Likewise.
36085 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36086
7b6235f2
PE
36087 [BZ #13673]
36088 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36089 with URL.
36090 * locale/programs/locfile-kw.gperf: Likewise.
36091 * locale/programs/charmap-kw.h: Regenerated.
36092 * locale/programs/locfile-kw.h: Likewise.
36093
547b5e30
PE
36094 [BZ #13673]
36095 * intl/plural.y: Replace FSF snail mail address with URL.
36096 * intl/plural.c: Regenerated.
36097
5f0a5dae
RH
360982012-03-09 Richard Henderson <rth@twiddle.net>
36099
36100 * include/math_private.h: Remove file.
36101 * math/math_private.h: Move file ...
36102 * sysdeps/generic/math_private.h: ... here.
36103
b8c03620
RH
36104 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36105 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36106 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36107
4e234f5d 36108 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36109 and <math_private.h>.
36110 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36111 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36112 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36113 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36114 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36115 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36116 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36118 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36119 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36121 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36122 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36123 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36124 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36125 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36126 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36127 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36128 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36129 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36131 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36132 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36133 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36134 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36135 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36136 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36140 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36142 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36143 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36144 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36145 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36146 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36147 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36148 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36149 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36151 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36153 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36154 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36158 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36159 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36160 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36161 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36162 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36163 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36164 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36165 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36166 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36167 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36168 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36169 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36170 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36171 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36173 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36174 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36175 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36176 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36177 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36178 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36179 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36180 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36181 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36182 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36183 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36184 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36189 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36190 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36191 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36192 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36193 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36194 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36197 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36198 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36199 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36200 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36201 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36202 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36203 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36204 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36205 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36206 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36207 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36209 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36210 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36211 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36212 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36213 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36214 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36215 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36216 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36217 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36218 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36219 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36220 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36221 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36222 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36223 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36224 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36225 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36226 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36227 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36228 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36229 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36230 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36231 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36232 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36233 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36234 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36235 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36236 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36237 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36238 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36239 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36240 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36241 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36242 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36243 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36244 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36246 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36247 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36248 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36249 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36250 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36251 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36252 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36253 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36254 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36255 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36256 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36257 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36258 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36259 * sysdeps/ieee754/k_standard.c: Likewise.
36260 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36261 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36262 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36263 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36264 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36265 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36266 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36267 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36268 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36269 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36270 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36271 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36272 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36273 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36274 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36275 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36276 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36277 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36278 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36279 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36280 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36281 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36282 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36283 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36284 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36285 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36286 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36287 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36288 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36289 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36290 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36291 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36292 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36293 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36294 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36295 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36296 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36297 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36298 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36299 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36300 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36301 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36302 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36303 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36304 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36305 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36306 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36307 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36308 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36310 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36311 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36312 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36313 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36316 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36317 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36318 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36319 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36320 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36321 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36322 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36323 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36324 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36325 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36326 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36327 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36330 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36332 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36333 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36334 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36335 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36336 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36337 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36341 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36342 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36343 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36344 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36345 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36346 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36347 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36348 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36349 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36350 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36351 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36352 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36353 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36354 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36355 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36356 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36357 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36358 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36359 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36361 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36363 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36364 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36365 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36366 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36367 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36368 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36369 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36370 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36371 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36372 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36373 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36374 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36375 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36376 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36377 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36378 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36379 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36380 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36381 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36382 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36383 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36384 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36385 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36386 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36387 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36388 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36389 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36390 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36391 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36392 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36393 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36394 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36395 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36396 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36397 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36398 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36399 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36400 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36401 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36402 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36403 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36404 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36405 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36406 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36407 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36408 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36409 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36410 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36411 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36412 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36413 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36414 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36415 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36416 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36417 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36418 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36419 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36420 * sysdeps/ieee754/s_lib_version.c: Likewise.
36421 * sysdeps/ieee754/s_matherr.c: Likewise.
36422 * sysdeps/ieee754/s_signgam.c: Likewise.
36423 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36424 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36425 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36426 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36427 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36428 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36429 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36430 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36431 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36432 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36433 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36434 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36435 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36436 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36437 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36438 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36439 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36440 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36441 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36442 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36444
1991fa03
JM
364452012-03-09 Joseph Myers <joseph@codesourcery.com>
36446
36447 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36448 * sunrpc/rpc_main.c: Likewise.
36449 * sunrpc/rpc_svcout.c: Likewise.
36450
60d6f5a6
DM
364512012-03-09 David S. Miller <davem@davemloft.net>
36452
36453 * include/math_private.h: New file.
36454
4962050e
JM
364552012-03-09 Joseph Myers <joseph@codesourcery.com>
36456
02a6f887
JM
36457 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36458 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36459 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36460 from <bits/socket_type.h>.
36461 (enum __socket_type): Don't define here.
36462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36464 bits/socket_type.h.
36465
c6e013c1
JM
36466 [BZ #13566]
36467 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36468 checking __USE_GNU.
36469
4962050e
JM
36470 * Makerules ($(inst_includedir)/%.h): New rule.
36471 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36472 (install-others): Remove variable setting.
36473 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36474
38842f45
RH
364752012-03-08 Richard Henderson <rth@twiddle.net>
36476
67bb6da6
RH
36477 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36478 from macro to inline function; merge with the
36479 !__LIBC_INTERNAL_MATH_INLINES version.
36480 (__ieee754_sqrtf): Likewise.
36481
15194b4b
RH
36482 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36483 to inline function.
36484 (__rintf, __floor, __floorf): Likewise.
36485
64e21ede
RH
36486 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36487 macro to inline function.
36488 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36489
38842f45
RH
36490 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36491 not <math/math_private.h>.
36492
c64bf5fe
DM
364932012-03-08 David S. Miller <davem@davemloft.net>
36494
36495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36496 copyright year.
36497 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36498
82d86f28
TS
364992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36500
36501 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36502 normalization.
36503 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36504 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36505
aea5d727
UD
365062012-03-08 Ulrich Drepper <drepper@gmail.com>
36507
36508 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36509 be defined individually, they must be defined as a block. Define
36510 S for printing a string instead of hidint the different by using a
36511 macro for adding the 'l'.
36512 * stdio-common/tst-fphex-wide.c: Adjust.
36513
70bca0a3
MP
365142012-03-07 Marek Polacek <polacek@redhat.com>
36515
36516 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36517
65b81130
MP
365182012-03-08 Marek Polacek <polacek@redhat.com>
36519
36520 [BZ #13806]
36521 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36522 * stdio-common/tst-fphex.c: Define a few macros to make the
36523 test reusable. Use them.
36524 * stdio-common/tst-fphex-wide.c: New file.
36525
07037eeb
JM
365262012-03-08 Joseph Myers <joseph@codesourcery.com>
36527
a7a93d50
JM
36528 [BZ #6911]
36529 * manual/macros.texi (gnusystems): New macro.
36530 (nongnusystems): Likewise.
36531 (gnulinuxhurdsystems): Likewise.
36532 (gnuhurdsystems): Likewise..
36533 (gnulinuxsystems): Likewise.
36534 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36535 variants of the GNU system, not "GNU system".
36536 * manual/conf.texi: Likewise.
36537 * manual/errno.texi: Likewise. Update example of errno macro
36538 expansion.
36539 * manual/filesys.texi: Likewise.
36540 (getumask): Document as specific to GNU/Hurd.
36541 * manual/install.texi: Likewise. Reword some references to
36542 GNU/Linux.
36543 * manual/intro.texi: Likewise.
36544 * manual/io.texi: Likewise.
36545 (File Name Portability): Detail which constraints are inapplicable
36546 to all GNU systems and which are only inapplicable to GNU/Hurd.
36547 * manual/job.texi: Likewise.
36548 * manual/llio.texi: Likewise.
36549 (O_NOCTTY): Document as present on GNU/Linux.
36550 * manual/maint.texi: Likewise.
36551 * manual/memory.texi: Likewise.
36552 * manual/pattern.texi: Likewise.
36553 * manual/pipe.texi: Likewise.
36554 * manual/process.texi: Likewise.
36555 * manual/resource.texi: Likewise.
36556 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36557 child on GNU/Hurd.
36558 * manual/setjmp.texi: Likewise.
36559 * manual/signal.texi: Likewise.
36560 * manual/startup.texi: Likewise.
36561 * manual/stdio.texi: Likewise.
36562 * manual/terminal.texi: Likewise.
36563 (ONLCR): Document as POSIX.
36564 (OXTABS): Document availability on GNU/Linux as XTABS.
36565 (ONOEOT): Document availability separately from other bits.
36566 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36567 * manual/time.texi: Likewise.
36568 * manual/users.texi: Likewise.
36569 * INSTALL: Regenerated.
36570 * sysdeps/gnu/errlist.c: Regenerated.
36571
07037eeb
JM
36572 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36573 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36574 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36575 puts.
36576 * configure: Regenerated.
36577
d1d3431a
JM
365782012-03-07 Joseph Myers <joseph@codesourcery.com>
36579
af6a1e37
JM
36580 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36581 default includes instead of AC_HEADER_CHECK.
36582 * sysdeps/i386/configure: Regenerated.
36583
d1d3431a
JM
36584 [BZ #10716]
36585 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36586 * math/s_cacoshf.c (__cacoshf): Likewise.
36587 * math/s_cacoshl.c (__cacoshl): Likewise.
36588 * math/s_casinh.c (__casinh): Set signs of result from argument.
36589 * math/s_casinhf.c (__casinhf): Likewise.
36590 * math/s_casinhl.c (__casinhl): Likewise.
36591 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36592 (casinh_test): Add more tests.
36593 * sysdeps/i386/fpu/libm-test-ulps: Update.
36594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36595
482ff4da
UD
365962012-03-07 Ulrich Drepper <drepper@gmail.com>
36597
872fda05
UD
36598 * po/zh_TW.po: Update from translation team.
36599
a4300c7a
UD
36600 * login/Makefile (distribute): Remove variable.
36601 * catgets/Makefile: Likewise.
36602 * mach/Makefile: Likewise.
36603 * malloc/Makefile: Likewise.
36604 * misc/Makefile: Likewise.
36605 * iconv/Makefile: Likewise.
36606 * nscd/Makefile: Likewise.
36607 * hurd/Makefile: Likewise.
36608 * manual/Makefile: Likewise.
36609 * locale/Makefile: Likewise.
36610 * intl/Makefile: Likewise.
36611 * conform/Makefile: Likewise.
36612 * nss/Makefile: Likewise.
36613 * time/Makefile: Likewise.
36614 * soft-fp/Makefile: Likewise.
36615 * dirent/Makefile: Likewise.
36616 * gmon/Makefile: Likewise.
36617 * po/Makefile: Likewise.
36618 * rt/Makefile: Likewise.
36619 * socket/Makefile: Likewise.
36620 * math/Makefile: Likewise.
36621 * signal/Makefile: Likewise.
36622 * debug/Makefile: Likewise.
36623 * elf/Makefile: Likewise.
36624 * timezone/Makefile: Likewise.
36625 * stdlib/Makefile: Likewise.
36626 * iconvdata/Makefile: Likewise.
36627 * sunrpc/Makefile: Likewise.
36628 * io/Makefile: Likewise.
36629 * argp/Makefile: Likewise.
36630 * inet/Makefile: Likewise.
36631 * hesiod/Makefile: Likewise.
36632 * grp/Makefile: Likewise.
36633 * csu/Makefile: Likewise.
36634 * wctype/Makefile: Likewise.
36635 * crypt/Makefile: Likewise.
36636 * libio/Makefile: Likewise.
36637 * string/Makefile: Likewise.
36638 * nis/Makefile: Likewise.
36639 * resolv/Makefile: Likewise.
36640 * stdio-common/Makefile: Likewise.
36641 * wcsmbs/Makefile: Likewise.
36642 * dlfcn/Makefile: Likewise.
36643 * posix/Makefile: Likewise.
36644
3b7c4e74 36645 [BZ #6959]
482ff4da
UD
36646 * timezone/Makefile: Don't install timezone files, just the programs
36647 and scripts.
36648
f72ed77d
UD
366492012-03-06 Ulrich Drepper <drepper@gmail.com>
36650
a000466f
UD
36651 * nss/databases.def: Add missing gshadow entry.
36652
f72ed77d
UD
36653 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36654
a53b7a4e
MP
366552012-03-06 Marek Polacek <polacek@redhat.com>
36656
36657 [BZ #13726]
36658 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36659 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36660 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36661 * stdio-common/tst-long-dbl-fphex.c: New file.
36662
e9258400
DM
366632012-03-06 David S. Miller <davem@davemloft.net>
36664
36665 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36666 (set_obp_int): New function.
36667 (get_obp_int): New function.
36668 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36670 Avoid unused variable warnings on 'val' and use builtin_expect.
36671 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36672 __builtin_expect.
e9258400
DM
36673 (INLINE_CLONE_SYSCALL): Likewise.
36674
3bd2c723
DM
366752012-03-05 David S. Miller <davem@davemloft.net>
36676
36677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36678
bbb78d03
AS
366792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36680
884c5db4
AS
36681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36682
bbb78d03
AS
36683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36684 only for |x| >= 40.
36685 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36686
1c9f702a 366872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36688
36689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36690 Replace gettimeofday with __vdso_gettimeofday.
36691
7be16f82
RM
36692 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36693 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36694 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36695
36696 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36697 time with __vdso_time.
36698
ed58a00f
JM
366992012-03-05 Joseph Myers <joseph@codesourcery.com>
36700
36701 * manual/lang.texi (size_t): Note types to which size_t may be
36702 equivalent with the GNU C Library, but do not describe when
36703 differences between them are significant.
36704
30ee4ced
AJ
367052012-03-05 Andreas Jaeger <aj@suse.de>
36706
36707 * sysdeps/i386/fpu/libm-test-ulps: Update.
36708
b7cd39e8
JM
367092012-03-05 Joseph Myers <joseph@codesourcery.com>
36710
36711 [BZ #3976]
36712 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36713 (__ieee754_pow): Save and restore rounding mode and use
36714 round-to-nearest for main computations.
36715 * math/libm-test.inc (pow_test_tonearest): New function.
36716 (pow_test_towardzero): Likewise.
36717 (pow_test_downward): Likewise.
36718 (pow_test_upward): Likewise.
36719 (main): Call the new functions.
36720 * sysdeps/i386/fpu/libm-test-ulps: Update.
36721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36722
36723 [BZ #3976]
36724 * math/libm-test.inc (cosh_test_tonearest): New function.
36725 (cosh_test_towardzero): Likewise.
36726 (cosh_test_downward): Likewise.
36727 (cosh_test_upward): Likewise.
36728 (sinh_test_tonearest): Likewise.
36729 (sinh_test_towardzero): Likewise.
36730 (sinh_test_downward): Likewise.
36731 (sinh_test_upward): Likewise.
36732 (main): Call the new functions.
36733 * sysdeps/i386/fpu/libm-test-ulps: Update.
36734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36735
6c6a98c9
TV
367362012-03-05 Tom de Vries <tom@codesourcery.com>
36737
36738 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36739 default stack guard is set in last bytes.
36740 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36741
21bb2d2e 367422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36743
21bb2d2e 36744 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36745
21bb2d2e
AJ
36746 [BZ #13656]
36747 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36748 possibly allocate from heap instead of stack.
36749 * stdio-common/bug-vfprintf-nargs.c: New file.
36750 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36751
c6922934
AS
367522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36753
36754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36755
bc957d53
MP
367562012-03-03 Marek Polacek <polacek@redhat.com>
36757
36758 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36759 * math/math_private.h: Likewise.
36760 * stdlib/tst-strtod.c: Likewise.
36761 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36762 * sysdeps/x86_64/bits/atomic.h: Likewise.
36763
6358490d
DM
367642012-03-02 David S. Miller <davem@davemloft.net>
36765
36766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36770 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36771 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36772 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36773 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36774
01ae168d
RM
367752012-03-02 Roland McGrath <roland@hack.frob.com>
36776
d9a17c07
RM
36777 [BZ #13792]
36778 * manual/examples/README: New file, says the example source files
36779 can be used under GPL>=2.
36780 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36781 line containing just "*/".
36782 * manual/examples/add.c: Add copyright header (GPL>=2).
36783 * manual/examples/argp-ex1.c: Likewise.
36784 * manual/examples/argp-ex2.c: Likewise.
36785 * manual/examples/argp-ex3.c: Likewise.
36786 * manual/examples/argp-ex4.c: Likewise.
36787 * manual/examples/atexit.c: Likewise.
36788 * manual/examples/db.c: Likewise.
36789 * manual/examples/dir.c: Likewise.
36790 * manual/examples/dir2.c: Likewise.
36791 * manual/examples/execinfo.c: Likewise.
36792 * manual/examples/filecli.c: Likewise.
36793 * manual/examples/filesrv.c: Likewise.
36794 * manual/examples/fmtmsgexpl.c: Likewise.
36795 * manual/examples/genpass.c: Likewise.
36796 * manual/examples/inetcli.c: Likewise.
36797 * manual/examples/inetsrv.c: Likewise.
36798 * manual/examples/isockad.c: Likewise.
36799 * manual/examples/longopt.c: Likewise.
36800 * manual/examples/memopen.c: Likewise.
36801 * manual/examples/memstrm.c: Likewise.
36802 * manual/examples/mkfsock.c: Likewise.
36803 * manual/examples/mkisock.c: Likewise.
36804 * manual/examples/mygetpass.c: Likewise.
36805 * manual/examples/pipe.c: Likewise.
36806 * manual/examples/popen.c: Likewise.
36807 * manual/examples/rprintf.c: Likewise.
36808 * manual/examples/search.c: Likewise.
36809 * manual/examples/select.c: Likewise.
36810 * manual/examples/setjmp.c: Likewise.
36811 * manual/examples/sigh1.c: Likewise.
36812 * manual/examples/sigusr.c: Likewise.
36813 * manual/examples/stpcpy.c: Likewise.
36814 * manual/examples/strdupa.c: Likewise.
36815 * manual/examples/strftim.c: Likewise.
36816 * manual/examples/strncat.c: Likewise.
36817 * manual/examples/subopt.c: Likewise.
36818 * manual/examples/swapcontext.c: Likewise.
36819 * manual/examples/termios.c: Likewise.
36820 * manual/examples/testopt.c: Likewise.
36821 * manual/examples/testpass.c: Likewise.
36822 * manual/examples/timeval_subtract.c: Likewise.
36823
01ae168d
RM
36824 [BZ #13792]
36825 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36826 function to ...
36827 * manual/timeval_subtract.c.texi: ... here, new file.
36828
49efa33d
DM
368292012-03-02 David S. Miller <davem@davemloft.net>
36830
36831 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36832
28afd92d
JM
368332012-03-02 Joseph Myers <joseph@codesourcery.com>
36834
804360ed
JM
36835 [BZ #3976]
36836 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36837 (__sin): Save and restore rounding mode and use round-to-nearest
36838 for all computations.
36839 (__cos): Save and restore rounding mode and use round-to-nearest
36840 for all computations.
36841 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36842 <fenv.h>.
36843 (tan): Save and restore rounding mode and use round-to-nearest for
36844 all computations.
36845 * math/libm-test.inc (cos_test_tonearest): New function.
36846 (cos_test_towardzero): Likewise.
36847 (cos_test_downward): Likewise.
36848 (cos_test_upward): Likewise.
36849 (sin_test_tonearest): Likewise.
36850 (sin_test_towardzero): Likewise.
36851 (sin_test_downward): Likewise.
36852 (sin_test_upward): Likewise.
36853 (tan_test_tonearest): Likewise.
36854 (tan_test_towardzero): Likewise.
36855 (tan_test_downward): Likewise.
36856 (tan_test_upward): Likewise.
36857 (main): Call the new functions.
36858 * sysdeps/i386/fpu/libm-test-ulps: Update.
36859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36860
a6d06d7b
JM
36861 [BZ #10135]
36862 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36863 small n, then large n, before computing and testing k+n.
36864 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36866 Likewise.
36867 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36868 Likewise.
36869 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36870 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36871 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36872 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36873 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36874 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36876 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36877 * math/libm-test.inc (scalbn_test): Add more tests.
36878 (scalbln_test): Likewise.
36879
07e12bb3
JM
36880 * manual/filesys.texi (mode_t): Describe constraints on size and
36881 signedness, not exact equivalence to a particular type.
36882 (ino_t): Likewise.
36883 (ino64_t): Likewise.
36884 (dev_t): Likewise.
36885 (nlink_t): Likewise.
36886 (blkcnt_t): Likewise.
36887 (blkcnt64_t): Likewise.
36888 * manual/llio.texi (off_t): Likewise.
36889
28afd92d
JM
36890 [BZ #3976]
36891 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36892 (__ieee754_exp): Save and restore rounding mode and use
36893 round-to-nearest for all computations.
36894 * math/libm-test.inc (exp_test_tonearest): New function.
36895 (exp_test_towardzero): Likewise.
36896 (exp_test_downward): Likewise.
36897 (exp_test_upward): Likewise.
36898 (main): Call the new functions.
36899 * sysdeps/i386/fpu/libm-test-ulps: Update.
36900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36901
b1eeb65d
CD
369022012-03-01 Chris Demetriou <cgd@google.com>
36903
36904 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36905 have predictable order.
36906
53362a4b
DM
369072012-03-01 David S. Miller <davem@davemloft.net>
36908
3c969083
DM
36909 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36910
759707de
DM
36911 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36912 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36913 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36914 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36915
dfdb8ff2
DM
36916 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36917 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36918 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36920 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36921 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36922 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36923 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36924 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36925
ead89f96
DM
36926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36927
7f66bd07
DM
36928 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36929 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36930 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36931
53362a4b
DM
36932 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36933 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36934 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36935 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36936 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36937 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36939 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36940 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36941 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36942 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36943 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36945 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36946 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36948 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36949 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36950 * sysdeps/sparc/elf/configure: Regenerated.
36951
7b1902cb
JM
369522012-03-01 Joseph Myers <joseph@codesourcery.com>
36953
bec039bc
JM
36954 * configure.in (AS, LD): Require binutils 2.20 or later.
36955 * configure: Regenerated.
36956 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36957 as required minimum version.
36958 * INSTALL: Regenerated.
36959
7b1902cb
JM
36960 [BZ #2541]
36961 [BZ #4108]
36962 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36963 before squaring exponent.
36964 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36965 bottom long double and 27 bits of top long double before squaring
36966 exponent.
36967 * math/libm-test.inc (erfc_test): Add more tests.
36968 * sysdeps/i386/fpu/libm-test-ulps: Update.
36969 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36971
f775c276
KT
369722012-03-01 Kai Tietz <ktietz@redhat.com>
36973
36974 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36975 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36976 containing bit-fields.
36977 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36978 * soft-fp/single.h (_FP_UNION_S): Likewise.
36979 * soft-fp/double.h (_FP_UNION_D): Likewise.
36980
5b8a4d4a
JM
369812012-02-29 Joseph Myers <joseph@codesourcery.com>
36982
0bab47b6
JM
36983 [BZ #13786]
36984 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36985 not include ../strcmp.S.
36986 [USE_AS_STRNCASECMP_L]: Likewise.
36987 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36988 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36989 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36990 (__strncasecmp_l_ia32): Define as alias to
36991 __strncasecmp_l_nonascii.
36992
0fcad3e2
JM
36993 [BZ #5794]
36994 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36995 * sysdeps/i386/fpu/libm-test-ulps: Update.
36996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36997
5b8a4d4a
JM
36998 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37000
8fdceb2e
JL
370012012-02-29 Jeff Law <law@redhat.com>
37002
37003 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37004 out of bounds read.
37005
1f393a11
MP
370062012-02-29 Marek Polacek <polacek@redhat.com>
37007
37008 [BZ #13706]
37009 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37010 * elf/Makefile: Add rules to run tst-unused-dep.out.
37011
8847f037
DM
370122012-02-28 David S. Miller <davem@davemloft.net>
37013
37014 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37015 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37016 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37017 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37018 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37019 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37020
169d7f11
JM
370212012-02-29 Joseph Myers <joseph@codesourcery.com>
37022
37023 * math/libm-test.inc (llround_test): Move one test from
37024 lround_test. Use TEST_f_L in moved test.
37025 (lround_test): Move misplaced test to llround_test. Add testcase
37026 from bug 2561.
37027
39adf059
UD
370282012-02-28 Ulrich Drepper <drepper@gmail.com>
37029
37030 * sysdeps/x86_64/fpu/e_expf.S: New file.
37031 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37032
71b5d1c5
SB
370332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37034
37035 [BZ #13637]
37036 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37037 of remain_len that may cause incomplete multi-byte character and
37038 false match.
37039 * posix/bug-regex33.c: New file.
37040 * posix/Makefile (tests): Add bug-regex33.
37041
1f77f049
JM
370422012-02-28 Joseph Myers <joseph@codesourcery.com>
37043
37044 * manual/macros.texi: New file.
37045 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37046 * manual/libc.texinfo: Include macros.texi.
37047 * manual/creatute.texi: Likewise.
37048 * manual/install.texi: Likewise.
37049 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37050 @glibcadj{} in references to the GNU C Library.
37051 * manual/charset.texi: Likewise.
37052 * manual/conf.texi: Likewise.
37053 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37054 when not using those macros.
37055 * manual/creature.texi: Likewise.
37056 * manual/crypt.texi: Likewise.
37057 * manual/errno.texi: Likewise.
37058 * manual/filesys.texi: Likewise.
37059 * manual/header.texi: Likewise.
37060 * manual/install.texi: Likewise.
37061 * manual/intro.texi: Likewise.
37062 * manual/io.texi: Likewise.
37063 * manual/job.texi: Likewise.
37064 * manual/lang.texi: Likewise.
37065 * manual/libc.texiinfo: Likewise.
37066 * manual/llio.texi: Likewise.
37067 * manual/locale.texi: Likewise.
37068 * manual/maint.texi: Likewise.
37069 * manual/math.texi: Likewise.
37070 * manual/memory.texi: Likewise.
37071 * manual/message.texi: Likewise.
37072 * manual/nss.texi: Likewise.
37073 * manual/pattern.texi: Likewise.
37074 * manual/process.texi: Likewise.
37075 * manual/resource.texi: Likewise.
37076 * manual/search.texi: Likewise.
37077 * manual/setjmp.texi: Likewise.
37078 * manual/signal.texi: Likewise.
37079 * manual/socket.texi: Likewise.
37080 * manual/startup.texi: Likewise.
37081 * manual/stdio.texi: Likewise.
37082 * manual/string.texi: Likewise.
37083 * manual/sysinfo.texi: Likewise.
37084 * manual/syslog.texi: Likewise.
37085 * manual/terminal.texi: Likewise.
37086 * manual/time.texi: Likewise.
37087 * manual/users.texi: Likewise.
37088 * INSTALL: Regenerated.
37089 * NOTES: Regenerated.
d40c5d54 37090 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37091
450bf206
AS
370922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37093
37094 * include/dirent.h: Include <dirstream.h> before
37095 <dirent/dirent.h>.
37096
741a235b
DM
370972012-02-28 David S. Miller <davem@davemloft.net>
37098
37099 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37100 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37101 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37102 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37103
d6b5aa58
DM
371042012-02-27 David S. Miller <davem@davemloft.net>
37105
1aff59a3
DM
37106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37108 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37109 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37110
d6b5aa58
DM
37111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37112 frame pointer instead of stack pointer relative arg slot.
37113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37116
433f48bf
CD
371172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37118
37119 [BZ #3992]
37120 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37121
d674b76d
DM
371222012-02-27 David S. Miller <davem@davemloft.net>
37123
37124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37128 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37129 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37130 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37131 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37132
0e7727f7
JM
371332012-02-27 Joseph Myers <joseph@codesourcery.com>
37134
37135 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37136 later. Allow versions 5-9.
43be4ca2 37137 * configure: Regenerated.
0e7727f7
JM
37138 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37139 required minimum version and 4.6 as recommended version. Do not
37140 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37141 * INSTALL: Regenerated.
0e7727f7 37142
a78bc654
DM
371432012-02-27 David S. Miller <davem@davemloft.net>
37144
428d5830
DM
37145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37149 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37150 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37151 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37152 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37153
a78bc654
DM
37154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37155 manipulate bits before adding and subtracting TWO112[sx].
37156 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37157
4579f81c
RM
371582012-02-27 Roland McGrath <roland@hack.frob.com>
37159
36c8acb4
RM
37160 [BZ #13775]
37161 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37162 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37163 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37164 being in POSIX, because they are in 1003.1-2008.
37165
84ad622b
RM
37166 * rt/tst-aio.c: Include <fcntl.h>.
37167 * rt/tst-aio7.c: Likewise.
37168 * rt/tst-aio64.c: Likewise.
37169
4579f81c
RM
37170 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37171
abd923db
JM
371722012-02-27 Joseph Myers <joseph@codesourcery.com>
37173
37174 * manual/install.texi (--with-headers): Describe headers as
37175 interface headers, not private headers.
37176 (Specific advice for GNU/Linux systems): Describe use of headers
37177 from "make headers_install", not private headers from older
37178 kernels.
43be4ca2 37179 * INSTALL: Regenerated.
abd923db
JM
37180 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37181 Change to 2.6.19.
37182 * sysdeps/unix/sysv/linux/configure: Regenerated.
37183
6664049b
JM
37184 * manual/llio.texi (fclean): Remove documentation.
37185
bb8b6697
JM
37186 * manual/Makefile (libc-texi-generated): New variable. Include
37187 version.texi.
37188 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37189 $(libc-texi-generated), not duplicated list of files.
37190 (version.texi, stamp-version): New rules.
37191 (realclean): Remove $(libc-texi-generated), not individual files
37192 from that list. Do not remove dir-add.texinfo.
37193 * manual/libc.texinfo: Comment out uses of edition numbers and
37194 references to printed manual. Remove last-updated dates.
37195 (EDITION): Comment out.
37196 (ISBN): Likewise.
37197 (VERSION, UPDATED): Remove.
37198 (version.texi): Include.
37199
12e5c3b9
AS
372002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37201
37202 * sysdeps/posix/spawni.c: Include <signal.h>.
37203 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37204 * sysdeps/pthread/aio_fsync.c: Likewise.
37205
4efeffc1 372062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37207
ba63ba08
UD
37208 * conform/Makefile (tests): Run only when not cross-compiling and
37209 when fast-check is not defined.
37210
d94a4670
UD
37211 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37212 * conform/data/limits.h-data: Fixes for POSIX2008.
37213 * conform/run-conformtest.sh: Run all tests.
37214 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37215 headers.
37216 * include/bits/dlfcn.h: Likewise.
37217 * include/langinfo.h: Likewise.
37218 * include/monetary.h: Likewise.
37219 * include/sys/poll.h: Likewise.
37220
37221 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37222 for __USE_GNU.
37223 * posix/spawn.h: Define __need_sigset_t.
37224 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37225 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37226 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37227 to get sigevent_t only.
37228 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37229 only for __USE_GNU.
37230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37231 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37232 process_vm_writev only for __USE_GNU.
37233 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37234
37235 * conform/Makefile: For now ignore errors from run-conformtest.
37236 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37237 POSIX to avoid namespace pollution. Don't prepend headers.
37238 * conform/data/aio.h-data: Fixes for POSIX testing.
37239 * conform/data/fcntl.h-data: Likewise.
37240 * conform/data/glob.h-data: Likewise.
37241 * conform/data/grp.h-data: Likewise.
37242 * conform/data/pthread.h-data: Likewise.
37243 * conform/data/pwd.h-data: Likewise.
37244 * conform/data/signal.h-data: Likewise.
37245 * conform/data/spawn.h-data: Likewise.
37246 * conform/data/stdio.h-data: Likewise.
37247 * conform/data/stdlib.h-data: Likewise.
37248 * conform/data/stropts.h-data: Likewise.
37249 * conform/data/sys/mman.h-data: Likewise.
37250 * conform/data/sys/stat.h-data: Likewise.
37251 * conform/data/sys/types.h-data: Likewise.
37252 * conform/data/sys/wait.h-data: Likewise.
37253 * conform/data/time.h-data: Likewise.
37254 * conform/data/unistd.h-data: Likewise.
37255 * conform/data/utime.h-data: Likewise.
37256
37257 * io/sys/stat.h: fchmod was always in POSIX.
37258 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37259 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37260 * rt/aio.h: Define __need_timespec before including <time.h>.
37261 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37262 struct. Add forward declaration of pthread_attr_t and use it in
37263 sigevent.
37264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37266 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37267 always remove CLK_TCK definition.
37268
c20105c3
AS
372692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37270
37271 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37272
7a270350
UD
372732012-02-25 Ulrich Drepper <drepper@gmail.com>
37274
31341567
UD
37275 * conform/run-conformtest.sh: New file.
37276 * conform/Makefile: Run run-conformtest for tests.
37277 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37278 support.
37279
37280 * conform/data/uchar.h-data: New file.
37281 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37282 * conform/data/arpa/inet.h-data: Likewise.
37283 * conform/data/assert.h-data: Likewise.
37284 * conform/data/complex.h-data: Likewise.
37285 * conform/data/cpio.h-data: Likewise.
37286 * conform/data/ctype.h-data: Likewise.
37287 * conform/data/dirent.h-data: Likewise.
37288 * conform/data/dlfcn.h-data: Likewise.
37289 * conform/data/errno.h-data: Likewise.
37290 * conform/data/fcntl.h-data: Likewise.
37291 * conform/data/float.h-data: Likewise.
37292 * conform/data/fmtmsg.h-data: Likewise.
37293 * conform/data/fnmatch.h-data: Likewise.
37294 * conform/data/ftw.h-data: Likewise.
37295 * conform/data/glob.h-data: Likewise.
37296 * conform/data/grp.h-data: Likewise.
37297 * conform/data/iconv.h-data: Likewise.
37298 * conform/data/inttypes.h-data: Likewise.
37299 * conform/data/langinfo.h-data: Likewise.
37300 * conform/data/libgen.h-data: Likewise.
37301 * conform/data/limits.h-data: Likewise.
37302 * conform/data/locale.h-data: Likewise.
37303 * conform/data/math.h-data: Likewise.
37304 * conform/data/monetary.h-data: Likewise.
37305 * conform/data/mqueue.h-data: Likewise.
37306 * conform/data/ndbm.h-data: Likewise.
37307 * conform/data/net/if.h-data: Likewise.
37308 * conform/data/netdb.h-data: Likewise.
37309 * conform/data/netinet/in.h-data: Likewise.
37310 * conform/data/nl_types.h-data: Likewise.
37311 * conform/data/poll.h-data: Likewise.
37312 * conform/data/pthread.h-data: Likewise.
37313 * conform/data/pwd.h-data: Likewise.
37314 * conform/data/regex.h-data: Likewise.
37315 * conform/data/sched.h-data: Likewise.
37316 * conform/data/search.h-data: Likewise.
37317 * conform/data/semaphore.h-data: Likewise.
37318 * conform/data/setjmp.h-data: Likewise.
37319 * conform/data/signal.h-data: Likewise.
37320 * conform/data/spawn.h-data: Likewise.
37321 * conform/data/stdarg.h-data: Likewise.
37322 * conform/data/stdio.h-data: Likewise.
37323 * conform/data/stdlib.h-data: Likewise.
37324 * conform/data/string.h-data: Likewise.
37325 * conform/data/strings.h-data: Likewise.
37326 * conform/data/stropts.h-data: Likewise.
37327 * conform/data/sys/ipc.h-data: Likewise.
37328 * conform/data/sys/mman.h-data: Likewise.
37329 * conform/data/sys/msg.h-data: Likewise.
37330 * conform/data/sys/resource.h-data: Likewise.
37331 * conform/data/sys/select.h-data: Likewise.
37332 * conform/data/sys/sem.h-data: Likewise.
37333 * conform/data/sys/shm.h-data: Likewise.
37334 * conform/data/sys/socket.h-data: Likewise.
37335 * conform/data/sys/stat.h-data: Likewise.
37336 * conform/data/sys/statvfs.h-data: Likewise.
37337 * conform/data/sys/time.h-data: Likewise.
37338 * conform/data/sys/timeb.h-data: Likewise.
37339 * conform/data/sys/times.h-data: Likewise.
37340 * conform/data/sys/types.h-data: Likewise.
37341 * conform/data/sys/uio.h-data: Likewise.
37342 * conform/data/sys/un.h-data: Likewise.
37343 * conform/data/sys/utsname.h-data: Likewise.
37344 * conform/data/sys/wait.h-data: Likewise.
37345 * conform/data/syslog.h-data: Likewise.
37346 * conform/data/tar.h-data: Likewise.
37347 * conform/data/termios.h-data: Likewise.
37348 * conform/data/utime.h-data: Likewise.
37349 * conform/data/utmpx.h-data: Likewise.
37350 * conform/data/varargs.h-data: Likewise.
37351 * conform/data/wchar.h-data: Likewise.
37352 * conform/data/wctype.h-data: Likewise.
37353 * conform/data/wordexp.h-data: Likewise.
37354
37355 * include/stropts.h: New file.
37356 * include/uchar.h: New file.
37357 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37358 * include/assert.h: Likewise.
37359 * include/ctype.h: Likewise.
37360 * include/dirent.h: Likewise.
37361 * include/dlfcn.h: Likewise.
37362 * include/fcntl.h: Likewise.
37363 * include/fnmatch.h: Likewise.
37364 * include/glob.h: Likewise.
37365 * include/grp.h: Likewise.
37366 * include/libio.h: Likewise.
37367 * include/locale.h: Likewise.
37368 * include/math.h: Likewise.
37369 * include/net/if.h: Likewise.
37370 * include/netdb.h: Likewise.
37371 * include/netinet/in.h: Likewise.
37372 * include/pthread.h: Likewise.
37373 * include/pwd.h: Likewise.
37374 * include/regex.h: Likewise.
37375 * include/sched.h: Likewise.
37376 * include/search.h: Likewise.
37377 * include/setjmp.h: Likewise.
37378 * include/signal.h: Likewise.
37379 * include/stdio.h: Likewise.
37380 * include/stdlib.h: Likewise.
37381 * include/string.h: Likewise.
37382 * include/sys/cdefs.h: Likewise.
37383 * include/sys/mman.h: Likewise.
37384 * include/sys/msg.h: Likewise.
37385 * include/sys/resource.h: Likewise.
37386 * include/sys/select.h: Likewise.
37387 * include/sys/socket.h: Likewise.
37388 * include/sys/stat.h: Likewise.
37389 * include/sys/statvfs.h: Likewise.
37390 * include/sys/time.h: Likewise.
37391 * include/sys/times.h: Likewise.
37392 * include/sys/uio.h: Likewise.
37393 * include/sys/utsname.h: Likewise.
37394 * include/sys/wait.h: Likewise.
37395 * include/termios.h: Likewise.
37396 * include/time.h: Likewise.
37397 * include/ulimit.h: Likewise.
37398 * include/unistd.h: Likewise.
37399 * include/utime.h: Likewise.
37400 * include/wchar.h: Likewise.
37401 * include/wctype.h: Likewise.
37402 * include/wordexp.h: Likewise.
37403
37404 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37405
7a270350
UD
37406 * time/time.h: TIME_UTC must be a macro.
37407 Make timespec_get available for ISO C11 only as well.
37408
7724defc
UD
374092012-02-24 Ulrich Drepper <drepper@gmail.com>
37410
37411 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37412 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37413
6b1d1d46
JM
374142012-02-24 Joseph Myers <joseph@codesourcery.com>
37415
37416 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37417
0f8bbd69
JM
374182012-02-24 Joseph Myers <joseph@codesourcery.com>
37419
37420 * manual/texinfo.tex: Update to version 2012-01-19.16.
37421
66ab80bc
JM
374222012-02-24 Joseph Myers <joseph@codesourcery.com>
37423
37424 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37425
74981cc5
RM
374262012-02-24 Roland McGrath <roland@hack.frob.com>
37427
ee968201
RM
37428 [BZ #13738]
37429 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37430 * manual/fdl-1.3.texi: New file.
37431 * manual/fdl-1.1.texi: File removed.
37432
74981cc5
RM
37433 [BZ #13738]
37434 * manual/libc.texinfo (FDL_VERSION): New @set.
37435 Use it for mention of FDL in cover text.
37436 (Documentation License): Use it in @include file name.
37437
7bb764bc
JM
374382012-02-22 Joseph Myers <joseph@codesourcery.com>
37439 Roland McGrath <roland@hack.frob.com>
37440
37441 [BZ #5461]
57f41c40
AS
37442 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37443 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37444 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37445 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37446 name.
37447 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37448
6cbeae47
JM
374492012-02-22 Joseph Myers <joseph@codesourcery.com>
37450
37451 [BZ #2547]
37452 [BZ #11365]
37453 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37454 manipulate bits before adding and subtracting TWO23[sx].
37455 * math/libm-test.inc (nearbyint_test): Add more tests.
37456
fe45ce09
JM
374572012-02-22 Joseph Myers <joseph@codesourcery.com>
37458
37459 [BZ #2548]
37460 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37461 bits before adding and subtracting TWO23[sx].
37462 * math/libm-test.inc (rint_test): Add more tests.
37463 (rint_test_tonearest): Likewise.
37464 (rint_test_towardzero): Likewise.
37465 (rint_test_downward): Likewise.
37466 (rint_test_upward: Likewise.
37467
ff3b3d82
JM
374682012-02-22 Joseph Myers <joseph@codesourcery.com>
37469
37470 [BZ #10110]
37471 * include/stdc-predef.h: New file. Extracted from features.h.
37472 * include/features.h: Include stdc-predef.h.
37473 * Makefile (headers): Add stdc-predef.h.
37474 * CONFORMANCE (Compiler limitations): Update.
37475
ef0aab35
JM
374762012-02-22 Joseph Myers <joseph@codesourcery.com>
37477
37478 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37479
58639409
DM
374802012-02-21 David S. Miller <davem@davemloft.net>
37481
37482 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37483 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37484
c0e70b25
DM
374852012-02-20 David S. Miller <davem@davemloft.net>
37486
37487 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37488 using a normal save/restore sequence, rather than allocating a
37489 dummy stack frame just to store a frame pointer and restore.
37490 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37491
fb06851d
JM
374922012-02-21 Joseph Myers <joseph@codesourcery.com>
37493
37494 * manual/install.texi: Fix stray word in line-wrapped comment.
37495
7a8b71c3
DM
374962012-02-20 David S. Miller <davem@davemloft.net>
37497
d510c123
DM
37498 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37499 both binutils and gcc support GOTDATA.
37500
0722d7c2
DM
37501 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37502 "rd %pc" in the PIC register setup sequences.
37503
3d2b3019
DM
37504 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37505 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37506 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37507 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37508 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37510 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37511 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37513 (SYSCALL_ERROR_HANDLER): Likewise.
37514 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37515 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37517 (SYSCALL_ERROR_HANDLER): Likewise.
37518
c80098a9
DM
37519 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37520 (HAVE_GCC_GOTDATA): New.
37521 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37522 relocation support in both binutils and gcc.
37523 * sysdeps/sparc/elf/configure: Regenerate.
37524
3a2545a0
DM
37525 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37526 * sysdeps/sparc/sparc32/elf/configure: Delete.
37527 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37528 * sysdeps/sparc/sparc64/elf/configure: Delete.
37529 * sysdeps/sparc/elf/configure.in: New file.
37530 * sysdeps/sparc/elf/configure: Generate.
37531
7a8b71c3
DM
37532 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37533 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37534 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37535 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37536 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37537
f1e86fca
JM
375382012-02-21 Joseph Myers <joseph@codesourcery.com>
37539
37540 * manual/install.texi: Do not mention specific glibc version
37541 numbers.
37542 * manual/libc.texinfo (VERSION, UPDATED): Update.
37543 (@copying): Use @copyright{} and range of years.
37544
0e7dfaef
JM
375452012-02-21 Joseph Myers <joseph@codesourcery.com>
37546
37547 [BZ #13695]
37548 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37549 [crti.S not in sysdirs] (generated): Do not append.
37550 [crti.S not in sysdirs] (omit-deps): Likewise.
37551 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37552 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37553 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37554 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37555 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37556 Likewise.
37557 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37558 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37559 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37560 * csu/defs.awk: Remove file.
37561 * sysdeps/generic/initfini.c: Likewise.
37562 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37563 variable.
37564 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37565 Likewise.
37566
599af3ca
JM
375672012-02-20 Joseph Myers <joseph@codesourcery.com>
37568
37569 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37570 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37571 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37572 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37573 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37574 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37575 <bits/epoll.h>.
37576 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37577 (__EPOLL_PACKED): Define to empty if not defined by
37578 <bits/epoll.h>.
37579 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37581 bits/epoll.h.
37582
0e499750
JM
375832012-02-20 Joseph Myers <joseph@codesourcery.com>
37584
37585 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37586 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37587 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37588 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37589 <bits/timerfd.h>.
37590 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37592 bits/timerfd.h.
37593
5ad91f6e
JM
375942012-02-20 Joseph Myers <joseph@codesourcery.com>
37595
37596 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37597 in C locale.
37598 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37599 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37600 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37602
06b99b02
AJ
376032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37604
37605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37606 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37607
7638c0fd
AS
376082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37609
37610 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37611 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37612 defined.
37613 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37614 Likewise.
37615 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37616 entry for 2.16.
37617
92221550
AJ
376182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37619
37620 * math/w_acos.c: Use non-signaling floating-point comparisons.
37621 * math/w_acosf.c: Likewise.
37622 * math/w_acosh.c: Likewise.
37623 * math/w_acoshf.c: Likewise.
37624 * math/w_acoshl.c: Likewise.
37625 * math/w_acosl.c: Likewise.
37626 * math/w_asin.c: Likewise.
37627 * math/w_asinf.c: Likewise.
37628 * math/w_asinl.c: Likewise.
37629 * math/w_atanh.c: Likewise.
37630 * math/w_atanhf.c: Likewise.
37631 * math/w_atanhl.c: Likewise.
37632 * math/w_exp2.c: Likewise.
37633 * math/w_exp2f.c: Likewise.
37634 * math/w_exp2l.c: Likewise.
37635 * math/w_j0.c: Likewise.
37636 * math/w_j0f.c: Likewise.
37637 * math/w_j0l.c: Likewise.
37638 * math/w_j1.c: Likewise.
37639 * math/w_j1f.c: Likewise.
37640 * math/w_j1l.c: Likewise.
37641 * math/w_jn.c: Likewise.
37642 * math/w_jnf.c: Likewise.
37643 * math/w_log.c: Likewise.
37644 * math/w_log10.c: Likewise.
37645 * math/w_log10f.c: Likewise.
37646 * math/w_log10l.c: Likewise.
37647 * math/w_log2.c: Likewise.
37648 * math/w_log2f.c: Likewise.
37649 * math/w_log2l.c: Likewise.
37650 * math/w_logf.c: Likewise.
37651 * math/w_logl.c: Likewise.
37652 * math/w_sqrt.c: Likewise.
37653 * math/w_sqrtf.c: Likewise.
37654 * math/w_sqrtl.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37658 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37659 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37660
ebaf36eb
JM
376612012-02-19 Joseph Myers <joseph@codesourcery.com>
37662
37663 [BZ #9739]
37664 * manual/string.texi (strnlen): Use correct parameter name in
37665 equivalent expression.
37666
71c254a6
JM
376672012-02-19 Joseph Myers <joseph@codesourcery.com>
37668
37669 [BZ #11174]
37670 * manual/users.texi (seteuid): Consistently use neweuid for
37671 argument name.
37672
16d2c631
JM
376732012-02-19 Joseph Myers <joseph@codesourcery.com>
37674
37675 [BZ #13704]
37676 * manual/nss.texi (Services in the NSS configuration): Correct
37677 list of services in example configuration file.
37678
cd837b09
NB
376792012-02-19 Nick Bowler <nbowler@draconx.ca>
37680
37681 [BZ #11322]
37682 * manual/arith.texi: Remove statements about negative zero
37683 behaving identically to zero.
37684
02c4bbad
JM
376852012-02-18 Joseph Myers <joseph@codesourcery.com>
37686
37687 [BZ #5993]
37688 * manual/install.texi: Do not document upgrading from libc5.
37689
366842e7
JM
376902012-02-18 Joseph Myers <joseph@codesourcery.com>
37691
37692 [BZ #4596]
37693 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37694
dd54084d
DM
376952012-02-18 David S. Miller <davem@davemloft.net>
37696
37697 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37698 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37699 %o7 across the call.
37700 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37701 instead.
37702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37703 SETUP_PIC_REG_LEAF.
37704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37705 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37706 * sysdeps/sparc/crtn.S: Likewise.
37707
2bcc53a3
UD
377082012-02-17 Ulrich Drepper <drepper@gmail.com>
37709
37710 * aout/Makefile: Remove.
37711
09c093b5
RK
377122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37713
37714 [BZ #13058]
37715 * manual/examples/argp-ex1.c (main): Format definition in GNU
37716 style.
37717 * manual/examples/argp-ex2.c (main): Likewise.
37718 * manual/examples/argp-ex3.c (main): Likewise.
37719 * manual/examples/argp-ex4.c (main): Likewise.
37720 * manual/examples/longopt.c (main): Use new-style prototype
37721 definition.
37722 * manual/examples/strncat.c (main): Specify return type and use
37723 (void) for arguments.
37724 * manual/examples/subopt.c (main): Use char **argv argument.
37725
2ee633a2
JM
377262012-02-17 Joseph Myers <joseph@codesourcery.com>
37727
37728 [BZ #5077]
37729 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37730 rounding modes.
37731
0520adde
FB
377322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37733
37734 [BZ #6907]
37735 * manual/string.texi (strchr): Change when strchrnul is
37736 recommended.
37737
3f4081cd
DGM
377382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37739
37740 [BZ #174]
37741 * manual/locale.texi (setlocale): Document LOCPATH.
37742
d1b10e78
JM
377432012-02-17 Joseph Myers <joseph@codesourcery.com>
37744
37745 [BZ #10210]
37746 * manual/process.texi (execle): Move @dots{} before last argument.
37747
79c6869c
PB
377482012-02-17 Paul Bolle <pebolle@tiscali.nl>
37749
37750 [BZ #12047]
37751 * manual/charset.texi (Generic Charset Conversion): Fix typo
37752 (LC_TYPE -> LC_CTYPE).
37753
cc6e48bc
NB
377542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37755
37756 [BZ #5805]
37757 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37758 (scalbnf): Likewise.
37759 (scalbnl): Likewise.
37760 (scalbln): Likewise.
37761 (scalblnf): Likewise.
37762 (scalblnl): Likewise.
37763 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37764 (vwarnx): Likewise.
37765 (verr): Likewise.
37766 (verrx): Likewise.
37767 * manual/filesys.texi (telldir): Use braces around return type.
37768 * manual/llio.texi (mmap): Add space after comma.
37769 (mmap64): Likewise.
37770 * manual/math.texi (jn): Use @var{} on parameter names.
37771 (jnf): Likewise.
37772 (jnl): Likewise.
37773 (yn): Likewise.
37774 (ynf): Likewise.
37775 (ynl): Likewise.
37776 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37777 line.
37778 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37779 "...".
37780 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37781 (sched_get_priority_max): Likewise.
37782 * manual/signal.texi (sigvec): Add space after comma.
37783 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37784 names.
37785 (if_indextoname): Likewise.
37786 (if_freenameindex): Likewise.
37787 (sendto): Use ',' instead of '.' in prototype.
37788 * manual/startup.texi (syscall): Use @dots{} instead of literal
37789 "...".
37790 * manual/stdio.texi (__fpending): Separate initial words of
37791 paragraph from @deftypefun line.
37792 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37793 "...".
37794 (vsyslog): Use @var{} on parameter names.
37795 * manual/terminal.texi (stty): Use @var{} on parameter names.
37796 * manual/users.texi (getutmp): Use @var{} on parameter names.
37797 (getutmpx): Likewise.
37798
5b23062f
JM
377992012-02-17 Joseph Myers <joseph@codesourcery.com>
37800
37801 [BZ #6884]
37802 * manual/stdio.texi (fopen): Fix typos in description of
37803 ",ccs=STRING".
37804
8dee4833
AJ
378052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37806
37807 [BZ #4026]
37808 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37809 get clock_id definition.
37810
9078ce93
TS
378112012-02-17 Thomas Schwinge <thomas@schwinge.name>
37812
37813 [BZ #4822]
37814 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37815 (madvise): Cast every argument to void on its own.
37816
3835c55f
JM
378172012-02-17 Joseph Myers <joseph@codesourcery.com>
37818
37819 [BZ #9902]
37820 * manual/startup.texi (Exit Status): Fix typo.
37821
35c47e37
JM
378222012-02-17 Joseph Myers <joseph@codesourcery.com>
37823
37824 [BZ #10140]
37825 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37826 * manual/examples/argp-ex2.c: Likewise.
37827 * manual/examples/argp-ex3.c: Likewise.
37828
e3b69ca7
RH
378292012-02-16 Richard Henderson <rth@redhat.com>
37830
37831 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37832 * sysdeps/s390/s390-32/initfini.c: Remove.
37833 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37834 * sysdeps/s390/s390-64/initfini.c: Remove.
37835
df83af67
KK
378362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37837
37838 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37839 compiler output for sysdeps/generic/initfini.c.
37840 * sysdeps/sh/elf/initfini.c: Remove file.
37841
f63f3380
DM
378422012-02-16 David S. Miller <davem@davemloft.net>
37843
fb59b3a4
DM
37844 [BZ #11494]
37845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37846
f63f3380
DM
37847 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37848 * sysdeps/sparc/crti.S: New file.
37849 * sysdeps/sparc/crtn.S: New file.
37850 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37851 * sysdeps/sparc/sparc64/Makefile: Likewise.
37852
df6a4a4a
MF
378532012-02-15 Mike Frysinger <vapier@gentoo.org>
37854
6dd8f3dc 37855 [BZ #3335]
df6a4a4a
MF
37856 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37857
1cac7236
RM
378582012-02-15 Roland McGrath <roland@hack.frob.com>
37859
d2c736f8
RM
37860 [BZ #4822]
37861 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37862
1cac7236
RM
37863 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37864 (write, read, close): Likewise.
37865 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37866
8e475601
JM
378672012-02-15 Joseph Myers <joseph@codesourcery.com>
37868
37869 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37870 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37871 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37872 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37873 <bits/signalfd.h>.
37874 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37876 bits/signalfd.h.
37877
ed656b40
MP
378782012-02-14 Marek Polacek <polacek@redhat.com>
37879
37880 * sysdeps/x86_64/crti.S: New file.
37881 * sysdeps/x86_64/crtn.S: New file.
37882 * sysdeps/x86_64/elf/initfini.c: Remove file.
37883
2a979d3a
JM
378842012-02-13 Joseph Myers <joseph@codesourcery.com>
37885
37886 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37887 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37888 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37889 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37890 <bits/inotify.h>.
37891 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37893 bits/inotify.h.
37894
2a418ac3
JM
378952012-02-13 Joseph Myers <joseph@codesourcery.com>
37896
37897 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37898 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37899 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37900 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37901 <bits/eventfd.h>.
37902 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37904 bits/eventfd.h.
37905
fb779be7
TS
379062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37907
e19e83c5
RM
37908 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37909 __feraiseexcept instead of feraiseexcept.
7c35ffed 37910
fb779be7
TS
37911 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37912 nanosleep invocations.
37913 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37914 strings, and add error checking for a nanosleep invocations.
37915
59ba27a6
PE
379162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37917
37918 Replace FSF snail mail address with URLs, as per GNU coding standards.
37919 Most of the snail mail addresses were wrong anyway, and omitting
37920 them makes the source code easier to maintain. Almost all of the
37921 changes are to license notices and to locale LC_IDENTIFICATION
37922 addresses, except for this one:
37923 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37924 not its snail mail address.
37925
57b957eb
RH
379262012-02-09 Richard Henderson <rth@twiddle.net>
37927
af850b1c
RH
37928 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37929 of kernel-features.h.
37930
57b957eb
RH
37931 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37932
6b73181a
MP
379332012-02-08 Marek Polacek <polacek@redhat.com>
37934
37935 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37936 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37937 * sysdeps/gnu/_G_config.h: Likewise.
37938 * sysdeps/generic/_G_config.h: Likewise.
37939
26ecc33a
AS
379402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37941
6c6dbc63
AS
37942 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37943 tests.
37944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37945
e216c012
AS
37946 * sysdeps/powerpc/powerpc32/crti.S: New file.
37947 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37948 * sysdeps/powerpc/powerpc64/crti.S: New file.
37949 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37950
26ecc33a
AS
37951 * Makeconfig (have-initfini): Don't set.
37952 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37953 * configure.in (nopic_initfini): Don't substitute.
37954 * config.h.in (HAVE_INITFINI): Don't #undef.
37955 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37956 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37957
3add8e13
JM
379582012-02-08 Joseph Myers <joseph@codesourcery.com>
37959
37960 Support crti.S and crtn.S provided directly by architectures.
37961 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37962 [crti.S in sysdirs] (omit-deps): Likewise.
37963 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37964 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37965 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37966 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37967 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37968 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37969 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37970 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37971 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37972 compiler output for sysdeps/generic/initfini.c.
37973 * sysdeps/i386/elf/Makefile: Remove file.
37974 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37975
a22f12b4
MP
379762012-02-07 Marek Polacek <polacek@redhat.com>
37977
37978 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37979 * sysdeps/gnu/_G_config.h: Likewise.
37980 * sysdeps/mach/hurd/_G_config.h: Likewise.
37981
148cf100
MP
379822012-02-07 Marek Polacek <polacek@redhat.com>
37983
37984 * math/Makefile (tests): Add tst-CMPLX2.
37985 * math/tst-CMPLX2.c: New file.
37986
cfdc0dd7
AS
379872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37988
84ba42c4
AS
37989 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37990
cfdc0dd7
AS
37991 * math/libm-test.inc (jn_test): Add missing L suffix.
37992
622c86f4
MP
379932012-02-06 Marek Polacek <polacek@redhat.com>
37994
37995 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37996 * sysdeps/i386/fpu/e_powf.S: Likewise.
37997 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37998 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37999 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38000 * sysdeps/i386/fpu/e_pow.S: Likewise.
38001 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38002 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38003 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38004 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38005 * sysdeps/i386/fpu/e_log2.S: Likewise.
38006 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38007 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38008 * sysdeps/i386/fpu/e_powl.S: Likewise.
38009 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38010 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38011 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38012 * sysdeps/i386/fpu/e_logl.S: Likewise.
38013 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38014 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38015 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38016 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38017 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38018 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38019 * sysdeps/i386/fpu/e_log.S: Likewise.
38020 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38021 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38022 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38023 * sysdeps/i386/fpu/e_logf.S: Likewise.
38024 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38025 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38026 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38027 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38028 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38029 * sysdeps/i386/fpu/e_log10.S: Likewise.
38030 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38031 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38032 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38033 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38034 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38035 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38036 * sysdeps/i386/asm-syntax.h: Likewise.
38037 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38038 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38039 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38040 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38041 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38042 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38043 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38044 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38045 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38046 * sysdeps/powerpc/sysdep.h: Likewise.
38047 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38048 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38049
d4a54ac6
JM
380502012-02-06 Joseph Myers <joseph@codesourcery.com>
38051
38052 [BZ #411]
38053 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38054
314054ea
JM
380552012-02-06 Joseph Myers <joseph@codesourcery.com>
38056
38057 * sysdeps/i386/sysdep.h: Include <features.h>.
38058 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38059 version.
38060
d8e0ca50
JM
380612012-02-05 Joseph Myers <joseph@codesourcery.com>
38062
38063 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38064 Define.
38065 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38066 LOAD_PIC_REG_STR.
38067
b1da7dd9
JM
380682012-02-03 Joseph Myers <joseph@codesourcery.com>
38069
38070 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38071 (SETUP_PIC_REG): Use GET_PC_THUNK.
38072 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38073 macro.
38074
9a1d9254
JM
380752012-02-03 Joseph Myers <joseph@codesourcery.com>
38076
38077 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38078 for non-PIC compilation.
38079 (SETUP_PIC_REG): Add .p2align directive.
38080 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38081 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38082 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38083 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38084 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38085 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38086 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38087 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38088 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38089 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38090 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38091 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38092 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38093 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38094 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38095 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38096 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38097 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38098 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38099 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38100 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38101 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38102 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38103 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38106 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38107 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38108 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38109 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38110 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38112 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38113 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38114 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38115 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38116 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38117 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38118 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38119 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38120 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38121
65dc3b75
JM
381222012-02-03 Joseph Myers <joseph@codesourcery.com>
38123
38124 * math/tst-CMPLX.c: Include <stdio.h>.
38125
d55bf177
JM
381262012-01-31 Joseph Myers <joseph@codesourcery.com>
38127
38128 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38129 float.
38130 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38131 * sysdeps/sparc/bits/mathdef.h: Likewise.
38132
69db4f8f
MP
381332012-01-31 Marek Polacek <polacek@redhat.com>
38134
38135 * libio/libio.h: Don't define _PARAMS.
38136 * locale/programs/config.h: Don't define PARAMS.
38137 * stdlib/strtol_l.c: Likewise.
38138 (__strtol_l): Remove PARAMS from the prototype.
38139
41b81892
UD
381402012-01-31 Ulrich Drepper <drepper@gmail.com>
38141
3b49edc0
UD
38142 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38143 names. Just use the correct names. Remove unnecessary wrapper
38144 functions.
38145 * malloc/arena.c: Likewise.
38146 * malloc/hooks.c: Likewise.
38147
41b81892
UD
38148 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38149 ARENA_TEST says not to. Simplify test for creation of a new arena.
38150 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38151
27a25b6e
UD
381522012-01-30 Ulrich Drepper <drepper@gmail.com>
38153
38154 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38155 into tail calls.
38156 (update_get_addr): New function.
38157 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38158 GET_ADDR_MODULE parameter.
38159
c8a89e7d
JM
381602012-01-30 Joseph Myers <joseph@codesourcery.com>
38161
38162 * crypt/cert.c: Remove __STDC__ conditionals.
38163 * crypt/crypt-entry.c: Likewise.
38164 * crypt/crypt_util.c: Likewise.
38165 * libio/filedoalloc.c: Likewise.
38166 * libio/fileops.c: Likewise.
38167 * libio/genops.c: Likewise.
38168 * libio/iofclose.c: Likewise.
38169 * libio/iofdopen.c: Likewise.
38170 * libio/iofopen.c: Likewise.
38171 * libio/iofopen64.c: Likewise.
38172 * libio/iogetdelim.c: Likewise.
38173 * libio/iopopen.c: Likewise.
38174 * libio/obprintf.c: Likewise.
38175 * libio/oldfileops.c: Likewise.
38176 * libio/oldiofclose.c: Likewise.
38177 * libio/oldiofdopen.c: Likewise.
38178 * libio/oldiofopen.c: Likewise.
38179 * libio/oldiopopen.c: Likewise.
38180 * libio/wfiledoalloc.c: Likewise.
38181 * libio/wgenops.c: Likewise.
38182 * locale/programs/xmalloc.c: Likewise.
38183 * misc/syslog.c: Likewise.
38184 * stdio-common/xbug.c: Likewise.
38185 * string/memchr.c: Likewise.
38186 * string/memcmp.c: Likewise.
38187 * string/memrchr.c: Likewise.
38188 * string/rawmemchr.c: Likewise.
38189 * sysdeps/posix/getcwd.c: Likewise.
38190 * time/strftime_l.c: Likewise.
38191
3b100462
JM
381922012-01-30 Joseph Myers <joseph@codesourcery.com>
38193
38194 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38195 * config.make.in (config-cflags-sse2avx): Define.
38196 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38197 Fix typo.
38198
607998af
CM
381992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38200
38201 * scripts/config.guess: Update from upstream config git repository.
38202 * scripts/config.sub: Likewise.
38203
3601428f
CM
382042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38205
3ac8b282
CM
38206 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38207 (EM_NUM): Update.
38208 (R_TILEPRO_*, R_TILEGX_*): New macros.
38209
e034841e
CM
38210 * scripts/firstversions.awk: Fix bug in version range handling.
38211
540d7568
CM
38212 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38213
3601428f
CM
38214 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38215
463de862
CM
38216 * include/sys/epoll.h: New file.
38217 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38218 libc_hidden_def.
38219
73139a76
UD
382202012-01-28 Ulrich Drepper <drepper@gmail.com>
38221
96bc5b45
UD
38222 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38223 Avoid unnecessary __WORDSIZE == 64 test.
38224 (fmaxf): Use VEX format if possible.
38225 (fmax): Likewise.
38226 (fminf): Likewise.
38227 (fmin): Likewise.
38228
56f6f6a2
UD
38229 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38230 * math/math_private.h: Remove libc_fegetround* and
38231 libc_fesetround*.
38232 * sysdeps/i386/configure.in: Check for -msse2avx.
38233 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38234 also if SSE2AVX is defined.
38235 Remove libc_fegetround* and libc_fesetround*.
38236 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38237 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38238 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38239 of HAS_YMM_USABLE.
38240 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38241 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38242 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38243 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38244 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38245
73139a76
UD
38246 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38247
d73f93a4
AZ
382482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38249
38250 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38251 size is not set.
38252 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38253
6ee65ed6
UD
382542012-01-27 Ulrich Drepper <drepper@gmail.com>
38255
38256 [BZ #13618]
38257 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38258 relocation.
38259 * Makeconfig (libm): Define.
38260 * elf/Makefile: Add rules to build and run tst-relsort1.
38261 * elf/tst-relsort1.c: New file.
38262 * elf/tst-relsort1mod1.c: New file.
38263 * elf/tst-relsort1mod2.c: New file.
38264
8db21882
JM
382652012-01-27 Joseph Myers <joseph@codesourcery.com>
38266
38267 * math/s_ldexp.c: Remove __STDC__ conditionals.
38268 * math/s_ldexpf.c: Likewise.
38269 * math/s_ldexpl.c: Likewise.
38270 * math/s_nextafter.c: Likewise.
38271 * math/s_nexttowardf.c: Likewise.
38272 * math/s_significand.c: Likewise.
38273 * math/s_significandf.c: Likewise.
38274 * math/s_significandl.c: Likewise.
38275 * math/w_jnl.c: Likewise.
38276 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38277 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38278 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38279 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38280 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38281 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38282 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38283 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38289 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38290 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38291 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38293 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38295 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38296 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38297 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38298 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38299 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38300 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38301 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38302 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38303 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38304 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38305 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38306 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38307 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38308 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38309 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38310 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38311 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38312 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38313 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38314 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38315 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38316 * sysdeps/ieee754/k_standard.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38342 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38349 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38353 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38354 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38355 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38361 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38362 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38364 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38365 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38366 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38367 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38368 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38369 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38370 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38371 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38372 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38373 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38374 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38375 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38376 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38377 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38378 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38379 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38380 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38381 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38382 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38383 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38384 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38385 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38386 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38388 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38389 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38390 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38391 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38392 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38393 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38394 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38395 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38396 * sysdeps/ieee754/s_matherr.c: Likewise.
38397 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38398 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38401
965a54a4
JM
384022012-01-26 Joseph Myers <joseph@codesourcery.com>
38403
38404 * crypt/md5.h: Remove __STDC__ conditionals.
38405 * libio/libioP.h: Likewise.
38406 * locale/programs/config.h: Likewise.
38407 * sysdeps/generic/sysdep.h: Likewise.
38408 * sysdeps/i386/asm-syntax.h: Likewise.
38409 * sysdeps/s390/asm-syntax.h: Likewise.
38410 * sysdeps/unix/sysdep.h: Likewise.
38411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38413
7071ad79
JM
384142012-01-26 Joseph Myers <joseph@codesourcery.com>
38415
38416 * libio/libio.h: Remove __STDC__ conditionals.
38417 * malloc/obstack.h: Likewise.
38418 * math/complex.h: Likewise.
38419 * math/math.h: Likewise.
38420 * sysdeps/generic/_G_config.h: Likewise.
38421 * sysdeps/gnu/_G_config.h: Likewise.
38422 * sysdeps/mach/hurd/_G_config.h: Likewise.
38423 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38424 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38425 * sysdeps/sparc/bits/mathdef.h: Likewise.
38426
afc5ed09
UD
384272012-01-26 Ulrich Drepper <drepper@gmail.com>
38428
38429 [BZ #13583]
38430 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38431 Clean up HAS_* macros.
afc5ed09 38432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38433 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38434 possible.
38435 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38436 HAS_AVX.
38437 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38438 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38439 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38440 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38441 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38442
bdb6de1d
JM
384432012-01-25 Joseph Myers <joseph@codesourcery.com>
38444
38445 * elf/tst-unique3.cc (gets): Remove declaration.
38446 * elf/tst-unique3lib.cc (gets): Likewise.
38447 * elf/tst-unique3lib2.cc (gets): Likewise.
38448 * elf/tst-unique4.cc (gets): Likewise.
38449
b15549e6
UD
384502012-01-24 Ulrich Drepper <drepper@gmail.com>
38451
38452 * include/stdio.h: Add C++ protection. Add gets declarations and
38453 definitions.
38454 * debug/tst-chk1.c: Don't declare gets here.
38455 * stdio-common/tst-gets.c: Likewise.
38456
a037381f
JM
384572012-01-24 Joseph Myers <joseph@codesourcery.com>
38458
38459 * posix/glob: Remove directory.
38460
f1d4aa75
JM
384612012-01-24 Joseph Myers <joseph@codesourcery.com>
38462
38463 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38464
81c0c964
PT
384652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38466
38467 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38468 of the non-standard EPFNOSUPPORT.
38469
0ea698ae
ST
384702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38471
38472 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38473 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38474 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38475
d220b117
UD
384762012-01-21 Ulrich Drepper <drepper@gmail.com>
38477
38478 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38479
3e1aa84e
UD
384802012-01-20 Ulrich Drepper <drepper@gmail.com>
38481
38482 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38483 transient errors.
38484 * nscd/grpcache.c (cache_addgr): Likewise.
38485 * nscd/hstcache.c (cache_addhst): Likewise.
38486 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38487 * nscd/pwdcache.c (cache_addpw): Likewise.
38488 * nscd/servicescache.c (cache_addserv): Likewise.
38489
400aa020
UD
384902012-01-16 Ulrich Drepper <drepper@gmail.com>
38491
d77e7869
UD
38492 * malloc/malloc.c: Various cleanups.
38493 * malloc/hooks.c: Likewise.
38494
400aa020
UD
38495 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38496 * stdlib/bug-fmtmsg1.c: New file.
38497
38498 * stdlib/fmtmsg.c (init): Add missing unlock.
38499 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38500
e0a309cf
MP
385012012-01-12 Marek Polacek <polacek@redhat.com>
38502
38503 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38504 and _GNU_SOURCE.
38505
929d11c7
WS
385062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38507
38508 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38509 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38510 macro to ensure uniqueness of label name.
38511 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38512 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38513
41d0e869
UD
385142012-01-11 Ulrich Drepper <drepper@gmail.com>
38515
0cc5ed3b
UD
38516 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38517
41d0e869
UD
38518 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38519 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38520 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38522
a47a831a
UD
385232012-01-10 Ulrich Drepper <drepper@gmail.com>
38524
daa891c0
UD
38525 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38526
38527 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38528 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38529 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38530
e58ef0f2
UD
38531 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38532
a47a831a 38533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38534 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38535 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38537
38538 * math/bits/math-finite.h: Add ldexp support.
38539
a0bfc9c7
MP
385402012-01-10 Marek Polacek <polacek@redhat.com>
38541
38542 * locale/programs/localedef.h (show_archive_content): Add noreturn
38543 attribute.
38544
d6e97a1d
UD
385452012-01-09 Ulrich Drepper <drepper@gmail.com>
38546
38547 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38548
d5835c26
UD
385492012-01-08 Ulrich Drepper <drepper@gmail.com>
38550
e5f484c6
UD
38551 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38552
d5835c26
UD
38553 * io/Makefile (headers): Add bits/poll2.h.
38554
d1f741e9
WS
385552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38556
38557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38558 typo #include statement.
38559
ec09c1c4
UD
385602012-01-08 Ulrich Drepper <drepper@gmail.com>
38561
38562 * include/sys/cdefs.h: Define __attribute_alloc_size.
38563 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38564 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38565 * elf/pldd.c: Likewise.
38566 * iconv/iconv_charmap.c: Likewise.
38567 * iconv/iconvconfig.c: Likewise.
38568 * iconv/strtab.c: Likewise.
38569 * locale/programs/locale.c: Likewise.
38570 * locale/programs/localedef.h: Likewise.
38571 * locale/programs/simple-hash.c: Likewise.
38572 * nscd/nscd.h: Likewise.
38573 * nss/makedb.c: Likewise.
38574 * sysdeps/generic/ldconfig.h: Likewise.
38575 * locale/programs/localedef.c: Remove xmalloc prototype.
38576 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38577
20b38e03
PP
385782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38579
38580 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38581 appropriate.
38582
a0da5fe1
UD
385832012-01-08 Ulrich Drepper <drepper@gmail.com>
38584
1d5a644a 38585 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38586 * math/tst-CMPLX.c: New file.
1d5a644a 38587
8784a6db
UD
38588 * math/complex.h (CMPLXL): Fix typo.
38589
d9a216c0
UD
38590 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38591 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38592 GLIBC_2.16.
38593 * debug/tst-chk1.c: Add poll and ppoll tests.
38594 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38595 * include/sys/poll.h: Add hidden proto for ppoll.
38596 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38597 * sysdeps/mach/hurd/ppoll.c: Likewise.
38598 * io/ppoll.c: Likewise.
38599 * debug/poll_chk.c: New file.
38600 * debug/ppoll_chk.c: New file.
38601 * include/bits/poll2.h: New file.
38602 * io/bits/poll2.h: New file.
38603
ac097f5c
UD
38604 [BZ #1350]
38605 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38606
2119dcfa
UD
38607 * configure.in: static is always set to yes. Remove.
38608 * config.make.in: Don't set build-static.
38609 * Makeconfig: Remove use of build-static.
38610 * dlfcn/Makefile: Likewise.
38611 * elf/Makefile: Likewise.
38612 * math/Makefile: Likewise.
38613 * misc/Makefile: Likewise.
38614 * nptl/Makefile: Likewise.
38615 * sysdeps/mach/hurd/Makefile: Likewise.
38616
121766a9
UD
38617 * configure.in: PWD_P is not used anymore.
38618 * config.make.in: Remove PWD_P entry.
38619
51a1d39c 38620 * configure.in: Remove last remnants of RANLIB.
8720d066 38621 No need to check for signed size_t anymore.
215f4bdc
UD
38622 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38623 and IA-64.
3857022a 38624 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38625 * aclocal.m4: Likewise.
38626
d3ed7225
UD
38627 * wcsmbs/mbrtoc16.c: Implement using towc function.
38628 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38629 * wcsmbs/wcsmbsload.c: Likewise.
38630 * iconv/gconv_simple.c: Likewise.
38631 * iconv/gconv_int.h: Likewise.
38632 * iconv/gconv_builtin.h: Likewise.
38633 * iconv/iconv_prog.c: Remove CHAR16 handling.
38634
38635 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38636
38637 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38638
a0da5fe1
UD
38639 * configure.in: Remove --with-elf and --enable-bounded options.
38640 Dont set base_machine for ia64. More non-ELF conditions removed.
38641 Remove testing and setting of leading underscore information.
38642 * config.make.in (build-bounded): Set to no.
38643 * config.h.in: Remove NO_UNDERSCORES entry.
38644 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38645 them.
38646 * csu/start.c: Remove !NO_UNDERSCORE code.
38647 * locale/localeinfo.h: Likewise.
38648 * sysdeps/generic/machine-gmon.h: Likewise.
38649 * sysdeps/generic/sysdep.h: Likewise.
38650 * sysdeps/i386/sysdep.h: Likewise.
38651 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38652 * sysdeps/mach/sysdep.h: Likewise.
38653 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38654 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38655 * sysdeps/sh/sysdep.h: Likewise.
38656 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38657 * sysdeps/unix/i386/sysdep.S: Likewise.
38658 * sysdeps/unix/sparc/start.c: Likewise.
38659 * sysdeps/unix/sparc/sysdep.S: Likewise.
38660 * sysdeps/unix/sparc/sysdep.h: Likewise.
38661 * sysdeps/unix/start.c: Likewise.
38662 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38663 * sysdeps/x86_64/sysdep.h: Likewise.
38664
df78418a
UD
386652012-01-07 Ulrich Drepper <drepper@gmail.com>
38666
a784e502
UD
38667 [BZ #13553]
38668 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38669 for non-gcc.
38670 * argp/argp-fmtstream.h: Use const instead __const.
38671 * argp/argp.h: Likewise.
38672 * assert/assert.h: Likewise.
38673 * bits/fenv.h: Likewise.
38674 * bits/sched.h: Likewise.
38675 * bits/sigset.h: Likewise.
38676 * bits/sigthread.h: Likewise.
38677 * catgets/nl_types.h: Likewise.
38678 * conform/data/pthread.h-data: Likewise.
38679 * crypt/crypt-private.h: Likewise.
38680 * crypt/crypt.h: Likewise.
38681 * crypt/crypt_util.c: Likewise.
38682 * ctype/ctype.h: Likewise.
38683 * debug/execinfo.h: Likewise.
38684 * debug/mbsnrtowcs_chk.c: Likewise.
38685 * debug/mbsrtowcs_chk.c: Likewise.
38686 * debug/wcsnrtombs_chk.c: Likewise.
38687 * debug/wcsrtombs_chk.c: Likewise.
38688 * debug/wcstombs_chk.c: Likewise.
38689 * dirent/dirent.h: Likewise.
38690 * dlfcn/dlfcn.h: Likewise.
38691 * elf/neededtest4.c: Likewise.
38692 * grp/grp.h: Likewise.
38693 * gshadow/gshadow.h: Likewise.
38694 * iconv/gconv.h: Likewise.
38695 * iconv/gconv_int.h: Likewise.
38696 * iconv/gconv_simple.c: Likewise.
38697 * iconv/iconv.h: Likewise.
38698 * iconv/loop.c: Likewise.
38699 * iconv/skeleton.c: Likewise.
38700 * include/aio.h: Likewise.
38701 * include/aliases.h: Likewise.
38702 * include/argz.h: Likewise.
38703 * include/arpa/inet.h: Likewise.
38704 * include/assert.h: Likewise.
38705 * include/dirent.h: Likewise.
38706 * include/dlfcn.h: Likewise.
38707 * include/execinfo.h: Likewise.
38708 * include/fcntl.h: Likewise.
38709 * include/fenv.h: Likewise.
38710 * include/glob.h: Likewise.
38711 * include/grp.h: Likewise.
38712 * include/libintl.h: Likewise.
38713 * include/mntent.h: Likewise.
38714 * include/netdb.h: Likewise.
38715 * include/pwd.h: Likewise.
38716 * include/rpc/netdb.h: Likewise.
38717 * include/sched.h: Likewise.
38718 * include/search.h: Likewise.
38719 * include/shadow.h: Likewise.
38720 * include/signal.h: Likewise.
38721 * include/stdio.h: Likewise.
38722 * include/stdlib.h: Likewise.
38723 * include/string.h: Likewise.
38724 * include/sys/socket.h: Likewise.
38725 * include/sys/stat.h: Likewise.
38726 * include/sys/statfs.h: Likewise.
38727 * include/sys/statvfs.h: Likewise.
38728 * include/sys/syslog.h: Likewise.
38729 * include/sys/time.h: Likewise.
38730 * include/sys/uio.h: Likewise.
38731 * include/time.h: Likewise.
38732 * include/unistd.h: Likewise.
38733 * include/utmp.h: Likewise.
38734 * include/wchar.h: Likewise.
38735 * include/wctype.h: Likewise.
38736 * inet/aliases.h: Likewise.
38737 * inet/arpa/inet.h: Likewise.
38738 * inet/netinet/ether.h: Likewise.
38739 * inet/netinet/in.h: Likewise.
38740 * intl/libintl.h: Likewise.
38741 * io/bits/fcntl2.h: Likewise.
38742 * io/fcntl.h: Likewise.
38743 * io/ftw.h: Likewise.
38744 * io/sys/poll.h: Likewise.
38745 * io/sys/stat.h: Likewise.
38746 * io/sys/statfs.h: Likewise.
38747 * io/sys/statvfs.h: Likewise.
38748 * io/utime.h: Likewise.
38749 * libio/bits/stdio.h: Likewise.
38750 * libio/bits/stdio2.h: Likewise.
38751 * libio/libio.h: Likewise.
38752 * libio/libioP.h: Likewise.
38753 * libio/stdio.h: Likewise.
38754 * locale/lc-ctype.c: Likewise.
38755 * locale/locale.h: Likewise.
38756 * login/utmp.h: Likewise.
38757 * malloc/arena.c: Likewise.
38758 * malloc/malloc.c: Likewise.
38759 * malloc/malloc.h: Likewise.
38760 * malloc/mcheck.c: Likewise.
38761 * malloc/mtrace.c: Likewise.
38762 * math/bits/mathcalls.h: Likewise.
38763 * math/fenv.h: Likewise.
38764 * math/math_private.h: Likewise.
38765 * misc/bits/error.h: Likewise.
38766 * misc/bits/syslog.h: Likewise.
38767 * misc/err.h: Likewise.
38768 * misc/error.h: Likewise.
38769 * misc/fstab.h: Likewise.
38770 * misc/mntent.h: Likewise.
38771 * misc/regexp.h: Likewise.
38772 * misc/search.h: Likewise.
38773 * misc/sgtty.h: Likewise.
38774 * misc/sys/mman.h: Likewise.
38775 * misc/sys/syslog.h: Likewise.
38776 * misc/sys/uio.h: Likewise.
38777 * misc/sys/xattr.h: Likewise.
38778 * misc/ttyent.h: Likewise.
38779 * nis/rpcsvc/ypclnt.h: Likewise.
38780 * nss/nss.h: Likewise.
38781 * posix/bits/unistd.h: Likewise.
38782 * posix/fnmatch.h: Likewise.
38783 * posix/glob.h: Likewise.
38784 * posix/sched.h: Likewise.
38785 * posix/spawn.h: Likewise.
38786 * posix/sys/wait.h: Likewise.
38787 * posix/unistd.h: Likewise.
38788 * posix/wordexp.h: Likewise.
38789 * pwd/pwd.h: Likewise.
38790 * resolv/netdb.h: Likewise.
38791 * resource/sys/resource.h: Likewise.
38792 * rt/aio.h: Likewise.
38793 * rt/bits/mqueue2.h: Likewise.
38794 * rt/mqueue.h: Likewise.
38795 * shadow/shadow.h: Likewise.
38796 * signal/signal.h: Likewise.
38797 * socket/send.c: Likewise.
38798 * socket/sendto.c: Likewise.
38799 * socket/sys/socket.h: Likewise.
38800 * stdio-common/printf.h: Likewise.
38801 * stdlib/bits/stdlib.h: Likewise.
38802 * stdlib/fmtmsg.h: Likewise.
38803 * stdlib/monetary.h: Likewise.
38804 * stdlib/stdlib.h: Likewise.
38805 * stdlib/ucontext.h: Likewise.
38806 * streams/stropts.h: Likewise.
38807 * string/argz.h: Likewise.
38808 * string/bits/string2.h: Likewise.
38809 * string/string.h: Likewise.
38810 * string/strings.h: Likewise.
38811 * sunrpc/rpc/auth.h: Likewise.
38812 * sunrpc/rpc/auth_des.h: Likewise.
38813 * sunrpc/rpc/clnt.h: Likewise.
38814 * sunrpc/rpc/netdb.h: Likewise.
38815 * sunrpc/rpc/pmap_clnt.h: Likewise.
38816 * sunrpc/rpc/xdr.h: Likewise.
38817 * sysdeps/generic/inttypes.h: Likewise.
38818 * sysdeps/generic/net/if.h: Likewise.
38819 * sysdeps/generic/sys/swap.h: Likewise.
38820 * sysdeps/gnu/net/if.h: Likewise.
38821 * sysdeps/gnu/utmpx.h: Likewise.
38822 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38823 * sysdeps/i386/i486/bits/string.h: Likewise.
38824 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38825 * sysdeps/s390/bits/string.h: Likewise.
38826 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38827 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38828 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38829 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38830 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38831 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38832 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38833 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38834 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38835 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38836 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38837 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38838 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38839 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38840 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38841 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38842 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38846 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38847 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38848 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38849 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38850 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38851 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38852 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38853 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38854 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38856 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38857 * sysvipc/sys/ipc.h: Likewise.
38858 * sysvipc/sys/msg.h: Likewise.
38859 * sysvipc/sys/sem.h: Likewise.
38860 * sysvipc/sys/shm.h: Likewise.
38861 * termios/termios.h: Likewise.
38862 * time/sys/time.h: Likewise.
38863 * time/time.h: Likewise.
38864 * wcsmbs/bits/wchar2.h: Likewise.
38865 * wcsmbs/uchar.h: Likewise.
38866 * wcsmbs/wchar.h: Likewise.
38867 * wctype/wctype.h: Likewise.
38868
0269750c
UD
38869 [BZ #13551]
38870 * Makeconfig: Remove all but ELF support including AIX support.
38871 * Makerules: Likewise.
38872 * config.h.in: Likewise.
38873 * config.make.in: Likewise.
38874 * configure: Likewise.
38875 * configure.in: Likewise.
38876 * csu/Makefile: Likewise.
38877 * csu/version.c: Likewise.
38878 * debug/Makefile: Likewise.
38879 * dlfcn/Makefile: Likewise.
38880 * elf/Makefile: Likewise.
38881 * extra-lib.mk: Likewise.
38882 * iconv/Makefile: Likewise.
38883 * include/libc-symbols.h: Likewise.
38884 * include/shlib-compat.h: Likewise.
38885 * resolv/Makefile: Likewise.
38886 * resolv/res_libc.c: Likewise.
38887 * rt/Makefile: Likewise.
38888 * sysdeps/i386/asm-syntax.h: Likewise.
38889 * sysdeps/i386/sysdep.h: Likewise.
38890 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38891 * sysdeps/mach/sysdep.h: Likewise.
38892 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38893 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38894 * sysdeps/s390/asm-syntax.h: Likewise.
38895 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38897 * sysdeps/sh/sysdep.h: Likewise.
38898 * sysdeps/unix/sparc/sysdep.h: Likewise.
38899 * sysdeps/wordsize-32/divdi3.c: Likewise.
38900 * sysdeps/x86_64/sysdep.h: Likewise.
38901
00bbd29b
UD
38902 * argp/Versions: Remove _argp_unlock_xxx.
38903
38904 [BZ #13559]
38905 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38906 * abilist/libBrokenLocale.abilist: Likewise.
38907 * abilist/libanl.abilist: Likewise.
38908 * abilist/libc.abilist: Likewise.
38909 * abilist/libcrypt.abilist: Likewise.
38910 * abilist/libdl.abilist: Likewise.
38911 * abilist/libm.abilist: Likewise.
38912 * abilist/libnsl.abilist: Likewise.
38913 * abilist/libpthread.abilist: Likewise.
38914 * abilist/libresolv.abilist: Likewise.
38915 * abilist/librt.abilist: Likewise.
38916 * abilist/libthread_db.abilist: Likewise.
38917 * abilist/libutil.abilist: Likewise.
38918 * abilist/libnss_db.abilist: New file.
38919
38920 * scripts/abilist.awk: Add support for indirect functions.
38921
a2693a0e
UD
38922 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38923
3f05895f
UD
38924 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38925
ecb6fb48
UD
38926 * shlib-versions: Remove entries for ports architectures.
38927
664f8cb9
UD
38928 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38929 files in ports.
38930 * elf/stackguard-macros.h: Remove support for IA-64.
38931 * elf/tst-auditmod1.c: Likewise.
38932 * sysdeps/generic/ldsodefs.h: Likewise.
38933
7ae81d88
UD
38934 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38935 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38936 configure files.
38937
bdeba135
UD
38938 [BZ #13552]
38939 * configure.in: Remove --enable-omitfp support.
38940 * FAQ.in: Adjust.
38941 * config.make.in: Likewise.
38942 * Makeconfig: Likewise.
38943 * manual/install.texi: Likewise.
38944
d75a0a62
UD
38945 In case anyone cares, the IA-64 architecture could move to ports.
38946 * sysdeps/ia64/*: Removed.
38947 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38948 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38949
dcc9756b
UD
38950 [BZ #13555]
38951 * configure.in: Remove entries for unsupported architectures.
38952
d3761ebc 38953 [BZ #13533]
9954432e
UD
38954 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38955 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38956 routines.
38957 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38958 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38959 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38960 fall back to using wcrtomb.
38961 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38962 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38963 renaming.
38964 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38965 * wcsmbs/tst-c16c32-1.c: New file.
38966
38967 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38968 local variable.
38969
c3a87236
UD
38970 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38971
28926a1b
UD
38972 * elf/tst-unique3.cc: Add explicit declaration of gets.
38973 * elf/tst-unique3lib.cc: Likewise.
38974 * elf/tst-unique3lib2.cc: Likewise.
38975 * elf/tst-unique4.cc: Likewise.
38976
df78418a
UD
38977 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38978
8ecd6b2a
JM
389792012-01-06 Joseph Myers <joseph@codesourcery.com>
38980
38981 [BZ #13566]
38982 * assert/assert.h (static_assert): Don't define for C++.
38983 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38984 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38985
9f115170
UD
389862012-01-03 Ulrich Drepper <drepper@gmail.com>
38987
5e0d0300
UD
38988 * iconv/loop.c (single loop): Fix assertion in storing of
38989 remaining bytes.
38990
9f115170
UD
38991 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38992
81fb02b0
UD
389932012-01-01 Ulrich Drepper <drepper@gmail.com>
38994
38995 * posix/getconf.c: Update copyright year.
38996 * nss/getent.c: Likewise.
a316c1f6 38997 * nss/makedb.c: Likewise.
81fb02b0
UD
38998 * iconv/iconvconfig.c: Likewise.
38999 * iconv/iconv_prog.c: Likewise.
39000 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39001 * elf/pldd.c: Likewise.
39002 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39003 * catgets/gencat.c: Likewise.
39004 * csu/version.c: Likewise.
39005 * elf/ldd.bash.in: Likewise.
39006 * elf/sprof.c (print_version): Likewise.
39007 * locale/programs/locale.c: Likewise.
39008 * locale/programs/localedef.c: Likewise.
a316c1f6 39009 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39010 * nscd/nscd.c (print_version): Likewise.
39011 * debug/xtrace.sh: Likewise.
39012 * malloc/memusage.sh: Likewise.
39013 * malloc/mtrace.pl: Likewise.
39014 * debug/catchsegv.sh: Likewise.
39015
2ba92745
JJ
390162011-12-30 Jakub Jelinek <jakub@redhat.com>
39017
39018 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39019 pure attribute.
39020
dadebdae
UD
390212011-12-24 Ulrich Drepper <drepper@gmail.com>
39022
d3761ebc 39023 [BZ #13533]
db6af3eb
UD
39024 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39025 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39026 transformations.
39027 * iconv/gconv_int.h: Likewise.
39028 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39029 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39030 from libc for GLIBC_2.16.
39031 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39032 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39033 * wcsmbs/uchar.h: Really define mbstate_t.
39034 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39035 * wcsmbs/c16rtomb.c: New file.
39036 * wcsmbs/mbrtoc16.c: New file.
39037 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39038 for C/POSIX locale.
39039 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39040 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39041
dadebdae
UD
39042 * wcsmbs/wchar.h: Add missing __restrict.
39043
67371b56
UD
390442011-12-23 Ulrich Drepper <drepper@gmail.com>
39045
74033a25
UD
39046 [BZ #13532]
39047 * time/Makefile (routines): Add timespec_get.
39048 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39049 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39050 timespec for ISO C11.
39051 * time/timespec_get.c: New file.
39052 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39053 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39054
380d7e87
UD
39055 [BZ #13531]
39056 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39057 * stdlib/stdlib.h: Declare aligned_alloc.
39058 * Versions.def: Add GLIBC_2.16 for libc.
39059 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39060
4e9e7a35
UD
39061 [BZ 13527]
39062 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39063 ISO C11.
39064
380d7e87 39065 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39066 code.
39067
03a71829
UD
39068 [BZ #13528]
39069 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39070
839e283e
UD
39071 [BZ #13529]
39072 * assert/assert.h (static_assert): Define.
39073
ce5294e2 39074 * version.h: Update for 2.16 development version.
90fa7312 39075
8d44e150 39076 [BZ #13526]
d7809905
UD
39077 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39078 _ISOC11_SOURCE.
39079
c0da14cd
UD
39080 * version.h (RELEASE): Bump for 2.15 release.
39081 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39082
530a3249
MP
39083 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39084 Patch by Marek Polacek <mpolacek@redhat.com>.
39085
67371b56
UD
39086 * bits/byteswap.h: Protect long long constants with __extension__.
39087 * sysdeps/i386/bits/byteswap.h: Likewise.
39088 * sysdeps/ia64/bits/byteswap.h: Likewise.
39089 * sysdeps/s390/bits/byteswap.h: Likewise.
39090 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39091
15db4de1
LD
390922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39093
39094 [BZ #13540]
bbe315ea
LD
39095 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39096 destination buffer.
15db4de1
LD
39097 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39098
2b2596b1
MP
390992011-12-23 Marek Polacek <polacek@redhat.com>
39100
39101 * elf/dl-addr.c (determine_info): Add inline keyword.
39102 * elf/tst-auditmod4b.c (check_avx): Likewise.
39103 * elf/tst-auditmod6b.c (check_avx): Likewise.
39104 * elf/tst-auditmod6c.c (check_avx): Likewise.
39105 * elf/tst-auditmod7b.c (check_avx): Likewise.
39106
70c6c246
UD
391072011-12-23 Ulrich Drepper <drepper@gmail.com>
39108
39109 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39110 !__SSE_MATH__.
39111
c044cf14
LD
391122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39113
15db4de1 39114 [BZ #13540]
c044cf14
LD
39115 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39116 processing for last bytes.
39117
6b13d9d9
BH
391182011-08-06 Bruno Haible <bruno@clisp.org>
39119
d455f537
BH
39120 [BZ #13061]
39121 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39122 U+0385, not to U+1FEE.
39123
6b13d9d9
BH
39124 [BZ #13062]
39125 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39126 entry for U+00A5 U+0301.
39127
db910efd
UD
391282011-12-22 Ulrich Drepper <drepper@gmail.com>
39129
27deeafc
UD
39130 [BZ #13166]
39131 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39132 buffer for the output is too small.
39133
aed9d171
UD
39134 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39135 optimization.
39136
db910efd
UD
39137 [BZ #13185]
39138 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39139 SSE flags if possible.
39140
2bd779ae
LD
391412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39142
e7f9dac3 39143 [BZ #13540]
2bd779ae
LD
39144 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39145 processing for last bytes.
39146
154bfc16
JM
391472011-12-22 Joseph Myers <joseph@codesourcery.com>
39148
39149 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39150 (syscall-list-default-options, syscall-list-default-condition)
39151 (syscall-list-includes): Define.
39152 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39153 list of ABIs and options and #if conditions for each ABI. Do not
39154 handle common syscalls between ABIs specially.
39155 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39156 Remove.
39157 (syscall-list-variants, syscall-list-32bit-options)
39158 (syscall-list-32bit-condition, syscall-list-64bit-options)
39159 (syscall-list-64bit-condition): Define.
39160 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39161 (syscall-list-variants, syscall-list-32bit-options)
39162 (syscall-list-32bit-condition, syscall-list-64bit-options)
39163 (syscall-list-64bit-condition): Define.
39164 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39165 Remove.
39166 (syscall-list-variants, syscall-list-32bit-options)
39167 (syscall-list-32bit-condition, syscall-list-64bit-options)
39168 (syscall-list-64bit-condition): Define.
39169 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39170 Remove.
39171 (syscall-list-variants, syscall-list-32bit-options)
39172 (syscall-list-32bit-condition, syscall-list-64bit-options)
39173 (syscall-list-64bit-condition): Define.
39174
21eaf3a5
UD
391752011-12-22 Ulrich Drepper <drepper@gmail.com>
39176
16c6f992
UD
39177 * locale/iso-639.def: Add brx entry.
39178
41043168
UD
39179 [BZ #13328]
39180 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39181 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39182
21eaf3a5
UD
39183 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39184 __feraiseexcept_renamed.
39185
e3a851a2
UD
391862011-12-21 Ulrich Drepper <drepper@gmail.com>
39187
4920765e
UD
39188 [BZ #13538]
39189 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39190 EPOLLET with unsigned values.
39191 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39192 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39193
e3a851a2
UD
39194 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39195 to large cancellation.
39196 * math/s_cacoshf.c: Likewise.
39197 * math/s_cacoshl.c: Likewise.
39198
b27e24b8
RK
391992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39200
39201 [BZ #13305]
aebefeee 39202 [BZ #12786]
b27e24b8
RK
39203 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39204 * math/s_cacoshf.c: Likewise.
39205 * math/s_cacoshl.c: Likewise.
39206
ee190f67
UD
392072011-12-21 Ulrich Drepper <drepper@gmail.com>
39208
39209 [BZ #13439]
39210 * iconv/gconv.h: Define __GCONV_SWAP.
39211 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39212 * iconvdata/utf-16.c: Likewise.
39213 * iconvdata/utf-32.c: Likewise.
39214
707f25df
AS
392152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39216
39217 [BZ #13524]
39218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39219 numerator after shifting it by one limb.
39220
d2daaa1e
RÁE
392212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39222
39223 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39224 under [__USE_EXTERN_INLINES].
39225
a4647e72
UD
392262011-12-17 Ulrich Drepper <drepper@gmail.com>
39227
39228 [BZ #13446]
39229 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39230
f0b264f1
AZ
392312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39232
39233 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39234 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39235 optimized code.
39236 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39237 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39238 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39239 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39240 for strncasecmp/strncasecmp_l compilation.
39241 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39242 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39243
8ef4f244
MP
392442011-12-08 Marek Polacek <mpolacek@redhat.com>
39245
39246 [BZ #13484]
39247 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39248 of __asm__.
39249
97ac2654
UD
392502011-12-17 Ulrich Drepper <drepper@gmail.com>
39251
39252 [BZ #13506]
39253 * time/tzfile.c (__tzfile_read): Check values from file header.
39254
91d2a845
WS
392552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39256
39257 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39258 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39259 * powerpc/powerpc32/dl-start.S: Likewise.
39260 * powerpc/powerpc32/elf/start.S: Likewise.
39261 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39262 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39263 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39264 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39265 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39266 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39267 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39268 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39269 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39270 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39271 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39272 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39273 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39274 * powerpc/powerpc32/memset.S: Likewise.
39275 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39276 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39277 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39278 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39279 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39280 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39281 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39282 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39283 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39284 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39285 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39286 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39287 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39288
a1267ba1
AZ
392892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39290
39291 * math/libm-test.inc: Added more nearbyint tests.
39292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39293 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39296
ad8ac1bd
RL
392972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39298
39299 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39300 FD_CLOEXEC.
39301
1d3e4b61
UD
393022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39303
39304 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39305 Add wcscpy-ssse3 wcscpy-c.
39306 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39307 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39308 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39309 * sysdeps/x86_64/wcschr.S: New file.
39310 * sysdeps/x86_64/wcsrchr.S: New file.
39311 * string/test-strcmp.c: Remove checking of wcscmp function for
39312 wrong alignments.
39313 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39314 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39315 wcsrchr-sse2 wcsrchr-c.
39316 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39317 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39318 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39319 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39320 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39321 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39322 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39323 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39324 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39325 * wcsmbc/wcschr.c (WCSCHR): New macro.
39326
5b330a2d
UD
393272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39328
39329 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39330 * wcsmbs/test-wcsrchr.c: New file.
39331 * string/test-strrchr.c: Add wcsrchr support.
39332 (WIDE): New macro.
39333 * wcsmbs/test-wcscpy.c: New file.
39334 * string/test-strcpy.c: Add wcscpy support.
39335 (WIDE): New macro.
26428b7c 39336
f039c043
UD
393372011-12-10 Ulrich Drepper <drepper@gmail.com>
39338
39339 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39340 the inner loop.
39341
850fb039
AS
393422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39343
39344 [BZ #13472]
39345 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39346
4efbd5cb
UD
393472011-12-04 Ulrich Drepper <drepper@gmail.com>
39348
52ff5dd0 39349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39350 Minor optimizations.
52ff5dd0 39351
4efbd5cb
UD
39352 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39353 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39354 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39355
8a426e12
UD
393562011-12-03 Ulrich Drepper <drepper@gmail.com>
39357
aff2453d
UD
39358 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39359 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39360 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39361 for gcc to avoid warnings.
39362 * inet/Makefile (tests): Add tst-checks.
39363 * inet/tst-checks.c: New file.
39364
39365 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39366 warning.
39367
39368 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39369 __wmemcmp_sse2.
39370
39371 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39372 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39373
8a426e12
UD
39374 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39375
9bea3473
UD
393762011-12-02 Ulrich Drepper <drepper@gmail.com>
39377
3a965496
UD
39378 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39379 problem.
39380
9bea3473
UD
39381 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39382
f101631b
UD
393832011-11-29 Joseph Myers <joseph@codesourcery.com>
39384
39385 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39386 conditional on GCC version.
39387 (__arch_compare_and_exchange_val_8_acq)
39388 (__arch_compare_and_exchange_val_16_acq)
39389 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39390 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39391 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39392
a98275aa
UD
393932011-12-02 Joseph Myers <joseph@codesourcery.com>
39394
39395 * sysdeps/sh/backtrace.c: New file.
39396
d4cc29a2
AS
393972011-12-02 Andreas Schwab <schwab@redhat.com>
39398
39399 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39400 parenthesis.
39401
6257af2d
AS
394022011-12-01 Andreas Schwab <schwab@redhat.com>
39403
39404 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39405 falling back to utime.
39406
b5f44c1a
AS
394072011-11-30 Andreas Schwab <schwab@redhat.com>
39408
39409 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39410 expectations for float.
39411
f3a6cc0a
AS
394122011-11-29 Andreas Schwab <schwab@redhat.com>
39413
39414 * locale/weight.h (findidx): Add parameter len.
39415 * locale/weightwc.h (findidx): Likewise.
39416 * posix/fnmatch_loop.c (FCT): Adjust caller.
39417 * posix/regcomp.c (build_equiv_class): Likewise.
39418 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39419 * posix/regexec.c (check_node_accept_bytes): Likewise.
39420 * string/strcoll_l.c (STRCOLL): Likewise.
39421 * string/strxfrm_l.c (STRXFRM): Likewise.
39422
9d65ea3a
UD
394232011-11-17 Ulrich Drepper <drepper@gmail.com>
39424
39425 * Makefile.in: Remove CVSOPT handling.
39426 * configure.in: Remove use of AC_REVISION.
39427 * iconvdata/Makefile (distribute): No need to filter out CVS.
39428 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39429 handling.
39430
5583a086
AS
394312011-11-16 Andreas Schwab <schwab@redhat.com>
39432
39433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39434 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39435 [USE_AS_STRNCASECMP_L]: Likewise.
39436 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39437 NO_TLS_DIRECT_SEG_REFS.
39438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39439 Fix argument offsets for non-PIC.
39440 [USE_AS_STRNCASECMP_L]: Likewise.
39441 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39442 NO_TLS_DIRECT_SEG_REFS.
39443
d62a8200
UD
394442011-11-15 Ulrich Drepper <drepper@gmail.com>
39445
9d65ea3a 39446 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39447 O_CLOEXEC.
39448 * locale/loadlocale.c (_nl_load_locale): Likewise.
39449
09f93bd3
AS
394502011-11-15 Andreas Schwab <schwab@redhat.com>
39451
446514f9
AS
39452 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39453 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39454 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39455 (SYSCALL_GETTIME): Set errno on error.
39456
09f93bd3
AS
39457 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39458 count references to noai6ai_cached.
39459
312be3f9
UD
394602011-11-15 Ulrich Drepper <drepper@gmail.com>
39461
39462 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39463
39464 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39465 FD_CLOEXEC for /proc/self/maps.
39466
39467 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39468 FD_CLOEXEC for /proc/meminfo.
39469
39470 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39471 gai.conf.
39472
39473 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39474 FD_CLOEXEC for given file.
39475
39476 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39477
39478 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39479 FD_CLOEXEC for /etc/hosts.
39480 (_gethtent): Likewise.
39481
39482 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39483
39484 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39485 cancellation and set FD_CLOEXEC for /etc/netgroup.
39486
39487 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39488 reading /etc/publickey.
39489
39490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39491 allow cancellation when reading /etc/group.
39492
39493 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39494 cancellation.
39495 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39496
39497 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39498 when using data file.
39499
39500 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39501
39502 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39503 (write_nis_obj): Use "c" and "e" in fopen.
39504
39505 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39506
39507 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39508
39509 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39510
39511 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39512
39513 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39514 locale.alias.
39515
39516 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39517
39518 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39519
39520 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39521
39522 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39523 file parsing and set FD_CLOEXEC.
39524
82af0fa8
UD
395252011-11-14 Ulrich Drepper <drepper@gmail.com>
39526
39527 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39528
a5fb313c
AS
395292011-11-14 Andreas Schwab <schwab@redhat.com>
39530
39531 * malloc/arena.c (arena_get2): Don't call reused_arena when
39532 _int_new_arena failed.
39533
6abf3465
UD
395342011-11-14 Ulrich Drepper <drepper@gmail.com>
39535
39536 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39537 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39540 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39541 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39542 to compile strcasecmp and strncasecmp.
39543 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39544 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39545
39546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39547
76e3966e
UD
395482011-11-13 Ulrich Drepper <drepper@gmail.com>
39549
39550 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39551 locale-defines.sym to gen-as-const-headers.
39552 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39553 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39555 to compile strcasecmp and strncasecmp.
39556 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39557 strcasecmp_l and strncasecmp_l.
39558 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39559 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39560 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39561 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39562 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39563 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39564 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39565 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39566 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39567 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39568 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39569
ab26144e
UD
395702011-11-12 Ulrich Drepper <drepper@gmail.com>
39571
7edb22ef
UD
39572 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39573 result of SYSDEP_GETTIME_CPU to retval.
39574 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39575 parameter list to macro. Remove trailing semicolon. Adjust users.
39576
9694fc44
UD
39577 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39578 variable.
39579
8ad89ef8
UD
39580 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39581 mantissa words.
39582 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39583
0c822ef9
UD
39584 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39585 from unused variable.
39586
874e0564
UD
39587 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39588 DWARF definitions.
39589 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39590 for assembling.
39591
3a2edc79
UD
39592 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39593 over namespaces.
39594
f3c2577f
UD
39595 * sunrpc/rpc_prot.c (rejected): Fix case value.
39596
294ce126
UD
39597 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39598 unsigned long long int to avoid warnings in shift.
39599
5e2b63c6
UD
39600 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39601 of use of trans.
39602 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39603 variable tmp.
39604
e7f4b08e
UD
39605 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39606 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39607 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39608
ab26144e
UD
39609 * nis/nis_table.c (nis_list): Use variable of correct type for
39610 result of __follow_path call.
39611
8a6d5255
AZ
396122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39613
39614 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39615 of math functions ceil, trunc, floor, round, and sqrt, when
39616 avaliable on the platform.
39617 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39618 name clash.
39619 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39620 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39621 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39622
aaddc98c
MP
396232011-10-30 Marek Polacek <mpolacek@redhat.com>
39624
39625 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39626 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39627
95b7042b
RM
396282011-11-11 Roland McGrath <roland@hack.frob.com>
39629
39630 * include/unistd.h: Fix __readlink return type.
39631 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39632
57769839
UD
396332011-11-11 Ulrich Drepper <drepper@gmail.com>
39634
39635 * stdlib/ucontext.h: Undo last change for makecontext.
39636
edc5984d
AS
396372011-11-11 Andreas Schwab <schwab@redhat.com>
39638
98591e58
AS
39639 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39640
edc5984d
AS
39641 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39642 * setjmp/setjmp.h: Mark functions as non-leaf.
39643 * setjmp/bits/setjmp2.h: Likewise.
39644 * stdlib/ucontext.h: Likewise.
39645
77cdc054
AS
396462011-11-10 Andreas Schwab <schwab@redhat.com>
39647
39648 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39649 (reused_arena): Don't check arena limit.
39650 (arena_get2): Atomically check arena limit.
39651
fe72eebd
UD
396522011-11-08 Ulrich Drepper <drepper@gmail.com>
39653
5f078c32
UD
39654 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39655 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39656
fe72eebd
UD
39657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39658 instructions.
39659
ae1bc2fa
AS
396602011-11-07 Andreas Schwab <schwab@redhat.com>
39661
7583a88d
AS
39662 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39663 handler when locking.
39664
ae1bc2fa
AS
39665 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39666 Fix size of allocated buffer.
39667
10fb0bfa
AS
396682011-11-04 Andreas Schwab <schwab@redhat.com>
39669
998832a4
AS
39670 [BZ #10103]
39671 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39672 declarations for long double functions.
39673 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39674
10fb0bfa
AS
39675 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39676
3d7ba52b
AS
396772011-11-03 Andreas Schwab <schwab@redhat.com>
39678
a9ae54a1
AS
39679 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39680 installed.
39681
3d7ba52b
AS
39682 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39683 is disabled.
39684
bc8db248
ST
396852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39686
39687 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39688
45b96dd6
AS
396892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39690
647776f6
AS
39691 * include/alloca.h (stackinfo_alloca_round): Define.
39692 (extend_alloca): Use it.
39693 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39694 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39695 here.
39696
d91a8b93
AS
39697 * scripts/check-local-headers.sh: Ignore libaudit.h.
39698
45b96dd6
AS
39699 * nscd/Makefile (extra-objs): Make recursively expanded.
39700
432d41ce
UD
397012011-11-01 Ulrich Drepper <drepper@gmail.com>
39702
34372fc6
UD
39703 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39705
fadb59f8
UD
39706 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39707 * posix/tst-rfc3484-2.c: Likewise.
39708 * posix/tst-rfc3484-3.c: Likewise.
39709
78239589
UD
39710 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39711 process_vm_writev.
39712 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39713 process_vm_writev.
39714 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39715 process_vm_writev from libc using GLIBC_2.15 version.
39716
432d41ce
UD
39717 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39718
02f9c6cf
PP
397192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39720
39721 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39722 stack usage.
39723
3a2c0242
UD
397242011-10-31 Ulrich Drepper <drepper@gmail.com>
39725
f4ec4833
UD
39726 [BZ #13367]
39727 * nss/getent.c (initgroups_keys): Show error message in case no group
39728 names are given.
39729
3a2c0242
UD
39730 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39731 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39732 __bump_nl_timestamp.
39733 * nscd/connections (nscd_init): When host database is served open
39734 netlink socket and request notification about configuration changes.
39735 (main_loop_poll): Track netlink file descriptor and bump timestamp
39736 in case data becomes available.
39737 (main_loop_epoll): Likewise.
39738 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39739 (database_pers_head): Add extra_data fileds.
39740 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39741 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39742 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39743 Adjust caller.
39744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39745 in6ai data, call __free_in6ai.
39746 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39747 Add -DHAVE_NETLINK.
39748 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39749 interface information. Reuse previous data if netlink timestamp
39750 is not changed.
39751 (__bump_nl_timestamp): New function.
39752 (__free_in6ai): New function.
39753
636064eb
UD
397542011-10-30 Ulrich Drepper <drepper@gmail.com>
39755
39756 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39757 close_not_cancel_no_status here.
39758 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39759
9beb2334
UD
397602011-10-29 Ulrich Drepper <drepper@gmail.com>
39761
6ef76f3b
UD
39762 [BZ #13276]
39763 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39764 return value.
39765
0ffc4f3e 39766 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39767 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39768 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39769
cb95113e
UD
397702011-07-03 Andreas Jaeger <aj@suse.de>
39771
39772 [BZ #10709]
39773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39774 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39775 * math/libm-test.inc (sin_test): Add test case.
39776
a1b560ff
UD
397772011-10-29 Ulrich Drepper <drepper@gmail.com>
39778
c9aaface
UD
39779 [BZ #13337]
39780 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39781 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39782
d272e7f1
UD
39783 * elf/chroot_canon.c (chroot_canon): Cleanups.
39784
1bc33071
UD
39785 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39786
1760874d
TJ
39787 [BZ #13335]
39788 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39789 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39790
51d91b18
UD
39791 * string/test-strchr.c: Make usable for strchrnul testing.
39792 * string/test-strchrnul.c: New file.
39793 * string/Makefile (strop-tests): Add strchrnul.
39794
a1b560ff 39795 * po/it.po: Update from translation team.
b611fb81 39796 * po/es.po: Likewise.
a1b560ff 39797
a5b81e1f
UD
397982011-10-28 Ulrich Drepper <drepper@gmail.com>
39799
fd52bc6d
UD
39800 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39801 the three constants needed as parameters. Drop the others.
39802 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39803 __m128i_strloadu_tolower.
52e4b9eb
UD
39804 Create and initialize variable zero and use it in all the places
39805 where _mm_setzero_si128 was used.
fd52bc6d 39806
a5b81e1f
UD
39807 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39808 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39809 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39810 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39811 anymore.
39812 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39813 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39814 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39815 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39816 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39817 __mpranred, __mptan.
39818 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39819 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39820 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39821 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39822 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39823 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39825 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39826 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39827
b4343346
AS
398282011-10-28 Andreas Schwab <schwab@redhat.com>
39829
0c92d8a8
AS
39830 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39831 redefine if SHARED.
39832 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39833
b4343346
AS
39834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39835 wide char related routines to wcsmbs subdir.
39836
3871f58f
AS
398372011-10-27 Andreas Schwab <schwab@redhat.com>
39838
39839 [BZ #13344]
39840 * misc/sys/cdefs.h (__THROWNL): Define.
39841 * posix/unistd.h: Use __THREADNL instead of __THREAD
39842 for memory synchronization functions.
39843
94d44d9f
RM
398442011-10-26 Roland McGrath <roland@hack.frob.com>
39845
21b64b15 39846 [BZ #13349]
94d44d9f
RM
39847 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39848 doesn't exist.
39849 * manual/stdio.texi (Obstack Streams): Node removed.
39850
f6ce9294
AS
398512011-10-26 Andreas Schwab <schwab@redhat.com>
39852
80479147
AS
39853 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39854 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39855 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39856
f6ce9294
AS
39857 * math/math_private.h (math_force_eval): Allow non-addressable
39858 arguments.
39859 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39860
618280a1
UD
398612011-10-25 Ulrich Drepper <drepper@gmail.com>
39862
e0016b11
UD
39863 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39864 file is not needed.
39865
39866 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39867 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39873 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39874 Add AVX variants.
39875 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39876 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39877 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39878 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39879 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39880 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39881 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39882 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39883 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39884 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39885 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39886 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39887 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39888 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39889 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39890 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39891 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39892 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39893 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39894
39895 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39896 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39897
618280a1
UD
39898 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39899 place. Use VEX encoding when compiling for AVX.
39900
37822576
AS
399012011-10-25 Andreas Schwab <schwab@redhat.com>
39902
1f1e1947
AS
39903 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39904 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39905
37822576
AS
39906 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39907
31ea014d
UD
399082011-10-25 Ulrich Drepper <drepper@gmail.com>
39909
d7826aa1 39910 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39911 useless if() expression.
d7826aa1
UD
39912 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39913 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39914 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39915 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39917 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39921 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39922 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39923 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39924 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39925 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39926 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39927 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39928 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39930 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39931
31ea014d
UD
39932 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39933
16437fec
AS
399342011-10-25 Andreas Schwab <schwab@redhat.com>
39935
39936 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39937 condition.
39938 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39939
31d3cc00
UD
399402011-10-25 Ulrich Drepper <drepper@gmail.com>
39941
39942 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39943 .text section. Avoid duplicate constants.
39944 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39946 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39951 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39952 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39953 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39954 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39955 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39956 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39957 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39958 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39959 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39960 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39961 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39962 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39964 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39965 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39966 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39968 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39969 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39970 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39971 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39972 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39973 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39974 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39977 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39978 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39979 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39980 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39982 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39983 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39984 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39985 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39986 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39987 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39988 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39989
58985aa9
UD
399902011-10-24 Ulrich Drepper <drepper@gmail.com>
39991
202c9deb
UD
39992 * sysdeps/x86_64/dla.h: Move to ...
39993 * sysdeps/x86_64/fpu/dla.h: ...here.
39994 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39995 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39996
af968f62
UD
39997 * config.make.in: Add have-mfma4 entry.
39998 * configure.in: Substitute libc_cv_cc_fma4.
39999 * math/Makefile (dbl-only-routines): Add sincostab.
40000 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40001 Use __sincostab not sincos.
40002 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40003 name is a macro.
40004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40008 using __copysign.
40009 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40010 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40011 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40012 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40013 and __inv.
40014 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40015 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40016 __copysign.
40017 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40018 define aliases when function name is a macro.
40019 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40020 sysdeps/ieee754/dbl-64/sincos.tbl.
40021 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40022 fma4-enabled routines.
40023 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40024 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40025 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40026 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40027 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40028 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40029 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40030 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40031 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40032 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40033 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40034 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40035 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40036 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40037 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40038 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40039 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40040 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40041 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40042 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40043 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40044 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40045 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40046 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40047 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40049 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40050 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40051 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40052 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40053
58985aa9
UD
40054 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40055 rename.
40056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40064
a201fbcf
AS
400652011-10-24 Andreas Schwab <schwab@redhat.com>
40066
40067 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40068
fc2ee42a
LD
400692011-10-23 Ulrich Drepper <drepper@gmail.com>
40070
bb3129bd
UD
40071 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40072
0275fff8
UD
40073 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40074 prediction.
40075 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40076
2fa2ae85
UD
40077 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40078 Remove unused variable magic_bits.
40079 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40080
fc2ee42a
LD
40081 * string/strnlen.c: Define and use STRNLEN macro.
40082 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40083 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40085 * wcsmbs/wcslen.c: Define and use WCSLEN.
40086 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40087 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40088 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40089 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40090 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40091 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40092 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40093
ce7dd29f
LD
400942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40095
40096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40097 strnlen-sse2-no-bsf.
40098 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40099 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40100 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40101 Add strnlen support.
40102 (USE_AS_STRNLEN): New macro.
40103 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40104 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40105 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40106 * sysdeps/x86_64/wcslen.S: New file.
40107
979c70a3
MZ
401082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40109
40110 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40111 XMM-moves are used for copying on small sizes.
40112
2d09f82f
LD
401132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40114
40115 * wcsmbs/Makefile (strop-tests): Add wcschr.
40116 * wcsmbs/test-wcschr.c: New file.
40117 * string/test-strchr.c: Update.
40118 Add wcschr support.
40119 (WIDE): New macro.
40120
619fccca
LD
401212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40122
2d09f82f 40123 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40124 * wcsmbs/test-wcslen.c: New file.
40125 * string/test-strlen.c: Update.
40126 Add wcslen support.
40127 (WIDE): New macro.
40128
09f699ea
UD
401292011-10-23 Ulrich Drepper <drepper@gmail.com>
40130
40131 * po/it.po: Update from translation team.
40132
95584d3b
LD
401332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40134
40135 * sysdeps/x86_64/wcscmp.S: Update.
40136 Fix wrong comparison semantics.
40137 wcscmp shall use signed comparison not unsigned.
40138 Don't use substraction to avoid overflow bug.
40139 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40140 * wcsmbc/wcscmp.c: Likewise.
40141 * string/test-strcmp.c: Likewise.
40142 Add new tests to check cases with negative values.
40143
c8b3296b
UD
401442011-10-23 Ulrich Drepper <drepper@gmail.com>
40145
40146 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40147 * sysdeps/x86_64/dla.h: ...here. New file.
40148 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40157
246ad57a
AS
401582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40159
40160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40161 __ynl_finite aliases.
40162
a1a87169
UD
401632011-10-22 Ulrich Drepper <drepper@gmail.com>
40164
0d355eb7
UD
40165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40166
a1a87169
UD
40167 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40168 define DLA_FMA.
40169 [DLA_FMA] (EMULV): Use DLA_FMA.
40170 [DLA_FMA] (MUL12): Use EMULV.
40171 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40172 that are not needed.
40173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40180
ee2aafe0
AS
401812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40182
40183 * math/s_nan.c: Undef __nan.
40184 * math/s_nanf.c: Undef __nanf.
40185 * math/s_nanl.c: Undef __nanl.
40186 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40187 "math_private.h".
40188
bc62c2fb
UD
401892011-10-22 Ulrich Drepper <drepper@gmail.com>
40190
77425c63
UD
40191 * math/s_catan.c: Add branch predictions.
40192 * math/s_catanf.c: Likewise.
40193 * math/s_catanh.c: Likewise.
40194 * math/s_catanhf.c: Likewise.
40195 * math/s_catanhl.c: Likewise.
40196 * math/s_catanl.c: Likewise.
40197 * math/s_cexp.c: Likewise.
40198 * math/s_cexpf.c: Likewise.
40199 * math/s_cexpl.c: Likewise.
40200 * math/s_clog.c: Likewise.
40201 * math/s_clog10.c: Likewise.
40202 * math/s_clog10f.c: Likewise.
40203 * math/s_clog10l.c: Likewise.
40204 * math/s_clogf.c: Likewise.
40205 * math/s_clogl.c: Likewise.
40206 * math/s_csqrt.c: Likewise.
40207 * math/s_csqrtf.c: Likewise.
40208 * math/s_csqrtl.c: Likewise.
40209 * math/s_ctanf.c: Likewise.
40210 * math/s_ctanh.c: Likewise.
40211 * math/s_ctanhf.c: Likewise.
40212 * math/s_ctanhl.c: Likewise.
40213 * math/s_ctanl.c: Likewise.
40214
bc62c2fb
UD
40215 * math/math_private.h: Define __nan, __nanf, __nanl.
40216 * math/s_cacosh.c: Include <math_private.h>.
40217 * math/s_cacoshl.c: Likewise.
40218 * math/s_casinh.c: Likewise.
40219 * math/s_casinhf.c: Likewise.
40220 * math/s_casinhl.c: Likewise.
40221 * math/s_ccos.c: Rely entire on ccosh.
40222 * math/s_ccosf.c: Rely entire on ccoshf.
40223 * math/s_ccosl.c: Rely entirely on ccoshl.
40224 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40225 Remove tests for FE_INVALID.
40226 * math/s_ccoshf.c: Likewise.
40227 * math/s_ccoshl.c: Likewise.
40228 * math/s_csin.c: Likewise.
40229 * math/s_csinf.c: Likewise.
40230 * math/s_csinh.c Likewise.
40231 * math/s_csinhf.c: Likewise.
40232 * math/s_csinhl.c: Likewise.
40233 * math/s_csinl.c: Likewise.
40234 * math/s_ctan.c: Likewise.
40235 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40236 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40238
8ec250a4
UD
402392011-10-21 Ulrich Drepper <drepper@gmail.com>
40240
c196fed8
UD
40241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40242 compilation problems.
40243
8ec250a4
UD
40244 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40245 __builtin_expect.
40246
8d4f46c6
UD
402472011-10-20 Ulrich Drepper <drepper@gmail.com>
40248
ed72b654
UD
40249 * sysdeps/i386/configure.in: Test for -mfma4 option.
40250 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40251 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40252 COMMON_CPUID_INDEX_80000001.
40253 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40254 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40255 use it if FMA3 is not supported.
40256 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40257
8d4f46c6
UD
40258 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40259 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40260
d45c60c2
AS
402612011-10-20 Andreas Schwab <schwab@redhat.com>
40262
40263 [BZ #12892]
40264 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40265 it would create a cycle with a link time dependency.
40266
d9a4d2ab
UD
402672011-10-19 Ulrich Drepper <drepper@gmail.com>
40268
855d1560
UD
40269 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40270 instruction.
40271 * string/Makefile (strop-tests): Add rawmemchr.
40272 * string/test-rawmemchr.c: New file.
40273
d9a4d2ab
UD
40274 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40276 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40277 when compiling str{,n}casecmp and when AVX is available. Hook up
40278 new optimized code in initializers.
40279
8f3b1ffe
AS
402802011-10-19 Andreas Schwab <schwab@redhat.com>
40281
40282 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40283 __feraiseexcept instead of feraiseexcept.
40284
d38f1dba
UD
402852011-10-18 Ulrich Drepper <drepper@gmail.com>
40286
d9a8d0ab
UD
40287 * math/math_private.h: Define defaults for libc_fetestexcept and
40288 libc_feupdateenv.
40289 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40290 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40291 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40292 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40293 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40294 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40295 libc_fetestexcept and libc_feupdateenv.
40296
4855e3dd
UD
40297 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40298 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40299 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40300 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40301 libc_feholdexcept_setround.
40302
581d30e3
UD
40303 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40304 Add s_nearbyint-c and s_nearbyintf-c.
40305 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40306 nearbyintf inlines.
40307 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40308 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40309 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40310 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40311
d38f1dba
UD
40312 * math/math_private.h: Define defaults for libc_fegetround,
40313 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40314 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40315 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40316 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40317 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40318 standard functions.
40319 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40320 Remove comments and hacks for old compiler versions.
40321 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40322 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40323 libc_feholdexceptl.
40324
caa6c9d8
AS
403252011-10-18 Andreas Schwab <schwab@redhat.com>
40326
40327 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40328 (__feraiseexcept_renamed): Add __NTH.
40329 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40330 namespace violations.
40331
97c066e6
UD
403322011-10-17 Ulrich Drepper <drepper@gmail.com>
40333
99ce7b04
UD
40334 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40335
1004d182
UD
40336 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40337
228a984d
UD
40338 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40339 recently added interfaces.
40340 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40341
c8553a6a
UD
40342 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40343 about macro parameter expansion.
40344
ed22dcf6
UD
40345 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40346 __NO_MATH_INLINES is defined. Cleanups.
40347
40348 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40349 and __floorf is target has SSE4.1.
40350 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40351 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40352 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40353 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40354
b171c137
UD
40355 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40356 name.
40357 (floorf): Likewise.
40358
97c066e6
UD
40359 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40360
629f62ef
AS
403612011-10-17 Andreas Schwab <schwab@redhat.com>
40362
49a43d80
AS
40363 * misc/sys/cdefs.h: Fix last change.
40364
629f62ef
AS
40365 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40366 database lookup.
40367
e453f6cd
UD
403682011-10-16 Ulrich Drepper <drepper@gmail.com>
40369
aa78043a
UD
40370 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40371
ad0f5cad
UD
40372 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40373 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40374 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40375 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40377 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40378 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40379 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40380 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40381 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40382 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40383 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40384 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40385 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40386 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40387 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40388 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40389 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40390 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40391 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40392 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40393 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40394
40395 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40396 ceil, ceilf, floor, floorf.
40397
40398 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40399 Perform IRELATIVE relocations last.
40400
e453f6cd
UD
40401 * elf/do-rel.h: Add another parameter nrelative, replacing the
40402 local variable with the same name. Change name of the function
40403 to end in Rel or Rela (uppercase).
40404 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40405 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40406 elf_dynamic_do_##reloc function.
40407
fd5bdc09
UD
404082011-10-15 Ulrich Drepper <drepper@gmail.com>
40409
79b195b5
UD
40410 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40411 is sufficient, at least on modern CPUs.
40412
d4a28569
UD
40413 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40414
b61099b5
UD
40415 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40416 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40417
bcf01e6d
UD
40418 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40419 __expl_finite.
40420 * math/bits/math-finite.h: Add entries for exp.
40421 * math/e_expl.c: Add __*_finite alias.
40422 * sysdeps/i386/fpu/e_exp.S: Likewise.
40423 * sysdeps/i386/fpu/e_expf.S: Likewise.
40424 * sysdeps/i386/fpu/e_expl.c: Likewise.
40425 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40426 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40427 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40429 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40430 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40431 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40432
ba1a0d59
UD
40433 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40434 is sufficient, at least on modern CPUs.
40435
fd5bdc09
UD
40436 * ctype/ctype-info.c (__ctype_init): Define.
40437 * include/ctype.h (__ctype_init): Declare.
40438 (__ctype_b_loc): The variable is always initialized.
40439 (__ctype_toupper_loc): Likewise.
40440 (__ctype_tolower_loc): Likewise.
40441 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40442 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40443
7872cfb0
AS
404442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40445
b468825a
AS
40446 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40447
7872cfb0
AS
40448 * configure.in: Also look in $cxxmachine/include for C++ system
40449 headers.
40450
be13f7bf
LD
404512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40452
40453 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40454 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40455 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40456 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40457 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40458 (USE_AS_WMEMCMP): New macro.
40459 Fixing indents.
40460 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40461 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40462 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40463 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40465 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40466 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40467 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40468 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40469 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40470 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40471 (USE_AS_WMEMCMP): New macro.
40472 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40473 * sysdeps/string/test-memcmp.c: Update.
40474 Fix simple_wmemcmp.
40475 Add new tests.
40476 * wcsmbs/wmemcmp.c: Update.
40477 (WMEMCMP): New macro.
40478 Fix overflow bug.
40479
556a2007
AJ
404802011-10-12 Andreas Jaeger <aj@suse.de>
40481
40482 [BZ #13268]
40483 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40484
538faaa7
UD
404852011-10-15 Ulrich Drepper <drepper@gmail.com>
40486
ab6737ff
UD
40487 * libio/iofwide.c (do_length): Avoid warning.
40488
538faaa7
UD
40489 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40490
396a21b1
UD
404912011-10-14 Ulrich Drepper <drepper@gmail.com>
40492
cdf2901f
UD
40493 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40494
38ad40ce
UD
40495 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40496 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40497 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40498 * sysdeps/i386/i686/fpu/e_log.S: New file.
40499 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40500 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40501
396a21b1
UD
40502 * ctype/ctype.h: Add support for inlined isXXX functions when
40503 compiling C++ code.
40504
6b1f68c9
AS
405052011-10-14 Andreas Schwab <schwab@redhat.com>
40506
349290c0
AS
40507 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40508
6b1f68c9
AS
40509 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40510
f2282d42
RM
405112011-10-13 Roland McGrath <roland@hack.frob.com>
40512
40513 [BZ #13291]
40514 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40515
5298ffa8
AS
405162011-10-13 Andreas Schwab <schwab@redhat.com>
40517
714fad23
AS
40518 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40519 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40520 feraiseexcept.
40521
81dcc7fb
AS
40522 * sysdeps/x86_64/memrchr.S: Check for zero size.
40523
5298ffa8
AS
40524 * string/stratcliff.c: Add memrchr tests.
40525
951fbcec
LD
405262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40527
40528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40529 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40530 rawmemchr-sse2 rawmemchr-sse2-bsf.
40531 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40532 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40533 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40534 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40535 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40536 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40537 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40538 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40539 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40540 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40541 * string/memrchr.c (MEMRCHR): New macro.
40542
0ac5ae23
UD
405432011-10-12 Ulrich Drepper <drepper@gmail.com>
40544
40545 Add integration with gcc's -ffinite-math-only and optimize wrapper
40546 functions in libm.
40547 * Versions.def: Define GLIBC_2.15 version for libm.
40548 * math/Makefile (headers): Add bits/math-finite.h.
40549 * math/bits/math-finite.h: New file.
40550 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40551 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40552 * math/e_acoshl.c: Add __*_finite alias.
40553 * math/e_acosl.c: Likewise.
40554 * math/e_asinl.c: Likewise.
40555 * math/e_atan2l.c: Likewise.
40556 * math/e_atanhl.c: Likewise.
40557 * math/e_coshl.c: Likewise.
40558 * math/e_exp10.c: Likewise.
40559 * math/e_exp10f.c: Likewise.
40560 * math/e_exp10l.c: Likewise.
40561 * math/e_exp2l.c: Likewise.
40562 * math/e_fmodl.c: Likewise.
40563 * math/e_gammal_r.c: Likewise.
40564 * math/e_hypotl.c: Likewise.
40565 * math/e_j0l.c: Likewise.
40566 * math/e_j1l.c: Likewise.
40567 * math/e_jnl.c: Likewise.
40568 * math/e_lgammal_r.c: Likewise.
40569 * math/e_log10l.c: Likewise.
40570 * math/e_log2l.c: Likewise.
40571 * math/e_logl.c: Likewise.
40572 * math/e_powl.c: Likewise.
40573 * math/e_sinhl.c: Likewise.
40574 * math/e_sqrtl.c: Likewise.
40575 * math/e_scalb.c: Completely rewritten and optimized.
40576 * math/e_scalbf.c: Likewise.
40577 * math/e_scalbl.c: Likewise.
40578 * math/w_acos.c: Likewise.
40579 * math/w_acosf.c: Likewise.
40580 * math/w_acosl.c: Likewise.
40581 * math/w_acosh.c: Likewise.
40582 * math/w_acoshf.c: Likewise.
40583 * math/w_acoshl.c: Likewise.
40584 * math/w_asin.c: Likewise.
40585 * math/w_asinf.c: Likewise.
40586 * math/w_asinl.c: Likewise.
40587 * math/w_atan2.c: Likewise.
40588 * math/w_atan2f.c: Likewise.
40589 * math/w_atan2l.c: Likewise.
40590 * math/w_atanh.c: Likewise.
40591 * math/w_atanhf.c: Likewise.
40592 * math/w_atanhl.c: Likewise.
40593 * math/w_exp10.c: Likewise.
40594 * math/w_exp10f.c: Likewise.
40595 * math/w_exp10l.c: Likewise.
40596 * math/w_fmod.c: Likewise.
40597 * math/w_fmodf.c: Likewise.
40598 * math/w_fmodl.c: Likewise.
40599 * math/w_j0.c: Likewise.
40600 * math/w_j0f.c: Likewise.
40601 * math/w_j0l.c: Likewise.
40602 * math/w_j1.c: Likewise.
40603 * math/w_j1f.c: Likewise.
40604 * math/w_j1l.c: Likewise.
40605 * math/w_jn.c: Likewise.
40606 * math/w_jnf.c: Likewise.
40607 * math/w_log.c: Likewise.
40608 * math/w_logf.c: Likewise.
40609 * math/w_logl.c: Likewise.
40610 * math/w_log10.c: Likewise.
40611 * math/w_log10f.c: Likewise.
40612 * math/w_log10l.c: Likewise.
40613 * math/w_log2.c: Likewise.
40614 * math/w_log2f.c: Likewise.
40615 * math/w_log2l.c: Likewise.
40616 * math/w_pow.c: Likewise.
40617 * math/w_powf.c: Likewise.
40618 * math/w_powl.c: Likewise.
40619 * math/w_remainder.c: Likewise.
40620 * math/w_remainderf.c: Likewise.
40621 * math/w_remainderl.c: Likewise.
40622 * math/w_scalb.c: Likewise.
40623 * math/w_scalbf.c: Likewise.
40624 * math/w_scalbl.c: Likewise.
40625 * math/w_sqrt.c: Likewise.
40626 * math/w_sqrtf.c: Likewise.
40627 * math/w_sqrtl.c: Likewise.
40628 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40629 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40630 used.
40631 * math/math_private.h: Declare __kernel_standard_f.
40632 * math/w_cosh.c: Remove cruft and optimize a bit.
40633 * math/w_coshf.c: Likewise.
40634 * math/w_coshl.c: Likewise.
40635 * math/w_exp2.c: Likewise.
40636 * math/w_exp2f.c: Likewise.
40637 * math/w_exp2l.c: Likewise.
40638 * math/w_hypot.c: Likewise.
40639 * math/w_hypotf.c: Likewise.
40640 * math/w_hypotl.c: Likewise.
40641 * math/w_lgamma.c: Likewise.
40642 * math/w_lgamma_r.c: Likewise.
40643 * math/w_lgammaf.c: Likewise.
40644 * math/w_lgammaf_r.c: Likewise.
40645 * math/w_lgammal.c: Likewise.
40646 * math/w_lgammal_r.c: Likewise.
40647 * math/w_sinh.c: Likewise.
40648 * math/w_sinhf.c: Likewise.
40649 * math/w_sinhl.c: Likewise.
40650 * math/w_tgamma.c: Likewise.
40651 * math/w_tgammaf.c: Likewise.
40652 * math/w_tgammal.c: Likewise.
40653 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40655 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40656 Minor optimizations. Pretty printing. Remove cruft.
40657 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40658 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40659 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40660 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40661 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40662 * sysdeps/i386/fpu/e_asin.S: Likewise.
40663 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40664 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40665 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40666 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40667 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40668 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40669 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40670 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40671 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40672 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40673 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40674 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40675 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40676 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40677 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40678 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40679 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40680 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40681 * sysdeps/i386/fpu/e_log.S: Likewise.
40682 * sysdeps/i386/fpu/e_log10.S: Likewise.
40683 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40684 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40685 * sysdeps/i386/fpu/e_log2.S: Likewise.
40686 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40687 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40688 * sysdeps/i386/fpu/e_logf.S: Likewise.
40689 * sysdeps/i386/fpu/e_logl.S: Likewise.
40690 * sysdeps/i386/fpu/e_pow.S: Likewise.
40691 * sysdeps/i386/fpu/e_powf.S: Likewise.
40692 * sysdeps/i386/fpu/e_powl.S: Likewise.
40693 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40694 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40695 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40696 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40697 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40698 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40699 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40700 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40701 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40702 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40703 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40705 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40706 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40707 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40708 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40709 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40710 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40711 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40712 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40713 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40715 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40716 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40718 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40719 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40722 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40723 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40724 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40725 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40726 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40727 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40728 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40729 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40730 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40731 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40732 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40733 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40734 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40735 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40736 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40737 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40738 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40739 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40740 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40741 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40742 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40743 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40744 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40745 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40746 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40747 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40748 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40749 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40750 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40751 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40752 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40753 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40756 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40757 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40758 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40759 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40760 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40761 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40762 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40764 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40766 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40767 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40770 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40771 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40772 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40773 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40774 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40775 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40776 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40777 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40778 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40779 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40780 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40781 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40782 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40784 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40785 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40787 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40788 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40789 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40790 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40791 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40792 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40793 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40794 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40795 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40796 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40797 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40798 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40799 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40800 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40801 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40802 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40803 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40804 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40805 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40806 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40807 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40808 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40809 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40810 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40811 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40812 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40813 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40814 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40815 (__isnanf): Likewise.
40816 (__isinf_ns): Likewise.
40817 (__isinf_nsf): Likewise.
40818 (__finite): Likewise.
40819 (__finitef): Likewise.
40820 (__ieee754_sqrt): Define as macro.
40821 (__ieee754_sqrtf): Define as macro.
40822 (__ieee754_sqrtl): Define as macro.
40823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40824 inlined copy.
40825 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40826 __FINITE_MATH_ONLY__ consistent.
40827 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40828
12cc2fcd
AS
408292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40830
a843a204
AS
40831 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40832 of rawmemchr.
40833
12cc2fcd
AS
40834 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40835
c853acd5
UD
408362011-10-09 Ulrich Drepper <drepper@gmail.com>
40837
40838 * po/ja.po: Update from translation team.
40839
c658d255
RM
408402011-10-08 Roland McGrath <roland@hack.frob.com>
40841
110946e4
RM
40842 * locale/programs/locarchive.c (prepare_address_space): New function.
40843 (create_archive, enlarge_archive, open_archive): Use it.
40844
50604220
RM
40845 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40846 inside [SHARED], where it is used.
40847
c658d255
RM
40848 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40849
40850 * nss/getent.c (netgroup_keys): Remove unused variable.
40851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40852
6a621eb7
UD
408532011-10-08 Ulrich Drepper <drepper@gmail.com>
40854
7edb55ce
UD
40855 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40856 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40858 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40859 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40860 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40861 * math/Makefile (libm-calls): Add s_isinf_ns.
40862 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40863 * math/multc3.c: Likewise.
40864 * math/s_casin.c: Likewise.
40865 * math/s_casinf.c: Likewise.
40866 * math/s_casinl.c: Likewise.
40867 * math/s_ccos.c: Likewise.
40868 * math/s_ccosf.c: Likewise.
40869 * math/s_ccosl.c: Likewise.
40870 * math/s_ctan.c: Likewise.
40871 * math/s_ctanf.c: Likewise.
40872 * math/s_ctanh.c: Likewise.
40873 * math/s_ctanhf.c: Likewise.
40874 * math/s_ctanhl.c: Likewise.
40875 * math/s_ctanl.c: Likewise.
40876 * math/w_fmod.c: Likewise.
40877 * math/w_fmodf.c: Likewise.
40878 * math/w_fmodl.c: Likewise.
40879 * math/w_remainder.c: Likewise.
40880 * math/w_remainderf.c: Likewise.
40881 * math/w_remainderl.c: Likewise.
40882 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40883 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40884 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40886 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40887 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40888 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40889 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40890
187da0ae
UD
40891 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40892 of the number.
40893 * stdio-common/printf_fphex.c: Likewise.
40894 * stdio-common/printf_size.c: Likewise.
40895
9277c064
UD
40896 * math/e_exp10.c: Include math_private.h using <...> not "...".
40897 * math/e_exp10f.c: Likewise.
40898 * math/e_exp10l.c: Likewise.
40899 * math/e_exp2l.c: Likewise.
40900 * math/e_j0l.c: Likewise.
40901 * math/e_j1l.c: Likewise.
40902 * math/e_jnl.c: Likewise.
40903 * math/e_lgammal_r.c: Likewise.
40904 * math/e_rem_pio2l.c: Likewise.
40905 * math/e_scalb.c: Likewise.
40906 * math/e_scalbf.c: Likewise.
40907 * math/e_scalbl.c: Likewise.
40908 * math/k_cosl.c: Likewise.
40909 * math/k_sinl.c: Likewise.
40910 * math/k_tanl.c: Likewise.
40911 * math/s_cacoshf.c: Likewise.
40912 * math/s_catan.c: Likewise.
40913 * math/s_catanf.c: Likewise.
40914 * math/s_catanh.c: Likewise.
40915 * math/s_catanhf.c: Likewise.
40916 * math/s_catanhl.c: Likewise.
40917 * math/s_catanl.c: Likewise.
40918 * math/s_ccosh.c: Likewise.
40919 * math/s_ccoshf.c: Likewise.
40920 * math/s_ccoshl.c: Likewise.
40921 * math/s_cexp.c: Likewise.
40922 * math/s_cexpf.c: Likewise.
40923 * math/s_cexpl.c: Likewise.
40924 * math/s_clog.c: Likewise.
40925 * math/s_clog10.c: Likewise.
40926 * math/s_clog10f.c: Likewise.
40927 * math/s_clog10l.c: Likewise.
40928 * math/s_clogf.c: Likewise.
40929 * math/s_clogl.c: Likewise.
40930 * math/s_csin.c: Likewise.
40931 * math/s_csinf.c: Likewise.
40932 * math/s_csinh.c: Likewise.
40933 * math/s_csinhf.c: Likewise.
40934 * math/s_csinhl.c: Likewise.
40935 * math/s_csinl.c: Likewise.
40936 * math/s_csqrt.c: Likewise.
40937 * math/s_csqrtf.c: Likewise.
40938 * math/s_csqrtl.c: Likewise.
40939 * math/s_ctan.c: Likewise.
40940 * math/s_ctanf.c: Likewise.
40941 * math/s_ctanh.c: Likewise.
40942 * math/s_ctanhf.c: Likewise.
40943 * math/s_ctanhl.c: Likewise.
40944 * math/s_ctanl.c: Likewise.
40945 * math/s_ldexp.c: Likewise.
40946 * math/s_ldexpf.c: Likewise.
40947 * math/s_ldexpl.c: Likewise.
40948 * math/s_significand.c: Likewise.
40949 * math/s_significandf.c: Likewise.
40950 * math/s_significandl.c: Likewise.
40951 * math/w_acos.c: Likewise.
40952 * math/w_acosf.c: Likewise.
40953 * math/w_acosh.c: Likewise.
40954 * math/w_acoshf.c: Likewise.
40955 * math/w_acoshl.c: Likewise.
40956 * math/w_acosl.c: Likewise.
40957 * math/w_asin.c: Likewise.
40958 * math/w_asinf.c: Likewise.
40959 * math/w_asinl.c: Likewise.
40960 * math/w_atan2.c: Likewise.
40961 * math/w_atan2f.c: Likewise.
40962 * math/w_atan2l.c: Likewise.
40963 * math/w_atanh.c: Likewise.
40964 * math/w_atanhf.c: Likewise.
40965 * math/w_atanhl.c: Likewise.
40966 * math/w_cosh.c: Likewise.
40967 * math/w_coshf.c: Likewise.
40968 * math/w_coshl.c: Likewise.
40969 * math/w_dremf.c: Likewise.
40970 * math/w_exp10.c: Likewise.
40971 * math/w_exp10f.c: Likewise.
40972 * math/w_exp10l.c: Likewise.
40973 * math/w_exp2.c: Likewise.
40974 * math/w_exp2f.c: Likewise.
40975 * math/w_fmod.c: Likewise.
40976 * math/w_fmodf.c: Likewise.
40977 * math/w_fmodl.c: Likewise.
40978 * math/w_hypot.c: Likewise.
40979 * math/w_hypotf.c: Likewise.
40980 * math/w_hypotl.c: Likewise.
40981 * math/w_j0.c: Likewise.
40982 * math/w_j0f.c: Likewise.
40983 * math/w_j0l.c: Likewise.
40984 * math/w_j1.c: Likewise.
40985 * math/w_j1f.c: Likewise.
40986 * math/w_j1l.c: Likewise.
40987 * math/w_jn.c: Likewise.
40988 * math/w_jnf.c: Likewise.
40989 * math/w_jnl.c: Likewise.
40990 * math/w_lgamma.c: Likewise.
40991 * math/w_lgamma_r.c: Likewise.
40992 * math/w_lgammaf.c: Likewise.
40993 * math/w_lgammaf_r.c: Likewise.
40994 * math/w_lgammal.c: Likewise.
40995 * math/w_lgammal_r.c: Likewise.
40996 * math/w_log.c: Likewise.
40997 * math/w_log10.c: Likewise.
40998 * math/w_log10f.c: Likewise.
40999 * math/w_log10l.c: Likewise.
41000 * math/w_log2.c: Likewise.
41001 * math/w_log2f.c: Likewise.
41002 * math/w_log2l.c: Likewise.
41003 * math/w_logf.c: Likewise.
41004 * math/w_logl.c: Likewise.
41005 * math/w_pow.c: Likewise.
41006 * math/w_powf.c: Likewise.
41007 * math/w_powl.c: Likewise.
41008 * math/w_remainder.c: Likewise.
41009 * math/w_remainderf.c: Likewise.
41010 * math/w_remainderl.c: Likewise.
41011 * math/w_scalb.c: Likewise.
41012 * math/w_scalbf.c: Likewise.
41013 * math/w_scalbl.c: Likewise.
41014 * math/w_sinh.c: Likewise.
41015 * math/w_sinhf.c: Likewise.
41016 * math/w_sinhl.c: Likewise.
41017 * math/w_sqrt.c: Likewise.
41018 * math/w_sqrtf.c: Likewise.
41019 * math/w_sqrtl.c: Likewise.
41020 * math/w_tgamma.c: Likewise.
41021 * math/w_tgammaf.c: Likewise.
41022 * math/w_tgammal.c: Likewise.
41023
6a621eb7
UD
41024 * po/ja.po: Update from translation team.
41025
bf582445
AJ
410262011-09-29 Andreas Jaeger <aj@suse.de>
41027
f9efbf3a
AJ
41028 [BZ #13179]
41029 * sunrpc/netname.c (netname2host): Fix logic.
41030
bf582445
AJ
41031 [BZ #6779]
41032 [BZ #6783]
41033 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41034 correctly.
41035 * math/w_remainder.c (__remainder): Likewise.
41036 * math/w_remainderf.c (__remainderf): Likewise.
41037 * math/libm-test.inc (remainder_test): Add test cases.
41038
48693bea
AK
410392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41040
41041 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41042 sdiv_qrnnd.
41043
42622229
LD
410442011-10-07 Ulrich Drepper <drepper@gmail.com>
41045
41046 * string/test-memcmp.c: Avoid unncessary #defines.
41047 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41048
093ecf92
LD
410492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41050
41051 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41052 Use new sse2 version for core i3 - i7 as it's faster
41053 than sse42 version.
41054 (bit_Prefer_PMINUB_for_stringop): New.
41055 * sysdeps/x86_64/rawmemchr.S: Update.
41056 Replace with faster SSE2 version.
41057 * sysdeps/x86_64/memrchr.S: New file.
41058 * sysdeps/x86_64/memchr.S: Update.
41059 Replace with faster SSE2 version.
41060
fde56e5c
MP
410612011-09-12 Marek Polacek <mpolacek@redhat.com>
41062
41063 * elf/dl-load.c (lose): Add cast to avoid warning.
41064
21fd49a9
UD
410652011-10-07 Ulrich Drepper <drepper@gmail.com>
41066
5a06e643
UD
41067 * po/ca.po: Update from translation team.
41068
684ae515
UD
41069 * inet/getnetgrent_r.c: Hook up nscd.
41070 * nscd/Makefile (routines): Add nscd_netgroup.
41071 (nscd-modules): Add netgroupcache.
41072 (CFLAGS-netgroupcache.c): Define.
41073 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41074 (cache_search): Add const to second parameter.
41075 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41076 INNETGR.
41077 (dbs): Add netgrdb entry.
41078 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41079 (verify_persistent_db): Handle netgrdb.
41080 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41081 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41082 GETFDNETGR.
41083 (netgroup_response_header): Define.
41084 (innetgroup_response_header): Define.
41085 (datahead): Add netgroup_response_header and innetgroup_response_header
41086 elements.
41087 * nscd/nscd.conf: Add entries for netgroup cache.
41088 * nscd/nscd.h (dbtype): Add netgrdb.
41089 (_PATH_NSCD_NETGROUP_DB): Define.
41090 (netgroup_iov_disabled): Declare.
41091 (xmalloc, xcalloc, xrealloc): Move declarations here.
41092 (cache_search): Adjust prototype.
41093 Add netgroup-related prototypes.
41094 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41095 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41096 (__nscd_innetgr): Declare.
41097 * nscd/selinux.c (perms): Use access_vector_t as element type and
41098 add netgroup-related initializers.
41099 * nscd/netgroupcache.c: New file.
41100 * nscd/nscd_netgroup.c: New file.
41101 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41102 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41103 For four parameters use innetgr.
41104 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41105 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41106 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41107 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41108
21fd49a9
UD
41109 * nscd/connections.c (register_traced_file): Don't register file
41110 for disabled databases.
41111
054c0457
UD
411122011-10-06 Ulrich Drepper <drepper@gmail.com>
41113
32b63198
UD
41114 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41115
054c0457
UD
41116 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41117 from tree and freeing node.
41118
64031225
JO
411192011-09-25 Jiri Olsa <jolsa@redhat.com>
41120
41121 * nss/nsswitch.c (__nss_database_lookup): Handle
41122 nss_parse_service_list out of memory case.
41123
0490345c
JO
411242011-09-15 Jiri Olsa <jolsa@redhat.com>
41125
41126 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41127 out of memory case.
41128
3a62d00d
AS
411292011-10-04 Andreas Schwab <schwab@redhat.com>
41130
41131 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41132 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41133 pass it down.
41134 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41135 elf_machine_rela, elf_machine_lazy_rel.
41136 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41137 (ELF_DYNAMIC_DO_REL): Likewise.
41138 (ELF_DYNAMIC_DO_RELA): Likewise.
41139 (ELF_DYNAMIC_RELOCATE): Likewise.
41140 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41141 to ELF_DYNAMIC_DO_REL.
41142 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41143 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41144 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41145 elf_machine_rela.
41146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41147 skip_ifunc, don't call ifunc function if non-zero.
41148 (elf_machine_rela): Likewise.
41149 (elf_machine_lazy_rel): Likewise.
41150 (elf_machine_lazy_rela): Likewise.
41151 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41152 (elf_machine_lazy_rel): Likewise.
41153 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41154 Likewise.
41155 (elf_machine_lazy_rel): Likewise.
41156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41157 Likewise.
41158 (elf_machine_lazy_rel): Likewise.
41159 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41160 (elf_machine_lazy_rel): Likewise.
41161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41162 (elf_machine_lazy_rel): Likewise.
41163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41164 (elf_machine_lazy_rel): Likewise.
41165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41166 (elf_machine_lazy_rel): Likewise.
41167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41168 (elf_machine_lazy_rel): Likewise.
41169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41170 (elf_machine_lazy_rel): Likewise.
41171
68577918
UD
411722011-09-28 Ulrich Drepper <drepper@gmail.com>
41173
41174 * nss/nss_files/files-init.c (_nss_files_init): Use static
41175 initialization for all the *_traced_file variables.
41176
68822d74
AS
411772011-09-28 Andreas Schwab <schwab@redhat.com>
41178
41179 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41180
2056100b
RM
411812011-09-27 Roland McGrath <roland@hack.frob.com>
41182
41183 [BZ #13226]
41184 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41185
32c76b63
AS
411862011-09-27 Andreas Schwab <schwab@redhat.com>
41187
41188 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41189 Reread the line before reparsing it.
41190
bf972c9d
AS
411912011-09-26 Andreas Schwab <schwab@redhat.com>
41192
41193 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41194
e057a1b5
JM
411952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41196 Maxim Kuvyrkov <maxim@codesourcery.com>
41197 Joseph Myers <joseph@codesourcery.com>
41198
41199 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41200 if needed for __stack_chk_guard.
41201
bc7e1c36
RM
412022011-09-19 Roland McGrath <roland@hack.frob.com>
41203
ecb1482f
RM
41204 * sysdeps/posix/spawni.c (script_execute): Always define it.
41205 It will be optimized away if unused.
41206 (maybe_script_execute): New function.
41207 (__spawni): Call it.
41208
bc7e1c36
RM
41209 * Makerules: Don't include tls.make.
41210 (config-tls): Always set to thread.
41211 * tls.make.c: File removed.
41212
1c3b002b
MF
412132011-09-19 Mike Frysinger <vapier@gentoo.org>
41214
41215 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41216 * config.make.in (CPPFLAGS-config): New substituted variable.
41217
2840865d
UD
412182011-09-15 Ulrich Drepper <drepper@gmail.com>
41219
88738eb6
UD
41220 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41221
cbf645a6 41222 [BZ #13192]
2840865d
UD
41223 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41224 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41225
b402e91a
RM
412262011-09-15 Roland McGrath <roland@hack.frob.com>
41227
41228 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41229 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41231 (CALL_FAIL): Likewise.
41232 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41233 (CALL_FAIL): Macro removed.
41234 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41235
4c1a1f71
UD
412362011-09-15 Ulrich Drepper <drepper@gmail.com>
41237
41238 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41239 for __FINITE_MATH_ONLY__ == 1.
41240
edc121be
AS
412412011-09-15 Andreas Schwab <schwab@redhat.com>
41242
41243 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41244 __ieee754_sqrt instead of sqrt.
41245 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41246 __ieee754_sqrtf instead of sqrtf.
41247 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41248 __floorf instead of floorf.
41249 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41250 __floorf, __truncf instead of floorf, truncf.
41251
cd205654
UD
412522011-09-14 Ulrich Drepper <drepper@gmail.com>
41253
ee4d0315
UD
41254 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41255
cd205654
UD
41256 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41257 __extern_always_inline.
41258 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41259 32-bit.
41260
48b67d71
AS
412612011-09-14 Andreas Schwab <schwab@redhat.com>
41262
41263 * elf/rtld.c (dl_main): Also relocate in dependency order when
41264 doing symbol dependency testing.
41265
1ae12c75
AS
412662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41267
41268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41269 Always define `refsym'.
41270
995a80df
AS
412712011-09-13 Andreas Schwab <schwab@redhat.com>
41272
e529793b
AS
41273 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41274 (__FD_ELT): Renamed from __FDELT.
41275 * misc/bits/select2.h (__FD_ELT): Likewise.
41276 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41277 __FD_MASK instead of __FDELT, __FDMASK.
41278 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41279 Likewise.
41280 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41281 Likewise.
41282
52d4fef8
AS
41283 * elf/Makefile (gen-ldd): Fix pattern.
41284
995a80df
AS
41285 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41286 (init_tls): Likewise.
41287
8682f8b0
UD
412882011-09-12 Ulrich Drepper <drepper@gmail.com>
41289
41290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41291
de82006d
AS
412922011-09-12 Andreas Schwab <schwab@redhat.com>
41293
a7c8e6a1
AS
41294 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41295 `struct cmsghdr *' instead of `void *'.
41296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41297 Likewise.
41298
0f31fe77
AS
412992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41300
41301 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41302 if non-absolute.
41303 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41304 ldd_rewrite_script.
0f31fe77 41305
32b4c839
UD
413062011-09-11 Ulrich Drepper <drepper@gmail.com>
41307
83cd1420
UD
41308 * configure.in: Remove --with-tls option.
41309 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41310 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41311 out in case it is missing.
41312 * sysdeps/ia64/elf/configure.in: Likewise.
41313 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41314 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41315 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41316 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41317 * sysdeps/sh/elf/configure.in: Likewise.
41318 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41319 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41320 * sysdeps/x86_64/elf/configure.in: Likewise.
41321 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41322 * sysdeps/mach/hurd/tls.h: Likewise.
41323
633f745d
UD
41324 [BZ #13067]
41325 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41326
f318beb8
UD
41327 [BZ #13090]
41328 * configure.in: Fix use of AC_INIT.
41329
32b4c839
UD
41330 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41331
3ce1f295
UD
413322011-09-10 Ulrich Drepper <drepper@gmail.com>
41333
bb016596
UD
41334 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41335 __set_errno.
8e58439c
UD
41336 * malloc/hooks.c: Likewise.
41337
aebae053 41338 [BZ #11929]
02d46fc4
UD
41339 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41340 variables statically.
41341 (narenas): Initialize.
41342 (list_lock): Initialize.
bb016596
UD
41343 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41344 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41345 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41346 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41347 Add initializers to main_arena and mp_.
41348 (malloc_state): Remove pagesize member. Change all users to use
41349 GLRO(dl_pagesize).
41350
41351 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41352 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41353 is always initialized.
41354
22a89187
UD
41355 * malloc/malloc.c: Removed unused configurations and dead code.
41356 * malloc/arena.c: Likewise.
41357 * malloc/hooks.c: Likewise.
02d46fc4 41358 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41359
d063d164
UD
41360 * include/tls.h: Removed. USE___THREAD must always be defined.
41361 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41362 * elf/dl-libc.c: Likewise.
41363 * elf/dl-tsd.c: Likewise.
41364 * include/errno.h: Likewise.
41365 * include/netdb.h: Likewise.
41366 * include/resolv.h: Likewise.
41367 * inet/herrno-loc.c: Likewise.
41368 * inet/herrno.c: Likewise.
41369 * malloc/arena.c: Likewise.
41370 * malloc/hooks.c: Likewise.
41371 * malloc/malloc.c: Likewise.
41372 * resolv/res-state.c: Likewise.
41373 * resolv/res_libc.c: Likewise.
41374 * sysdeps/i386/dl-machine.h: Likewise.
41375 * sysdeps/ia64/dl-machine.h: Likewise.
41376 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41377 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41378 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41379 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41380 * sysdeps/sh/dl-machine.h: Likewise.
41381 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41382 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41383 * sysdeps/unix/i386/sysdep.S: Likewise.
41384 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41385 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41388 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41390 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41393 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41394 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41395 * sysdeps/x86_64/dl-machine.h: Likewise.
41396 * tls.make.c: Likewise.
41397
3ce1f295
UD
41398 * configure.in: Remove --with-__thread option. Make tests for
41399 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41400 tls_model attribute fail if no support is available. Remove
41401 USE_IN_LIBIO.
41402 * Makeconfig: Adjust for dropped configure option. All features are
41403 now mandatory.
41404 * Makerules: Likewise.
41405 * Versions.def: Likewise.
41406 * argp/argp-fmtstream.c: Likewise.
41407 * argp/argp-fmtstream.h: Likewise.
41408 * argp/argp-help.c: Likewise.
41409 * assert/assert.c: Likewise.
41410 * config.h.in: Likewise.
41411 * config.make.in: Likewise.
41412 * configure: Likewise.
41413 * configure.in: Likewise.
41414 * csu/Versions: Likewise.
41415 * csu/init.c: Likewise.
41416 * elf/tst-audit2.c: Likewise.
41417 * elf/tst-tls10.c: Likewise.
41418 * elf/tst-tls10.h: Likewise.
41419 * elf/tst-tls11.c: Likewise.
41420 * elf/tst-tls12.c: Likewise.
41421 * elf/tst-tls14.c: Likewise.
41422 * elf/tst-tlsmod11.c: Likewise.
41423 * elf/tst-tlsmod12.c: Likewise.
41424 * elf/tst-tlsmod13.c: Likewise.
41425 * elf/tst-tlsmod13a.c: Likewise.
41426 * elf/tst-tlsmod14a.c: Likewise.
41427 * elf/tst-tlsmod15b.c: Likewise.
41428 * elf/tst-tlsmod16a.c: Likewise.
41429 * elf/tst-tlsmod16b.c: Likewise.
41430 * elf/tst-tlsmod7.c: Likewise.
41431 * elf/tst-tlsmod8.c: Likewise.
41432 * elf/tst-tlsmod9.c: Likewise.
41433 * gmon/gmon.c: Likewise.
41434 * grp/fgetgrent_r.c: Likewise.
41435 * grp/putgrent.c: Likewise.
41436 * hurd/fopenport.c: Likewise.
41437 * include/libc-symbols.h: Likewise.
41438 * include/tls.h: Likewise.
41439 * intl/gettextP.h: Likewise.
41440 * intl/loadinfo.h: Likewise.
41441 * locale/global-locale.c: Likewise.
41442 * locale/localeinfo.h: Likewise.
41443 * mach/devstream.c: Likewise.
41444 * malloc/arena.c: Likewise.
41445 * malloc/set-freeres.c: Likewise.
41446 * misc/err.c: Likewise.
41447 * misc/getttyent.c: Likewise.
41448 * misc/mntent_r.c: Likewise.
41449 * posix/getopt.c: Likewise.
41450 * posix/wordexp.c: Likewise.
41451 * pwd/fgetpwent_r.c: Likewise.
41452 * resolv/Versions: Likewise.
41453 * resolv/res_hconf.c: Likewise.
41454 * shadow/fgetspent_r.c: Likewise.
41455 * shadow/putspent.c: Likewise.
41456 * stdio-common/printf_fphex.c: Likewise.
41457 * stdio-common/tmpfile.c: Likewise.
41458 * stdlib/abort.c: Likewise.
41459 * stdlib/fmtmsg.c: Likewise.
41460 * sunrpc/auth_unix.c: Likewise.
41461 * sunrpc/clnt_perr.c: Likewise.
41462 * sunrpc/clnt_tcp.c: Likewise.
41463 * sunrpc/clnt_udp.c: Likewise.
41464 * sunrpc/clnt_unix.c: Likewise.
41465 * sunrpc/openchild.c: Likewise.
41466 * sunrpc/svc_simple.c: Likewise.
41467 * sunrpc/svc_tcp.c: Likewise.
41468 * sunrpc/svc_udp.c: Likewise.
41469 * sunrpc/svc_unix.c: Likewise.
41470 * sunrpc/xdr.c: Likewise.
41471 * sunrpc/xdr_array.c: Likewise.
41472 * sunrpc/xdr_rec.c: Likewise.
41473 * sunrpc/xdr_ref.c: Likewise.
41474 * sunrpc/xdr_stdio.c: Likewise.
41475
1248c1c4
PB
414762011-09-09 Ulrich Drepper <drepper@gmail.com>
41477
41478 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41479
414802011-07-03 Andreas Jaeger <aj@suse.de>
41481
41482 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41483 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41484 regenerate with gen-libm-tests.pl.
41485
414862010-05-12 Petr Baudis <pasky@suse.cz>
41487
41488 [BZ #11589]
41489 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41490 around j0() zero points by switching to j1().
41491 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41492 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41494 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41495
f22e1074
UD
414962011-09-09 Ulrich Drepper <drepper@gmail.com>
41497
f19009c1
UD
41498 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41499 instead of 0.
41500 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41501 instead of 0.
f19009c1
UD
41502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41503 Patch in part by Pavel Roskin <proski@gnu.org>.
41504
3f8cc204
UD
41505 [BZ #13138]
41506 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41507 realloc.
41508 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41509 Free memory block if necessary.
41510
f22e1074
UD
41511 [BZ #12847]
41512 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41513 be NULL. Don't lock in this case.
41514
0a2349f9
RM
415152011-09-09 Roland McGrath <roland@hack.frob.com>
41516
41517 * elf/elf.h (ELFOSABI_GNU): New macro.
41518 (ELFOSABI_LINUX): Define to that.
41519
f3cdd467
DZ
415202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41521
41522 * string/strncat.c (strncat): Undef the symbol in case it has been
41523 defined in bits/string.h.
41524
74718d13
UD
415252011-09-09 Ulrich Drepper <drepper@gmail.com>
41526
633e9e0f
UD
41527 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41528
0a2349f9 41529 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41530 link map.
41531
f9924780
AJ
415322011-08-17 Andreas Jaeger <aj@suse.de>
41533
41534 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41535
7f5517aa
PP
415362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41537 Ian Lance Taylor <iant@google.com>
41538
41539 * math/libm-test.inc (lround_test): New testcase.
41540 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41541
762011fe
UD
415422011-09-08 Ulrich Drepper <drepper@gmail.com>
41543
92963737
UD
41544 * Makefile: Remove support for automatic cvs check-ins.
41545 * Makerules: Likewise.
41546 * config.make.in: Likewise.
41547 * configure.in: Likewise.
41548 * intl/Makefile: Likewise.
41549 * locale/Makefile: Likewise.
41550 * po/Makefile: Likewise.
41551 * posix/Makefile: Likewise.
41552 * sysdeps/gnu/Makefile: Likewise.
41553 * sysdeps/mach/hurd/Makefile: Likewise.
41554 * sysdeps/sparc/sparc32/Makefile: Likewise.
41555
b0727fd8
JS
41556 [BZ #13118]
41557 * posix/Makefile (bug-regex32-ENV): Define.
41558 Patch by John Stanley <jpsinthemix@verizon.net>.
41559
a0f33f99
UD
41560 * misc/Makefile (headers): Add bits/select2.h.
41561 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41562 * misc/bits/select2.h: New file.
41563 * include/bits/select2.h: New file.
41564 * debug/Makefile (routines): Add fdelt_chk.
41565 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41566 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41567 FD_ISSET.
41568 * debug/fdelt_chk.c: New file.
41569
762011fe
UD
41570 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41571 * wcsmbs/test-wmemcmp.c: Likewise.
41572 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41573 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41574
415752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41576
41577 * string/Makefile (strop-tests): Add memcmp.
41578 * string/test-wmemcmp.c: New file.
41579 * string/test-memcmp.c: Add wmemcmp support.
41580
7f513ec8
RM
415812011-09-08 Roland McGrath <roland@hack.frob.com>
41582
0442afb4
RM
41583 [BZ #13153]
41584 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41585 2011-07-19 change.
41586
7f513ec8
RM
41587 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41588 garbage value in a __mach_port_mod_refs call in the cases of the
41589 task-self and thread-self ports.
41590
a12b2239
ST
415912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41592
41593 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41594
610f9ab4
AS
415952011-09-08 Andreas Schwab <schwab@redhat.com>
41596
7f513ec8 41597 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41598
48882a1a
LD
415992011-09-07 Ulrich Drepper <drepper@gmail.com>
41600
b49865be
UD
41601 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41602
fdc86bc9
UD
41603 * elf/dl-libc.c (dlerror_run): Pass back error code from
41604 dl_catch_error.
41605
c966526a
UD
41606 [BZ #13123]
41607 * elf/dl-load.c (lose): Free l_origin if it is valid.
41608
48882a1a
LD
41609 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41610 names.
41611 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41612 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41615 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41616 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41617
77a2a8b4
AZ
416182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41619
41620 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41621 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41622 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41623 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41624 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41625 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41626 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41627 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41628 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41629 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41630
24f579d8
AM
416312011-08-15 Alan Modra <amodra@gmail.com>
41632
41633 [BZ #13092]
41634 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41635 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41636 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41637 ppc_mcount to static-only-routines.
41638 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41639 __mcount_internal.
41640 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41641 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41642
3d4837df
UD
416432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41644
41645 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41646 for finite and infinity parameters.
41647
22700377
WS
416482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41649
41650 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41651 and add nop instructions for throughput optimization.
41652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41653
5025581e
WS
416542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41655
41656 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41657 aligned copy for power7 with vector-scalar instructions.
41658 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41659
08a300c9
L
416602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41661
41662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41663 AVX check.
41664
59178ef9
AS
416652011-09-07 Andreas Schwab <schwab@redhat.com>
41666
41667 [BZ #13144]
41668 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41669 last change.
41670
e38ba7ab
UD
416712011-09-07 Ulrich Drepper <drepper@gmail.com>
41672
41673 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41674 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41675 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41676 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41677 clock_gettime.
41678
d53a73ac
UD
416792011-09-06 Ulrich Drepper <drepper@gmail.com>
41680
fc8bffcc
UD
41681 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41682 Forgot to demangle the pointer.
41683
ceaa0c5d
UD
41684 * sysdeps/i386/sysdep.h: Define atom_text_section.
41685 * sysdeps/x86_64/sysdep.h: Likewise.
41686 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41687 section with atom_text_section.
41688 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41689 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41690 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41691 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41692 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41693
a77d3c17
UD
41694 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41695 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41696 already be defined. Change to take two parameters and don't assign
41697 result to variable. Adjust all users.
41698 Define INTERNAL_GETTIME if not already defined.
41699 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41700 call.
41701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41702 HAVE_CLOCK_GETTIME_VSYSCALL.
41703 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41704
d53a73ac
UD
41705 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41706 gettimeofday vsyscall, just use time.
41707
a8f84144
AS
417082011-09-06 Andreas Schwab <schwab@redhat.com>
41709
41710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41711 <errno.h>.
41712
ef606249
UD
417132011-09-06 Ulrich Drepper <drepper@gmail.com>
41714
41715 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41716 syscall on x86-64.
41717 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41718 syscall.
41719 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41720 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41721 syscall if possible.
41722
6585cb60
UD
417232011-09-05 Ulrich Drepper <drepper@gmail.com>
41724
41725 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41726 e_ident. Don't pass to find_mapsXX.
41727 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41728
a5f524e4
LD
417292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41730
41731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41732 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41733 * sysdeps/x86_64/multiarch/strchr.S: Update.
41734 Check bit_slow_BSF bit.
41735 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41736 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41737 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41738
554881ef
UD
417392011-09-05 Ulrich Drepper <drepper@gmail.com>
41740
d96de963
UD
41741 [BZ #13134]
41742 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41743 before glibc 2.15.
41744 (tryshell): Define.
41745 (__spawni): Change last parameter to be flag. Test
41746 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41747 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41748 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41749 * posix/spawni.c: Likewise.
41750 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41751 * posix/spawnp.c: Likewise. Change normal version to use
41752 SPAWN_XFLAGS_USE_PATH.
41753 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41754 SPAWN_XFLAGS_TRY_SHELL.
41755
d48e5868
UD
41756 [BZ #13150]
41757 * posix/glob.h: Remove gcc 1.x support.
41758
554881ef
UD
41759 [BZ #13068]
41760 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41761
693fb948
LD
417622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41763
41764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41765 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41766 strrchr-sse2-bsf
41767 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41768 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41769 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41770 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41771 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41772 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41773
1b48c537
UD
417742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41775
49d42c37
UD
41776 * sysdeps/x86_64/wcscmp.S: New file.
41777
1b48c537
UD
41778 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41779 wcscmp-c wcscmp-sse2
41780 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41781 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41782 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41783 * wcsmbs/wcscmp.c: Allow renaming.
41784
15c95c5d
DM
417852011-09-05 David S. Miller <davem@davemloft.net>
41786
41787 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41788 stack slot, rather than the struct return pointer slot.
41789 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41790 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41792 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41793
2f0ad8f3
UD
417942011-09-05 Ulrich Drepper <drepper@gmail.com>
41795
d88ae418
UD
41796 * po/ja.po: Update from translation team.
41797
2f0ad8f3
UD
41798 [BZ #13144]
41799 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41800 kernel in 64-bit binaries.
41801
5f4318d1
DM
418022011-09-01 David S. Miller <davem@davemloft.net>
41803
41804 * elf/elf.h (HWCAP_SPARC_*): Move to..
41805 * sysdeps/sparc/sysdep.h: this new file and add new values.
41806 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41807 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41808 _DL_HWCAP_COUNT to 24.
41809 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41810 entries.
41811 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41812 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41813 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41814 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41815 instead of magic constants.
41816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41817
3ba57516
DM
418182011-08-31 David S. Miller <davem@davemloft.net>
41819
41820 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41822 Reimplement to do errno handling inline.
41823 (SYSCALL_ERROR_HANDLER): New macro.
41824 (__SYSCALL_STRING): Do not do errno handling in asm.
41825 (__CLONE_SYSCALL_STRING): Delete.
41826 (__INTERNAL_SYSCALL_STRING): Delete.
41827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41828 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41829 (PSEUDO): Reimplement to do errno handling inline.
41830 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41831 (SYSCALL_ERROR_HANDLER): New macro.
41832 (__SYSCALL_STRING): Do not do errno handling in asm.
41833 (__CLONE_SYSCALL_STRING): Delete.
41834 (__INTERNAL_SYSCALL_STRING): Delete.
41835 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41836 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41837 i386.
41838 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41839 (inline_syscall*): Add 'err' argument.
41840 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41841 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41842 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41843 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41844
41845 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41846 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41847
2bc17433
AS
418482011-08-30 Andreas Schwab <schwab@redhat.com>
41849
41850 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41851
fbeb5f4d
JO
418522011-08-29 Jiri Olsa <jolsa@redhat.com>
41853
41854 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41855 directive.
41856
ad69cc26
DM
418572011-08-24 David S. Miller <davem@davemloft.net>
41858
41859 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41860
39dd69df
AS
418612011-08-24 Andreas Schwab <schwab@redhat.com>
41862
41863 * elf/Makefile: Add rules to build and run unload8 test.
41864 * elf/unload8.c: New file.
41865 * elf/unload8mod1.c: New file.
41866 * elf/unload8mod1x.c: New file.
41867 * elf/unload8mod2.c: New file.
41868 * elf/unload8mod3.c: New file.
41869
41870 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41871 it wasn't used.
41872
2c0b250a
DM
418732011-08-23 David S. Miller <davem@davemloft.net>
41874
41875 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41876 subtract stack bias.
41877 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41878 %sp not %fp in calculations.
41879 (_JMPBUF_UNWINDS_ADJ): Likewise.
41880
22044b48
DM
41881 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41882 (aio_suspend): Call it to force an exception region around the
41883 AIO_MISC_WAIT() invocation.
41884
2cae4995
AS
418852011-08-23 Andreas Schwab <schwab@redhat.com>
41886
41887 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41888 backslash.
41889
873a772e
AJ
418902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41891
41892 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41893 protection macro.
41894 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41895 and <dl-machine.h>.
41896 (Elf64_FuncDesc): Remove.
41897
25ad0df1
DM
418982011-08-22 David S. Miller <davem@davemloft.net>
41899
41900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41901 sigaltstack check, add missing cfi directives.
41902 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41903 missing cfi directives, and sigaltstack handling.
41904
e888bcbe
AS
419052011-08-16 Andreas Schwab <schwab@redhat.com>
41906
41907 [BZ #11724]
41908 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41909 object is seen twice.
41910 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41911
41912 * elf/Makefile (distribute): Add tst-initorder2.c.
41913 (tests): Add tst-initorder2.
41914 (modules-names): Add tst-initorder2a tst-initorder2b
41915 tst-initorder2c tst-initorder2d. Add rules to build them.
41916 ($(objpfx)tst-initorder2.out): New rule.
41917 * elf/tst-initorder2.c: New file.
41918 * elf/tst-initorder2.exp: New file.
41919
87162f46
AS
419202011-08-22 Andreas Schwab <schwab@redhat.com>
41921
70538b7f
AS
41922 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41923
f55ffe58
AS
41924 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41925 dependencies back to end of function.
41926
87162f46
AS
41927 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41928 $(elfobjdir)/ld.so.
41929
91b392a4
UD
419302011-08-21 Ulrich Drepper <drepper@gmail.com>
41931
41932 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41933 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41935 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41936 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41937 of __vdso_gettimeofday.
41938 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41939 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41940 attribute_hidden.
41941 (_libc_vdso_platform_setup): Remove initialization of
41942 __vdso_gettimeofday and __vdso_time.
41943
5c43483f
UD
419442011-08-20 Ulrich Drepper <drepper@gmail.com>
41945
775a77e7
UD
41946 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41947 and fgetc_unlocked.
41948 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41949 getc_unlocked.
89f447ed 41950
49c74ba9
UD
41951 * elf/dl-open.c (add_to_global): Report additions to the global scope
41952 for LD_DEBUG=scopes.
41953 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41954 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41955
5c43483f
UD
41956 [BZ #13114]
41957 * stdio-common/Makefile (tests): Add bug24.
41958 * stdio-common/bug24.c: New file.
41959
a101b025
AJ
419602011-08-19 Andreas Jaeger <aj@suse.de>
41961
41962 [BZ #13114]
41963 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41964 non-existant file when using close-on-exec mode.
41965
c88f1766
UD
419662011-08-20 Ulrich Drepper <drepper@gmail.com>
41967
0276a718
UD
41968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41969 the very first instruction.
41970
c88f1766
UD
41971 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41972 the CFI state in the end.
41973 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41974 inclusion of dl-trampoline.h.
41975 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41976
51ccffa0
AS
419772011-08-19 Andreas Schwab <schwab@redhat.com>
41978
94d7165f
AS
41979 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41980 expectations for long double.
41981
51ccffa0
AS
41982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41983 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41984
fd708658 419852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41986
41987 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41988 artificual limit depends upon the system page size.
41989
44f0a71e
UD
419902011-08-17 Ulrich Drepper <drepper@gmail.com>
41991
41992 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41993 * resolv/Makefile: Define CFLAGS-libresolv.
41994
8de79a24
AS
419952011-08-17 Andreas Schwab <schwab@redhat.com>
41996
41997 * nss/makedb.c (compute_tables): Make variables used in nested
41998 function static.
41999
27724598
UD
420002011-08-17 Ulrich Drepper <drepper@gmail.com>
42001
c5305d88
UD
42002 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42003 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42004 if buffer was too small.
42005
27724598
UD
42006 * elf/pldd.c (main): Attach to all threads in the process.
42007 Rewrite /proc handling to use *at functions.
42008
076fe015
UD
420092011-08-16 Ulrich Drepper <drepper@gmail.com>
42010
174baab3
UD
42011 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42012 specifies first scope to show.
42013 (dl_open_worker): Update callers. Move printing scope of new
42014 object to before the relocation.
44f0a71e 42015 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42016 * sysdeps/generic/ldsodefs.h: Update declaration.
42017
076fe015
UD
42018 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42019 string for the scope number.
42020
a60df2c3
UD
420212011-08-14 Ulrich Drepper <drepper@gmail.com>
42022
42023 * nscd/servicescache.c (cache_addserv): Make sure written is always
42024 initialized.
42025
5e4287d1
RM
420262011-08-14 Roland McGrath <roland@hack.frob.com>
42027
85ae0589
RM
42028 * sysdeps/i386/i486/bits/atomic.h
42029 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42030 statement expression, so as to suppress "set but not used" warning.
42031 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42032
69f63097
RM
42033 * string/strncat.c (STRNCAT): Use prototype definition.
42034
675456ef
RM
42035 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42036 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42037 -Iprograms here.
42038 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42039 (localedef-modules): Add localedef.
42040 (locale-modules): Add locale.
42041
5e4287d1
RM
42042 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42043 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42044 to avoid a warning.
42045
9c96ff23
DM
420462011-08-14 David S. Miller <davem@davemloft.net>
42047
42048 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42049 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42050
f9ddf089
UD
420512011-08-13 Ulrich Drepper <drepper@gmail.com>
42052
44f0a71e 42053 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42054 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42055 * elf/rtld.c (dl_main): Set l_name of vDSO.
42056 Call _dl_show_scope when DL_DEBUG_SCOPES.
42057 (process_dl_debug): Recognize scopes flag and also set it for all.
42058 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42059 Declare _dl_show_scope.
42060
1dc27704
UD
42061 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42062 (do_dlopen): Pass caller_dlopen to dl_open.
42063 (__libc_dlopen_mode): Initialize caller_dlopen.
42064
f9ddf089
UD
42065 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42066 of libc. Make tolower call locale-independent. Optimize a bit by
42067 using isdigit instead of isalnum.
42068 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42069
9ac533d3
UD
420702011-08-12 Ulrich Drepper <drepper@gmail.com>
42071
42072 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42073 was a dependency or dynamically loaded.
42074
89edf2e9
UD
420752011-08-11 Ulrich Drepper <drepper@gmail.com>
42076
8e999d29
UD
42077 * intl/l10nflist.c: Allow architecture-specific pop function.
42078 * sysdeps/x86_64/l10nflist.c: New file.
42079
89edf2e9
UD
42080 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42081 classification.
42082
14d96785
AS
420832011-08-10 Andreas Schwab <schwab@redhat.com>
42084
42085 * include/dirent.h: Add libc_hidden_proto for scandirat and
42086 scandirat64. Don't declare __scandirat64.
42087 * dirent/scandirat.c: Add libc_hidden_def.
42088 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42089 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42090
6761ac04
DM
420912011-08-10 David S. Miller <davem@davemloft.net>
42092
42093 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42094 enum.
42095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42098
c55fbd1e
UD
420992011-08-09 Ulrich Drepper <drepper@gmail.com>
42100
42101 * Versions.def [libc]: Add GLIBC_2.15.
42102 * dirent/Makefile (routines): Add scandirat and scandirat64.
42103 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42104 GLIBC_2.15.
42105 * dirent/dirent.h: Declare scandirat and scandirat64.
42106 * dirent/scandirat.c: New file.
42107 * dirent/scandirat64.c: New file.
42108 * sysdeps/wordsize-64/scandirat.c: New file.
42109 * sysdeps/wordsize-64/scandirat64.c: New file.
42110 * dirent/opendir.c: Define opendirat.
42111 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42112 using scandirat.
42113 * dirent/scandir64.c: Adjust for scandir.c change.
42114 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42115 __scandirat64, and __scandir_cancel_handler.
42116 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42117 additional parameter and use openat instead of open (outside of ld.so).
42118 Add new __opendir as wrapper around __opendirat.
42119 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42120 here without requiring old scandirat implementation.
42121
879165f2
UD
421222011-08-08 Ulrich Drepper <drepper@gmail.com>
42123
42124 * dirent/scandir.c (cancel_handler): Renamed to
42125 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42126 defined. Adjust users.
42127 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42128 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42129
cb7e923b
UD
421302011-08-04 Ulrich Drepper <drepper@gmail.com>
42131
16292edd
UD
42132 * string/test-string.h (IMPL): Use __STRING to expand name and then
42133 stringify it.
42134
cb7e923b
UD
42135 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42136 of cleanups.
42137
cff82933
LD
421382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42139
42140 * string/Makefile: Update.
42141 (strop-tests): Append strncat.
42142 * string/test-wcscmp.c: New file.
42143 New comprehensive test for wcscmp.
42144 * string/test-strcmp.c: Update.
42145 (WIDE): New define.
42146
9be9bfcc
AS
421472011-07-22 Andreas Schwab <schwab@redhat.com>
42148
42149 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42150 line.
42151
2e96f1c7
AS
421522011-07-26 Andreas Schwab <schwab@redhat.com>
42153
42154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42155 encoding to ACE if AI_IDN.
42156
85188888
JJ
421572011-08-01 Jakub Jelinek <jakub@redhat.com>
42158
42159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42160 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42161
5fa16e9b
LD
421622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42163
42164 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42165 Fix overflow bug in strncat.
42166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42167
42168 * string/test-strncat.c: Update.
42169 Add new tests for checking overflow bugs.
42170
421712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42172
42173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42174 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42175 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42176 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42177 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42178 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42179 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42180 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42181 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42182
42183 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42184 (USE_AS_STRCAT): Define.
42185 Add strcat and strncat support.
42186 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42187
8c1a459f
AS
421882011-07-25 Andreas Schwab <schwab@redhat.com>
42189
42190 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42191 __n bigger than INT_MAX+1.
42192 (__strncmp_g): Likewise.
42193
bba33c28
UD
421942011-07-23 Ulrich Drepper <drepper@gmail.com>
42195
798be72d
UD
42196 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42197 * libio/stido.h: Likewise.
42198
8accd4dc
UD
42199 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42200 (AF_NFC): Define.
42201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42202 (AF_NFC): Define.
42203
cbff0d96
UD
42204 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42205 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42206 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42207 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42208 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42209
9191c04a
UD
42210 [BZ #13021]
42211 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42212 installed.
42213
bba33c28
UD
42214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42215 typo.
42216 (_dl_x86_64_save_sse): Likewise.
42217
90f139dd
UD
422182011-07-22 Ulrich Drepper <drepper@gmail.com>
42219
1aae088a
UD
42220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42221 OSXSAVE.
42222 (_dl_x86_64_save_sse): Likewise.
42223
8e2045f5
UD
42224 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42225
90f139dd
UD
42226 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42227
1d002f25
AS
422282011-07-21 Andreas Schwab <schwab@redhat.com>
42229
42230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42231 change.
42232 (_dl_x86_64_save_sse): Use correct AVX check.
42233
21137f89
UD
422342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42235
42236 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42237 bug in strncpy/strncat.
42238 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42239
a65c0b7a
UD
422402011-07-21 Ulrich Drepper <drepper@gmail.com>
42241
42242 * string/tester.c (test_strcat): Add tests for different alignments
42243 of source and destination.
42244 (test_strncat): Likewise.
42245
6986b98a
UD
422462011-07-20 Ulrich Drepper <drepper@gmail.com>
42247
90bb2039
UD
42248 [BZ #12852]
42249 * posix/glob.c (glob): Check passed in values before using them in
42250 expressions to avoid some overflows.
42251 (glob_in_dir): Likewise.
42252
5644ef54
UD
42253 [BZ #13007]
42254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42255 check for AVX enablement so that we don't crash with old kernels and
42256 new hardware.
42257 * elf/tst-audit4.c: Add same checks here.
42258 * elf/tst-audit6.c: Likewise.
42259
42260 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42261
bfc9dc9b
AS
422622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42263
42264 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42265
702e64bb
UD
422662011-07-20 Ulrich Drepper <drepper@gmail.com>
42267
42268 * po/cs.po: Update from translation team.
42269 * po/bg.po: Likewise.
42270
295e904f
MP
422712011-07-12 Marek Polacek <mpolacek@redhat.com>
42272
42273 * misc/sys/cdefs.h: Add support for const attribute.
42274 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42275 to gnu_dev_{major,minor,makedev} functions.
42276
3ff94596
MP
422772011-07-20 Marek Polacek <mpolacek@redhat.com>
42278
42279 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42280
28b59fca
AS
422812011-07-20 Andreas Schwab <schwab@redhat.com>
42282
42283 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42284 strlen results.
42285
19df733e
AK
422862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42287
42288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42289 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42290 register in order to avoid conflicts with the soft frame pointer
42291 being held in r11 when necessary.
42292 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42293 (INTERNAL_VSYSCALL_NCS): Likewise.
42294
c8835729
MP
422952011-07-14 Marek Polacek <mpolacek@redhat.com>
42296
42297 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42298 * elf/dl-fini.c (_dl_fini): Adjust caller.
42299 * elf/dl-close.c (_dl_close_worker): Likewise.
42300 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42301
b902330c
MP
423022011-07-15 Marek Polacek <mpolacek@redhat.com>
42303
8991e135
MP
42304 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42305 "aux_cache->nlibs < 0".
42306
b902330c
MP
42307 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42308 in the reload-count case.
42309
99710781
LD
423102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42311
42312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42313 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42314 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42315 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42316 * sysdeps/x86_64/multiarch/strcat.S: New file.
42317 * sysdeps/x86_64/multiarch/strncat.S: New file.
42318 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42319 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42320 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42321 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42322 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42323 (USE_AS_STRCAT): Define.
42324 Add strcat and strncat support.
42325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42326 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42327 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42328 * string/strncat.c: Update.
42329 (USE_AS_STRNCAT): Define.
42330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42331 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42332 and i7.
42333 * sysdeps/x86_64/multiarch/init-arch.h
42334 (bit_Prefer_PMINUB_for_stringop): New.
42335 (index_Prefer_PMINUB_for_stringop): Likewise.
42336 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42337 bit_Prefer_PMINUB_for_stringop.
42338
7dc6bd90
UD
423392011-07-19 Ulrich Drepper <drepper@gmail.com>
42340
42341 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42342 buffer64.
42343 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42344 of casting of buffer.
42345 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42346 buffer32 and buffer64.
42347 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42348 writes instead of casting of buffer.
42349 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42350 buffer32.
42351 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42352 casting of buffer.
42353
e0e72284
AS
423542011-07-19 Andreas Schwab <schwab@redhat.com>
42355
42356 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42357
feb1eb0b
UD
423582011-07-19 Ulrich Drepper <drepper@gmail.com>
42359
42360 * nscd/nscd.c (termination_handler): Don't do anything for a database
42361 if it has not yet been initialized.
42362
298711ff
UD
423632011-07-18 Ulrich Drepper <drepper@gmail.com>
42364
42365 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42366
423672011-07-15 Marek Polacek <mpolacek@redhat.com>
42368
42369 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42370
f9d68389
UD
423712011-07-18 Ulrich Drepper <drepper@gmail.com>
42372
42373 * po/nl.po: Update from translation team.
42374 * po/sv.po: Likewise.
42375
db290cf5
RM
423762011-07-16 Roland McGrath <roland@hack.frob.com>
42377
42378 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42379 now disallowed by GCC.
5c550700 42380
fd5e21c7
RM
42381 * configure.in (use-default-link): Default to yes if a test -shared
42382 link meets our qualifications.
42383 * configure: Regenerated.
42384
5c550700
RM
42385 * config.make.in (output-format): New variable.
42386 * configure.in: Check for ld --print-output-format support.
42387 * configure: Regenerated.
42388 * Makerules ($(common-objpfx)format.lds)
42389 [$(output-format) != unknown]: Just use $(output-format),
42390 instead of the linker-script munging.
42391
9fa2c032
RM
423922011-07-14 Roland McGrath <roland@hack.frob.com>
42393
a6928d51
RM
42394 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42395 of $(common-objpfx)shlib.lds.
42396 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42397
661607b3
RM
42398 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42399 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42400
9fa2c032
RM
42401 * configure.in (-z relro check): Adjust test code to add a large
42402 writable data section after it.
42403 * configure: Regenerated.
42404
defe9061
RM
424052011-07-11 Roland McGrath <roland@hack.frob.com>
42406
42407 * configure.in (-z relro check): Fix test code to make the variable
42408 truly const.
42409 * configure: Regenerated.
42410
319b9ad4
UD
424112011-07-11 Ulrich Drepper <drepper@gmail.com>
42412
42413 * nscd/nscd.h (struct traced_file): Define.
42414 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42415 elements. Add traced_files.
42416 (inotify_fd): Declare.
42417 (register_traced_file): Declare.
42418 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42419 (inotify_fd): Export.
42420 (resolv_conf_descr): Remove.
42421 (nscd_init): Move inotify descriptor creation to main.
42422 Don't register files for notification here.
42423 (register_traced_file): New function.
42424 (invalidate_cache): Don't use reset_res to determine whether to call
42425 res_init, go through the list of registered files.
42426 (main_loop_poll): The inotify descriptors are now stored in the
42427 structures for the traced files.
42428 (main_loop_epoll): Likewise
42429 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42430 to __nss_disable_nscd.
42431 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42432 for a database anymore. Check the records for all the registered
42433 files instead.
42434 * nss/Makefile (libnss_files-routines): Add files-init.
42435 (libnss_db-routines): Add db-init.
42436 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42437 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42438 * nss/nss_db/db-init.c: New file.
42439 * nss/nss_files/files-init.c: New file.
42440 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42441 __nss_lookup_function.
42442 (__nss_lookup_function): Call nss_load_library.
42443 (nss_load_all_libraries): New function.
42444 (__nss_disable_nscd): Take parameter with callback function for files
42445 to register. Set is_nscd. Load all the DSOs for the NSS modules
42446 used for the cached services.
42447 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42448 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42449 options for features to all the files in nscd.
42450
42451 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42452
23bee3e8
RM
424532011-07-10 Roland McGrath <roland@hack.frob.com>
42454
42455 * csu/elf-init.c (__libc_csu_init): Comment typo.
42456
46a5b7f0
UD
424572011-07-09 Ulrich Drepper <drepper@gmail.com>
42458
42459 * po/pl.po: Update from translation team.
42460 * po/ja.po: Likewise.
42461 * po/ru.po: Likewise.
42462 * po/ko.po: Likewise.
42463 * po/fr.po: Likewise.
42464
d30cf5bb
RM
424652011-07-09 Roland McGrath <roland@hack.frob.com>
42466
113ddea4
RM
42467 * configure.in (.ctors/.dtors header and trailer check):
42468 Use an empirical test on a built program.
42469 * configure: Regenerated.
42470
574920b4
RM
42471 * configure.in (-z relro check): Use an empirical test on a built DSO.
42472 Detect, but do not require, on ia64.
42473 * configure: Regenerated.
42474
d30cf5bb
RM
42475 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42476 Update tests that use readelf to use $READELF instead.
42477 * configure: Regenerated.
42478
8538fdb3
UD
424792011-07-08 Ulrich Drepper <drepper@gmail.com>
42480
42481 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42482 if the result is not used.
42483
04d08991
AJ
424842011-07-05 Andreas Jaeger <aj@suse.de>
42485
42486 [BZ#9696]
42487 * stdlib/tst-strtod.c: Add testcase.
42488
de283087
AD
424892011-07-07 Ulrich Drepper <drepper@gmail.com>
42490
4e5f31c8 42491 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42492 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42493 The latter has a higher limit. Take additional parameter to pass to
42494 the new function.
42495 (__pathconf): Pass file to __statfs_link_max.
42496 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42497 __statfs_link_max.
42498 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42499 __statfs_link_max.
42500
de283087
AD
42501 [BZ #12868]
42502 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42503 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42504 Handle Lustre.
42505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42506 (__statfs_filesize_max): Likewise.
42507 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42508
c75fa153
AJ
425092011-07-05 Andreas Jaeger <aj@suse.de>
42510
42511 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42512
1a544854
UD
425132011-07-06 Marek Polacek <mpolacek@redhat.com>
42514
42515 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42516 `status' variable.
42517 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42518 Likewise.
42519
6f0eec67
UD
425202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42521
42522 * Makefile (strop-tests): Add strncat.
42523 * string/test-strncat.c: New file.
42524
aae30307
UD
425252011-06-30 Marek Polacek <mpolacek@redhat.com>
42526
42527 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42528
c0cfb5eb
UD
425292011-06-21 Andreas Jaeger <aj@suse.de>
42530
42531 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42532 Copy rule from iconvdata/Makefile.
42533
01636b21
UD
425342011-07-06 Ulrich Drepper <drepper@gmail.com>
42535
42536 [BZ #12922]
42537 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42538 but no long options are defined, just return 'W'.
42539
9895c8bc
UD
425402011-06-22 Marek Polacek <mpolacek@redhat.com>
42541
42542 [BZ #9696]
42543 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42544
5d4cf042
UD
425452011-07-06 Ulrich Drepper <drepper@gmail.com>
42546
42547 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42548 netgroups to read.
960e5535 42549 (innetgr): Likewise.
5d4cf042 42550
751eb97e
RM
425512011-07-05 Roland McGrath <roland@hack.frob.com>
42552
42553 * config.make.in (install_root): Default to $(DESTDIR).
42554
f15f1e45
UD
425552011-07-05 Ulrich Drepper <drepper@gmail.com>
42556
42557 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42558
4e34ac6a
RM
425592011-07-02 Roland McGrath <roland@hack.frob.com>
42560
5e9b6af4
RM
42561 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42562
84f9ea0f
RM
42563 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42564 containing directory rather than embedding absolute directory names.
42565
ea5ee9f7
RM
42566 * scripts/check-local-headers.sh: Rewritten using awk.
42567 Match by word, not by line. Print error messages for matches.
42568 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42569
1b74661a
RM
42570 * Makerules [shlib-lds-flags empty]:
42571 ($(common-objpfx)libc_pic.opts): New target.
42572 ($(common-objpfx)libc_pic.os.clean): New target.
42573 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42574
42575 * config.make.in (OBJCOPY): New variable.
42576 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42577 * configure: Regenerated.
42578
f781ef40
RM
42579 * config.make.in (use-default-link): New variable.
42580 * configure.in (use_default_link): Grok --with-default-link to set it.
42581 * configure: Regenerated.
42582 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42583 (shlib-lds, shlib-lds-flags): Define to empty.
42584
2d4fa81e
RM
42585 * Makerules (shlib-lds): New variable.
42586 (shlib-lds-flags): New variable.
42587 (build-shlib, build-moduile, build-module-asneeded): Use it.
42588 ($(common-objpfx)libc.so): Use $(shlib-lds).
42589 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42590 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42591
31fffa6b
RM
42592 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42593 DT_FLAGS/DT_FLAGS_1 with zero flags.
42594
4e34ac6a
RM
42595 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42596 linker script munging.
42597
fcfc776b
UD
425982011-07-02 Ulrich Drepper <drepper@gmail.com>
42599
42600 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42601 as 128-bit value.
42602 * crypt/sha512.c (sha512_process_block): Perform total addition using
42603 128-bit if possible.
42604 (__sha512_finish_ctx): Likewise.
42605 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42606 as 64-bit value.
42607 * crypt/sha256.c (SWAP64): Define.
42608 (sha256_process_block): Perform total addition using 64-bit if
42609 possible.
42610 (__sha256_finish_ctx): Likewise.
42611
99231d9a
UD
426122011-07-01 Ulrich Drepper <drepper@gmail.com>
42613
42614 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42616 * nscd/hstcache.c (cache_addhst): Likewise.
42617 * nscd/grpcache.c (cache_addgr): Likewise.
42618 * nscd/aicache.c (addhstaiX): Likewise
42619 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42620
445b4a53
TK
426212011-07-01 Thorsten Kukuk <kukuk@suse.de>
42622
42623 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42624 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42625 * nscd/hstcache.c (cache_addhst): Likewise.
42626 * nscd/grpcache.c (cache_addgr): Likewise.
42627 * nscd/aicache.c (addhstaiX): Likewise
42628
6d4d8e8e
AS
426292011-07-01 Andreas Schwab <schwab@redhat.com>
42630
42631 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42632 domain only when needed.
42633
89f654c5
AS
426342011-06-30 Andreas Schwab <schwab@redhat.com>
42635
42636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42637 is always restored.
42638
cf3b23ff
UD
426392011-06-29 Ulrich Drepper <drepper@gmail.com>
42640
42641 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42642 are re-adding the entry.
42643 * nscd/servicescache.c (cache_addserv): Likewise.
42644
751626f9
AJ
426452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42646
42647 * sysdeps/generic/dl-irel.h: fix protection against multiple
42648 inclusions.
42649 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42650
9113ea1f
UD
426512011-06-28 Ulrich Drepper <drepper@gmail.com>
42652
5c0b8d90
UD
42653 [BZ #12935]
42654 * malloc/memusage.sh: Fix quoting in message.
42655 * debug/xtrace.sh: Likewise.
42656
9113ea1f
UD
42657 * configure.in: Remove support for --experimental-malloc option, make
42658 it the default.
42659 * config.make.in: Likewise.
42660 * malloc/Makefile: Likewise.
42661
a4172181
AS
426622011-06-27 Andreas Schwab <schwab@redhat.com>
42663
42664 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42665 two-byte characters.
42666
78a7eee7
RM
426672011-06-27 Roland McGrath <roland@hack.frob.com>
42668
62bede13
RM
42669 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42670 AC_CACHE_CHECK invocation.
42671 * configure: Regenerated.
42672
78a7eee7
RM
42673 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42674
5ce33a62
UD
426752011-06-27 Ulrich Drepper <drepper@gmail.com>
42676
034807a9
UD
42677 [BZ #12350]
42678 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42679 bit from old_res_options.
42680
4902da17
UD
42681 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42682
5ce33a62
UD
42683 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42684 value type for setfct.
42685
c2344f56
L
426862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42687
42688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42689 __gettimeofday instead of gettimeofday.
42690
68468076
UD
426912011-06-26 Ulrich Drepper <drepper@gmail.com>
42692
42693 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42694
acb0d739
L
426952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42696
42697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42698
42699 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42700 info.
42701
8912479f
L
427022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42703
42704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42705 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42706 strcpy-sse2-unaligned strncpy-sse2-unaligned
42707 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42708 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42709 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42710 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42711 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42712 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42714 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42715 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42716 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42717 (STRCPY): Support SSE2 and SSSE3 versions.
42718
d5495a11
UD
427192011-06-24 Ulrich Drepper <drepper@gmail.com>
42720
42721 [BZ #12874]
42722 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42723 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42724 kernels which artificially limit size of requests.
42725
0b1cbaae
L
427262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42727
42728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42729 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42730 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42731 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42732 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42733 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42734 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42735 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42736 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42738 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42739 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42740 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42741 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42742 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42744 Enable unaligned load optimization for Intel Core i3, i5 and i7
42745 processors.
42746 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42747 Define.
42748 (index_Fast_Unaligned_Load): Define.
42749 (HAS_FAST_UNALIGNED_LOAD): Define.
42750
07f494a0
MP
427512011-06-23 Marek Polacek <mpolacek@redhat.com>
42752
42753 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42754
fa3fc0fe
UD
427552011-06-22 Ulrich Drepper <drepper@gmail.com>
42756
42757 [BZ #12907]
42758 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42759 until it is clear that the information is realy needed.
42760 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42761
e12df166
AS
427622011-06-22 Andreas Schwab <schwab@redhat.com>
42763
42764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42765
852eb34d
UD
427662011-06-22 Ulrich Drepper <drepper@gmail.com>
42767
84e2a551
UD
42768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42769 /sys/devices/system/cpu/online if it is usable.
42770
852eb34d
UD
42771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42772 reading the information from the /proc filesystem to once a second.
42773
6e502e19
UD
427742011-06-21 Andreas Jaeger <aj@suse.de>
42775
42776 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42777 NULL after inclusion of kernel headers.
42778
75d39ff2
UD
427792011-06-21 Ulrich Drepper <drepper@gmail.com>
42780
51f9aa6a
UD
42781 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42782 calls to internal_setent.
42783
c0244a9d
UD
42784 [BZ #12885]
42785 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42786 addresses using gethostbyname4_r ignore IPv4 addresses.
42787
c5e3c2ae
UD
42788 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42789 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42790
75d39ff2
UD
42791 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42792
42675c6f
DM
427932011-06-20 David S. Miller <davem@davemloft.net>
42794
42795 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42796 inclusions.
42797 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42798
42799 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42800 (elf_irel): Use it.
42801 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42802 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42803 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42804 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42805 * sysdeps/x86_64/dl-irel.h: Likewise.
42806
42807 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42808 * elf/dl-sym.c: Likewise.
42809
57912a71
UD
428102011-06-15 Ulrich Drepper <drepper@gmail.com>
42811
42812 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42813 need to dereference resplen2.
42814
ee22793d
AS
428152011-06-14 Andreas Schwab <schwab@redhat.com>
42816
42817 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42818
a9e836b0
UD
428192011-06-15 Ulrich Drepper <drepper@gmail.com>
42820
77fb9117
UD
42821 * Makeconfig: Define vardbdir and inst_vardbdir.
42822 * nss/Makefile: Add rules to install db-Makefile.
42823
40c1b22c
UD
42824 * nss/nss_db/db-XXX.c: Cleanup.
42825
9f2da732
UD
42826 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42827 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42828 GLIBC_PRIVATE.
42829 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42830 * nss/makedb.c: Implement -g option to specify that value strings
42831 are generated and should not be added to table iterated over for
42832 get*ent calls.
42833 * nss/nss_db/db-initgroups.c: New file.
42834
82e9a1f7
UD
42835 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42836 interface.
42837
c41af17e
UD
42838 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42839 (internal_getgrouplist): Adjust to name change.
42840 Update use_initgroups_entry if this is not the first call.
42841 * nss/databases.def: Add initgroups entry.
42842
a9e836b0
UD
42843 * nss/makedb.c (compute_tables): Check result of multiple hash table
42844 sizes to minimize maximum chain length.
42845
2666d441
UD
428462011-06-14 Ulrich Drepper <drepper@gmail.com>
42847
42848 * Versions.def: Add entry for libnss_db.
42849 * shlib-versions: Likewise.
42850 * nss/Makefile: Add rules to build libnss_db.
42851 * nss/Versions: Add libnss_db information. Organize libnss_files
42852 entries better.
42853 * nss/db-Makefile: Add gshadow support. Change rules for the new
42854 makedb progra. Some minor improvements to generate smaller files.
42855 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42856 here from...
42857 * nss/makedb.c: ...here.
42858 Improve database format to be smaller and require less memory at
42859 runtime.
42860 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42861 db anymore.
42862 * nss/nss_db/db-netgrp.c: Likewise.
42863 * nss/nss_db/db-open.c: Likewise.
42864 * nss/nss_files/flies-XXX.x: Adjust comments.
42865 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42866 * nss/nss_files/files-grp.c: Likewise.
42867 * nss/nss_files/files-hosts.c: Likewise.
42868 * nss/nss_files/files-network.c: Likewise.
42869 * nss/nss_files/files-proto.c: Likewise.
42870 * nss/nss_files/files-pwd.c: Likewise.
42871 * nss/nss_files/files-rpc.c: Likewise.
42872 * nss/nss_files/files-service.c: Likewise.
42873 * nss/nss_files/files-sgrp.c: Likewise.
42874 * nss/nss_files/files-spwd.c: Likewise.
42875 * nss/nss_db/db-alias.c: Removed.
42876 * nss/nss_db/dummy-db.h: Removed.
42877
9ee76b5a
UD
428782011-06-02 Ulrich Drepper <drepper@gmail.com>
42879
42880 * nss/makedb.c: Rewritten to not use database library.
42881 * nss/Makefile: Update to build new makedb program.
42882
c71ca1f8
AJ
428832011-06-14 Andreas Jaeger <aj@suse.de>
42884
42885 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42886 memset declaration.
42887
3154bfb8
UD
428882011-06-10 Andreas Schwab <schwab@redhat.com>
42889
42890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42891 tmpbuf.
42892
b350afab
RM
428932011-06-10 Roland McGrath <roland@hack.frob.com>
42894
decd4e50
RM
42895 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42896 * elf/Makefile ($(objpfx)ld.so): Likewise.
42897
5615eaf2
RM
42898 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42899 Don't list ld.so twice in dependencies.
42900
42901 * posix/bug-regex31.c: Include <stdlib.h>.
42902
42903 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42904
42905 * nis/nss_compat/compat-spwd.c
42906 (getspent_next_nss_netgr): Remove unused variable.
42907 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42908
42909 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42910 nonmembers" output to use the right array.
42911
42912 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42913
42914 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42915
42916 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42917 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42918 * catgets/gencat.c (read_input_file): Likewise.
42919 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42920
42921 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42922 variable definition inside #if's controlling its use.
42923
42924 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42925
42926 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42927
42928 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42929
42930 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42931 unreachable code.
42932
42933 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42934
b68e08db
RM
42935 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42936 * configure: Regenerated.
42937
b350afab
RM
42938 * Makerules: Revert last change.
42939 * elf/Makefile: Likewise.
42940
28368601
RM
429412011-06-09 Roland McGrath <roland@hack.frob.com>
42942
42943 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42944 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42945 (reloc-link): Likewise.
42946
11988f8f
UD
429472011-06-09 Ulrich Drepper <drepper@gmail.com>
42948
42949 * elf/Makefile: Add rules to build pldd.
42950 * elf/pldd.c: New file.
42951 * elf/pldd-xx.c: New file.
42952
e80fab37
UD
429532011-06-07 Ulrich Drepper <drepper@gmail.com>
42954
42955 * version.h: Update for 2.15 development version.
42956
9b849836
DM
429572011-06-07 David S. Miller <davem@davemloft.net>
42958
42959 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42960 ifuncs.
42961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42962 elf_machine_lazy_rel): Likewise.
42963 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42964 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42965 elf_machine_lazy_rel): Likewise.
42966 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42967 dl_hwcap via passed in argument.
42968 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42969 Likewise.
42970
5a31b283
AK
429712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42972
42973 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42974
069e52f8
RM
429752011-06-06 Roland McGrath <roland@hack.frob.com>
42976
42977 [BZ #12849]
42978 * manual/fdl-1.1.texi: New file, verbatim from:
42979 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42980 * manual/lgpl-2.1.texi: New file, verbatim from:
42981 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42982 * manual/Makefile (licenses): New variable, list those new file names.
42983 (texis): Use it.
42984 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42985
42986 * manual/fdl.texi: File removed.
42987 * manual/lesser.texi: File removed.
42988 * manual/libc.texinfo (Copying, Documentation License):
42989 Use new @include file names, put @appendix directive before @include.
42990
f16846a5
JJ
429912011-06-04 Jakub Jelinek <jakub@redhat.com>
42992
42993 [BZ #12841]
42994 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42995 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42996 (mq_open): Add __NTH.
42997
3d29045b
L
429982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42999
43000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43001 Assume Intel Core i3/i5/i7 processor if AVX is available.
43002
8c297311
UD
430032011-05-31 Ulrich Drepper <drepper@gmail.com>
43004
43005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43006 typo.
43007
c8fc0c91
UD
430082011-05-31 Andreas Schwab <schwab@redhat.com>
43009
43010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43011 memory. Use alloca_account. Fix memory leak when retrying.
43012
5b27a807
UD
430132011-05-31 Ulrich Drepper <drepper@gmail.com>
43014
356f8bc6
UD
43015 * version.h (RELEASE): Bump for 2.14 release.
43016 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43017
5b27a807
UD
43018 * config.make.in (RANLIB): Remove entry.
43019
01f16ab0
UD
430202011-05-30 Ulrich Drepper <drepper@gmail.com>
43021
41fce8bd
UD
43022 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43023 (libc.pot): Work around missing support for .ksh extension in xgettext.
43024
4769ae77
UD
43025 [BZ #12684]
43026 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43027 if both request failed.
43028 (send_dg): In case of server errors clear resplen or *resplen2.
43029
6b1e7d19
UD
43030 [BZ #12454]
43031 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43032 when there are multiple maps.
43033 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43034 (_dl_fini): Remove test here.
43035
01f16ab0
UD
43036 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43037
b1ebd700
UD
430382011-05-29 Ulrich Drepper <drepper@gmail.com>
43039
7ae22829
UD
43040 [BZ #12350]
43041 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43042 bit from old_res_options.
43043 (gaih_inet): Likewise.
43044
553149f6 43045 [BZ #11099]
18a84741 43046 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43047 as signed.
43048
652ffab1
UD
43049 * resolv/res_init.c (res_setoptions): Make the code more compact.
43050
16985fd0
UD
43051 [BZ #11558]
43052 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43053 set RES_USEVC.
43054
0464f746
UD
43055 [BZ #11634]
43056 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43057
7d17596c
UD
43058 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43059
cf6bbbd7
UD
43060 [BZ #11781]
43061 * malloc/malloc.h: Declare malloc hook variables as volatile.
43062
13f1ab36
UD
43063 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43064 in last patch.
43065
b1ebd700
UD
43066 [BZ #11799]
43067 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43068 raise in the comment.
80e2212d
UD
43069 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43070 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43071 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43072
ce67228d
UD
430732011-05-28 Ulrich Drepper <drepper@gmail.com>
43074
8887a920
UD
43075 [BZ #12811]
43076 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43077 grow the buffers more if it already has to be sufficient.
43078 (build_wcs_upper_buffer): Likewise.
43079 * posix/regexec.c (check_matching): Likewise.
43080 (clean_state_log_if_needed): Likewise.
43081 (extend_buffers): Don't enlarge buffers beyond size of the input
43082 buffer.
43083 Patches mostly by Emil Wojak <emil@wojak.eu>.
43084 * posix/bug-regex32.c: New file.
43085 * posix/Makefile (tests): Add bug-regex32.
43086
4f031072
UD
43087 * locale/findlocale.c (_nl_find_locale): Return right away if
43088 _nl_explode_name failed.
43089 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43090
d0478f0c
UD
43091 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43092
de81b246
UD
43093 * debug/xtrace.sh: Unify messages.
43094 * malloc/memusage.sh: Likewise.
43095
c738465a
UD
43096 [BZ #12813]
43097 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43098 time symbol from vDSO. Substitute with vsyscall if not available.
43099 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43100 __vdso_time.
43101
f1f929d7
UD
43102 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43103 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43104 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43105 Add sendmmsg and internal_sendmmsg.
43106 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43107 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43108 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43109
ce67228d
UD
43110 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43111 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43113
e57420c6
UD
431142011-05-27 Ulrich Drepper <drepper@gmail.com>
43115
a8509ca5
UD
43116 [BZ #12813]
43117 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43118 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43119 available.
43120 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43121 __vdso_getcpu.
43122
e57420c6
UD
43123 [BZ #12814]
43124 * iconvdata/Makefile (tests): Add bug-iconv9.
43125 * iconvdata/bug-iconv9.c: New file.
43126
4d07db15
AS
431272011-05-27 Andreas Schwab <schwab@redhat.com>
43128
43129 [BZ #12814]
43130 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43131
ea486f69
JJ
431322011-05-25 Jakub Jelinek <jakub@redhat.com>
43133
43134 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43135 (struct user_regs_struct): Change intcs field back to cs.
43136
6f038433
UD
431372011-05-25 Ulrich Drepper <drepper@gmail.com>
43138
43139 * po/ja.po: Update from translation team.
43140
67f86a25
UD
431412011-05-23 Ulrich Drepper <drepper@gmail.com>
43142
43143 [BZ #12795]
43144 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43145 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43146
def7fbd6
AS
431472011-05-20 Andreas Schwab <schwab@redhat.com>
43148
43149 * stdlib/longlong.h: Update from GCC.
43150
f50ef8f1
AS
431512011-05-23 Andreas Schwab <schwab@redhat.com>
43152
43153 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43154 parameter name.
43155 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43156 Add parameter name.
43157 (__sysconf): Pass it down.
43158
de7ce8f1
UD
431592011-05-22 Ulrich Drepper <drepper@gmail.com>
43160
f2962a71
UD
43161 [BZ #12671]
43162 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43163 some situations.
43164 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43165 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43166 add in in __libc_use_alloca calls. Adjust callers.
43167 (glob): Use malloc in some situations.
43168
de7ce8f1
UD
43169 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43170 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43171 pltexit.
43172
aec84f53
UD
431732011-05-21 Ulrich Drepper <drepper@gmail.com>
43174
05bb4a68
UD
43175 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43176 and CLOCK_BOOTTIME_ALARM.
43177
7ea72f99
UD
43178 [BZ #12782]
43179 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43180 is returned.
43181
7e4afad5
UD
43182 * string/_strerror.c (__strerror_r): Print negative errors as signed
43183 numbers.
43184
8e211fec
UD
43185 [BZ #12777]
43186 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43187 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43188 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43189
f7d82dc9
UD
43190 * configure.in: Fix typo in redirection and correct removal of test
43191 files in two cases.
43192
cc9e536d
UD
43193 [BZ #12788]
43194 * locale/setlocale.c (new_composite_name): Fix test to check for
43195 identical name of all categories.
43196
aec84f53
UD
43197 [BZ #12792]
43198 * libio/filedoalloc.c (local_isatty): New function.
43199 (_IO_file_doallocate): Use local_isatty.
43200 * stdio-common/perror.c (perror): In case a new stream is used
43201 forward the stream error.
43202 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43203 error flag.
43204
78e64fdc
RT
432052011-05-20 Ulrich Drepper <drepper@gmail.com>
43206
34a9094f
UD
43207 [BZ #11869]
43208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43209 alloca.
43210 * include/alloca.h (extend_alloca_account): Define.
43211
78e64fdc
RT
43212 [BZ #11857]
43213 * posix/regex.h: Fix comments with documentation of user-accessible
43214 fields after compilation and describe correct free'ing of pattern
43215 after re_compile_pattern.
43216 Patch by Reuben Thomas <rrt@sc3d.org>.
43217
457bddfc
RA
432182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43219
43220 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43221 and -mno-altivec to prevent the compiler from using Altivec and/or
43222 VSX instructions when the corresponding registers are not available.
43223
a4527b51
AS
432242011-05-19 Andreas Schwab <schwab@redhat.com>
43225
43226 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43227
ed690b2f
UD
432282011-05-19 Ulrich Drepper <drepper@gmail.com>
43229
43230 * libio/freopen.c (freopen): Use __dup2, not dup2.
43231 * libio/freopen64.c (freopen64): Likewise.
43232
8db73634
L
432332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43234
43235 [BZ #12775]
43236 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43237 * math/Makefile (tests): Add test-powl.
43238 (CFLAGS-test-powl.c): Define.
43239 * math/test-powl.c: New file.
43240
0a197a9d
L
432412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43242
43243 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43244
ee30c380
UD
432452011-05-17 Ulrich Drepper <drepper@gmail.com>
43246
43247 [BZ #11837]
43248 * iconvdata/gb18030.c: Update to GB18020-2005.
43249
6ce75379
UD
432502011-05-16 Ulrich Drepper <drepper@gmail.com>
43251
a4b89fd8
AR
43252 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43253 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43254 Patch by Aharon Robbins <arnold@skeeve.com>.
43255
ea389b12
UD
43256 [BZ #11892]
43257 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43258 on the stack.
43259
68a3f91f
UD
43260 [BZ #11895]
43261 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43262 through underflows.
43263
15cc7dd1
UD
43264 [BZ #12766]
43265 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43266 point to strings before performing equality test for error_one_per_line
43267 mode.
43268
f3799213
UD
43269 [BZ #11697]
43270 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43271
d79a9c94
UD
43272 [BZ #11820]
43273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43274 (struct user_fpregs_struct): Avoid __uint*_t types.
43275
56e5eb46
UD
43276 [BZ #6420]
43277 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43278 symbol info. Use it instead of calling _dl_addr locally.
43279 (lock_and_info): New function.
43280 (tr_freehook): Call lock_and_info and pass symbol info as additional
43281 parameter to tr_where.
43282 (tr_mallochook): Likewise.
43283 (tr_reallochook): Likewise.
43284 (tr_memalignhook): Likewise.
43285
6ce75379
UD
43286 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43287 used and couldn't be at all thread-safe.
43288
f8a3b5bf
UD
432892011-05-15 Ulrich Drepper <drepper@gmail.com>
43290
94b7cc37
UD
43291 * libio/freopen.c (freopen): Don't close old file descriptor
43292 before the new one is opened. Instead dup the new file descriptor
43293 to the old one after the new stream is created.
43294 * libio/freopen64.c (freopen64): Likewise.
43295 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43296 * libio/fileops.c (_IO_new_file_close_it): Handle new
43297 _IO_FLAGS2_NOCLOSE flag.
43298 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43299 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43300 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43301 _IO_FLAGS2_NOCLOSE flag.
43302 * include/unistd.h: Add hidden_proto for dup3.
43303 Define __have_dup3.
43304 * io/dup3.c: Define hidden symbol.
43305 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43306
bd25564e
UD
43307 [BZ #7101]
43308 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43309 when an incomplete long option is used.
43310 * posix/tst-getopt_long1.c: New file.
43311 * posix/Makefile (tests): Add tst-getopt_long1.
43312
c84cfef4
UD
43313 [BZ #10138]
43314 * scripts/config.guess: Update from autoconf-2.68.
43315 * scripts/config.sub: Likewise.
43316
3b85df27
UD
43317 [BZ #10157]
43318 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43319 tests into ...
43320 (has_cpuclock): ...this. New function.
43321 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43322 macro here based on has_cpuclock code.
43323
15a856b1
UD
43324 [BZ #10149]
43325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43326 First byte (not low byte) is now always NUL.
43327 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43328
05f399e6
UD
43329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43330 Use non-cancelable interfaces.
43331
10a52685 43332 [BZ #9809]
94ecc67d
UD
43333 * locale/iso-639.def: Add entry for Sorani.
43334
f8a3b5bf
UD
43335 [BZ #11901]
43336 * include/stdlib.h: Move include protection to the right place.
43337 Define abort_msg_s. Declare __abort_msg with it.
43338 * stdlib/abort.c (__abort_msg): Adjust type.
43339 * assert/assert.c (__assert_fail_base): New function. Majority
43340 of code from __assert_fail. Allocate memory for __abort_msg with
43341 mmap.
43342 (__assert_fail): Now call __assert_fail_base.
43343 * assert/assert-perr.c: Remove bulk of implementation. Use
43344 __assert_fail_base.
43345 * include/assert.hL Declare __assert_fail_base.
43346 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43347 mmap.
43348 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43349
1af4e298
UD
433502011-05-14 Ulrich Drepper <drepper@gmail.com>
43351
f8a3b5bf 43352 [BZ #11952]
d26dfc60
MG
43353 [BZ #12453]
43354 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43355 until all modules are registered in the DTV.
43356 * elf/Makefile: Add rules to build and run tst-tls19.
43357 * elf/tst-tls19.c: New file.
43358 * elf/tst-tls19mod1.c: New file.
43359 * elf/tst-tls19mod2.c: New file.
43360 * elf/tst-tls19mod3.c: New file.
43361 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43362
2fc54d6f
UD
43363 [BZ #12083]
43364 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43365 correctly.
43366
98d76b46
UD
43367 [BZ #12601]
43368 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43369 two-byte sequence errors.
43370 * iconvdata/Makefile (tests): Add bug-iconv8.
43371 * iconvdata/bug-iconv8.c: New file.
43372
da3c19ef
UD
43373 [BZ #12626]
43374 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43375 buf2 definition.
43376
ca408c15
UD
43377 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43378
d6f67f7d
UD
43379 [BZ #12432]
43380 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43381 (dummy_getcfa): New function.
43382 (init): Get _Unwind_GetCFA address, use dummy if not found.
43383 (backtrace_helper): In recursion check, also check whether CFA changes.
43384 (__backtrace): Completely initialize arg.
43385
1af4e298 43386 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43387 storing incomplete byte sequence in state object. Avoid testing for
43388 guaranteed too small input if we know there is enough data available.
1af4e298 43389
da62f81b
AS
433902011-05-11 Andreas Schwab <schwab@redhat.com>
43391
43392 * Makeconfig (+link-pie): Indent.
43393 * Rules (binaries-pie): Define if $(have-fpie) and
43394 $(build-shared).
43395 (binaries-shared): Also filter out $(binaries-pie).
43396 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43397 * nscd/Makefile (others-pie): Add nscd.
43398 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43399 ($(objpfx)nscd): Remove command override.
43400 * login/Makefile (others-pie): Add pt_chown.
43401 ($(objpfx)pt_chown): Remove command override.
43402 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43403 remove command overrides.
43404
fcabc0f8
UD
434052011-05-13 Ulrich Drepper <drepper@gmail.com>
43406
20030ae6
UD
43407 * libio/tst_putwc.c: Fix error messages.
43408
fcabc0f8
UD
43409 [BZ #12724]
43410 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43411 currently writing and seek to current position when not.
43412 * libio/Makefile (tests): Add bug-fclose1.
43413 * libio/bug-fclose1.c: New file.
43414
320a5dc0
PB
434152011-05-12 Ulrich Drepper <drepper@gmail.com>
43416
43417 [BZ #12511]
43418 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43419 don't set DF_1_NODELETE here.
43420 (do_lookup_x): When entering new entry test for copy relocation
43421 and if necessary set DF_1_NODELETE flag.
43422 * elf/tst-unique4.cc: New file.
43423 * elf/tst-unique4.h: New file.
43424 * elf/tst-unique4lib.cc: New file.
43425 * elf/Makefile: Add rules to build and run tst-unique4.
43426 Patch by Piotr Bury <pbury@goahead.com>.
43427
22836f52
UD
434282011-05-11 Ulrich Drepper <drepper@gmail.com>
43429
f574184a
UD
43430 [BZ #12052]
43431 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43432
e1fb097f
UD
43433 [BZ #12625]
43434 * misc/mntent_r.c (addmntent): Flush the stream after the output
43435
22836f52
UD
43436 [BZ #12393]
43437 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43438 (is_trusted_path_normalize): Skip initial colon. Append slash
43439 to empty buffer. Duplicate is_trusted_path code but allow
43440 constructed patch to be prefix.
43441 (is_dst): Allow $ORIGIN followed by /.
43442 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43443 Correct testing of result of is_trusted_path_normalize
43444 (decompose_rpath): Fix warning.
43445
7b3b0b2a
UD
434462011-05-10 Ulrich Drepper <drepper@gmail.com>
43447
43448 [BZ #11257]
43449 * grp/initgroups.c (internal_getgrouplist): When we found the service
43450 list through the initgroups entry in nsswitch.conf do not always
43451 continue on a successful lookup. Don't always use the
eac80ce2 43452 __nss_group_database value if it is set.
7b3b0b2a
UD
43453 * nss/nsswitch.conf (initgroups): Change action for successful db
43454 lookup to continue for compatibility.
43455
2a81eaa5
UD
434562011-05-09 Ulrich Drepper <drepper@gmail.com>
43457
be97a69e
UD
43458 [BZ #11532]
43459 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43460 and CP774 modules.
43461 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43462 and CP774 modules.
43463 * iconvdata/tst-tables.sh: Likewise.
43464 * iconvdata/cp770.c: New file.
43465 * iconvdata/cp771.c: New file.
43466 * iconvdata/cp772.c: New file.
43467 * iconvdata/cp773.c: New file.
43468 * iconvdata/cp774.c: New file.
43469 * iconvdata/testdata/CP770: New file.
43470 * iconvdata/testdata/CP770..UTF8: New file.
43471 * iconvdata/testdata/CP771: New file.
43472 * iconvdata/testdata/CP771..UTF8: New file.
43473 * iconvdata/testdata/CP772: New file.
43474 * iconvdata/testdata/CP772..UTF8: New file.
43475 * iconvdata/testdata/CP773: New file.
43476 * iconvdata/testdata/CP773..UTF8: New file.
43477 * iconvdata/testdata/CP774: New file.
43478 * iconvdata/testdata/CP774..UTF8: New file.
43479
43480 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43481 END CHARMAP line.
43482 * iconvdata/gen-8bit-gap.sh: Likewise.
43483 * iconvdata/gen-8bit.sh: Likewise.
43484
c1e9e399
UD
43485 * locale/iso-639.def: Add ary entry.
43486
24c55fb3 43487 [BZ #11258]
96b4b1b0
UD
43488 * locale/C-translit.h.in: Add U20A1 transliteration.
43489
bdc2f971
KB
43490 [BZ #12178]
43491 * locale/iso-639.def: Add wae entry.
43492 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43493
2952b117
UD
43494 [BZ #12545]
43495 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43496 for n.
43497
2a81eaa5
UD
43498 [BZ #12711]
43499 * locale/C-translit.h.in: Add entry for U20B9.
43500 Patch by pravin.d.s@gmail.com.
43501
28377d1b
UD
435022011-05-08 Ulrich Drepper <drepper@gmail.com>
43503
7fb90fb8
UD
43504 [BZ #12713]
43505 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43506 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43507 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43508 in rtld. Use *stat64.
7fb90fb8 43509 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43510 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43511 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43512 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43513 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43514 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43515 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43516 __fstatat64 macros.
7fb90fb8
UD
43517 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43518 * dirent/rewinddir.c: Add libc_hidden_def.
43519 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43520 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43521
28377d1b
UD
43522 * include/dirent.h (__alloc_dir): Add flags parameter.
43523 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43524 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43525 __alloc_dir.
43526 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43527 from fdopendir if O_CLOEXEC is already set.
43528
66bdbaa4
AM
435292011-03-15 Alan Modra <amodra@gmail.com>
43530
43531 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43532 l_tls_firstbyte_offset non-zero. Save padding offset in
43533 l_tls_firstbyte_offset for later use.
43534 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43535 freeing static tls block.
43536
95721191
JN
435372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43538
43539 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43540 where #ifdef was intended. The intent is to prevent ARG_MAX from
43541 being defined by the kernel headers.
43542
f87dfb1f
UD
435432011-05-07 Ulrich Drepper <drepper@gmail.com>
43544
43545 [BZ #12734]
43546 * resolv/resolv.h: Define RES_NOTLDQUERY.
43547 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43548 no-tld-query and set RES_NOTLDQUERY.
43549 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43550 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43551 modern BIND to search name as TLD unless forbidden.
43552
47c3cd7a
UD
435532011-05-07 Petr Baudis <pasky@suse.cz>
43554 Ulrich Drepper <drepper@gmail.com>
43555
43556 [BZ #12393]
43557 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43558 (is_trusted_path): ...to here.
c1e9ea35 43559 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43560 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43561 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43562
8a35c912
PP
435632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43564
43565 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43566 __BEGIN/__END_DECLS.
43567
acd41f47
UD
435682011-05-06 Ulrich Drepper <drepper@gmail.com>
43569
43570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43571 NSS_STATUS_NOTFOUND if no record was found.
43572
597df647
AS
435732011-05-05 Andreas Schwab <schwab@redhat.com>
43574
43575 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43576 (headers-not-in-tirpc): Remove rpc/netdb.h
43577 * resolv/netdb.h: Revert last change.
43578
b9af1301
PP
435792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43580
43581 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43582 circular dependency between libgcc.a and libc.a.
43583
4e34d5f5
AS
435842011-05-05 Andreas Schwab <schwab@redhat.com>
43585
43586 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43587 * nis/Makefile: Don't install rpcsvc/*.
43588 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43589 instead of <rpc/types.h>.
43590 (MAXHOSTNAMELEN): Define.
43591
00ee369c
AS
435922011-05-03 Andreas Schwab <schwab@redhat.com>
43593
43594 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43595
0b592a30
MB
435962011-04-28 Maciej Babinski <mbabinski@google.com>
43597
43598 [BZ #12714]
43599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43600 gethostbyname4_r when IPv6 results are possible.
43601
6e04cbbe
UD
436022011-05-02 Ulrich Drepper <drepper@gmail.com>
43603
43604 [BZ #12723]
43605 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43606 _PC_PIPE_BUF handling.
43607
e4ecafe0
BH
436082011-04-30 Bruno Haible <bruno@clisp.org>
43609
43610 [BZ #12717]
43611 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43612 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43613 to 'int'.
43614 * inet/getnameinfo.c (getnameinfo): Likewise.
43615
125ee683
UD
436162011-04-29 Ulrich Drepper <drepper@gmail.com>
43617
43618 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43619 to groups setting in database lookup.
43620 * nss/nsswitch.conf: Add initgroups entry.
43621
b722481a
EB
436222011-04-22 Ulrich Drepper <drepper@gmail.com>
43623
43624 [BZ #12685]
43625 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43626 mode string.
43627 Patch by Eric Blake <eblake@redhat.com>.
43628
4df46dbd
L
436292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43630
43631 * sunrpc/Makefile (need-export-routines): Add svc_run.
43632 (routines): Remove svc_run.
43633 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43634 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43635 * sunrpc/svc_run.c (svc_run): Likewise.
43636 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43637
e84142d2
UD
436382011-04-21 Ulrich Drepper <drepper@gmail.com>
43639
43640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43641 problem in reallocation in last patch.
43642
877175d8
UD
436432011-04-20 Ulrich Drepper <drepper@gmail.com>
43644
43645 * sunrpc/Makefile: Move inclusion of Rules.
43646
ab8eed78
UD
436472011-04-19 Ulrich Drepper <drepper@gmail.com>
43648
43649 * nss/nss_files/files-initgroups.c: New file.
43650 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43651 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43652 _nss_files_initgroups_dyn.
43653
e3d8f584
RS
436542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43655
43656 * elf/elf.h (R_ARM_IRELATIVE): Define.
43657
af190f45
UD
436582011-04-19 Ulrich Drepper <drepper@gmail.com>
43659
43660 * po/ru.po: Update from translation team.
43661
53cf59ef
UD
436622011-04-17 Ulrich Drepper <drepper@gmail.com>
43663
43664 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43665 dependencies.
43666
4c559bcd
MF
436672011-02-06 Mike Frysinger <vapier@gentoo.org>
43668
43669 [BZ #12653]
43670 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43671 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43672 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43673 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43674 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43675
4420675c
AS
436762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43677
43678 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43679 differing bytes.
43680 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43682 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43683
75ea32ab
UD
436842011-04-17 Ulrich Drepper <drepper@gmail.com>
43685
43686 [BZ #12420]
43687 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43688 storing it.
43689 * stdlib/bug-getcontext.c: New file.
43690 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43691
27390476
AK
436922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43693
43694 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43695 instructions into .machine "z9-109".
43696 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43697 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43698
10442705
AK
436992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43700
43701 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43702 between environment variables and auxiliary vector.
43703
7b57bfe5
UD
437042011-04-16 Ulrich Drepper <drepper@gmail.com>
43705
43706 * Makefile: Add rules to build linkobj/libc.so.
43707 * include/libc-symbols.h: Define libc_hidden_nolink.
43708 * include/rpc/auth.h: Mark functions which are to be hidden.
43709 * include/rpc/auth_des.h: Likewise.
43710 * include/rpc/auth_unix.h: Likewise.
43711 * include/rpc/clnt.h: Likewise.
43712 * include/rpc/des_crypt.h: Likewise.
43713 * include/rpc/key_prot.h: Likewise.
43714 * include/rpc/pmap_clnt.h: Likewise.
43715 * include/rpc/pmap_prot.h: Likewise.
43716 * include/rpc/pmap_rmt.h: Likewise.
43717 * include/rpc/rpc_msg.h: Likewise.
43718 * include/rpc/svc.h: Likewise.
43719 * include/rpc/svc_auth.h: Likewise.
43720 * include/rpc/xdr.h: Likewise.
43721 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43722 * nss/Makefile: Likewise.
43723 * sunrpc/Makefile: Don't install headers. Build library with normal
43724 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43725 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43726 for the compat linking library. Remove use of INTDEF/INTUSE.
43727 * sunrpc/auth_none.c: Likewise.
43728 * sunrpc/auth_unix.c: Likewise.
43729 * sunrpc/authdes_prot.c: Likewise.
43730 * sunrpc/authuxprot.c: Likewise.
43731 * sunrpc/clnt_gen.c: Likewise.
43732 * sunrpc/clnt_perr.c: Likewise.
43733 * sunrpc/clnt_raw.c: Likewise.
43734 * sunrpc/clnt_simp.c: Likewise.
43735 * sunrpc/clnt_tcp.c: Likewise.
43736 * sunrpc/clnt_udp.c: Likewise.
43737 * sunrpc/clnt_unix.c: Likewise.
43738 * sunrpc/des_crypt.c: Likewise.
43739 * sunrpc/des_soft.c: Likewise.
43740 * sunrpc/get_myaddr.c: Likewise.
43741 * sunrpc/key_call.c: Likewise.
43742 * sunrpc/key_prot.c: Likewise.
43743 * sunrpc/netname.c: Likewise.
43744 * sunrpc/pm_getmaps.c: Likewise.
43745 * sunrpc/pm_getport.c: Likewise.
43746 * sunrpc/pmap_clnt.c: Likewise.
43747 * sunrpc/pmap_prot.c: Likewise.
43748 * sunrpc/pmap_prot2.c: Likewise.
43749 * sunrpc/pmap_rmt.c: Likewise.
43750 * sunrpc/publickey.c: Likewise.
43751 * sunrpc/rpc_cmsg.c: Likewise.
43752 * sunrpc/rpc_common.c: Likewise.
43753 * sunrpc/rpc_dtable.c: Likewise.
43754 * sunrpc/rpc_prot.c: Likewise.
43755 * sunrpc/rpc_thread.c: Likewise.
43756 * sunrpc/rtime.c: Likewise.
43757 * sunrpc/svc.c: Likewise.
43758 * sunrpc/svc_auth.c: Likewise.
43759 * sunrpc/svc_authux.c: Likewise.
43760 * sunrpc/svc_raw.c: Likewise.
43761 * sunrpc/svc_run.c: Likewise.
43762 * sunrpc/svc_simple.c: Likewise.
43763 * sunrpc/svc_tcp.c: Likewise.
43764 * sunrpc/svc_udp.c: Likewise.
43765 * sunrpc/svc_unix.c: Likewise.
43766 * sunrpc/svcauth_des.c: Likewise.
43767 * sunrpc/xcrypt.c: Likewise.
43768 * sunrpc/xdr.c: Likewise.
43769 * sunrpc/xdr_array.c: Likewise.
43770 * sunrpc/xdr_float.c: Likewise.
43771 * sunrpc/xdr_intXX_t.c: Likewise.
43772 * sunrpc/xdr_mem.c: Likewise.
43773 * sunrpc/xdr_rec.c: Likewise.
43774 * sunrpc/xdr_ref.c: Likewise.
43775 * sunrpc/xdr_sizeof.c: Likewise.
43776 * sunrpc/xdr_stdio.c: Likewise.
43777
e6c61494
UD
437782011-04-10 Ulrich Drepper <drepper@gmail.com>
43779
43780 [BZ #12650]
43781 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43782 * sysdeps/ia64/dl-tls.h: Likewise.
43783 * sysdeps/powerpc/dl-tls.h: Likewise.
43784 * sysdeps/s390/dl-tls.h: Likewise.
43785 * sysdeps/sh/dl-tls.h: Likewise.
43786 * sysdeps/sparc/dl-tls.h: Likewise.
43787 * sysdeps/x86_64/dl-tls.h: Likewise.
43788 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43789
34fe483e
AS
437902011-03-14 Andreas Schwab <schwab@redhat.com>
43791
43792 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43793 rpath element also skip the following colon.
43794 (expand_dynamic_string_token): Add is_path parameter and pass
43795 down to DL_DST_REQUIRED and _dl_dst_substitute.
43796 (decompose_rpath): Call expand_dynamic_string_token with
43797 non-zero is_path. Ignore empty rpaths.
43798 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43799 with zero is_path.
43800
f12a32e6
AS
438012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43802
43803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43804 Make cancelable.
43805
38a7d692
UD
438062011-04-09 Ulrich Drepper <drepper@gmail.com>
43807
43808 [BZ #12655]
43809 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43810 Patch by Filipe David Manana <fdmanana@apache.org>.
43811
e451d22b
AS
438122011-04-07 Andreas Schwab <schwab@redhat.com>
43813
43814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43815 Maintain aligned stack.
43816 (CHECK_RSP): Remove unused macro.
43817
dedc7c7b
UD
438182011-04-03 Ulrich Drepper <drepper@gmail.com>
43819
43820 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43821 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43822
94521213
UD
438232011-04-02 Ulrich Drepper <drepper@gmail.com>
43824
43825 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43826
8cb700c0 43827 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43828
0354e355
L
438292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43830
43831 [BZ #12518]
43832 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43833 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43834 * sysdeps/x86_64/memmove.c: New file.
43835 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43836 (memcpy): Renamed to ...
43837 (__new_memcpy): This.
43838 (memcpy): Provide GLIBC_2_14 memcpy.
43839 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43840 (memcpy): Provide GLIBC_2_2_5 memcpy.
43841
8593482f
UD
438422011-04-01 Ulrich Drepper <drepper@gmail.com>
43843
43844 [BZ #12631]
43845 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43846
81a5726b
AS
438472011-03-30 Andreas Schwab <schwab@redhat.com>
43848
43849 * misc/syncfs.c: New file.
43850 * misc/Makefile (routines): Add syncfs.
43851 * posix/unistd.h: Declare syncfs.
43852 * sysdeps/unix/syscalls.list: Add syncfs.
43853
00e5419f
AS
438542011-04-01 Andreas Schwab <schwab@redhat.com>
43855
43856 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43857 open_by_handle_at.
43858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43863 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43865
748876bf
UD
438662011-04-01 Ulrich Drepper <drepper@gmail.com>
43867
658e451d
UD
43868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43869 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43870 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43872 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43874 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43875
748876bf
UD
43876 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43877 sync_file_range.c with -fexceptions.
43878 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43879 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43880 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43881 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43882 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43883 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43884 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43885 sync_file_range as cancellation point
43886 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43887 now a wrapper around __call_sync_file_range with cancellation handling.
43888 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43889 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43890 function name to __call_sync_file_range.
43891 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43892 Add call_sync_file_range.
748876bf 43893
6e63d5e1
AS
438942011-04-01 Andreas Schwab <schwab@redhat.com>
43895
43896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43897 bits/timex.h.
6e63d5e1 43898
46998f74
UD
438992011-04-01 Ulrich Drepper <drepper@gmail.com>
43900
4c1423ed
UD
43901 * iconv/iconv.h: Fix typo in comment.
43902 * io/fcntl.h: Likewise.
43903 * libio/stdio.h: Likewise.
43904 * posix/spawn.h: Likewise.
43905 * posix/unistd.h: Likewise.
43906 * stdlib/stdlib.h: Likewise.
43907 * time/time.h: Likewise.
43908 * wcsmbs/wchar.h: Likewise.
43909
158648c0
UD
43910 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43911 open_by_handle): Add.
43912 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43913 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43914 Augment a few comments.
43915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43917 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43920 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43921 open_by_handle.
43922
46998f74
UD
43923 * io/fcntl.h (AT_EMPTY_PATH): Define.
43924
83fe108b
UD
439252011-03-30 Ulrich Drepper <drepper@gmail.com>
43926
43927 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43928 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43929 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43930 to...
43931 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43932 * Versions.def: Add GLIBC_2.14.
43933 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43934 Export.
83fe108b 43935
bb242059
UD
439362011-03-22 Ulrich Drepper <drepper@gmail.com>
43937
43938 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43939 round counter.
43940 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43941
c97a1282
L
439422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43943
43944 [BZ #12597]
43945 * string/test-strncmp.c (do_page_test): New function.
43946 (check2): Likewise.
43947 (test_main): Call check2.
43948 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43949
2a115601
UD
439502011-03-20 Ulrich Drepper <drepper@gmail.com>
43951
43952 [BZ #12587]
43953 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43954 Handle cache information in CPU leaf 4.
43955 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43956
8126d904
UD
439572011-03-18 Ulrich Drepper <drepper@gmail.com>
43958
042c49c6 43959 [BZ #12583]
8126d904
UD
43960 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43961 character representation.
43962 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43963
ccfe366e
RA
439642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43965
43966 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43967 END(__isnan) to END(__isnanf) to match function entry point/label
43968 EALIGN(__isnanf,...).
43969
c6e13027
JJ
439702011-03-10 Jakub Jelinek <jakub@redhat.com>
43971
43972 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43973
33f85a3f
UD
439742011-03-10 Ulrich Drepper <drepper@gmail.com>
43975
028478fa
UD
43976 [BZ #12510]
43977 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43978 copy from the symbol referenced in the relocation to initialize the
43979 used variable.
43980 Patch by Piotr Bury <pbury@goahead.com>.
43981 * elf/Makefile: Add rules to build and tst-unique3.
43982 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43983 * elf/tst-unique3.cc: New file.
43984 * elf/tst-unique3.h: New file.
43985 * elf/tst-unique3lib.cc: New file.
43986 * elf/tst-unique3lib2.cc: New file.
43987
33f85a3f
UD
43988 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43989
03592fc7
MF
439902011-03-10 Mike Frysinger <vapier@gentoo.org>
43991
43992 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43993 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43994 to _start.
03592fc7 43995
6a5ee102
UD
439962011-03-06 Ulrich Drepper <drepper@gmail.com>
43997
43998 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43999 to-be-loaded object along a path to loader is ld.so.
44000
7e4ba49c
HJ
440012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44002 Ulrich Drepper <drepper@gmail.com>
44003
44004 * sysdeps/x86_64/memset.S: After aligning destination, code
44005 branches to different locations depending on the value of
44006 misalignment, when multiarch is enabled. Fix this.
44007
440082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44009
44010 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44011 Set _x86_64_preferred_memory_instruction for AMD processsors.
44012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44013 Set bit_Prefer_SSE_for_memop for AMD processors.
44014
13a804de
UD
440152011-03-04 Ulrich Drepper <drepper@gmail.com>
44016
44017 * libio/fmemopen.c (fmemopen): Optimize a bit.
44018
9d25c392
AS
440192011-03-03 Andreas Schwab <schwab@redhat.com>
44020
44021 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44022
a5543c6a
RM
440232011-03-03 Roland McGrath <roland@redhat.com>
44024
44025 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44026
012d35f7
DM
440272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44028
7e4ba49c 44029 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44030 __bzero_ultra1 instead of __memset_ultra1.
44031
4bff6e01
AS
440322011-02-23 Andreas Schwab <schwab@redhat.com>
44033 Ulrich Drepper <drepper@gmail.com>
44034
44035 [BZ #12509]
44036 * include/link.h (struct link_map): Add l_orig_initfini.
44037 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44038 returning unsuccessfully.
44039 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44040 close of a file loaded at startup, restore the original l_initfini
44041 list.
44042 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44043 list, store the pointer.
44044 * elf/Makefile ($(objpfx)noload-mem): New rule.
44045 (noload-ENV): Define.
44046 (tests): Add $(objpfx)noload-mem.
44047 * elf/noload.c: Include <memcheck.h>.
44048 (main): Call mtrace. Close all opened handles.
44049
f2092faf
AS
440502011-02-17 Andreas Schwab <schwab@redhat.com>
44051
44052 [BZ #12454]
44053 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44054 dependencies are missing.
44055
6c8a2e88
ST
440562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44057
f2092faf 44058 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44059 Hurd needs munmap.
44060 * sysdeps/mach/hurd/ifreq.h: New file.
44061
84a42118
PB
440622011-01-27 Petr Baudis <pasky@suse.cz>
44063 Ulrich Drepper <drepper@gmail.com>
44064
071f805e 44065 [BZ 12445]#
84a42118
PB
44066 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44067 to extend_alloca().
44068 * stdio-common/bug23.c: New file.
44069 * stdio-common/Makefile (tests): Add bug23.
44070
e23fe25b
AS
440712010-09-28 Andreas Schwab <schwab@redhat.com>
44072 Ulrich Drepper <drepper@gmail.com>
44073
44074 [BZ #12489]
44075 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44076 before performing relro protection. At old place add assertion
44077 to make sure nothing changed.
44078
d3f02e10
NS
440792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44080 Glauber de Oliveira Costa <glommer@gmail.com>
44081
44082 * elf/elf.h: Add new ARM TLS relocs.
44083
d55fd7a5
RA
440842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44085
44086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44087 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44088 cast from r3.
44089 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44090 'tests' variable.
44091 * sysdeps/wordsize-64/tst-writev.c: New file.
44092
2206397e
RA
440932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44094
44095 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44096 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44097 insns in _dl_start to prevent a TOC reference before relocs are
44098 resolved.
44099
e9433893
UD
441002011-02-15 Ulrich Drepper <drepper@gmail.com>
44101
44102 [BZ #12469]
44103 * Makeconfig: Remove RANLIB definition.
44104 * Makerules: Don't use RANLIB.
44105 * aclocal.m4: Remove ranlib test.
44106 * configure.in: No need to check for ranlib.
44107 * elf/rtld-Rules: Don't use RANLIB.
44108
f75286c6
ST
441092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44110
8e31c82d
ST
44111 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44112 protection macro.
44113 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44114 inclusion protection macro.
44115
f75286c6
ST
44116 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44117 SIGRTMIN and SIGRTMAX and print information in that case only when
44118 SIGRTMIN is defined.
44119
c1d0e639
JJ
441202011-02-11 Jakub Jelinek <jakub@redhat.com>
44121
44122 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44123 arginfo fn returning -1.
44124
44125 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44126 and thousands string is zero terminated.
44127
edf9294e
AS
441282011-02-03 Andreas Schwab <schwab@redhat.com>
44129
44130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44131 sysdeps/unix/sysv/linux/bits/socket.h.
44132
2b7e92df
ST
441332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44134
edf9294e
AS
44135 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44136 (__CPU_COUNT): Remove old macros.
44137 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44138 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44139 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44140 (__sched_cpualloc, __sched_cpufree): Add declarations.
44141
a4c7ea7b
UD
441422011-02-05 Ulrich Drepper <drepper@gmail.com>
44143
44144 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44145 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44146 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44147 (readdhstai): Return value of addhstaiX call.
44148 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44149 (addgrbyX): Return value returned by cache_addgr.
44150 (readdgrbyname): Return value returned by addgrbyX.
44151 (readdgrbygid): Likewise.
44152 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44153 (addpwbyX): Return value returned by cache_addpw.
44154 (readdpwbyname): Return value returned by addhstbyX.
44155 (readdpwbyuid): Likewise.
44156 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44157 (addservbyX): Return value returned by cache_addserv.
44158 (readdservbyname): Return value returned by addservbyX:
44159 (readdservbyport): Likewise.
44160 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44161 (addhstbyX): Return value returned by cache_addhst.
44162 (readdhstbyname): Return value returned by addhstbyX.
44163 (readdhstbyaddr): Likewise.
44164 (readdhstbynamev6): Likewise.
44165 (readdhstbyaddrv6): Likewise.
44166 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44167 (readdinitgroups): Return value returned by addinitgroupsX.
44168 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44169 (prune_cache): Keep track of timeout value of re-added entries.
44170 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44171 * nscd/nscd.h: Adjust prototypes of readd* functions.
44172
a0bf67cc
RM
441732011-02-04 Roland McGrath <roland@redhat.com>
44174
44175 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44176 (nis_stats): Likewise.
44177 * nis/nis_modify.c (nis_modify): Likewise.
44178 * nis/nis_remove.c (nis_remove): Likewise.
44179 * nis/nis_add.c (nis_add): Likewise.
44180
44181 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44182
44183 * posix/fnmatch_loop.c: Add some consts.
44184
44185 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44186
435b95eb
L
441872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44188
44189 [BZ #12460]
44190 * config.make.in (config-cflags-novzeroupper): Define.
44191 * configure.in: Substitute libc_cv_cc_novzeroupper.
44192 * elf/Makefile (AVX-CFLAGS): Define.
44193 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44194 (CFLAGS-tst-auditmod4a.c): Likewise.
44195 (CFLAGS-tst-auditmod4b.c): Likewise.
44196 (CFLAGS-tst-auditmod6b.c): Likewise.
44197 (CFLAGS-tst-auditmod6c.c): Likewise.
44198 (CFLAGS-tst-auditmod7b.c): Likewise.
44199 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44200
8517b15e
UD
442012011-02-02 Ulrich Drepper <drepper@gmail.com>
44202
44203 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44204 function to the callback.
44205 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44206
10a656fe
AS
442072011-02-02 Andreas Schwab <schwab@redhat.com>
44208
44209 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44210 of errno.
44211
968dad0a
UD
442122011-01-19 Ulrich Drepper <drepper@gmail.com>
44213
9f94d2ea 44214 [BZ #11724]
968dad0a
UD
44215 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44216 of constructors.
44217 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44218 of destructors.
44219 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44220
44221 [BZ #11724]
44222 * elf/Makefile: Add rules to build and run new test.
44223 * elf/tst-initorder.c: New file.
44224 * elf/tst-initorder.exp: New file.
44225 * elf/tst-initordera1.c: New file.
44226 * elf/tst-initordera2.c: New file.
44227 * elf/tst-initordera3.c: New file.
44228 * elf/tst-initordera4.c: New file.
44229 * elf/tst-initorderb1.c: New file.
44230 * elf/tst-initorderb2.c: New file.
44231 * elf/tst-order-a1.c: New file.
44232 * elf/tst-order-a2.c: New file.
44233 * elf/tst-order-a3.c: New file.
44234 * elf/tst-order-a4.c: New file.
44235 * elf/tst-order-b1.c: New file.
44236 * elf/tst-order-b2.c: New file.
44237 * elf/tst-order-main.c: New file.
44238 New test case by George Gensure <werkt0@gmail.com>.
44239
86e92359
UD
442402010-10-01 Andreas Schwab <schwab@redhat.com>
44241
44242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44243 decoding ACE if AI_CANONIDN.
44244
5d5732b0
UD
442452011-01-18 Ulrich Drepper <drepper@gmail.com>
44246
44247 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44248
a77e8cbc
UD
442492011-01-17 Ulrich Drepper <drepper@gmail.com>
44250
6392473f
UD
44251 * version.h (RELEASE): Bump for 2.13 release.
44252 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44253
620a0529
UD
44254 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44255
18ba70a5
UD
44256 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44257 MADV_NOHUGEPAGE.
32465c3e
UD
44258 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44259 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44260 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44262 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44263 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44264
c0dafcf1
UD
44265 * posix/getconf.c: Update copyright year.
44266 * catgets/gencat.c: Likewise.
44267 * csu/version.c: Likewise.
44268 * debug/catchsegv.sh: Likewise.
44269 * debug/xtrace.sh: Likewise.
44270 * elf/ldconfig.c: Likewise.
44271 * elf/ldd.bash.in: Likewise.
44272 * elf/sprof.c (print_version): Likewise.
44273 * iconv/iconv_prog.c: Likewise.
44274 * iconv/iconvconfig.c: Likewise.
44275 * locale/programs/locale.c: Likewise.
44276 * locale/programs/localedef.c: Likewise.
44277 * malloc/memusage.sh: Likewise.
44278 * malloc/mtrace.pl: Likewise.
44279 * nscd/nscd.c (print_version): Likewise.
44280 * nss/getent.c: Likewise.
44281
a77e8cbc
UD
44282 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44283 PF_CAIF, and PF_ALG.
44284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44285
77e8bddf
AS
442862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44287
1f20b93a
AS
44288 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44289 (modules-names): Use them.
44290 (ifunc-test-modules, ifunc-pie-tests): Define.
44291 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44292 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44293 (test-extras): Likewise.
44294 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44295 $(compile-command.c).
44296 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44297 (all-built-dso): Define.
44298 (check-textrel.out, check-execstack.out): Depend on it.
44299
77e8bddf
AS
44300 * configure.in: Don't override --enable-multi-arch.
44301
bc425b33
UD
443022011-01-15 Ulrich Drepper <drepper@gmail.com>
44303
44304 [BZ #6812]
44305 * nscd/hstcache.c (tryagain): Define.
44306 (cache_addhst): Return tryagain not notfound for temporary errors.
44307 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44308 failed.
44309
794c3ad3
UD
443102011-01-14 Ulrich Drepper <drepper@gmail.com>
44311
70181fdd
UD
44312 [BZ #10563]
44313 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44314 to make the syscall.
44315 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44316
794c3ad3
UD
44317 [BZ #12378]
44318 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44319 and fall back to matching as normal character if the string ends before
44320 the matching ']' is found. This is what POSIX requires.
44321 * posix/testfnm.c: Adjust test result.
44322 * posix/globtest.sh: Adjust test result. Add new test.
44323 * posix/tst-fnmatch.input: Likewise.
44324 * posix/tst-fnmatch2.c: Add new test.
44325
68dc9497
AS
443262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44327
44328 * elf/Makefile (check-execstack): Revert last change. Depend on
44329 check-execstack.h.
44330 (check-execstack.h): New target.
44331 (generated): Add check-execstack.h.
44332 * elf/check-execstack.c: Include "check-execstack.h".
44333 (main): Revert last change.
44334 (handle_file): Return zero if GNU_STACK is absent and
44335 DEFAULT_STACK_PERMS doesn't include PF_X.
44336
451f001b
UD
443372011-01-13 Ulrich Drepper <drepper@gmail.com>
44338
cfa28e56
UD
44339 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44340 in child fails because the descriptor is already closed.
8cf8ce17
UD
44341 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44342 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44343 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44344
1086d70d
UD
44345 [BZ #12397]
44346 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44347 syscall.
44348
451f001b
UD
44349 [BZ #10484]
44350 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44351 temporary buffer used to handle multi lookups locally.
a85b5cb4 44352 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44353
08769175
UD
443542011-01-12 Ulrich Drepper <drepper@gmail.com>
44355
44356 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44357 loader is ld.so.
44358
5e49c52e
UD
443592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44360
44361 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44362 alignment for SSE2.
44363
60522a5f
UD
443642011-01-12 Ulrich Drepper <drepper@gmail.com>
44365
44366 [BZ #12394]
44367 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44368 characters. When rounding increased number of integer digits recompute
44369 number of groups.
44370 * stdio-common/tst-grouping.c: New file.
44371 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44372
f257bbd7
UD
443732011-01-09 Ulrich Drepper <drepper@gmail.com>
44374
44375 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44376 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44377
44378 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44379 void.
44380 * bits/select.h: Likewise.
44381
fa9c15cb
UD
443822011-01-08 Ulrich Drepper <drepper@gmail.com>
44383
44384 * po/ja.po: Update from translation team.
44385
16c2895f
DM
443862011-01-04 David S. Miller <davem@sunset.davemloft.net>
44387
44388 [BZ #11155]
44389 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44390 implementation just like for lxstat, fxstatat, et al.
44391
2543fef2
JM
443922010-12-27 Jim Meyering <meyering@redhat.com>
44393
44394 [BZ #12348]
44395 * posix/regexec.c (build_trtable): Return failure indication upon
44396 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44397
98727dbe
UD
443982010-12-25 Ulrich Drepper <drepper@gmail.com>
44399
5bd6dc5c
UD
44400 [BZ #12201]
44401 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44402 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44403 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44404 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44405
97983464
UD
44406 [BZ #12207]
44407 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44408
98727dbe
UD
44409 [BZ #12204]
44410 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44411 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44412
4a531bb0
L
444132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44414
44415 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44416 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44417 script has SORT_BY_INIT_PRIORITY.
44418 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44419 NO_CTORS_DTORS_SECTIONS is defined.
44420 * elf/soinit.c: Likewise.
44421 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44422 NO_CTORS_DTORS_SECTIONS is defined.
44423 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44424 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44425 * sysdeps/sh/init-first.c: Likewise.
44426 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44427
07eb4b71
UD
444282010-12-24 Ulrich Drepper <drepper@gmail.com>
44429
44430 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44431 always use the slow path.
44432
30950a5f
RA
444332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44434
44435 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44436 similar rule which adds the sysdep directories to the header search in
44437 order to pick up the correct platform stackinfo.h.
44438 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44439 perform test if it is, otherwise return successfully without testing.
44440 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44441 DEFAULT_STACK_PERMS define in stackinfo.h.
44442 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44443 defined in stackinfo.h.
44444 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44445 DEFAULT_STACK_PERMS defined in stackinfo.h.
44446 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44447 * sysdeps/ia64/stackinfo.h: Likewise.
44448 * sysdeps/s390/stackinfo.h: Likewise.
44449 * sysdeps/sh/stackinfo.h: Likewise.
44450 * sysdeps/sparc/stackinfo.h: Likewise.
44451 * sysdeps/x86_64/stackinfo.h: Likewise.
44452 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44453 PF_X for powerpc64. Retain PF_X for powerpc32.
44454
db753e2c
UD
444552010-12-19 Ulrich Drepper <drepper@gmail.com>
44456
14b697f7
UD
44457 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44458 accurately.
db753e2c
UD
44459 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44460 GETDENTS_64BIT_ALIGNED.
44461
28300719
UD
444622010-12-14 Ulrich Drepper <dreper@gmail.com>
44463
14b697f7 44464 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44465
4f197237
AS
444662010-12-10 Andreas Schwab <schwab@redhat.com>
44467
dbb0472f
AS
44468 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44469 _GNU_SOURCE.
44470
4f197237
AS
44471 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44472 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44473 Remove __restrict.
44474 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44475 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44476
fb88ac72
UD
444772010-12-09 Ulrich Drepper <drepper@gmail.com>
44478
44479 [BZ #11655]
44480 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44481 are initialized.
44482
42acbb92
JJ
444832010-12-09 Jakub Jelinek <jakub@redhat.com>
44484
44485 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44486
c038d98d
UD
444872010-12-03 Ulrich Drepper <drepper@gmail.com>
44488
44489 * po/it.po: Update from translation team.
44490
3a4a2499
L
444912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44492
44493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44494 unused codes.
44495
1e24cf6e
UD
444962010-11-30 Ulrich Drepper <drepper@gmail.com>
44497
44498 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44499
a7690819
AS
445002010-11-24 Andreas Schwab <schwab@redhat.com>
44501
44502 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44503 specially.
44504 (gaih_getanswer_slice): Likewise.
44505
3bf8d1b1
JJ
445062010-10-20 Jakub Jelinek <jakub@redhat.com>
44507
44508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44509
6db52fbb
PB
445102010-05-31 Petr Baudis <pasky@suse.cz>
44511
44512 [BZ #11149]
44513 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44514 silently even in the chroot mode.
44515
eaca7569
UD
445162010-11-22 Ulrich Drepper <drepper@gmail.com>
44517
44518 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44519 last patch a bit. Pretty printing
44520
3056dcdb
UD
445212010-05-31 Petr Baudis <pasky@suse.cz>
44522
44523 [BZ #10085]
44524 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44525 initialization of skip_initgroups_dyn.
44526
cf7c9078
UD
445272010-11-19 Ulrich Drepper <drepper@gmail.com>
44528
44529 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44530 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44531
a1fb5e3e
UD
445322010-11-16 Ulrich Drepper <drepper@gmail.com>
44533
44534 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44535
3540d66b
AS
445362010-11-11 Andreas Schwab <schwab@redhat.com>
44537
44538 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44539 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44540 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44541 ($(objpfx)tst-fnmatch-mem): New rule.
44542 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44543 * posix/tst-fnmatch.c (main): Call mtrace.
44544
13b69574
L
445452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44546
44547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44548 Support Intel processor model 6 and model 0x2c.
44549
da93d214
LM
445502010-11-10 Luis Machado <luisgpm@br.ibm.com>
44551
44552 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44553 signed comparison.
44554
8ca52c6e
L
445552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44556
44557 [BZ #12205]
44558 * string/test-strncasecmp.c (check_result): New function.
44559 (do_one_test): Use it.
44560 (check1): New function.
44561 (test_main): Use it.
44562 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44563 Support strcasecmp and strncasecmp.
44564
69da074d
UD
445652010-11-08 Ulrich Drepper <drepper@gmail.com>
44566
44567 [BZ #12194]
44568 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44569 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44570
ff02d528
L
445712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44572
44573 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44574 IFUNC support.
44575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44576 memset-x86-64.
44577 * sysdeps/x86_64/multiarch/bzero.S: New file.
44578 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44579 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44580 * sysdeps/x86_64/multiarch/memset.S: New file.
44581 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44583 Set bit_Prefer_SSE_for_memop for Intel processors.
44584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44585 Define.
44586 (index_Prefer_SSE_for_memop): Define.
44587 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44588
344d0b54
LM
445892010-11-04 Luis Machado <luisgpm@br.ibm.com>
44590
44591 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44592 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44593
c0dde15b
UD
445942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44595
44596 [BZ #12191]
44597 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44598 (__x86_64_raw_data_cache_size_half): Likewise.
44599 (__x86_64_raw_shared_cache_size): Likewise.
44600 (__x86_64_raw_shared_cache_size_half): Likewise.
44601
44602 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44603 (__x86_64_raw_data_cache_size_half): Likewise.
44604 (__x86_64_raw_shared_cache_size): Likewise.
44605 (__x86_64_raw_shared_cache_size_half): Likewise.
44606 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44607 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44608 and __x86_64_raw_shared_cache_size_half. Round
44609 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44610 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44611 to multiple of 256 bytes.
44612
0e516e0e
MS
446132010-11-03 Ulrich Drepper <drepper@gmail.com>
44614
44615 [BZ #12167]
44616 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44617 of inacessible symlinks. Verify result of symlink before returning it.
44618 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44619 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44620
0e012e87
ER
446212010-10-28 Erich Ritz <erichritz@gmail.com>
44622
44623 * math/math.h (isinf): Fix typo in comment.
44624
de0ff7bc
UD
446252010-11-01 Ulrich Drepper <drepper@gmail.com>
44626
44627 * po/da.po: Update from translation team.
44628
fa41c84d
UD
446292010-10-26 Ulrich Drepper <drepper@gmail.com>
44630
44631 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44632 is added to the list.
44633
f0967738
AK
446342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44635 Ulrich Drepper <drepper@gmail.com>
44636
44637 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44638 the global list here. Move code to...
44639 (_dl_add_to_namespace_list): ...here. New function.
44640 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44641 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44642 * elf/dl-load.c (lose): Don't remove the element from the list.
44643 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44644 (_dl_map_object): Likewise.
44645
446462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44647
44648 [BZ #12159]
44649 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44650 into all bytes of SSE register.
44651 Patch by Richard Li <richardpku@gmail.com>.
44652
f0967738 446532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44654
44655 [BZ #12140]
44656 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44657 perturbing.
44658
d0b9e94f
MB
446592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44660
44661 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44662 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44663 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44664 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44666 submachine.
44667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44668
8e9f92e9
AS
446692010-10-22 Andreas Schwab <schwab@redhat.com>
44670
44671 * include/dlfcn.h (__RTLD_SECURE): Define.
44672 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44673 mode & __RTLD_SECURE instead.
44674 (open_path): Rename preloaded parameter to secure.
44675 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44676 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44677 * elf/dl-deps.c (openaux): Likewise.
44678 * elf/rtld.c (struct map_args): Remove is_preloaded.
44679 (map_doit): Don't use it.
44680 (dl_main): Likewise.
44681 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44682 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44683
bc96fbda
AS
446842010-09-09 Andreas Schwab <schwab@redhat.com>
44685
44686 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44687 (sysd-rules-targets): Remove duplicates.
44688 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44689 rtld-%.$o dependency.
44690
22cd1c9b
AS
446912010-10-18 Andreas Schwab <schwab@redhat.com>
44692
44693 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44694 _dl_map_object do it.
44695
18edac48
UD
446962010-10-19 Ulrich Drepper <drepper@gmail.com>
44697
44698 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44699 fast fma builtins, define the macros in the C99 standard.
44700 (FP_FAST_FMAF): Likewise.
44701 (FP_FAST_FMAL): Likewise.
44702 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44703
44704 * bits/mathdef.h: Update copyright year.
44705 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44706
d2050124
MM
447072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44708
44709 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44710 builtins, define the macros in the C99 standard.
44711 (FP_FAST_FMAF): Likewise.
44712 (FP_FAST_FMAL): Likewise.
44713 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44714 multiply/add.
44715 (FP_FAST_FMAF): Likewise.
44716
475facd1
JJ
447172010-10-15 Jakub Jelinek <jakub@redhat.com>
44718
44719 [BZ #3268]
44720 * math/libm-test.inc (fma_test): Some new testcases.
44721 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44722 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44723 y and infinite z. Do multiplication by C already in long double.
44724 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44726 y and infinite z. Do bitwise or of inexact bit into u.d.
44727 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44728 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44729 * sysdeps/i386/fpu/s_fma.S: Removed.
44730 * sysdeps/i386/fpu/s_fmal.S: Removed.
44731
7c08a05c
JJ
447322010-10-16 Jakub Jelinek <jakub@redhat.com>
44733
44734 [BZ #3268]
44735 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44737 computation is not scheduled after fetestexcept. Fix value
44738 of minimum denormal long double.
44739
f3f7372d
JJ
447402010-10-14 Jakub Jelinek <jakub@redhat.com>
44741
44742 [BZ #3268]
44743 * math/libm-test.inc (fma_test): Add some more tests.
44744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44745 correctly.
44746
14d43591
AS
447472010-10-15 Andreas Schwab <schwab@redhat.com>
44748
44749 * scripts/data/localplt-s390-linux-gnu.data: New file.
44750 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44751
5e908464
JJ
447522010-10-13 Jakub Jelinek <jakub@redhat.com>
44753
44754 [BZ #3268]
44755 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44756 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44757 instead of dbl-64.
44758 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44759 inlines.
44760 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44762 if one of x and y is very large and the other is subnormal.
44763 * sysdeps/s390/fpu/s_fmaf.c: New file.
44764 * sysdeps/s390/fpu/s_fma.c: New file.
44765 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44766 * sysdeps/powerpc/fpu/s_fma.S: New file.
44767 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44768 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44769 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44770
447712010-10-12 Jakub Jelinek <jakub@redhat.com>
44772
44773 [BZ #3268]
44774 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44775 fma tests.
44776 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44777 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44778 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44779 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44780 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44781 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44782 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44783
b833d51f
UD
447842010-10-12 Ulrich Drepper <drepper@redhat.com>
44785
44786 [BZ #12078]
44787 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44788 * posix/bug-regex31.input: Add test case.
44789
1751705d
UD
447902010-10-11 Ulrich Drepper <drepper@gmail.com>
44791
e9b9cbf5
UD
44792 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44793 * posix/bug-regex31.input: New file.
44794
44795 [BZ #12078]
44796 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44797 (parse_sub_exp): Fix last change, use postorder.
44798
ef06edbe
UD
44799 * posix/bug-regex31.c: New file.
44800 * posix/Makefile: Add rules to build and run bug-regex31.
44801
a129c80d
UD
44802 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44803
44804 [BZ #12078]
44805 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44806
b76b818e
UD
44807 [BZ #12108]
44808 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44809 to have entries in sys_siglist.
44810
1751705d
UD
44811 [BZ #12093]
44812 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44813 be NULL.
44814
9ff8d36f
JJ
448152010-10-07 Jakub Jelinek <jakub@redhat.com>
44816
44817 [BZ #3268]
44818 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44819 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44820 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44821 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44822 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44823 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44824 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44825 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44826 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44827 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44828 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44829 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44830 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44831 * math/ftestexcept.c (fetestexcept): Likewise.
44832 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44833 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44834 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44835 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44836 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44837 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44838 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44839
af325969
UD
448402010-10-11 Ulrich Drepper <drepper@gmail.com>
44841
c579b202 44842 [BZ #12107]
af325969
UD
44843 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44844 newline.
44845
67a67b95
UD
448462010-10-06 Ulrich Drepper <drepper@gmail.com>
44847
44848 * string/bug-strstr1.c: New file.
44849 * string/Makefile: Add rules to build and run bug-strstr1.
44850
5fb308bc
EB
448512010-10-05 Eric Blake <eblake@redhat.com>
44852
44853 [BZ #12092]
44854 * string/str-two-way.h (two_way_long_needle): Always clear memory
44855 when skipping input due to the shift table.
44856
45db99c7
UD
448572010-10-03 Ulrich Drepper <drepper@gmail.com>
44858
3b111893
UD
44859 [BZ #12005]
44860 * malloc/mcheck.c: Handle large requests.
44861
45db99c7
UD
44862 [BZ #12077]
44863 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44864 for strncmp and strncasecmp.
44865 * string/stratcliff.c: Add tests for strcmp and strncmp.
44866 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44867
cf7a1eb8
NI
448682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44869
44870 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44871 __set_fpscr.
44872
6484ba5e
AJ
448732010-09-30 Andreas Jaeger <aj@suse.de>
44874
44875 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44876 (CGROUP_SUPER_MAGIC): Define.
44877 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44878 Handle btrfs and cgroup file systems.
44879 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44880 Likewise.
44881
91c42559
LM
448822010-09-27 Luis Machado <luisgpm@br.ibm.com>
44883
44884 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44885 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44886
87a97932
AK
448872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44888
44889 [BZ #12067]
44890 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44891 trying to locate the ELF header.
44892
c21cc9bc
AS
448932010-09-27 Andreas Schwab <schwab@redhat.com>
44894
44895 [BZ #11611]
44896 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44897 Mask out sign-bit copies when constructing f_fsid.
44898
315970f6
PB
448992010-09-24 Petr Baudis <pasky@suse.cz>
44900
44901 * debug/stack_chk_fail_local.c: Add missing licence exception.
44902 * debug/warning-nop.c: Likewise.
44903
1ac7a2c7
JM
449042010-09-15 Joseph Myers <joseph@codesourcery.com>
44905
44906 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44907 implementing getdents64 using getdents syscall, set d_type if
44908 __ASSUME_GETDENTS32_D_TYPE.
44909
56801c50
AS
449102010-09-16 Andreas Schwab <schwab@redhat.com>
44911
44912 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44913 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44914
dda51327
UD
449152010-09-21 Ulrich Drepper <drepper@redhat.com>
44916
44917 [BZ #12037]
44918 * posix/unistd.h: Undo change of feature selection for ftruncate from
44919 2010-01-11.
44920
8ffcee4a
UD
449212010-09-20 Ulrich Drepper <drepper@redhat.com>
44922
a545ecd9 44923 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44924 detection.
44925
e24f0a8b
AS
449262010-09-20 Andreas Schwab <schwab@redhat.com>
44927
44928 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44929 fanotify_mark.
44930 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44931
7291c56f
AS
449322010-09-14 Andreas Schwab <schwab@redhat.com>
44933
44934 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44935 variables after CHECK_SP call.
44936 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44937
bc5fb037
AS
449382010-09-13 Andreas Schwab <schwab@redhat.com>
44939 Ulrich Drepper <drepper@redhat.com>
44940
44941 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44942 re-relocationg ld.so.
44943 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44944 _dl_init_paths call.
44945 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44946 here anymore.
44947
e66e7419
UD
449482010-09-14 Ulrich Drepper <drepper@redhat.com>
44949
44950 * resolv/res_init.c (__res_vinit): Count the default server we added.
44951
c044aa75
CLT
449522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44953 Ulrich Drepper <drepper@redhat.com>
44954
44955 [BZ #11968]
44956 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44957 (____longjmp_chk): Use %ebx for saving value across system call.
44958 Add unwind info.
44959
32cf4069
AS
449602010-09-06 Andreas Schwab <schwab@redhat.com>
44961
44962 * manual/Makefile: Don't mix pattern rules with normal rules.
44963
817328ee
AS
449642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44965
44966 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44967 operation.
44968 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44969 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44970 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44971 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44972 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44973 Likewise.
44974
29fddf61
UD
449752010-09-04 Ulrich Drepper <drepper@redhat.com>
44976
44977 [BZ #11979]
44978 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44979 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44980
0959ffc9
UD
449812010-09-02 Ulrich Drepper <drepper@redhat.com>
44982
44983 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44984 * sysdeps/x86_64/addmul_1.S: Likewise.
44985 * sysdeps/x86_64/lshift.S: Likewise.
44986 * sysdeps/x86_64/mul_1.S: Likewise.
44987 * sysdeps/x86_64/rshift.S: Likewise.
44988 * sysdeps/x86_64/sub_n.S: Likewise.
44989 * sysdeps/x86_64/submul_1.S: Likewise.
44990
ece29840
ST
449912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44992
0959ffc9
UD
44993 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44994 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44995 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44996 * bits/sched.h [__need_schedparam]
ece29840 44997 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44998 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44999 (__defined_schedparam): Define to 1.
ece29840
ST
45000 (__sched_param): New structure, identical to sched_param.
45001 (__need_schedparam): Undefine.
45002
e53a31fe
MF
450032010-08-31 Mike Frysinger <vapier@gentoo.org>
45004
fdc0c10d
MF
45005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45006 (epoll_create1): Declare.
45007
e53a31fe
MF
45008 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45009
a726d796
AS
450102010-08-31 Andreas Schwab <schwab@redhat.com>
45011
45012 [BZ #7066]
45013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45014 shifting retval into place.
45015
2f3e3dc7
UD
450162010-09-01 Ulrich Drepper <drepper@redhat.com>
45017
f2933da9
UD
45018 * nis/rpcsvc/nis.h: Update copyright notice.
45019 * nis/rpcsvc/nis.x: Likewise.
45020 * nis/rpcsvc/nis_callback.h: Likewise.
45021 * nis/rpcsvc/nis_callback.x: Likewise.
45022 * nis/rpcsvc/nis_object.x: Likewise.
45023 * nis/rpcsvc/nis_tags.h: Likewise.
45024 * nis/rpcsvc/yp.h: Likewise.
45025 * nis/rpcsvc/yp.x: Likewise.
45026 * nis/rpcsvc/ypupd.h: Likewise.
45027 * nis/yp_xdr.c: Likewise.
45028 * nis/ypupdate_xdr.c: Likewise.
45029
2f3e3dc7
UD
45030 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45031 mainly the body of pmap_getport. Add parameters to specify timeouts.
45032 (pmap_getport): Use __libc_rpc_getport.
45033 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45034 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45035 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45036
f3dcc2f9
AS
450372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45038
45039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45040 fanotify_mark.
45041
6d34eb5b
RM
450422010-08-27 Roland McGrath <roland@redhat.com>
45043
45044 * sysdeps/i386/i686/multiarch/Makefile
45045 (CFLAGS-varshift.c): New variable.
45046
9ea3de11
UD
450472010-08-27 Ulrich Drepper <drepper@redhat.com>
45048
c96d23fc
UD
45049 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45050 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45051
9ea3de11
UD
45052 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45053
45054 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45055
623aac7f
L
450562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45057
45058 * sysdeps/x86_64/strlen.S: Unroll the loop.
45059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45060 strlen-sse2 strlen-sse2-bsf.
45061 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45062 __strlen_no_bsf if bit_Slow_BSF is set.
45063 (__strlen_sse42): Removed.
45064 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45065 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45066
8b2b7715
RM
450672010-08-25 Roland McGrath <roland@redhat.com>
45068
45069 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45070 * sysdeps/x86_64/multiarch/varshift.c: New file.
45071 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45072 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45073 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45074 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45075
e73015f2
L
450762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45077
45078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45079 strlen-sse2 strlen-sse2-bsf.
45080 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45081 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45082 (__strlen_sse2): Removed.
45083 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45086 bit_Slow_BSF for Atom.
45087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45088 (index_Slow_BSF): Define.
45089 (HAS_SLOW_BSF): Define.
45090
df24a73e
UD
450912010-08-25 Ulrich Drepper <drepper@redhat.com>
45092
45093 [BZ #10851]
45094 * resolv/res_init.c (__res_vinit): When no server address at all
45095 is given default to loopback.
45096
f2ac4868
RM
450972010-08-24 Roland McGrath <roland@redhat.com>
45098
09055553
RM
45099 * configure.in: Remove config-name.h generation.
45100 * configure: Regenerated.
45101 * config-name.in: File removed.
45102 * scripts/config-uname.sh: New file.
45103 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45104 ($(objdir)config-name.h): New target.
45105
f2ac4868
RM
45106 * sunrpc/rpc_parse.h: Avoid nested comment.
45107
73f27d5e
RH
451082010-08-24 Richard Henderson <rth@redhat.com>
45109 Ulrich Drepper <drepper@redhat.com>
45110 H.J. Lu <hongjiu.lu@intel.com>
45111
45112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45114 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45115 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45116 _mm_alignr_epi8 with _mm_loadu_si128.
45117 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45118 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45119 (__m128i_shift_right): Removed.
45120 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45121 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45122 * sysdeps/x86_64/multiarch/varshift.h: New file.
45123 * sysdeps/x86_64/multiarch/varshift.S: New file.
45124
84b9230c
MF
451252010-08-21 Mike Frysinger <vapier@gentoo.org>
45126
45127 * configure.in: Move assembler checks to before sysdep dir checking.
45128
9bbd0ddc
PB
451292010-08-20 Petr Baudis <pasky@suse.cz>
45130
45131 * LICENSES: Sync the sunrpc license.
45132
9da4bb31
UD
451332010-08-19 Ulrich Drepper <drepper@redhat.com>
45134
a7ab6ec8
UD
45135 * sunrpc/auth_des.c: Update copyright notice once again.
45136 * sunrpc/auth_none.c: Likewise.
45137 * sunrpc/auth_unix.c: Likewise.
45138 * sunrpc/authdes_prot.c: Likewise.
45139 * sunrpc/authuxprot.c: Likewise.
45140 * sunrpc/bindrsvprt.c: Likewise.
45141 * sunrpc/clnt_gen.c: Likewise.
45142 * sunrpc/clnt_perr.c: Likewise.
45143 * sunrpc/clnt_raw.c: Likewise.
45144 * sunrpc/clnt_simp.c: Likewise.
45145 * sunrpc/clnt_tcp.c: Likewise.
45146 * sunrpc/clnt_udp.c: Likewise.
45147 * sunrpc/clnt_unix.c: Likewise.
45148 * sunrpc/des_crypt.c: Likewise.
45149 * sunrpc/des_soft.c: Likewise.
45150 * sunrpc/get_myaddr.c: Likewise.
45151 * sunrpc/getrpcport.c: Likewise.
45152 * sunrpc/key_call.c: Likewise.
45153 * sunrpc/key_prot.c: Likewise.
45154 * sunrpc/openchild.c: Likewise.
45155 * sunrpc/pm_getmaps.c: Likewise.
45156 * sunrpc/pm_getport.c: Likewise.
45157 * sunrpc/pmap_clnt.c: Likewise.
45158 * sunrpc/pmap_prot.c: Likewise.
45159 * sunrpc/pmap_prot2.c: Likewise.
45160 * sunrpc/pmap_rmt.c: Likewise.
45161 * sunrpc/rpc/auth.h: Likewise.
45162 * sunrpc/rpc/auth_unix.h: Likewise.
45163 * sunrpc/rpc/clnt.h: Likewise.
45164 * sunrpc/rpc/des_crypt.h: Likewise.
45165 * sunrpc/rpc/key_prot.h: Likewise.
45166 * sunrpc/rpc/netdb.h: Likewise.
45167 * sunrpc/rpc/pmap_clnt.h: Likewise.
45168 * sunrpc/rpc/pmap_prot.h: Likewise.
45169 * sunrpc/rpc/pmap_rmt.h: Likewise.
45170 * sunrpc/rpc/rpc.h: Likewise.
45171 * sunrpc/rpc/rpc_des.h: Likewise.
45172 * sunrpc/rpc/rpc_msg.h: Likewise.
45173 * sunrpc/rpc/svc.h: Likewise.
45174 * sunrpc/rpc/svc_auth.h: Likewise.
45175 * sunrpc/rpc/types.h: Likewise.
45176 * sunrpc/rpc/xdr.h: Likewise.
45177 * sunrpc/rpc_clntout.c: Likewise.
45178 * sunrpc/rpc_cmsg.c: Likewise.
45179 * sunrpc/rpc_common.c: Likewise.
45180 * sunrpc/rpc_cout.c: Likewise.
45181 * sunrpc/rpc_dtable.c: Likewise.
45182 * sunrpc/rpc_hout.c: Likewise.
45183 * sunrpc/rpc_main.c: Likewise.
45184 * sunrpc/rpc_parse.c: Likewise.
45185 * sunrpc/rpc_parse.h: Likewise.
45186 * sunrpc/rpc_prot.c: Likewise.
45187 * sunrpc/rpc_sample.c: Likewise.
45188 * sunrpc/rpc_scan.c: Likewise.
45189 * sunrpc/rpc_scan.h: Likewise.
45190 * sunrpc/rpc_svcout.c: Likewise.
45191 * sunrpc/rpc_tblout.c: Likewise.
45192 * sunrpc/rpc_util.c: Likewise.
45193 * sunrpc/rpc_util.h: Likewise.
45194 * sunrpc/rpcinfo.c: Likewise.
45195 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45196 * sunrpc/rpcsvc/key_prot.x: Likewise.
45197 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45198 * sunrpc/rpcsvc/mount.x: Likewise.
45199 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45200 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45201 * sunrpc/rpcsvc/rex.x: Likewise.
45202 * sunrpc/rpcsvc/rstat.x: Likewise.
45203 * sunrpc/rpcsvc/rusers.x: Likewise.
45204 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45205 * sunrpc/rpcsvc/spray.x: Likewise.
45206 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45207 * sunrpc/rtime.c: Likewise.
45208 * sunrpc/svc.c: Likewise.
45209 * sunrpc/svc_auth.c: Likewise.
45210 * sunrpc/svc_authux.c: Likewise.
45211 * sunrpc/svc_raw.c: Likewise.
45212 * sunrpc/svc_run.c: Likewise.
45213 * sunrpc/svc_simple.c: Likewise.
45214 * sunrpc/svc_tcp.c: Likewise.
45215 * sunrpc/svc_udp.c: Likewise.
45216 * sunrpc/svc_unix.c: Likewise.
45217 * sunrpc/svcauth_des.c: Likewise.
45218 * sunrpc/xcrypt.c: Likewise.
45219 * sunrpc/xdr.c: Likewise.
45220 * sunrpc/xdr_array.c: Likewise.
45221 * sunrpc/xdr_float.c: Likewise.
45222 * sunrpc/xdr_mem.c: Likewise.
45223 * sunrpc/xdr_rec.c: Likewise.
45224 * sunrpc/xdr_ref.c: Likewise.
45225 * sunrpc/xdr_sizeof.c: Likewise.
45226 * sunrpc/xdr_stdio.c: Likewise.
45227
9da4bb31
UD
45228 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45229 handling.
45230
bdaa77bc
AS
452312010-08-19 Andreas Schwab <schwab@redhat.com>
45232
45233 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45234
fe2f79db
LM
452352010-08-19 Luis Machado <luisgpm@br.ibm.com>
45236
45237 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45238 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45239 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45240 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45241 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45242 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45243 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45244 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45245 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45246 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45247 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45248 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45249 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45250 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45251
b9b42ee0
AB
452522010-07-26 Anton Blanchard <anton@samba.org>
45253
45254 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45255 * malloc/arena.c (heap_trim): Likewise.
45256
1c06ba31
UD
452572010-08-16 Ulrich Drepper <drepper@redhat.com>
45258
45259 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45260 here. Not...
45261 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45262 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45263
f8392f40
L
452642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45265
45266 * sysdeps/i386/elf/Makefile: New file.
45267
3162f12e
AS
452682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45269
45270 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45271 from fanotify_init.
45272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45274
28c90b2c
UD
452752010-08-15 Ulrich Drepper <drepper@redhat.com>
45276
45277 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45278 of strncasecmp_l.
1feccb6c 45279 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45280
ca6bb004
UD
452812010-08-14 Ulrich Drepper <drepper@redhat.com>
45282
e9f82e0d
UD
45283 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45284 strncase_l-nonascii.
45285 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45286 Add strncase_l-ssse3.
45287 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45288 * sysdeps/x86_64/strcmp.S: Likewise.
45289 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45290 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45291 * sysdeps/x86_64/strncase.S: New file.
45292 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45293 * sysdeps/x86_64/strncase_l.S: New file.
45294 * string/Makefile (strop-tests): Add strncasecmp.
45295 * string/test-strncasecmp.c: New file.
45296
45297 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45298 warning.
45299
ca6bb004
UD
45300 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45301 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45302
052fa7b3
AS
453032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45304
45305 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45306
962dba78
UD
453072010-08-12 Ulrich Drepper <drepper@redhat.com>
45308
45309 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45310 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45311 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45312
bebff237
AM
453132010-05-01 Alan Modra <amodra@gmail.com>
45314
45315 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45316 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45317 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45318 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45319 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45320 tidying. Don't tail-call __sigjmp_save for static lib.
45321 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45322 save location.
45323 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45324 (CALL_MCOUNT): Add eh info, and nop after bl.
45325 (TAIL_CALL_SYSCALL_ERROR): New macro.
45326 (PSEUDO_RET): Use it.
45327 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45328 Correct save location of integer regs and cr.
45329 (_dl_profile_resolve): Correct cr save location. Delete nops
45330 after bl when SHARED. Reduce cfi size a little by better
45331 placement of cfi directives.
45332 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45333 make a stack frame. Instead use parm save area as a temp.
45334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45335 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45337 Don't make a stack frame for parent, use parm save area.
45338 Increase child stack frame to 112 bytes. Don't save unused reg,
45339 and adjust reg usage. Set up cfi on error recovery and
45340 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45342 (__makecontext): Add dummy nop after jump to exit.
45343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45344 Use correct parm save area and cr save, reduce stack frame.
45345 Correct cfi for possible PSEUDO_RET frame setup.
45346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45347 Branch to local label emitted by PSEUDO_RET rather than
45348 __syscall_error.
45349
02637374
AS
453502010-08-12 Andreas Schwab <schwab@redhat.com>
45351
45352 [BZ #11904]
45353 * locale/programs/locale.c (print_assignment): New function.
45354 (show_locale_vars): Use it.
45355
c3e2f19b
UD
453562010-08-11 Ulrich Drepper <drepper@redhat.com>
45357
3cdaa6ad
UD
45358 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45359 field.
45360 (struct statfs64): Likewise.
45361 (_STATFS_F_FLAGS): Define.
45362 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45364 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45365 (ST_VALID): Define locally.
45366 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45367 __statvfs_getflags, use the provided value.
45368 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45369 __ASSUME_STATFS_F_FLAGS.
45370
754f7da3
UD
45371 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45372
10b3bedc
UD
45373 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45374 Add sys/fanotify.h.
45375 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45376 fanotify_mask for GLIBC_2.13.
45377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45378 fanotify_init and fanotify_mark.
45379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45380 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45381
c08fb0d7
UD
45382 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45383 Add prlimit.
45384 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45385 prlimit64 for GLIBC_2.13.
45386 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45387 prlimit64.
45388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45389 syscall.
45390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45391 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45392 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45393 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45395 add prlimit alias.
45396 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45397
15bac72b
UD
45398 [BZ #11903]
45399 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45400 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45401
c3e2f19b
UD
45402 * nss/Makefile: Add rules to build and run tst-nss-test1.
45403 * shlib-versions: Add entry for libnss_test1.
45404 * nss/nss_test1.c: New file.
45405 * nss/tst-nss-test1.c: New file.
45406
45407 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45408 (__nss_configure_lookup): Set appropriate entry in
45409 __nss_configure_lookup to true.
45410 * nss/nsswitch.h: Define enum with indeces of databases in
45411 databases and __nss_database_custom arrays. Declare
45412 __nss_database_custom.
45413 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45414 to avoid using nscd when custom rules are installed.
45415 * nss/getXXbyYY_r.c: Likewise.
45416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45417
45418 * nss/nss_files/files-parse.c: Whitespace fixes.
45419
f15ce4d8
UD
454202010-08-09 Ulrich Drepper <drepper@redhat.com>
45421
45422 [BZ #11883]
45423 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45424 * posix/fnmatch_loop.c: Likewise.
45425
d22e4cc9
AK
454262010-07-17 Andi Kleen <ak@linux.intel.com>
45427
45428 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45429 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45430 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45431 * Versions.def [GLIBC_2.13]: Add.
45432
805bc17d
UD
454332010-08-06 Ulrich Drepper <drepper@redhat.com>
45434
45435 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45436 Also fail if tpwd after pwuid call is NULL.
45437
5a42321d
ST
454382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45439
45440 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45441 when converting to ms.
45442
fd3ebeda
ST
454432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45444
45445 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45446 EOPNOTSUPP errors with ENOTTY.
45447 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45448 EOPNOTSUPP errors with ENOTTY.
45449
73507d3a
UD
454502010-07-31 Ulrich Drepper <drepper@redhat.com>
45451
45452 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45453 Add strcasecmp_l-ssse3.
45454 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45455 strcasecmp.
45456 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45457 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45458 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45459
fe36dd02
UD
454602010-07-30 Ulrich Drepper <drepper@redhat.com>
45461
66f6765a
UD
45462 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45463
42e08a54
UD
45464 * string/Makefile (strop-tests): Add strcasecmp.
45465 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45466 strcasecmp_l-nonascii.
45467 (gen-as-const-headers): Add locale-defines.sym.
45468 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45469 * sysdeps/x86_64/strcasecmp.S: New file.
45470 * sysdeps/x86_64/strcasecmp_l.S: New file.
45471 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45472 * sysdeps/x86_64/locale-defines.sym: New file.
45473 * string/test-strcasecmp.c: New file.
45474
fe36dd02
UD
45475 * string/test-strcasestr.c: Test both ends of the range of characters.
45476 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45477
48cbc0d6
RM
454782010-07-29 Roland McGrath <roland@redhat.com>
45479
76e6d6bc 45480 [BZ #11856]
48cbc0d6
RM
45481 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45482
880113d9
UD
454832010-07-27 Ulrich Drepper <drepper@redhat.com>
45484
45485 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45486 for ld.so.
45487
deb9cabb
AS
454882010-07-27 Andreas Schwab <schwab@redhat.com>
45489
45490 * manual/memory.texi (Malloc Tunable Parameters): Document
45491 M_PERTURB.
45492
1c7570ff
RM
454932010-07-26 Roland McGrath <roland@redhat.com>
45494
45495 [BZ #11840]
45496 * configure.in (-fgnu89-inline check): Set and substitute
45497 gnu89_inline, not libc_cv_gnu89_inline.
45498 * configure: Regenerated.
45499 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45500
24fb0f88
UD
455012010-07-26 Ulrich Drepper <drepper@redhat.com>
45502
45503 * string/test-strnlen.c: New file.
45504 * string/Makefile (strop-tests): Add strnlen.
45505 * string/tester.c (test_strnlen): Add a few more test cases.
45506 * string/tst-strlen.c: Better error reporting.
45507
45508 * sysdeps/x86_64/strnlen.S: New file.
45509
8e96b93a
UD
455102010-07-24 Ulrich Drepper <drepper@redhat.com>
45511
45512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45513 lower-latency instructions.
45514
dbc676d4
UD
455152010-07-23 Ulrich Drepper <drepper@redhat.com>
45516
45517 * string/test-strcasestr.c: New file.
45518 * string/test-strstr.c: New file.
45519 * string/Makefile (strop-tests): Add strstr and strcasestr.
45520 * string/str-two-way.h: Don't undefine MAX.
45521 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45522
f6a31e0e
AS
455232010-07-21 Andreas Schwab <schwab@redhat.com>
45524
45525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45526 strcasestr-nonascii.
45527 (CFLAGS-strcasestr-nonascii.c): Define.
45528 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45529 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45530 Remove unused attribute.
45531
5dbc3b6c
RM
455322010-07-20 Roland McGrath <roland@redhat.com>
45533
45534 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45535 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45536 ld.so.cache was broken. With it, there is no way to disable dsocaps
45537 like LD_HWCAP_MASK can disable hwcaps.
45538
23d101d8
EPM
455392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45540
45541 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45542
cc9f2e47
UD
455432010-07-16 Ulrich Drepper <drepper@redhat.com>
45544
45545 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45546 call in strcasestr.
45547 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45548 __strcasestr_sse42_nonascii.
45549 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45550 strcasestr-nonascii.c.
45551 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45552
77c1b069
LM
455532010-06-15 Luis Machado <luisgpm@br.ibm.com>
45554
45555 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45556 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45557 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45559
440566c3
UD
455602010-07-09 Ulrich Drepper <drepper@redhat.com>
45561
45562 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45563 fcntl.
45564
5be9d05d
AS
455652010-07-06 Andreas Schwab <schwab@redhat.com>
45566
c30b7ee2 45567 [BZ #11577]
5be9d05d
AS
45568 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45569 dl_signal_cerror.
45570
8a492a67
UD
455712010-07-06 Ulrich Drepper <drepper@redhat.com>
45572
45573 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45574 _PC_PIPE_BUF using F_GETPIPE_SZ.
45575
713df3d5
RM
455762010-07-05 Roland McGrath <roland@redhat.com>
45577
45578 * manual/arith.texi (Rounding Functions): Fix rint description
45579 implicit in round description.
45580
702e8f14
UD
455812010-07-02 Ulrich Drepper <drepper@redhat.com>
45582
45583 * elf/Makefile: Fix linking for a few tests to make recent linker
45584 happy.
45585
52ed8be9
AS
455862010-06-30 Andreas Schwab <schwab@redhat.com>
45587
45588 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45589 $(common-objpfx)libc_nonshared.a.
45590
f47c9a11
LM
455912010-06-21 Luis Machado <luisgpm@br.ibm.com>
45592
45593 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45594 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45595 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45596 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45597 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45598 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45599 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45600 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45615 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45616 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45617 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45618 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45619 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45620 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45621 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45622 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45623 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45624 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45625 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45626 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45641
6fb8cbcb
L
456422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45643
45644 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45645 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45646 * string/memmove.c (memmove): Renamed to ...
45647 (MEMMOVE): ...this. Default to memmove.
45648 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45649 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45650 (END_CHK): Define.
45651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45652 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45653 mempcpy-ssse3-back memmove-ssse3-back.
45654 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45655 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45656 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45657 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45658 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45659 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45660 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45661 * sysdeps/x86_64/multiarch/memmove.c: New file.
45662 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45663 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45664 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45665 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45666 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45668 Define.
45669 (index_Fast_Copy_Backward): Define.
45670 (HAS_ARCH_FEATURE): Define.
45671 (HAS_FAST_REP_STRING): Define.
45672 (HAS_FAST_COPY_BACKWARD): Define.
45673
4e733bac 456742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45675
45676 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45677 Restore proper fallback handling.
45678
63c4ed22
UD
456792010-06-19 Ulrich Drepper <drepper@redhat.com>
45680
ac2b484c
UD
45681 [BZ #11701]
45682 * posix/group_member.c (__group_member): Correct checking loop.
45683
63c4ed22
UD
45684 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45685 OOM in getpwuid_r correctly. Return error number when the caller
45686 should return, otherwise -1.
45687 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45688 call returning > 0 value.
45689 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45690
765ade4b
AS
456912010-06-07 Andreas Schwab <schwab@redhat.com>
45692
45693 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45694 libc_nonshared.a from targets in modules-names.
45695
80da2e09
KS
456962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45697
45698 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45699 requires it.
45700
158db122
LM
457012010-06-10 Luis Machado <luisgpm@br.ibm.com>
45702
45703 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45704 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45706 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45707
caa78cf8
AS
457082010-06-02 Andreas Schwab <schwab@redhat.com>
45709
45710 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45711
b2ef2c01
UD
457122010-06-14 Ulrich Drepper <drepper@redhat.com>
45713
45714 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45715 and F_GETPIPE_SZ.
45716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45720 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45721 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45722
fbd643b6
RM
457232010-06-14 Roland McGrath <roland@redhat.com>
45724
45725 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45726
f32f2869
JJ
457272010-06-07 Jakub Jelinek <jakub@redhat.com>
45728
45729 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45730 __REDIRECT followed by __THROW.
45731 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45732 * posix/getopt.h (getopt): Likewise.
45733
2a50c078
EPM
457342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45735
45736 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45737 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45738 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45739 in AT_FLAGS.
45740 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45741 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45742
eb5ad2eb
LM
457432010-05-28 Luis Machado <luisgpm@br.ibm.com>
45744
45745 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45746
3c88fe1e
L
457472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45748
45749 [BZ #11640]
45750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45751 Properly check family and model.
45752
d2f73151
TY
457532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45754
45755 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45756
ebd2e13d
LM
457572010-05-24 Luis Machado <luisgpm@br.ibm.com>
45758
45759 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45760
b32b8b45
UD
457612010-05-21 Ulrich Drepper <drepper@redhat.com>
45762
45763 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45764 symbol reference.
45765
9acbe24d
AS
457662010-05-19 Andreas Schwab <schwab@redhat.com>
45767
45768 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45769 symbol reference.
45770
f0ccf6ea
AS
457712010-05-21 Andreas Schwab <schwab@redhat.com>
45772
3d04ff3a
AS
45773 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45774 and internal_recvmmsg.
45775 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45776 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45777 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45778 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45779
f0ccf6ea
AS
45780 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45781 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45782 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45783
5b08ac57
AS
457842010-05-20 Andreas Schwab <schwab@redhat.com>
45785
45786 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45787
4828935d
LM
457882010-05-17 Luis Machado <luisgpm@br.ibm.com>
45789
45790 POWER7 optimizations.
45791 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45792 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45793
373d545e
UD
457942010-05-19 Ulrich Drepper <drepper@redhat.com>
45795
45796 * version.h: Update for 2.13 development version.
45797
21a2b1ae
AS
457982010-05-12 Andrew Stubbs <ams@codesourcery.com>
45799
45800 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45801 exceptions. Return 0.
45802
3f7dcb2b
RM
458032010-05-07 Roland McGrath <roland@redhat.com>
45804
45805 * elf/ldconfig.c (main): Add a const.
45806
5f24d53a 458072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45808
a160f8d8
UD
45809 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45810 (args_options): Add no-idn option.
45811 (ahosts_keys_int): Add idn_flags to ai_flags.
45812 (parse_option): Handle 'i' option to clear idn_flags.
45813
5f24d53a
UD
45814 * malloc/malloc.c (_int_free): Possible race in the most recently
45815 added check. Only act on the data if no current modification
45816 happened.
265bb1ce
UD
45817
45818See ChangeLog.17 for earlier changes.