]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: Optimized strcmp for PPC64/POWER7
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e23d3d26
VR
12014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5 multiarch strcmp for PPC64.
6 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9 multiarch optimizations.
10 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11 (__libc_ifunc_impl_list): Likewise.
12
42b1161e
SP
132014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14
15 * benchtests/scripts/validate_benchout.py: New script.
16 * benchtests/Makefile (bench-func): Call it.
17 * benchtests/scripts/benchout.schema.json: New file.
18
2d0fc4dc
CM
192014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20
4a594c34
AZ
21 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
22 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
23 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
28 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 38 Moved ...
4a594c34 39 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 40 ... here.
4a594c34 41 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 42 Moved ...
4a594c34
AZ
43 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 45 Moved ...
4a594c34 46 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 47 ... here.
4a594c34 48 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 49 Moved ...
4a594c34 50 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 51 ... here.
4a594c34 52 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 53 Moved ...
4a594c34
AZ
54 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
55 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 56 Moved ...
4a594c34 57 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 58 ... here.
4a594c34 59 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 60 Moved ...
4a594c34 61 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 62 ... here.
4a594c34 63 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 64 Moved ...
4a594c34
AZ
65 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
66 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 67 Moved ...
4a594c34 68 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 69 ... here.
4a594c34 70 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 71 Moved ...
4a594c34 72 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 73 ... here.
4a594c34 74 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 75 Moved ...
4a594c34 76 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 77 ... here.
4a594c34 78 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 79 Moved ...
4a594c34
AZ
80 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
81 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 82 Moved ...
4a594c34 83 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 84 ... here.
4a594c34 85 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 86 Moved ...
4a594c34 87 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 88 ... here.
4a594c34 89 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 90 Moved ...
4a594c34 91 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 92 ... here.
4a594c34 93 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 94 Moved ...
4a594c34
AZ
95 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
96 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 97 Moved ...
4a594c34 98 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 99 ... here.
4a594c34 100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 101 Moved ...
4a594c34 102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 103 ... here.
4a594c34 104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 105 Moved ...
4a594c34
AZ
106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 108 Moved ...
4a594c34 109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 110 ... here.
4a594c34 111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 112 Moved ...
4a594c34
AZ
113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 115 Moved ...
4a594c34
AZ
116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 118 Moved ...
4a594c34 119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 120 ... here.
4a594c34 121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 122 Moved ...
4a594c34 123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 124 ... here.
4a594c34 125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 126 Moved ...
4a594c34 127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 128 ... here.
4a594c34 129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 130 Moved ...
4a594c34
AZ
131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 133 Moved ...
4a594c34 134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 135 ... here.
4a594c34 136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 137 Moved ...
4a594c34 138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 139 ... here.
4a594c34
AZ
140 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
141 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
142 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
144 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 145 Moved ...
4a594c34 146 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 147 ... here.
4a594c34
AZ
148 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
149 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
150 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
152 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
153 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
154 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
155 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
156 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
158 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
159 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
160 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 161 Moved ...
4a594c34
AZ
162 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 164 Moved ...
4a594c34
AZ
165 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
167 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 169 Moved ...
4a594c34
AZ
170 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
173 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
174 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
175 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
176 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 177
0570cfed
W
1782014-06-10 Wilco <wdijkstr@arm.com>
179
180 * math/test-fenv-return.c: New file.
181 * math/Makefile: Add new test test-fenv-return.
182
f8ba1b56
JM
1832014-06-10 Joseph Myers <joseph@codesourcery.com>
184
185 [BZ #17042]
186 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
187 when x - 1 is zero.
188 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
189 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
190 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
191 0.0L for an argument of 1.0L.
192 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
193 Likewise.
194 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
195 value when x - 1 is zero.
196 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
197 * sysdeps/i386/fpu/libm-test-ulps: Update.
198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
199
2c3520d9
BO
2002014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
201
202 [BZ #15119]
203 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
204
acaa4d24
RM
2052014-06-09 Roland McGrath <roland@hack.frob.com>
206
207 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
208 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
209
962b744d
RM
2102014-06-09 Roland McGrath <roland@hack.frob.com>
211
d752f0cc
RM
212 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
213 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
214
34eda6d1
RM
215 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
216 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
217
50f0a637
RM
218 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
219 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
220
08f41f04
RM
221 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
222 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
223
962b744d
RM
224 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
225 if not already defined.
226 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
227 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
228 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
229 (TLS_INIT_TP): Use it.
230 (TLS_DEFINE_INIT_TP): New macro.
231 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
232
09f19b05
JM
2332014-06-09 Joseph Myers <joseph@codesourcery.com>
234
235 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
236 constant.
237 [POSIX] (IXANY): Likewise.
238 [POSIX] (OLCUC): Likewise.
239 [POSIX || POSIX2008] (CBAUD): Do not allow.
240 [POSIX || POSIX2008] (DEFECHO): Likewise.
241 [POSIX || POSIX2008] (ECHOCTL): Likewise.
242 [POSIX || POSIX2008] (ECHOKE): Likewise.
243 [POSIX || POSIX2008] (ECHOPRT): Likewise.
244 [POSIX || POSIX2008] (EXTA): Likewise.
245 [POSIX || POSIX2008] (EXTB): Likewise.
246 [POSIX || POSIX2008] (FLUSHO): Likewise.
247 [POSIX || POSIX2008] (LOBLK): Likewise.
248 [POSIX || POSIX2008] (PENDIN): Likewise.
249 [POSIX || POSIX2008] (SWTCH): Likewise.
250 [POSIX || POSIX2008] (VDISCARD): Likewise.
251 [POSIX || POSIX2008] (VDSUSP): Likewise.
252 [POSIX || POSIX2008] (VLNEXT): Likewise.
253 [POSIX || POSIX2008] (VREPRINT): Likewise.
254 [POSIX || POSIX2008] (VSTATUS): Likewise.
255 [POSIX || POSIX2008] (VWERASE): Likewise.
256 (B*): Change to B[0123456789]*.
257 * conform/data/time.h-data [POSIX || UNIX98]
258 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
259 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
260 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
261 [POSIX] (tm_*): Do not allow.
262
686554bf
JM
2632014-06-07 Joseph Myers <joseph@codesourcery.com>
264
265 * Makefile (install): Don't set LANGUAGE.
266 * Makefile.in (install): Likewise.
267 * assert/Makefile (test-assert-ENV): Remove variable.
268 (test-assert-perr-ENV): Likewise.
269 * elf/Makefile (neededtest4-ENV): Likewise.
270 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
271 [$(cross-compiling) = no]: Don't set LANGUAGE.
272 * io/ftwtest-sh (LANG): Remove variable.
273 * libio/Makefile (tst-widetext-ENV): Likewise.
274 * manual/install.texi (Running make install): Don't refer to
275 environment settings for make install.
276 * INSTALL: Regenerated.
277 * nptl/tst-tls6.sh: Don't set LANG.
278 * posix/globtest.sh (LANG): Remove variable.
279 * string/Makefile (tester-ENV): Likewise.
280 (inl-tester-ENV): Likewise.
281 (noinl-tester-ENV): Likewise.
282 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
283 [$(cross-compiling) = no]: Don't set LANGUAGE.
284 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
285 without explicit environment settings.
286
68e6b6b1
RM
2872014-06-06 Roland McGrath <roland@hack.frob.com>
288
289 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
290 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
291 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
292 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
293
4d3ae034
CM
2942014-06-06 Chris Metcalf <cmetcalf@tilera.com>
295
296 * crypt/crypt-private.h [DOS]: Add some includes taken from the
297 other files in the crypt directory.
298 * crypt/crypt.c: Remove duplicate includes.
299 * crypt/crypt-entry.c: Likewise.
300 * crypt/crypt_util.c: Likewise.
301
8540f6d2
JM
3022014-06-06 Joseph Myers <joseph@codesourcery.com>
303
304 * Makeconfig (run-program-env): New variable.
305 (run-program-prefix-before-env): Likewise.
306 (run-program-prefix-after-env): Likewise.
307 (run-program-prefix): Define in terms of new variables.
308 (built-program-cmd-before-env): New variable.
309 (built-program-cmd-after-env): Likewise.
310 (built-program-cmd): Define in terms of new variables.
311 (test-program-prefix-before-env): New variable.
312 (test-program-prefix-after-env): Likewise.
313 (test-program-prefix): Define in terms of new variables.
314 (test-program-cmd-before-env): New variable.
315 (test-program-cmd-after-env): Likewise.
316 (test-program-cmd): Define in terms of new variables.
317 * Rules (make-test-out): Use $(run-program-env).
318 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
319 (help): Do not mention environment variables. Mention
320 --timeoutfactor option.
321 (timeoutfactor): New variable.
322 (blacklist_exports): Remove function.
323 (exports): Remove variable.
324 (command): Do not include ${exports}.
325 * manual/install.texi (Configuring and compiling): Do not mention
326 test wrappers preserving environment variables. Mention that last
327 assignment to a variable must take precedence.
328 * INSTALL: Regenerated.
329 * benchtests/Makefile (run-bench): Use $(run-program-env).
330 * catgets/Makefile ($(objpfx)test1.cat): Use
331 $(built-program-cmd-before-env), $(run-program-env) and
332 $(built-program-cmd-after-env).
333 ($(objpfx)test2.cat): Do not specify environment variables
334 explicitly.
335 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
336 $(run-program-env) and $(built-program-cmd-after-env).
337 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
338 $(run-program-env) and $(test-program-cmd-after-env).
339 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
340 explicitly.
341 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
342 run_program_env and test_program_cmd_after_env arguments.
343 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
344 * elf/tst-pathopt.sh: Use run_program_env argument.
345 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
346 $(test-wrapper-env) and $(run-program-env).
347 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
348 run_program_env arguments.
349 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
350 * intl/Makefile ($(objpfx)tst-gettext.out): Use
351 $(test-program-prefix-before-env), $(run-program-env) and
352 $(test-program-prefix-after-env).
353 ($(objpfx)tst-gettext2.out): Likewise.
354 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
355 run_program_env and test_program_prefix_after_env arguments.
356 * intl/tst-gettext2.sh: Likewise.
357 * intl/tst-gettext4.sh: Do not set environment variables
358 explicitly.
359 * intl/tst-gettext6.sh: Likewise.
360 * intl/tst-translit.sh: Likewise.
361 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
362 $(test-program-prefix-before-env), $(run-program-env) and
363 $(test-program-prefix-after-env).
364 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
365 run_program_env and test_program_prefix_after_env arguments.
366 * math/Makefile (run-regen-ulps): Use $(run-program-env).
367 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
368 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
369 explicitly with each use of ${test_wrapper_env}.
370 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
371 $(test-program-prefix-before-env), $(run-program-env) and
372 $(test-program-prefix-after-env).
373 * posix/tst-getconf.sh: Do not set environment variables
374 explicitly.
375 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
376 run_program_env and test_program_prefix_after_env arguments.
377 * stdio-common/tst-printf.sh: Do not set environment variables
378 explicitly.
379 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
380 $(test-program-prefix-before-env), $(run-program-env) and
381 $(test-program-prefix-after-env).
382 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
383 run_program_env and test_program_prefix_after_env arguments.
384 Split $test calls into $test_pre and $test.
385 * timezone/Makefile (build-testdata): Use
386 $(built-program-cmd-before-env), $(run-program-env) and
387 $(built-program-cmd-after-env).
388
ed36bfa1
AZ
3892014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
390
391 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
392 strlen for non SHARED builds.
393
fc75bf46
SP
3942014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
395
396 * nptl/allocatestack.c (check_list): Inlined function...
397 (__reclaim_stacks): ... here.
398
d89b3d80
OB
3992014-06-05 Ondřej Bílka <neleai@seznam.cz>
400
401 [BZ #15698]
402 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
403 memory overrun.
404
2bf18041
JM
4052014-06-05 Joseph Myers <joseph@codesourcery.com>
406
407 * Rules (make-test-out): Include
408 LOCPATH=$(common-objpfx)localedata in default environment.
409 * debug/Makefile (tst-chk1-ENV): Remove variable.
410 (tst-chk2-ENV): Likewise.
411 (tst-chk3-ENV): Likewise.
412 (tst-chk4-ENV): Likewise.
413 (tst-chk5-ENV): Likewise.
414 (tst-chk6-ENV): Likewise.
415 (tst-lfschk1-ENV): Likewise.
416 (tst-lfschk2-ENV): Likewise.
417 (tst-lfschk3-ENV): Likewise.
418 (tst-lfschk4-ENV): Likewise.
419 (tst-lfschk5-ENV): Likewise.
420 (tst-lfschk6-ENV): Likewise.
421 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
422 (tst-iconv7-ENV): Likewise.
423 * intl/Makefile (LOCPATH-ENV): Likewise.
424 (tst-codeset-ENV): Likewise.
425 (tst-gettext3-ENV): Likewise.
426 (tst-gettext5-ENV): Likewise.
427 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
428 (tst-fopenloc-ENV): Likewise.
429 (tst-fgetws-ENV): Remove variable.
430 (tst-ungetwc1-ENV): Likewise.
431 (tst-ungetwc2-ENV): Likewise.
432 (bug-ungetwc2-ENV): Likewise.
433 (tst-swscanf-ENV): Likewise.
434 (bug-ftell-ENV): Likewise.
435 (tst-fgetwc-ENV): Likewise.
436 (tst-fseek-ENV): Likewise.
437 (tst-ftell-partial-wide-ENV): Likewise.
438 (tst-ftell-active-handler-ENV): Likewise.
439 (tst-ftell-append-ENV): Likewise.
440 * posix/Makefile (tst-fnmatch-ENV): Likewise.
441 (tst-regexloc-ENV): Likewise.
442 (bug-regex1-ENV): Likewise.
443 (tst-regex-ENV): Likewise.
444 (tst-regex2-ENV): Likewise.
445 (bug-regex5-ENV): Likewise.
446 (bug-regex6-ENV): Likewise.
447 (bug-regex17-ENV): Likewise.
448 (bug-regex18-ENV): Likewise.
449 (bug-regex19-ENV): Likewise.
450 (bug-regex20-ENV): Likewise.
451 (bug-regex22-ENV): Likewise.
452 (bug-regex23-ENV): Likewise.
453 (bug-regex25-ENV): Likewise.
454 (bug-regex26-ENV): Likewise.
455 (bug-regex30-ENV): Likewise.
456 (bug-regex32-ENV): Likewise.
457 (bug-regex33-ENV): Likewise.
458 (bug-regex34-ENV): Likewise.
459 (bug-regex35-ENV): Likewise.
460 (tst-rxspencer-ENV): Likewise.
461 (tst-rxspencer-no-utf8-ENV): Likewise.
462 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
463 (tst-sscanf-ENV): Likewise.
464 (tst-swprintf-ENV): Likewise.
465 (tst-swscanf-ENV): Likewise.
466 (test-vfprintf-ENV): Likewise.
467 (scanf13-ENV): Likewise.
468 (bug14-ENV): Likewise.
469 (tst-grouping-ENV): Likewise.
470 * stdlib/Makefile (tst-strtod-ENV): Likewise.
471 (tst-strtod3-ENV): Likewise.
472 (tst-strtod4-ENV): Likewise.
473 (tst-strtod5-ENV): Likewise.
474 (testmb2-ENV): Likewise./
475 * string/Makefile (tst-strxfrm-ENV): Likewise.
476 (tst-strxfrm2-ENV): Likewise.
477 (bug-strcoll1-ENV): Likewise.
478 (test-strcasecmp-ENV): Likewise.
479 (test-strncasecmp-ENV): Likewise.
480 * time/Makefile (tst-strptime-ENV): Likewise.
481 (tst-ftime_l-ENV): Likewise.
482 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
483 (tst-mbrtowc-ENV): Likewise.
484 (tst-wcrtomb-ENV): Likewise.
485 (tst-mbrtowc2-ENV): Likewise.
486 (tst-c16c32-1-ENV): Likewise.
487 (tst-mbsnrtowcs-ENV): Likewise.
488
cd1fb604
OB
4892014-06-05 Ondřej Bílka <neleai@seznam.cz>
490
491 * manual/resource.texi (How to get information about the memory
492 subsystem?): Fix typo.
493 Reported by Peon de la Parra Ivan <peon@keba.com>
494
b42eca7d
GY
4952014-06-03 Guo Yixuan <culu.gyx@gmail.com>
496
497 [BZ #16882]
498 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
499 (pthread_spin_lock): Branch out of spin loop to proper location.
500 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
501 (pthread_spin_lock): Likewise.
502
902b71f9
DM
503 * nptl/tst-spin4.c: New test.
504 * nptl/Makefile (tests): Add tst-spin4.
505
f9d2d032
AS
5062014-06-03 Andreas Schwab <schwab@suse.de>
507
508 [BZ #15946]
509 * resolv/res_send.c (send_dg): Reload file descriptor after
510 calling reopen.
511
cf7bfd28
SL
5122014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
513
514 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
515
111cc714
RH
5162014-06-03 Richard Henderson <rth@redhat.com>
517
89b4bd6b
RH
518 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
519 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
520 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
521 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
522 in the SAVE_PID block.
523 (__libc_vfork): New alias.
71840409 524 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 525
111cc714
RH
526 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
527 child in registers, not on the stack. Remove RESET_PID conditionals.
528 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
529
ccc39911
MS
5302014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
531
532 * sysdeps/aarch64/libm-test-ulps: Regenerate.
533
693096cc
W
5342014-06-03 Wilco <wdijkstr@arm.com>
535
536 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
537 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
538 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
539 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
540 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
541 Likewise.
542
0b4366bc
W
5432014-06-03 Wilco <wdijkstr@arm.com>
544
545 * sysdeps/aarch64/fpu/math_private.h
546 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
547 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
548 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
549 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
550 Fix declarations.
551
8747cd03
KS
5522014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
553
554 * crypt/crypt-private.h: Include ufc-crypt.h.
555 (__b64_from_24bit): Declare extern.
556 * crypt/crypt_util.c(__b64_from_24bit): New function.
557 (b64t): New static const variable.
558 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
559 (b64t): Remove variable.
560 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
561 * crypt/sha256-crypt.c: Include crypt-private.h.
562 (b64t): Remove variable.
563 (__sha256_crypt_r): Remove b64_from_24bit and replace
564 with __b64_from_24bit.
565 * crypt/sha512-crypt.c: Likewise.
566
d936d379
RM
5672014-06-02 Roland McGrath <roland@hack.frob.com>
568
569 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
570 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
571 Label the code __libc_vfork rather than __vfork.
572 [!NOT_IN_libc] (vfork): Define as weak alias.
573 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
574 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
575 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
576
9fa76613
SP
5772014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
578
579 * malloc/malloc.c (malloc_info): Fix format specifier for
580 n_mmaps.
581
a88dadbe
W
5822014-06-02 Wilco <wdijkstr@arm.com>
583
584 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
585 FPCR write.
586
c95b3011
W
5872014-06-02 Wilco <wdijkstr@arm.com>
588
589 [BZ #17009]
590 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
591 Rewrite to reduce FPCR/FPSR accesses.
592
6b4d7a90
DM
5932014-06-01 David S. Miller <davem@davemloft.net>
594
595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
596
30f3d07c
DM
5972014-05-31 David S. Miller <davem@davemloft.net>
598
599 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
600 to occur in round to nearest mode when |x| >= 2.0
601
74f31c18
RH
6022014-05-30 Richard Henderson <rth@twiddle.net>
603
f0712b54
RH
604 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
605 (PSEUDO_RET_NOERRNO): Remove.
606 (ret): Don't redefine.
607 (ret_NOERRNO): Define in terms of ret.
608 (ret_ERRVAL): Likewise.
609
74f31c18
RH
610 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
611 use of PSEUDO_RET; perform the error check directly.
612
30477995
MM
6132014-05-30 Marko Myllynen <myllynen@redhat.com>
614
615 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
616 with __int128_t.
617
62a58816
SP
6182014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
619
620 * malloc/malloc (malloc_info): Fix formatting.
621
4d653a59
SP
6222014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
623 Roland McGrath <roland@hack.frob.com>
624
625 * malloc/malloc (malloc_info): Also print mmapped statistics.
626
5190c17f
RM
6272014-05-30 Roland McGrath <roland@hack.frob.com>
628
629 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
630 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
631
987c0269
OB
6322014-05-30 Ondřej Bílka <neleai@seznam.cz>
633
634 * malloc/malloc.c (malloc_info): Inline mi_arena.
635
af4e8ef9
RH
6362014-05-29 Richard Henderson <rth@twiddle.net>
637
1670e207
RH
638 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
639 Remove comma before expanding ASM_ARGS_##nr.
640 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
641 Make _x0 a strict output; make _x8 a strict input; adjust expansion
642 of ASM_ARGS_##nr.
643 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
644 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
645 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
646 (ASM_ARGS_1): Add leading comma.
647
11a28aee
RH
648 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
649 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
650 to __errno_location.
651 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
652 Remove the expected plt for __errno_location.
653
a17e5ffb 654 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 655 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
656 call to __read_tp.
657
b5be4597
RH
658 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
659 Always allocate 64 bytes of stack frame. Use ldp/stp to create
660 it and break it down.
661 (DOCARGS_0, DOCARGS_1): Do nothing.
662 (DOCARGS_2): Update to store into the new stack frame.
663 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
664 (UNDOCARGS_1): Update to restore from the new stack frame.
665 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
666 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
667
645d44ab
RH
668 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
669 (SINGLE_THREAD_P): New parameter for result regno.
670 (PSEUDO): Update to match; use cbz instead of beq.
671
a8b4f04a
RH
672 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
673 Use ENTRY to define the _nocancel entry point. Share the syscall
674 and syscall error check paths with the cancel path.
675 (PSEUDO_END): New.
676
af4e8ef9
RH
677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
678 whitespace; tabs before and after asm mnemonics.
679
26b0d2e1
EW
6802014-05-29 Eric Wong <normalperson@yhbt.net>
681
682 [BZ #15132]
683 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
684 Call fstat64 or stat64 internally, depending on arguments passed.
685 Replace stat buffer argument with file descriptor argument.
686 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
687 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
688 Pass fd to __internal_statvfs instead of calling fstat64.
689 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
690 Pass fd to __internal_statvfs64 instead of calling fstat64.
691 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
692 Pass -1 to __internal_statvfs instead of calling stat64.
693 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
694 Pass -1 to __internal_statvfs64 instead of calling stat64.
695
1efe2bd9
RM
6962014-05-28 Roland McGrath <roland@hack.frob.com>
697
0d3b7a19
RM
698 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
699 that was previously under [RESET_PID].
700 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
701
1efe2bd9
RM
702 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
703 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
704
a6bea3ca
RM
7052014-05-27 Roland McGrath <roland@hack.frob.com>
706
30b6629e
RM
707 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
708
a6bea3ca
RM
709 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
710 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
711
3dfb9a5c
OB
7122014-05-27 Ondřej Bílka <neleai@seznam.cz>
713
714 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
715
774f9285
AS
7162014-05-27 Andreas Schwab <schwab@suse.de>
717
718 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
719 TLS_INIT_TP macro.
720 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
721 * elf/rtld.c (init_tls, dl_main): Likewise.
722 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
723 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
724 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
725 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
726 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
727 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
728 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
729 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
730 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
731 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
732 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
733 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
734 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
735 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
736 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
737 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
738 * sysdeps/generic/tls.h: Update description.
739
36ffe739
WN
7402014-05-27 Will Newton <will.newton@linaro.org>
741
742 [BZ #16990]
743 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
744 and restore r2 rather than just restoring.
745
2482ae43
SP
7462014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
747
748 [BZ #16724]
749 * libio/tst-ftell-append.c: New test case.
750 * libio/Makefile (tests): Add test case.
751 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
752 append mode.
753 * libio/wfileops.c (do_ftell_wide): Likewise.
754
3d1024e8
AZ
7552014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
756
bab90016
AZ
757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
758
c7a8d667
AZ
759 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
760 ...
761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
763 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
764 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
765 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
766 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
767 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
768 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
770 Moved ...
771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
772 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
773 Moved ...
774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
775 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
776 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
777 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
778 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
779 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
780 ...
781 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
782 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
783 Moved ...
784 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
785 here.
786 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
787 ...
788 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
789 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
790 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
791
daee7851
AZ
792 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
793 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
794 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
795 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
796
50a40819
AZ
797 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
798 merge into ...
799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
800 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
801 ...
802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
804 ...
805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
807 Moved ...
808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
809 here.
810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
811 Moved ...
812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
813 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
814 Moved ...
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
816
8464c2a1
AZ
817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
818 conditional [RESET_PID].
819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
820 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
821 removed.
822 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
823 removed.
824
3d1024e8
AZ
825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
826 <tcb-offsets.h>.
827 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
828 (__libc_vfork): New strong alias.
829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
830 removed.
831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
832 Removed.
833
834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
835 <tcb-offsets.h>.
836 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
837 (__libc_vfork): New strong alias.
838 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
839 removed.
840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
841 removed.
842
fdfd175d
CD
8432014-05-26 Carlos O'Donell <carlos@redhat.com>
844
845 * malloc/malloc.c (mi_arena): New function.
846 (malloc_info): Remove nested function mi_arena. Call non-nosted
847 function mi_arena.
848
d298c416
AZ
8492014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
850
851 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
852 by insrwi.
853 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
854 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
855 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
856 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
857 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
858 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
859 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
860
b60ea6ff
AS
8612014-05-26 Andreas Schwab <schwab@suse.de>
862
863 [BZ #16984]
864 * locale/programs/repertoire.c (repertoire_read): Add slash
865 between I18NPATH element and file name.
866 * locale/programs/locfile.c (locfile_read): Likewise.
867
67365926
SL
8682014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
869
870 * nptl/pthread_mutexattr_settype.c
871 (__pthread_mutexattr_settype):
872 Disable lock elision for PTHREAD_MUTEX_NORMAL.
873
f8bdf1f0
SL
8742014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
875
876 * nptl/tst-mutex5 (do_test):
877 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
878
15eaf6ff
SP
8792014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
880
881 * benchtests/README: Document 'init' directive.
882 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
883 BENCH_INIT.
884 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
885 (parse_file): Recognize 'init' directive.
886
75f11331
KM
8872014-05-26 Kyle McMartin <kyle@redhat.com>
888
889 [BZ #16796]
890 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
891 alignment of struct pthread.
892
c3ec475c
SP
8932014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
894
895 [BZ #16878]
896 * nscd/netgroupcache.c (addgetnetgrentX): Look for
897 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
898 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
899 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
900
82aab97c
RH
9012014-05-25 Richard Henderson <rth@twiddle.net>
902
aa2f176d
RH
903 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
904 (SINGLE_THREAD_P_PIC): Remove.
905 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
906 (SINGLE_THREAD_P_PIC): Remove.
907
ca3cfa40
RH
908 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
909 branch to syscall error ...
910 (PSEUDO): ... here.
911 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
912 from __local_syscall_error to .Lsyscall_error.
913 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
914 (SYSCALL_ERROR): Update label name.
915
6e6c2d01
RH
916 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
917 Do not use DOARGS/UNDOARGS.
918 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
919 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
920 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
921 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
922 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
923
c69abcee
RH
924 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
925 block comment.
926
82aab97c
RH
927 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
928 define if !NOT_IN_libc.
929 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
930 define with non-default symbol versions.
931
8820e3ac
RH
9322014-05-23 Richard Henderson <rth@twiddle.net>
933
900e445f
RH
934 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
935 (vfork, __vfork): Define via compat_symbol.
936
8820e3ac
RH
937 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
938 [!HAVE_IFUNC] (vfork_compat): Remove.
939 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
940
e59252a5
JM
9412014-05-23 Joseph Myers <joseph@codesourcery.com>
942
943 [BZ #16978]
944 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
945 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
946 variable.
947
132c7f5f
RH
9482014-05-23 Richard Henderson <rth@twiddle.net>
949
bc89e962
RH
950 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
951 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
952 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
953 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
954
955 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
956 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
957 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
958 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
959 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
960 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
961 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
962 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
963 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
964 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
965 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
966 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
967 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
968 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
969 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
970 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
971 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
972 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
973 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
974 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
975 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
976 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
977 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
978 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
979 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
980 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
981 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
982 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
983 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
984 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
985 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
986 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
987 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
989 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
991 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
992 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
993 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
994 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
995 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
996 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
997 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
998 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
999 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1000 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1001 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1002 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1003 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1004 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1005 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1006 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1007 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1008 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1009 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1010 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1011
e2fa4bc2
RH
1012 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1013 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1014 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1015 before exiting on error.
1016 (__libc_vfork): New strong alias.
1017 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1018 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1019
279b24e2
RH
1020 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1021 that was previously under [RESET_PID].
1022 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1023
132c7f5f
RH
1024 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1025
b72592e7
JM
10262014-05-23 Joseph Myers <joseph@codesourcery.com>
1027
1028 [BZ #16977]
1029 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1030 value when x - 1 is zero.
1031 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1032 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1033 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1034 0.0L for an argument of 1.0L.
1035 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1036 Likewise.
1037 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1038 value when x - 1 is zero.
1039 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1040 * sysdeps/i386/fpu/libm-test-ulps: Update.
1041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1042
2302d679
RV
10432014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1044
1045 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1046 alphasort and versionsort.
1047
32999d63
AZ
10482014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1049
1050 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1051 macro.
1052 [copysignf]: Likewise.
1053
019324d0
SP
10542014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1055
1056 * crypt/md5-crypt.c: Fix formatting.
1057
34fff5c2
KS
10582014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1059
1060 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1061 (b64_from_24bit): New function.
1062
3d2badac
AZ
10632014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1064
1065 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1066 libc_hidden_builtin_def to ifunc.
1067 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1068 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1069
f7bb179f 10702014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1071
1072 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1073 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1074
4134b50d
JM
10752014-05-21 Joseph Myers <joseph@codesourcery.com>
1076
bb7d0337
JM
1077 * nscd/Depend (linuxthreads): Remove.
1078 (nptl): Add.
1079 * resolv/Depend (linuxthreads): Remove.
1080 * rt/Depend (linuxthreads): Remove.
1081
4134b50d
JM
1082 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1083 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1084 $(common-objpfx)elf/.
1085 (link-libc-before-gnulib): Likewise.
1086 (elfobjdir): Remove variable.
1087 * Makefile (install): Use $(elf-objpfx) instead of
1088 $(common-objpfx)elf/.
1089 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1090 $(elfobjdir)/.
1091 (link-libc-deps): Likewise.
1092 ($(common-objpfx)libc.so): Likewise.
1093 ($(common-objpfx)linkobj/libc.so): Likewise.
1094 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1095 instead of $(common-objpfx)elf/.
1096 (symbolic-link-list): Likewise.
1097 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1098 [$(cross-compiling) = no]: Likewise.
1099 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1100 $(elfobjdir)/.
1101 (static-gnulib-arch): Likewise.
1102 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1103 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1104 $(common-objpfx)elf/.
1105
3612eb8f
RH
11062014-05-21 Richard Henderson <rth@redhat.com>
1107
a6b3657b
RH
1108 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1109 (SINGLE_THREAD_P): Use the correct width load. Fold
1110 into the ldr offset.
1111
3612eb8f
RH
1112 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1113 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1114
175cef41
JM
11152014-05-20 Joseph Myers <joseph@codesourcery.com>
1116
1117 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1118 (libgcc_s_resume): Use __attribute_used__.
1119 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1120 Likewise.
1121
e13bccd3
AZ
11222014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123
1124 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1125 optimization when used with float constants.
1126
7c112a38
AZ
1127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1128
ae75a883
AJ
11292014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1130
1131 [BZ #16915]
1132 * locale/nl_langinfo_l.c: Make direct reference to every
1133 _nl_current_CATEGORY symbol.
1134 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1135 (tests-static): Add tst-langinfo-static.
1136 (tests-special): Add tst-langinfo-static.out.
1137 ($(objpfx)tst-langinfo.out): Redirect output.
1138 ($(objpfx)tst-langinfo-static.out): New.
1139 * localedata/tst-langinfo.sh: Send output to stdout.
1140 * localedata/tst-langinfo-static.c: New file.
1141
4406c41c
AJ
1142 [BZ #16965]
1143 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1144 when the shift amount is modulo the limb size.
1145
4c0a1e63
RH
11462014-05-20 Richard Henderson <rth@redhat.com>
1147
de9d8f20
RH
1148 [BZ #16967]
1149 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1150 Change type of sa_flags from unsigned int to int.
1151
4c0a1e63
RH
1152 [BZ #16966]
1153 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1154
1155 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1156
a60339aa
WN
11572014-05-20 Will Newton <will.newton@linaro.org>
1158
1159 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1160 Test the return value of the system call in the nocancel case.
1161
7d05a816
YR
11622014-05-20 Will Newton <will.newton@linaro.org>
1163 Yvan Roux <yvan.roux@linaro.org>
1164
1165 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1166 #include of asm/ptrace.h.
1167 (PTRACE_GET_THREAD_AREA): Remove #undef.
1168 (PTRACE_GETHBPREGS): Likewise.
1169 (PTRACE_SETHBPREGS): Likewise.
1170 (struct user_regs_struct): New structure.
1171 (struct user_fpsimd_struct): New structure.
1172 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1173 #include of asm/ptrace.h and second #include of sys/user.h.
1174 (PTRACE_GET_THREAD_AREA): Remove #undef.
1175 (PTRACE_GETHBPREGS): Likewise.
1176 (PTRACE_SETHBPREGS): Likewise.
1177 (ELF_NGREG): Use new struct user_regs_struct.
1178 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1179
af121e37
AZ
11802014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1181
1182 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1183 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1184
834caf06
JM
11852014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1186
1187 [BZ #16958]
1188 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1189 membar to avoid block loads/stores to overlap previous stores.
1190
e184a918
RH
11912014-05-17 Richard Henderson <rth@redhat.com>
1192
1193 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1194 Create the __##syscall_name##_nocancel entry point.
1195 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1196 Remove; let the sysdep-cancel.h code create it.
1197
f56c7a6a
DM
11982014-05-17 David S. Miller <davem@davemloft.net>
1199
1200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1201 Protect with __USE_GNU.
1202 (TIOCSET_TEMPT): Likewise.
1203 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1204 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1205 these are already provided in bits/ioctl-types.h
1206
f75616b2
RM
12072014-05-16 Roland McGrath <roland@hack.frob.com>
1208
3edeca86
RM
1209 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1210 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1211
f75616b2
RM
1212 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1213 Use wait4 regardless of [__NR_waitpid].
1214
deb0f7f6
MR
12152014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1216
1217 PR libgcc/60166
1218 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1219 (_FP_NANSIGN_Q): Set the quiet bit.
1220
79520f4b
JM
12212014-05-16 Joseph Myers <joseph@codesourcery.com>
1222
1223 * benchtests/Makefile
1224 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1225 not $(common-objpfx)math/libm.so.
1226 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1227 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1228 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1229 $(common-objpfx)dlfcn/libdl.so.
1230 ($(objpfx)tst-audit8): Depend on $(libm), not
1231 $(common-objpfx)math/libm.so.
1232 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1233 not $(common-objpfx)dlfcn/libdl.so.
1234 * math/Makefile
1235 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1236 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1237 [$(build-shared) = yes].
1238 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1239 $(common-objpfx)nptl/libpthread.so.
1240 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1241 $(common-objpfx)math/libm.so$(libm.so-version) or
1242 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1243 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1244 $(common-objpfx)dlfcn/libdl.so.
1245 * setjmp/Makefile (link-libm): Remove variable.
1246 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1247 * stdio-common/Makefile (link-libm): Remove variable.
1248 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1249 * stdlib/Makefile (link-libm): Remove variable.
1250 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1251 ($(objpfx)tst-strtod-round): Likewise.
1252 ($(objpfx)tst-tininess): Likewise.
1253 ($(objpfx)tst-strtod-underflow): Likewise.
1254 ($(objpfx)tst-strtod6): Likewise.
1255 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1256 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1257 $(common-objpfx)dlfcn/libdl.so.
1258
026b0fe4
AZ
12592014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1260
1261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1262 BSD terminal modes definitions.
1263
def4bcb2
RM
12642014-05-16 Roland McGrath <roland@hack.frob.com>
1265
fe39b021
RM
1266 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1267 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1268
1d1fc46e 1269 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1270 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1271 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1272 Don't do #include_next.
1273 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1274 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1275 Don't do #include_next.
1276 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1277 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1278 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1279 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1280
c72399fb
AM
12812014-05-16 Allan McRae <allan@archlinux.org>
1282
d51d659d
AM
1283 * po/sv.po: Update Swedish translation from translation project.
1284
c72399fb
AM
1285 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1286 in sed expression.
1287
d0583c40
AJ
12882014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1289
1290 [BZ #16917]
1291 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1292 errno if the TIOCGPTN ioctl fails with an error different than
1293 EINVAL.
1294 * login/tst-ptsname.c: New file.
1295 * login/Makefile (tests): Add tst-ptsname.
1296
d16e6ec7
AJ
1297 [BZ #16943]
1298 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1299 and prlimit64.
1300
cf26a0cb
SP
13012014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1302
1303 [BZ #16849]
1304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1305 herrno to return EAI_AGAIN.
1306
5675da1e
RM
13072014-05-14 Roland McGrath <roland@hack.frob.com>
1308
a5d87b3d
RM
1309 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1310 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1311 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1312 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1313 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1314 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1315 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1316 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1317 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1318 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1319 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1320 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1321 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1322 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1323 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1324 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1325 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1326 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1328 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1329 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1330 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1331 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1332 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1334 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1335 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1336 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1338 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1340 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1342 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1344 Moved ...
1345 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1347 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1349 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1351 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1353 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1355 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1357 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1359 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1361 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1363 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1365 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1369 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1373 Moved ...
1374 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1376 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1378 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1380 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1382 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1384 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1386 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1388 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1390 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1392 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1394 Moved ...
1395 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1398
039890a6
RM
1399 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1400 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1401 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1402 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1403 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1404 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1405 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1406 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1407 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1408 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1409 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1410 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1411 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1412 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1413 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1415 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1417 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1418 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1419 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1420 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1421 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1422 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1423 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1424 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1425 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1426 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1427 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1428 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1429 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1430
65c89320
RM
1431 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1432 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1433
348f8e8c
RM
1434 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1435 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1436 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1437 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1438 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1439 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1440 Moved ...
1441 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1442 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1443 Moved ...
1444 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1445 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1446 Moved ...
1447 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1448 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1449 Moved ...
1450 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1451 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1452 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1453 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1454 Moved ...
1455 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1456 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1457 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1458 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1459 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1460 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1461 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1463 Moved ...
1464 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1465 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1466 Moved ...
1467 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1468 ... here.
1469 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1470 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1471 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1472 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1473 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1474 Moved ...
1475 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1476 ... here.
1477 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1478 Moved ...
1479 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1480 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1481 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1482 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1483 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1484 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1485 Moved ...
1486 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1487 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1488 Moved ...
1489 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1490 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1491 Moved ...
1492 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1493 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1494 Moved ...
1495 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1496 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1497 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1498 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1499 Moved ...
1500 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1501 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1502 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1503 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1504 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1505 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1506 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1508 Moved ...
1509 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1510 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1511 Moved ...
1512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1513 ... here.
1514 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1515 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1516 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1517 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1518 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1519 Moved ...
1520 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1521 ... here.
1522 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1523 Moved ...
1524 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1525 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1526 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1527 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1528 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1529 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1530 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1531 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1532 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1533 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1534 Moved ...
1535 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1536 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1537 Moved ...
1538 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1540 Moved ...
1541 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1542 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1543 Moved ...
1544 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1545 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1546 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1547 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1548 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1549 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1550 Moved ...
1551 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1552 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1553 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1554 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1555 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1556 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1557 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1558 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1559 Moved ...
1560 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1561 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1562 Moved ...
1563 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1564 ... here.
1565 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1566 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1567 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1568 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1569 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1570 Moved ...
1571 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1572 ... here.
1573 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1574 Moved ...
1575 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1576 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1577 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1578 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1579 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1580 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1581 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1582 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1583 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1584 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1585 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1586
5085af05
RM
1587 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1588 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1589
708f0813
RM
1590 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1591 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1592
c96067bc
RM
1593 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1594 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1595 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1596 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1597 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1598 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1599 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1600 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1601 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1602 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1603 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1604 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1605 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1606 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1607 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1608 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1609 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1610 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1611 Moved ...
1612 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1613 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1614 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1615 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1616 Moved ...
1617 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1618 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1619 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1620 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1621 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1622 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1623 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1625 Moved ...
1626 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1627 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1628 Moved ...
1629 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1630 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1631 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1632 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1633 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1635 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1636 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1637 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1638 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1639 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1640 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1641 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1642 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1643 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1644 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1645 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1646
ec136444
RM
1647 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1648 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1649 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1650 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1651 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1652
2fbdf533
RM
1653 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1654 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1655 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1656 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1657 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1658 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1659 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1660 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1661 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1662 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1663
4c68138b
RM
1664 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1665 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1666
4eaae765
RM
1667 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1668 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1669 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1670 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1672 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1673 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1674 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1675 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1676 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1677 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1678 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1679 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1680 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1682 Update #include.
1683 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1684 Likewise.
1685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1686 Likewise.
1687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1688 Likewise.
1689 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1690 Likewise.
1691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1692 Likewise.
1693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1694 Likewise.
1695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1696 Likewise.
1697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1698 Likewise.
1699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1700 Likewise.
4ef6befa
RM
1701 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1702 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1703 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1704 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1705 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1706 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1707 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1708 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1709 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1710 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1711 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1712 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1713 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1714 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1715 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1716
941d7dfd
RM
1717 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1718 that was previously under [RESET_PID].
1719 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1720 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1721 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1722
1b731c35
RM
1723 * sysdeps/i386/nptl/Implies: New file.
1724 * sysdeps/x86_64/nptl/Implies: New file.
1725 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1726 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1728 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1729
e2787137
RM
1730 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1731 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1732 (__libc_vfork): New strong alias.
1733 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1734 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1735
1736 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1737 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1738 (__libc_vfork): New strong alias.
1739 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1740 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1741
5675da1e
RM
1742 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1743 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1744 (__libc_vfork): New strong alias.
1745 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1746 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1747 * nptl/pt-vfork.c: New file.
1748 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1749 (libpthread: GLIBC_2.20): New version set (empty).
1750
4f02e2b8
WN
17512014-05-14 Will Newton <will.newton@linaro.org>
1752
1753 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1754 rather than #if.
1755
0bf061d3
JM
17562014-05-14 Joseph Myers <joseph@codesourcery.com>
1757
1a84c3d6
JM
1758 [BZ #16564]
1759 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1760 arguments with exponent 65 or above.
1761 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1762 arguments 0x1p113L or above.
1763 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1764 to arguments 0x1p107L or above.
1765 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1766 positive arguments with exponent 65 or above.
1767 * math/auto-libm-test-in: Add more tests of log1p.
1768 * math/auto-libm-test-out: Regenerated.
1769
01dbacd2
JM
1770 [BZ #16928]
1771 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1772 non-finite arguments is +0.
1773 * math/s_cacosf.c (__cacosf): Likewise.
1774 * math/s_cacosl.c (__cacosl): Likewise.
1775 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1776 * sysdeps/i386/fpu/libm-test-ulps: Update.
1777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1778
913d03c8
JM
1779 [BZ #16927]
1780 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1781 value.
1782 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1783 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1784 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1785 for explicit high bit of mantissa when testing for argument equal
1786 to 1.
1787 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1788 * sysdeps/i386/fpu/libm-test-ulps: Update.
1789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1790
0bf061d3
JM
1791 [BZ #16516]
1792 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1793 (__erf): Scale by 16 instead of 8 in potentially underflowing
1794 case. Ensure exception if result actually underflows.
1795 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1796 (__erff): Scale by 16 instead of 8 in potentially underflowing
1797 case. Ensure exception if result actually underflows.
1798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1799 (efx8): Remove variable.
1800 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1801 case. Ensure exception if result actually underflows.
1802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1803 (efx8): Remove variable.
1804 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1805 case. Ensure exception if result actually underflows.
1806 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1807 (efx8): Remove variable.
1808 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1809 case. Ensure exception if result actually underflows.
1810 * math/auto-libm-test-in: Add more tests of erf.
1811 * math/auto-libm-test-out: Regenerated.
1812
73ba67cb
AS
18132014-05-14 Andreas Schwab <schwab@suse.de>
1814
3d8c8bff
AS
1815 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1816 Remove code conditionalized on USE___THREAD.
1817
73ba67cb
AS
1818 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1819 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1820 not definedness.
1821
5c521ecd
JM
18222014-05-14 Joseph Myers <joseph@codesourcery.com>
1823
5e7698c6
JM
1824 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1825 Define unconditionally.
1826 (__ASSUME_O_CLOEXEC): Likewise.
1827 (__ASSUME_SOCK_CLOEXEC): Likewise.
1828 (__ASSUME_IN_NONBLOCK): Likewise.
1829 (__ASSUME_PIPE2): Likewise.
1830 (__ASSUME_EVENTFD2): Likewise.
1831 (__ASSUME_SIGNALFD4): Likewise.
1832 (__ASSUME_DUP3): Likewise.
1833 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1834 (__ASSUME_DUP3): Do not define.
1835 (__ASSUME_EVENTFD2): Likewise.
1836 (__ASSUME_IN_NONBLOCK): Likewise.
1837 (__ASSUME_O_CLOEXEC): Likewise.
1838 (__ASSUME_PIPE2): Likewise.
1839 (__ASSUME_SIGNALFD4): Likewise.
1840 (__ASSUME_SOCK_CLOEXEC): Likewise.
1841 (__ASSUME_UTIMES): Undefine.
1842 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1843 (__ASSUME_UTIMES): Do not define.
1844 (__ASSUME_O_CLOEXEC): Likewise.
1845 (__ASSUME_SOCK_CLOEXEC): Likewise.
1846 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1847 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1848 0x020621].
1849 (__ASSUME_PIPE2): Likewise.
1850 (__ASSUME_EVENTFD2): Likewise.
1851 (__ASSUME_SIGNALFD4): Likewise.
1852 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1853 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1854 Do not define.
1855 (__ASSUME_EVENTFD2): Likewise.
1856 (__ASSUME_SIGNALFD4): Likewise.
1857 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1858 (__ASSUME_32BITUIDS): Likewise.
1859 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1860 (__ASSUME_IPC64): Likewise.
1861 (__ASSUME_ST_INO_64_BIT): Likewise.
1862 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1863 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1864 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1865 (__ASSUME_UTIMES): Do not define.
1866 (__ASSUME_PSELECT): Likewise.
1867 (__ASSUME_PPOLL): Likewise.
1868 (__ASSUME_O_CLOEXEC): Likewise.
1869 (__ASSUME_SOCK_CLOEXEC): Likewise.
1870 (__ASSUME_IN_NONBLOCK): Likewise.
1871 (__ASSUME_PIPE2): Likewise.
1872 (__ASSUME_EVENTFD2): Likewise.
1873 (__ASSUME_SIGNALFD4): Likewise.
1874 (__ASSUME_DUP3): Likewise.
1875 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1876 (__ASSUME_UTIMES): Likewise.
1877 (__ASSUME_O_CLOEXEC): Likewise.
1878 (__ASSUME_SOCK_CLOEXEC): Likewise.
1879 (__ASSUME_IN_NONBLOCK): Likewise.
1880 (__ASSUME_PIPE2): Likewise.
1881 (__ASSUME_EVENTFD2): Likewise.
1882 (__ASSUME_SIGNALFD4): Likewise.
1883 (__ASSUME_DUP3): Likewise.
1884 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1885 (__ASSUME_UTIMES): Likewise.
1886 (__ASSUME_O_CLOEXEC): Likewise.
1887 (__ASSUME_SOCK_CLOEXEC): Likewise.
1888 (__ASSUME_IN_NONBLOCK): Likewise.
1889 (__ASSUME_PIPE2): Likewise.
1890 (__ASSUME_EVENTFD2): Likewise.
1891 (__ASSUME_SIGNALFD4): Likewise.
1892 (__ASSUME_DUP3): Likewise.
1893 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1894 Likewise.
1895 (__ASSUME_UTIMES): Likewise.
1896 (__ASSUME_EVENTFD2): Likewise.
1897 (__ASSUME_SIGNALFD4): Likewise.
1898 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1899 (__ASSUME_O_CLOEXEC): Likewise.
1900 (__ASSUME_SOCK_CLOEXEC): Likewise.
1901 (__ASSUME_IN_NONBLOCK): Likewise.
1902 (__ASSUME_PIPE2): Likewise.
1903 (__ASSUME_EVENTFD2): Likewise.
1904 (__ASSUME_SIGNALFD4): Likewise.
1905 (__ASSUME_DUP3): Likewise.
1906 (__ASSUME_UTIMES): Undefine.
1907
5c521ecd
JM
1908 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1909 feclearexcept. Remove symbol versioning code.
1910 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1911 symbol versioning code.
1912 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1913 symbol versioning code.
1914 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1915 feupdateenv. Remove symbol versioning code.
1916 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1917 fegetexceptflag. Remove symbol versioning code.
1918 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1919 fesetexceptflag. Remove symbol versioning code.
1920 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1921 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1922 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1923 (__posix_fadvise64_l32): Remove prototype.
1924 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1925 code.
1926
5da9dfad
RM
19272014-05-13 Roland McGrath <roland@hack.frob.com>
1928
1929 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1930 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1931 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1932 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1933
893b4f37
SK
19342014-05-13 Sami Kerola <kerolasa@iki.fi>
1935
1936 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1937 current working directory
1938
e0db6517
RM
19392014-05-13 Roland McGrath <roland@hack.frob.com>
1940
58aa195d
RM
1941 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1942 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1943 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1944 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1945 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1946 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1947 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1948 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1950 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1952 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1956 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1960 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1964 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1974 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1975 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1976 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1977 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1978 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1979 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1980 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1981 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1982 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1983
8c6d01f0
RM
1984 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1985 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1986
1987 * sysdeps/unix/sysv/linux/arm/Makefile
1988 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1989 Add rt-aeabi_unwind_cpp_pr1.
1990 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1991 Add nptl-aeabi_unwind_cpp_pr1.
1992 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1993 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1994 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1995 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1996 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1997 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1998
1999 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2000 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2001 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2002 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2003
bba6da4e
RM
2004 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2005 Deconditionalize the code that was previously under [RESET_PID].
2006 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2007
e0db6517
RM
2008 * sysdeps/generic/exit-thread.h: New file.
2009 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2010 * include/unistd.h (__exit_thread): Remove declaration.
2011 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2012 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2013 * csu/libc-start.c: Include <exit-thread.h>.
2014 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2015 * nptl/pthread_create.c: Include <exit-thread.h>.
2016 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2017 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2018 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2019 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2020 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2021 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2022 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2023 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2024 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2025 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2026 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2027 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2028 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2029 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2030 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2031 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2032 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2033
01eb16fd
AS
20342014-05-13 Andreas Schwab <schwab@suse.de>
2035
2036 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2037
637461d9
JM
20382014-05-12 Joseph Myers <joseph@codesourcery.com>
2039
2040 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2041 (__ASSUME_UTIMES): Do not condition on kernel version.
2042 (__ASSUME_PSELECT): Define unconditionally.
2043 (__ASSUME_PPOLL): Likewise.
2044 (__ASSUME_ATFCTS): Likewise.
2045 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2046 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2047 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2048 (__ASSUME_UTIMENSAT): Define unconditionally.
2049 (__ASSUME_PRIVATE_FUTEX): Likewise.
2050 (__ASSUME_FALLOCATE): Likewise.
2051 (__ASSUME_O_CLOEXEC): Likewise.
2052 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2053 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2054 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2055 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2056 (__ASSUME_IN_NONBLOCK): Likewise.
2057 (__ASSUME_PIPE2): Likewise.
2058 (__ASSUME_EVENTFD2): Likewise.
2059 (__ASSUME_SIGNALFD4): Likewise.
2060 (__ASSUME_DUP3): Likewise.
2061 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2062 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2063 (__ASSUME_AT_RANDOM): Likewise.
2064 (__ASSUME_PREADV): Likewise.
2065 (__ASSUME_PWRITEV): Likewise.
2066 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2067 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2068 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2069 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2070 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2071 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2072 (__ASSUME_O_CLOEXEC): Define unconditionally.
2073 (__ASSUME_PSELECT): Do not undefine conditionally.
2074 (__ASSUME_PPOLL): Likewise.
2075 (__ASSUME_ATFCTS): Likewise.
2076 (__ASSUME_SET_ROBUST_LIST): Likewise.
2077 (__ASSUME_UTIMENSAT): Likewise.
2078 (__ASSUME_FDATASYNC): Define unconditionally.
2079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2080 (__ASSUME_SIGFRAME_V2): Likewise.
2081 )__ASSUME_EVENTFD2): Likewise.
2082 (__ASSUME_SIGNALFD4): Likewise.
2083 (__ASSUME_PSELECT): Do not undefine conditionally.
2084 (__ASSUME_PPOLL): Likewise.
2085 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2086 (__ASSUME_PSELECT): Define unconditionally.
2087 (__ASSUME_PPOLL): Likewise.
2088 (__ASSUME_O_CLOEXEC): Likewise.
2089 (__ASSUME_SOCK_CLOEXEC): Likewise.
2090 (__ASSUME_IN_NONBLOCK): Likewise.
2091 (__ASSUME_PIPE2): Likewise.
2092 (__ASSUME_EVENTFD2): Likewise.
2093 (__ASSUME_SIGNALFD4): Likewise.
2094 (__ASSUME_DUP3): Likewise.
2095 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2096 (__ASSUME_O_CLOEXEC): Likewise.
2097 (__ASSUME_SOCK_CLOEXEC): Likewise.
2098 (__ASSUME_IN_NONBLOCK): Likewise.
2099 (__ASSUME_PIPE2): Likewise.
2100 (__ASSUME_EVENTFD2): Likewise.
2101 (__ASSUME_SIGNALFD4): Likewise.
2102 (__ASSUME_DUP3): Likewise.
2103 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2104 (__ASSUME_EVENTFD2): Likewise.
2105 (__ASSUME_SIGNALFD4): Likewise.
2106 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2107
315eb1d8
AS
21082014-05-12 Andreas Schwab <schwab@suse.de>
2109
2110 [BZ #16932]
2111 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2112 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2113 than maximum RPC packet size.
2114 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2115 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2116 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2117 (_nss_nis_getservbyport_r): Likewise.
2118
91df99f7
WN
21192014-05-12 Will Newton <will.newton@linaro.org>
2120
2121 * malloc/Makefile (tests): Add tst-mallopt.
2122 * malloc/tst-mallopt.c: New file.
2123
0a982a29
RM
21242014-05-09 Roland McGrath <roland@hack.frob.com>
2125
2126 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2127 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2128
0ded08a5
AZ
21292014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2130
2131 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2132 (tst-tlsmod6.so): Likewise.
2133
55d4d550
RM
21342014-05-09 Roland McGrath <roland@hack.frob.com>
2135
2136 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2137
77d08aca
JM
21382014-05-09 Joseph Myers <joseph@codesourcery.com>
2139
2140 [BZ #16064]
2141 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2142 and <dl-procinfo.h>.
2143 (__fegetenv): Save SSE state in envp->__eip if supported.
2144 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2145 envp->__eip if supported.
2146 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2147 and <dl-procinfo.h>.
2148 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2149 __data_offset and __data_selector in environment to 0. Set SSE
2150 state if supported.
2151 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2152 test-fenv-sse.
2153 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2154 -mfpmath=sse.
2155 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2156
28162f4d
WN
21572014-05-09 Will Newton <will.newton@linaro.org>
2158
2159 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2160 and libc_relro_required for ARM.
2161 * sysdeps/arm/preconfigure: Regenerate.
2162
5a414ff7
DV
21632014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2164 Stefan Liebler <stli@linux.vnet.ibm.com>
2165
2166 * config.make.in (enable-lock-elision): New Makefile variable.
2167 * configure.ac: Likewise.
2168 * configure: Regenerate.
2169 * sysdeps/s390/configure.ac:
2170 Add check for gcc transactions support.
2171 * sysdeps/s390/configure: Regenerate.
2172 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2173 Build elision files if enabled.
2174 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2175 Add lock elision support for s390.
2176 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2177 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2178 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2179 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2180 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2181 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2182 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2183 Likewise.
2184 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2185 Likewise.
2186 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2187 Likewise.
2188 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2189 Likewise.
2190 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2191 (__lll_timedlock_elision, __lll_lock_elision)
2192 (__lll_unlock_elision, __lll_trylock_elision)
2193 (lll_timedlock_elision, lll_lock_elision)
2194 (lll_unlock_elision, lll_trylock_elision): Add.
2195 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2196 (pthread_mutex_t): Add lock elision support for s390.
2197
1a2f40e5
W
21982014-05-14 Wilco <wdijkstr@arm.com>
2199
2200 * sysdeps/arm/fclrexcpt.c: Cleanup.
2201 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2202 * sysdeps/arm/feenablxcpt.c: Cleanup.
2203 * sysdeps/arm/fegetenv.c: Cleanup.
2204 * sysdeps/arm/fegetexcept.c: Cleanup.
2205 * sysdeps/arm/fegetround.c: Cleanup.
2206 * sysdeps/arm/feholdexcpt.c: Cleanup.
2207 * sysdeps/arm/fesetenv.c: Cleanup.
2208 * sysdeps/arm/fesetround.c: Cleanup.
2209 * sysdeps/arm/feupdateenv.c: Cleanup.
2210 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2211 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2212 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2213 * sysdeps/arm/ftestexcept.c: Cleanup.
2214 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2215 * sysdeps/arm/setfpucw.c: Cleanup.
2216
f63c86fe
WN
22172014-05-09 Will Newton <will.newton@linaro.org>
2218
2219 * sysdeps/arm/armv7/strcmp.S: New file.
2220 * NEWS: Mention addition of ARMv7 optimized strcmp.
2221
7a1a51b5
RM
22222014-05-08 Roland McGrath <roland@hack.frob.com>
2223
95afbbe5
RM
2224 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2225 look for %.ac rather than %.in.
2226
2227 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2228 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2229 * sysdeps/mach/hurd/configure: Regenerated.
2230 * sysdeps/unix/sysv/linux/configure: Regenerated.
2231
7a1a51b5
RM
2232 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2233
5057ad3b
SE
22342014-05-07 Steve Ellcey <sellcey@mips.com>
2235
2236 [BZ# 16922]
2237 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2238 (LONG_SUB): Ditto.
2239 (PTR_SUB): Ditto.
2240
8dc97517
AS
22412014-05-07 Andreas Schwab <schwab@suse.de>
2242
2243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2244 when skipping over non-matching result from nscd.
2245
ce0c5b8f
OB
22462014-05-07 Ondřej Bílka <neleai@seznam.cz>
2247
2248 [BZ #16876]
2249 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2250
a1189263
OB
2251 [BZ #16877]
2252 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2253 nscd security class.
ce0c5b8f 2254
0f58d252
RM
22552014-05-06 Roland McGrath <roland@hack.frob.com>
2256
2257 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2258 * sysdeps/arm/unwind.h: ... here.
2259
83df9ad0
AJ
22602014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2261
ce0c5b8f
OB
2262 [BZ# 16916]
2263 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2264 Define.
83df9ad0 2265
f360f94a
VR
22662014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2267
2268 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2269 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2270 multiarch strncpy for PPC64.
2271 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2272 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2274 multiarch optimizations.
2275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2276 (__libc_ifunc_impl_list): Likewise.
2277 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2278 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2279 multiarch stpncpy for PPC64.
2280 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2281 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2282
978a41c3
AS
22832014-05-06 Andreas Schwab <schwab@suse.de>
2284
2285 [BZ #16912]
2286 * gmon/mcount.c (_MCOUNT_DECL): Use
2287 atomic_compare_and_exchange_bool_acq instead of
2288 catomic_compare_and_exchange_bool_acq.
2289
eb1ed03d
RM
22902014-05-05 Roland McGrath <roland@hack.frob.com>
2291
fe658845
RM
2292 * elf/Makefile (others, install-bin): Remove pldd.
2293 (pldd-modules): Variable removed.
2294 ($(objpfx)pldd): Target removed.
2295 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2296 (others, install-bin): Append pldd here.
2297 ($(objpfx)pldd): New target.
2298
eb1ed03d
RM
2299 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2300 to 0, so the first #if test emitted later doesn't see it undefined.
2301 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2302 * sysdeps/gnu/errlist.c: Regenerated.
2303
19c4bec0
AZ
23042014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2305
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2307 [libc_hidden_builtin_def]: Define to empty value.
2308 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2309 [libc_hidden_builtin_def]: Likewise.
2310 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2311 [libc_hidden_builtin_def]: Likewise.
2312 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2313 [libc_hidden_builtin_def]: Likewise.
2314 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2315 __redirect_memcpy and define ifunc as default hidden symbol.
2316 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2317 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2318
7776e669
AC
23192014-05-04 Adam Conrad <adconrad@0c3.net>
2320
2321 * locale/iso-4217.def: Reintroduce XDR currency.
2322
d69aeb12
AM
23232014-05-04 Allan McRae <allan@archlinux.org>
2324
2325 * po/eo.po: Update Esperanto translation from translation project.
2326
8f1df5cf
CD
23272014-05-02 Carlos O'Donell <carlos@redhat.com>
2328
2329 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2330 and FEATURE_INDEX_MAX to 1.
2331 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2332
13e402e7
SE
23332014-05-01 Steve Ellcey <sellcey@mips.com>
2334
2335 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2336 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2337 * iconvdata/big5.c (ONE_DIRECTION): Define.
2338 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2339 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2340 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2341 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2342 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2343 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2344 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2345 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2346 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2347 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2348 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2349 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2350 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2351 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2352 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2353 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2354 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2355 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2356 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2357 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2358 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2359 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2360 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2361 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2362 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2363 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2364 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2365 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2366 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2367 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2368 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2369 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2370 * iconvdata/johab.c (ONE_DIRECTION): Define.
2371 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2372 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2373 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2374 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2375 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2376 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2377 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2378 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2379 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2380 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2381
c727f032
RM
23822014-05-01 Roland McGrath <roland@hack.frob.com>
2383
8f2f08d0
RM
2384 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2385 (_IO_JUMPS_OFFSET): Define to 0.
2386
c727f032
RM
2387 * nptl/sysdeps/pthread/bits/libc-lock.h
2388 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2389 (__libc_lock_define_initialized_recursive): Always define using
2390 initializer. Modern compilers treat uninitialized (implicit zero) and
2391 explicit zero initializers the same (i.e. put the datum in bss).
2392
a849e800
AS
23932014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2394
2395 * nscd/nscd-client.h: Include <string.h>.
2396
5331255b
DM
23972014-05-01 David S. Miller <davem@davemloft.net>
2398
2399 [BZ #16885]
2400 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2401 multiple zero bytes exist at the end of a string.
2402 Reported by Aurelien Jarno <aurelien@aurel32.net>
2403
2404 * string/test-strcmp.c (check): Add explicit test for situations where
2405 there are multiple zero bytes after the first.
2406
4fdfe821
AS
24072014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2408
2409 [BZ #16890]
2410 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2411 when compiling wprintf.
2412 * stdio-common/tstdiomisc.c (t3): New function.
2413 (main): Call it.
2414
0cdddc25
SE
24152014-05-01 Steve Ellcey <sellcey@mips.com>
2416
2417 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2418 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2419 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2420 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2421
6426d77e
SE
24222014-05-01 Steve Ellcey <sellcey@mips.com>
2423
2424 * stdlib/longlong.h: Updated from GCC.
2425
6d96f5e4
WN
24262014-05-01 Will Newton <will.newton@linaro.org>
2427 Bernard Ogden <bernie.ogden@linaro.org>
2428
7470db0c
WN
2429 * NEWS: Update fixed bug list.
2430
6d96f5e4
WN
2431 [BZ #15119]
2432 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2433
211d653c
DM
24342014-04-30 David S. Miller <davem@davemloft.net>
2435
4fa262fa
DM
2436 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2437 (libc_feholdexcept_setround_sparc_ctx): New function.
2438 (libc_fesetenv_sparc_ctx): Likewise.
2439 (libc_feupdateenv_sparc_ctx): Likewise.
2440 (libc_feholdsetround_sparc_ctx): Likewise.
2441 (libc_feholdexcept_setround_ctx): Define.
2442 (libc_feholdexcept_setroundf_ctx): Likewise.
2443 (libc_feholdexcept_setroundl_ctx): Likewise.
2444 (libc_fesetenv_ctx): Likewise.
2445 (libc_fesetenvf_ctx): Likewise.
2446 (libc_fesetenvl_ctx): Likewise.
2447 (libc_feupdateenv_ctx): Likewise.
2448 (libc_feupdateenvf_ctx): Likewise.
2449 (libc_feupdateenvl_ctx): Likewise.
2450 (libc_feresetround_ctx): Likewise.
2451 (libc_feresetroundf_ctx): Likewise.
2452 (libc_feresetroundl_ctx): Likewise.
2453 (libc_feholdsetround_ctx): Likewise.
2454 (libc_feholdsetroundf_ctx): Likewise.
2455 (libc_feholdsetroundl_ctx): Likewise.
2456
1d3d93ef
DM
2457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2458 with __USE_GNU instead of XOPEN cpp guards.
2459
8aa583c3
DM
2460 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2461 0.
2462
211d653c
DM
2463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2464 with XOPEN cpp guards.
2465
60c8f1f6
JB
24662014-04-30 Julian Brown <julian@codesourcery.com>
2467
2468 [BZ #16888]
2469 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2470 handling.
2471
9a461d46
JM
24722014-04-30 Joseph Myers <joseph@codesourcery.com>
2473
d0f5b3f8
JM
2474 [BZ #9894]
2475 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2476 Change to 2.6.32.
2477 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2478 * sysdeps/unix/sysv/linux/configure: Regenerated.
2479 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2480 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2481 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2482 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2483 * README: Update reference to required Linux kernel version.
2484 * manual/install.texi (Linux): Update reference to required Linux
2485 kernel headers version.
2486 * INSTALL: Regenerated.
2487
9a461d46
JM
2488 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2489 header inclusion.
2490 [POSIX] (limits.h): Likewise.
2491 [POSIX] (math.h): Likewise.
2492 [POSIX] (sys/wait.h): Likewise.
2493 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2494 function.
2495 [POSIX] (stddef.h): Do not allow header inclusion.
2496
1775babf
AZ
24972014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498
57f41c40 2499 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2500
8f630cca
YY
25012014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2502
2503 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2504 Return immediately after lll_futex_wake.
2505
1cdeb237
SP
25062014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2507
bc8f194c
SP
2508 [BZ #16791]
2509 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2510 structure.
2511 (datahead_init_pos): Call datahead_init_common early.
2512 (datahead_init_neg): Likewise.
2513
1cdeb237
SP
2514 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2515 datahead_init_neg): New functions.
2516 * nscd/aicache.c (addhstaiX): Use them.
2517 * nscd/grpcache.c (cache_addgr): Likewise.
2518 * nscd/hstcache.c (cache_addhst): Likewise.
2519 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2520 * nscd/netgroupcache.c (do_notfound): Likewise.
2521 (addgetnetgrentX): Likewise.
2522 (addinnetgrX): Likewise.
2523 * nscd/pwdcache.c (cache_addpw): Likewise.
2524 * nscd/servicescache.c (cache_addserv): Likewise.
2525
16b293a7
SP
25262014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2527 Atsushi Onoe <atsushi@onoe.org>
2528
2529 [BZ #14308]
2530 [BZ #12994]
2531 [BZ #13651]
2532 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2533 one response is valid.
2534 * resolv/res_send.c (send_dg): Check for validity of other
2535 response if the current response is a referral.
2536
a28a9b94
SE
25372014-04-29 Steve Ellcey <sellcey@mips.com>
2538
2539 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2540
2ca180e9
SL
25412014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2542
2543 [BZ #16823]
2544 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2545 Always divide by positive zero when computing -Inf result.
2546 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2547 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2548
18f2945a
AZ
25492014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2550
2551 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2552 FPSCR if value do not change.
2553 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2554 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2555 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2556 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2557 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2558 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2559 function.
2560
5abebba4
CD
25612014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2562
2563 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2564 * sysdeps/unix/sysv/linux/hppa: Move directory from
2565 ports/systeps/unix/sysv/linux/hppa.
2566 * README: Update listing for hppa-*-linux-gnu.
2567
f7ed60c2
OB
25682014-04-28 Ondřej Bílka <neleai@seznam.cz>
2569
fff763a5
OB
2570 [BZ #16754]
2571 * manual/stdio.texi (Hook functions): Fix types of stream hook
2572 functions.
f7ed60c2
OB
2573 [BZ #16854]
2574 * socket/sys/socket.h: Fix typo in comment.
2575
df639d73
WD
25762014-04-28 Wilco <wdijkstr@arm.com>
2577
f7ed60c2 2578 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2579 * sysdeps/arm/math_private.h: New file.
2580 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2581
48332d82
L
25822014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2583
2584 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2585 with __int128_t.
2586 (La_x86_64_retval): Likewise.
2587
e5e0d9a4
IB
25882014-04-24 Ian Bolton <ian.bolton@arm.com>
2589
2590 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2591 fpsr if value didn't change.
2592 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2593 to fpcr if value didn't change.
2594 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2595 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2596 fpsr or fpcr if value didn't change.
2597 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2598 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2599 fpcr if value didn't change.
2600 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2601 to fpsr if value didn't change.
2602
bacc75f7
SP
26032014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2604
2605 * nptl/tst-sem3.c: Use test-skeleton.c
2606 (main): Rename to do_test. Use return instead of
2607 exit.
2608 * nptl/tst-sem4.c: Use test-skeleton.c
2609 (main): Rename to do_test.
2610
a059d359
DM
26112014-04-22 David S. Miller <davem@davemloft.net>
2612
2613 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2614 (struct sigaction): New struct member __glibc_reserved0, change
2615 type of sa_flags to int.
2616
ea6c92f3
YZ
26172014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2618
2619 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2620 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2621
766c4a36
SP
26222014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2623
2624 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2625 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2626
140cc7ab
VK
26272014-04-22 Will Newton <will.newton@linaro.org>
2628 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2629
2630 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2631 (__longjmp): Add longjmp and longjmp_target SystemTap
2632 probes.
2633 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2634 (__sigsetjmp): Add setjmp SystemTap probe.
2635
c54e5cf7
CD
26362014-04-17 Carlos O'Donell <carlos@redhat.com>
2637
2638 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2639 match manual order.
2640
75ffb047
AZ
26412014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2642
2643 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2644
2cd925f7
AZ
2645 * sysdeps/powerpc/fpu/fenv_private.h
2646 (libc_feholdexcept_setroundl_ctx): Define to
2647 libc_feholdexcept_setround_ppc_ctx.
2648 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2649 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2650 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2651 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2652
39e6cd8d
IB
26532014-04-17 Ian Bolton <ian.bolton@arm.com>
2654
2655 * sysdeps/aarch64/math-tests.h: New file.
2656
f9281df9
SY
26572014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2658
2659 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2660 New.
2661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2662 Check and set bit_AVX2_Usable.
2663 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2664 macro.
2665 (bit_AVX2): Likewise.
2666 (index_AVX2_Usable): Likewise.
2667 (CPUID_AVX2): Likewise.
2668 (HAS_AVX2): Likewise.
2669
37d35007
WN
26702014-04-17 Will Newton <will.newton@linaro.org>
2671
7c677662
WN
2672 * manual/setjmp.texi (System V contexts): Add note that
2673 calling setcontext on a context created by a call to a
2674 signal handler is undefined. Update text to note that
2675 setcontext from a signal handler is possible but not
2676 recommended.
2677
37d35007 2678 [BZ #16629]
e04a4e9d
WN
2679 * stdlib/tst-setcontext.c: Include signal.h.
2680 (main): Check that the signal stack before and
2681 after swapcontext is the same.
2682
37d35007
WN
2683 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2684 Re-implement to restore registers in user code and avoid
2685 rt_sigreturn system call.
2686
423a7160
W
26872014-04-17 Wilco <wdijkstr@arm.com>
2688
2689 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2690 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2691 * math/test-fenv.c: Skip exception trap tests on targets which only
2692 support non-stop mode.
2693
bc93ab29
IB
26942014-04-17 Ian Bolton <ian.bolton@arm.com>
2695 Wilco Dijkstra <wilco.dijkstra@arm.com>
2696
2697 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2698 (libc_feholdsetround_aarch64_ctx)
2699 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2700 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2701 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2702 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2703 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2704 (libc_feresetround_noexl_ctx): Define.
2705
95fc5fa3
RH
27062014-04-16 Richard Henderson <rth@redhat.com>
2707
ddb04724
RH
2708 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2709
d77c0899
RH
2710 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2711 unwind tables.
2712
a3df56fc
RH
2713 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2714 const from the non-libc, non-ldso copy.
2715
95fc5fa3
RH
2716 * sysdeps/alpha/libm-test-ulps: Regenerate.
2717
7e0b6763
IB
27182014-04-16 Ian Bolton <ian.bolton@arm.com>
2719 Wilco Dijkstra <wilco.dijkstra@arm.com>
2720
2721 * sysdeps/aarch64/fpu/math_private.h: New file.
2722
a9ea2e0c
MS
27232014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2724
2725 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2726
ea8ba7cd
IZ
27272014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2728
2729 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2730 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2732 Intel MPX bound registers before _dl_profile_fixup.
2733 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2734 registers after _dl_profile_fixup. Save and restore bound
2735 registers bnd0/bnd1 when calling _dl_call_pltexit.
2736 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2737 (LR_BND_OFFSET): Likewise.
2738 (LRV_BND0_OFFSET): Likewise.
2739 (LRV_BND1_OFFSET): Likewise.
2740
9f2a4fbc
ST
27412014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2742
2743 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2744 to...
2745 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2746 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2747 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2748 fields.
9f2a4fbc 2749
fd15a59b
ST
27502014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2751
2752 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2753
f19dfa0a
SL
27542014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2755
2756 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2757
4fa8bc3b
SL
27582014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2759
2760 [BZ #14770]
2761 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2762 * sysdeps/s390/configure: Regenerate.
2763
8ea587db
SL
2764 [BZ #16824]
2765 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2766 Set round-to-nearest internally to reduce error accumulation.
2767
aa5f0ff1
AM
27682014-04-16 Alan Modra <amodra@gmail.com>
2769
2770 [BZ #16740]
2771 [BZ #16619]
2772 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2773 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2774 * NEWS: Update fixed bug list.
aa5f0ff1 2775
bb9c256f
SP
27762014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2777
2778 * benchtests/Makefile: Depend on libraries in build directory.
2779 (bench-math): Separate out math tests.
2780 (bench-pthread): Separate out pthread tests.
2781 (bench): Include math and pthread tests.
2782
f737dfd0
CD
27832014-04-14 Carlos O'Donell <carlos@redhat.com>
2784
2785 [BZ #16831]
2786 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2787 _dl_debug_initialize.
2788
0699f766
CD
2789 * configure.ac: Remove SELinux header check.
2790 * configure: Regenerate.
2791 * nscd/selinux.c (perms): Array of const char* to permission names.
2792 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2793 default policy. Call string_to_security_class and string_to_av_perm to
2794 translate strings. Enforce default policy and call avs_has_perm with
2795 results of translated strings.
2796
809bd45f
DM
27972014-04-13 David S. Miller <davem@davemloft.net>
2798
2799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2800
89e691f2
AM
28012014-04-12 Allan McRae <allan@archlinux.org>
2802
2803 [BZ #16838]
2804 * manual/string.texi (Collation Functions): Fix qsort argument
2805 order in example.
2806 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2807
9c9daaeb
CM
28082014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2809
2810 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2811 Make the test a no-op if there are no exceptions defined.
2812
95561fb9
PP
28132014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2814
fe8d072c 2815 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2816 enable-hardcoded-path-in-tests
2817
970c602a
WN
28182014-04-11 Will Newton <will.newton@linaro.org>
2819
2820 * benchtests/Makefile (extra-objs): Add json-lib.o.
2821 (bench-func): Tidy up JSON output.
2822 * benchtests/bench-skeleton.c: Include json-lib.h.
2823 (main): Use JSON library functions to do output of
2824 benchmark results.
2825 * benchtests/bench-timing-type.c (main): Output the
2826 timing type simply, leaving formatting to the user.
2827 * benchtests/json-lib.c: New file.
2828 * benchtests/json-lib.h: Likewise.
2829
36875b06
TR
28302014-04-11 Torvald Riegel <triegel@redhat.com>
2831
2832 [BZ #15215]
2833 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2834 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2835 memory barriers. Add comments.
2836 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2837 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2838 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2839 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2840 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2841 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2842
579db35a
SL
28432014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2844
2845 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2846 * sysdeps/s390/s390-64/configure.ac: ... this ...
2847 * sysdeps/s390/configure.ac: ... to here.
2848 * sysdeps/s390/s390-32/configure: Delete file.
2849 * sysdeps/s390/s390-64/configure: Delete file.
2850 * sysdeps/s390/configure: Regenerate.
2851
c12e9f37
JAPH
28522014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2853
2854 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2855
439bda32
WN
28562014-04-11 Will Newton <will.newton@linaro.org>
2857
2858 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2859 to zero if it is not defined elsewhere. (mtrim): Test
2860 the value of MALLOC_DEBUG with #if rather than #ifdef.
2861
6a5d6ea1
TR
28622014-04-10 Torvald Riegel <triegel@redhat.com>
2863
2864 * benchtests/pthread_once-inputs: New file.
2865 * benchtests/pthread_once-source.c: New file.
2866 * benchtests/README: Update documentation.
2867
a4c75cfd
IZ
28682014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2869 H.J. Lu <hongjiu.lu@intel.com>
2870
2871 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2872 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2873 * sysdeps/x86_64/configure: Regenerated.
2874 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2875 macro.
2876 (REGISTER_SAVE_RAX): Likewise.
2877 (REGISTER_SAVE_RCX): Likewise.
2878 (REGISTER_SAVE_RDX): Likewise.
2879 (REGISTER_SAVE_RSI): Likewise.
2880 (REGISTER_SAVE_RDI): Likewise.
2881 (REGISTER_SAVE_R8): Likewise.
2882 (REGISTER_SAVE_R9): Likewise.
2883 (REGISTER_SAVE_BND0): Likewise.
2884 (REGISTER_SAVE_BND1): Likewise.
2885 (REGISTER_SAVE_BND2): Likewise.
2886 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2887 bound registers when calling _dl_fixup.
2888
27822ce6
AZ
28892014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2890
2891 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2892 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2893 of its definition.
27822ce6
AZ
2894 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2895 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2896 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2897 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2898 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2899 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2900 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2901
a88ddc90
PTB
29022014-04-09 Peter Brett <peter@peter-b.co.uk>
2903
2904 [BZ #15514]
2905 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2906 pathconf(_PC_NAME_MAX).
2907
01f8eac2
AZ
29082014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2909
2910 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2911 Remove macro usage.
2912 (__PTHREAD_SPINS): Move definition to ...
2913 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2914 (__PTHREAD_SPINS): ... here.
2915 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2916 (__PTHREAD_SPIN): Likewise.
2917 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2918 (__PTHREAD_SPIN): Likewise.
2919 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2920 (__PTHREAD_SPIN): Likewise.
2921 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2922 (__PTHREAD_SPIN): Likewise.
2923 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2924 (__PTHREAD_SPIN): Likewise.
2925 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2926 (__PTHREAD_SPIN): Likewise.
2927 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2928 (__PTHREAD_SPIN): Likewise.
2929 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2930 (__PTHREAD_SPIN): Likewise.
2931 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2932 (__PTHREAD_SPIN): Likewise.
2933 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2934 (__PTHREAD_SPIN): Likewise.
2935 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2936 (__PTHREAD_SPIN): Likewise.
2937 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2938 (__PTHREAD_SPIN): Likewise.
2939
de21c33c
AZ
2940 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2941 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2942 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2943 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2944 imply folder.
2945 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2946 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2947 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2948 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2949 correct imply path.
2950 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2951 strlen symbol for non multi-arch builds.
2952 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2953 missing hidden_def and weak_alias.
2954
862c472e
CD
29552014-04-08 Carlos O'Donell <carlos@redhat.com>
2956
2957 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2958
8667f90e
WN
29592014-04-07 Will Newton <will.newton@linaro.org>
2960
2961 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2962 and contents. [!_LIBC] Remove #ifndef and contents.
2963 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2964 * string/memccpy.c (__memccpy): Use ANSI prototype.
2965 * string/memfrob.c (memfrob): Likewise.
2966 * string/strcoll.c (STRCOLL): Likewise.
2967 * string/strlen.c (strlen): Likewise.
2968 * string/strtok.c (STRTOK): Likewise.
2969 * string/strcat.c: Remove unused #include of memcopy.h.
2970 (strcat): Use ANSI prototype.
2971 * string/strchr.c: Remove unused #include of memcopy.h.
2972 (strchr): Use ANSI prototype.
2973 * string/strcmp.c: Remove unused #include of memcopy.h.
2974 (strcmp): Use ANSI prototype.
2975 * string/strcpy.c: Remove unused #include of memcopy.h.
2976 (strcpy): Use ANSI prototype.
2977
7ffa9423
AZ
29782014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2979
2980 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2981 * config.make.in (config-extra-cppflags): Set it from
2982 libc_extra_cppflags.
2983 * configure.ac (libc_extra_cflags): Make it accumulate over
2984 configure fragments.
2985 (libc_extra_cppflags): New flag.
2986 * configure. Regenerate.
2987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2988 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2989 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2991
8bd70862
AZ
2992 [BZ #16815]
2993 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2994 result for FE_DOWNWARD rounding mode.
2995 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2996 Likewise.
2997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2998
d42f3448
CM
29992014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3000
3001 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3002 in function argument name.
3003
1c21d115
DS
30042014-04-03 David Svoboda <svoboda@cert.org>
3005
3006 [BZ #5666]
3007 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3008 explicitly.
3009
fcccd512
RM
30102014-04-03 Roland McGrath <roland@hack.frob.com>
3011
3012 * elf/dl-unmap-segments.h: New file.
3013 * sysdeps/generic/ldsodefs.h
3014 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3015 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3016 * elf/dl-fptr.c: Likewise.
3017 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3018 * sysdeps/aarch64/tlsdesc.c: Likewise.
3019 * sysdeps/arm/tlsdesc.c: Likewise.
3020 * sysdeps/i386/tlsdesc.c: Likewise.
3021 * sysdeps/tile/dl-runtime.c: Likewise.
3022 * sysdeps/x86_64/tlsdesc.c: Likewise.
3023 * elf/dl-load.h: New file.
3024 * elf/dl-load.c: Include it.
3025 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3026 Macros moved to dl-load.h.
3027 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3028 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3029 Use _dl_unmap_segments in place of __munmap.
3030 Break out segment-mapping loop into ...
3031 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3032
f6488e2b
WN
30332014-04-03 Will Newton <will.newton@linaro.org>
3034
3035 * elf/dl-lookup.c (do_lookup_x): Remove comment
3036 referring to nested function and move variable
3037 declarations down to before first use.
3038
6f05bafe
JM
30392014-04-02 Joseph Myers <joseph@codesourcery.com>
3040
a84e78c8
JM
3041 [BZ #16799]
3042 [BZ #16800]
3043 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3044 with 0 numerator.
3045 * math/s_catanf.c (__catanf): Likewise.
3046 * math/s_catanh.c (__catanh): Likewise.
3047 * math/s_catanhf.c (__catanhf): Likewise.
3048 * math/s_catanhl.c (__catanhl): Likewise.
3049 * math/s_catanl.c (__catanl): Likewise.
3050 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3051 by positive zero when computing -Inf result.
3052 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3053 (catanh_test): Likewise.
3054 * sysdeps/i386/fpu/libm-test-ulps: Update.
3055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3056
6f05bafe
JM
3057 [BZ #16789]
3058 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3059 instead of using underflowing value in computing result.
3060 * math/s_clog10.c (__clog10): Likewise.
3061 * math/s_clog10f.c (__clog10f): Likewise.
3062 * math/s_clog10l.c (__clog10l): Likewise.
3063 * math/s_clogf.c (__clogf): Likewise.
3064 * math/s_clogl.c (__clogl): Likewise.
3065 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3066 (clog10_test): Likewise.
3067 * sysdeps/i386/fpu/libm-test-ulps: Update.
3068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3069
b0abbc21
AM
30702014-04-02 Alan Modra <amodra@gmail.com>
3071
3072 [BZ #16739]
3073 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3074 output when value is near a power of two. Use int64_t for lx and
3075 remove casts. Use decimal rather than hex exponent constants.
3076 Don't use long double multiplication when double will suffice.
3077 * math/libm-test.inc (nextafter_test_data): Add tests.
3078 * NEWS: Add 16739 and 16786 to bug list.
3079
af6b1797
AM
3080 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3081
483818d7
AM
3082 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3083
f6c55796
WN
30842014-04-01 Will Newton <will.newton@linaro.org>
3085
3086 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3087 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3088
13f7fe35
FW
30892014-04-01 Florian Weimer <fweimer@redhat.com>
3090
3091 [BZ #13347]
3092 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3093 * nptl/tst-setuid2.c: New file.
3094 * nptl/Makefile (xtests): Add tst-setuid2.
3095
c859b32e
AM
30962014-04-01 Alan Modra <amodra@gmail.com>
3097
3098 [BZ #16786]
3099 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3100
54fa2475
JM
31012014-03-31 Joseph Myers <joseph@codesourcery.com>
3102
8795b4a4
JM
3103 [BZ #6803]
3104 [BZ #6804]
3105 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3106 set errno as appropriate.
3107 * math/w_scalbf.c (__scalbf): Likewise.
3108 * math/w_scalbl.c (__scalbl): Likewise.
3109 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3110 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3111 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3112 Add more NaN tests.
3113
54fa2475
JM
3114 [BZ #16349]
3115 * math/w_atan2.c: Include <errno.h>.
3116 (__atan2): Set errno for result underflowing to zero.
3117 * math/w_atan2f.c: Include <errno.h>.
3118 (__atan2f): Set errno for result underflowing to zero.
3119 * math/w_atan2l.c: Include <errno.h>.
3120 (__atan2l): Set errno for result underflowing to zero.
3121 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3122 tests.
3123 * math/auto-libm-test-out: Regenerated.
3124
757d9dd5
AZ
31252014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3126
3127 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3128 Encode instruction correctly in little endian.
3129 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3130 Likewise.
3131 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3132 Likewise.
3133 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3134 Likewise.
3135 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3136 Likewise.
3137
d7a68734
JM
31382014-03-31 Joseph Myers <joseph@codesourcery.com>
3139
47c5adeb
JM
3140 [BZ #9894]
3141 * sysdeps/unix/sysv/linux/kernel-features.h
3142 [__sparc__ && !__arch64__ && !__sparc_v9__]
3143 (__ASSUME_SET_ROBUST_LIST): Do not define.
3144 [__sparc__ && !__arch64__ && !__sparc_v9__]
3145 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3146 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3147 Likewise.
3148 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3149 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3150 (__ASSUME_REQUEUE_PI): Likewise.
3151 (__ASSUME_SET_ROBUST_LIST): Likewise.
3152 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3153 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3154 Undefine.
3155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3156 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3157 Likewise.
3158 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3159 Likewise.
3160 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3161 Likewise.
3162 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3163 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3164 Undefine.
3165 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3166 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3167 Likewise.
3168
d7a68734
JM
3169 [BZ #16648]
3170 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3171 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3172 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3173
c760f5c2
WN
31742014-03-31 Will Newton <will.newton@linaro.org>
3175
3176 * benchtests/Makefile (bench): Add ffs and ffsll to list
3177 of tests.
3178 * benchtests/ffs-inputs: New file.
3179 * benchtests/ffsll-inputs: Likewise.
3180
ea6029b1
JM
31812014-03-29 Joseph Myers <joseph@codesourcery.com>
3182
3183 [BZ #16770]
3184 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3185 too large before casting to int.
3186 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3187 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3188 * math/libm-test.inc (scalb_test_data): Add more tests.
3189
cf806aff
SP
31902014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3191
56737508
SP
3192 * benchtests/Makefile (DETAILED_OPT): New make option.
3193 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3194 set.
3195 * benchtests/bench-skeleton.c: Include stdbool.h.
3196 (main): Store and print timings per input.
3197 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3198 member to each argument value.
3199 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3200 (_print_arg_data): Initialize per-input timing to 0.
3201
cb5e4aad
SP
3202 * benchtests/Makefile (timing-type): New binary.
3203 (bench-clean): Also remove bench-timing-type.
3204 (bench): New target for timing-type.
3205 (bench-func): Print output in JSON format.
3206 * benchtests/bench-skeleton.c (main): Print output in JSON
3207 format.
3208 * benchtests/bench-timing-type.c: New file.
3209 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3210 (TIMING_PRINT_STATS): Remove.
3211 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3212 name separately.
3213
cf806aff
SP
3214 * benchtests/bench-modf.c: Remove.
3215 * benchtests/modf-inputs: New inputs file.
3216
289e0779
JM
32172014-03-28 Joseph Myers <joseph@codesourcery.com>
3218
3219 [BZ #16362]
3220 * math/s_clog10.c (M_PI_LOG10E): New macro.
3221 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3222 imaginary parts are 0.
3223 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3224 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3225 imaginary parts are 0.
3226 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3227 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3228 imaginary parts are 0.
3229 * math/libm-test.inc (clog10_test_data): Update expected results
3230 for when real and imaginary parts are 0.
3231
277ae3f1
PP
32322014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3233
3234 * elf/dl-load.c: Finish conversion of __builtin_expect into
3235 __glibc_{un}likely.
3236
03a7091f
JM
32372014-03-27 Joseph Myers <joseph@codesourcery.com>
3238
3239 [BZ #16348]
3240 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3241 1+x for argument with exponent below -67.
3242 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3243 Likewise.
3244 * math/auto-libm-test-in: Add more tests of exp.
3245 * math/auto-libm-test-out: Regenerated.
3246
ea7d8b95
SP
32472014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3248
dd3022d7
SP
3249 [BZ #16759]
3250 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3251 (nscd_getnetgrent): Use it.
3252
ea7d8b95
SP
3253 [BZ #16760]
3254 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3255 of stpcpy.
3256
df5b85da
AK
32572014-03-27 Andi Kleen <ak@linux.intel.com>
3258
57f41c40
AS
3259 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3260 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3261 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3262 (lll_robust_unlock): Remove out of line section. Use cfi
3263 intrinsics.
df5b85da 3264 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3265 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3266 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3267 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3268 (lll_robust_unlock): Remove out of line section. Use cfi
3269 intrinsics.
df5b85da
AK
3270 (LLL_STUB_UNWIND_INFO*): Remove.
3271
fbd6b5a4
SP
32722014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3273
3274 [BZ #16758]
3275 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3276 blank values.
3277
1b26b855
PP
32782014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3279
3280 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3281
9be36fb8
JM
32822014-03-26 Joseph Myers <joseph@codesourcery.com>
3283
3284 [BZ #16198]
3285 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3286 fnstenv.
3287 * math/test-fenv-preserve.c: New file.
3288 * math/Makefile (tests): Add test-fenv-preserve.
3289
60a2f3c1
WN
32902014-03-26 Will Newton <will.newton@linaro.org>
3291
3292 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3293
a5e5f1e2
RM
32942014-03-25 Roland McGrath <roland@hack.frob.com>
3295
3296 * scripts/versionlist.awk: Partition the version sets and emit all
3297 GLIBC_* (sorted) before all others (sorted).
3298
00f4012a
JM
32992014-03-25 Joseph Myers <joseph@codesourcery.com>
3300
3301 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3302 GLIBC_2.2.5 version.
3303
7bc5a741
AZ
33042014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3305
3306 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3307 calls.
3308
7578473b
AZ
3309 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3310 previous change.
3311
f3f1dab3
AZ
3312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3313
6da36183
AS
33142014-03-25 Andreas Schwab <schwab@suse.de>
3315
3316 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3317 label to be used after in6ailist is initialized.
3318
f3f1dab3 33192014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3320
7578473b 3321 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3322 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3323
046651c1
JM
33242014-03-25 Joseph Myers <joseph@codesourcery.com>
3325
3326 [BZ #16357]
3327 [BZ #16599]
3328 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3329 min_plus_half.
3330 (fp_formats): Update initializers.
3331 (init_fp_formats): Initialize new field.
3332 (output_for_one_input_case): Allow underflow for results up to
3333 min_plus_half.
3334 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3335 * math/auto-libm-test-in: Don't mark some underflows from asin and
3336 atanh as spurious.
3337 * math/auto-libm-test-out: Regenerated.
3338 * sysdeps/i386/fpu/libm-test-ulps: Update.
3339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3340
003e49ed
AS
33412014-03-25 Andreas Schwab <schwab@suse.de>
3342
3343 * libio/Makefile (tst-ftell-partial-wide-ENV)
3344 (tst-ftell-active-handler-ENV): Define.
3345
de031874
SL
33462014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3347
3348 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3349
55a81e3b
PP
33502014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3351
3352 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3353
f3426898
JM
33542014-03-24 Joseph Myers <joseph@codesourcery.com>
3355
3356 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3357 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3358 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3359
a42faf59
PP
33602014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3361
3362 [BZ #16634]
a42faf59 3363 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3364 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3365 (open_path): Change from boolean 'secure' to complete flag 'mode'
3366 (_dl_map_object): Adjust.
a42faf59
PP
3367 * elf/Makefile (tests): Add tst-dlopen-aout.
3368 * elf/tst-dlopen-aout.c: New test.
3369
50936127
SL
33702014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3371
3372 [BZ #16714]
3373 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3374 (struct stat): Rename member pad0 to __glibc_reserved0.
3375
26011b5c
SL
3376 [BZ #16712]
3377 * sysdeps/s390/s390-32/bits/wordsize.h
3378 (__WORDSIZE32_SIZE_ULONG): New define.
3379 * sysdeps/s390/s390-64/bits/wordsize.h
3380 (__WORDSIZE32_SIZE_ULONG): Likewise.
3381 * sysdeps/generic/stdint.h (SIZE_MAX):
3382 Define as UL if __WORDSIZE32_SIZE_ULONG.
3383
a2d86bf1
SL
3384 [BZ #16713]
3385 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3386 (__glibc_reserved0): New variable.
3387 (sa_flags): Change type to int.
3388
78b6eebc
SL
3389 * posix/Makefile (before-compile): Use += before-compile instead
3390 of a :=.
3391
f1399b5a
SL
3392 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3393 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3394
a071766e
AS
33952014-03-20 Andreas Schwab <schwab@suse.de>
3396
3397 [BZ #16743]
3398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3399 non-matching result from nscd.
3400
27c673b8
SP
34012014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3402
3403 * scripts/bench.py: Moved to ...
3404 * benchtests/scripts/bench.py: ... here.
3405 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3406
44152e4b
AS
34072014-03-24 Andreas Schwab <schwab@suse.de>
3408
3409 [BZ #16002]
3410 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3411 alloca_account and account alloca use for struct in6ailist.
3412
b376a11a
JM
34132014-03-24 Joseph Myers <joseph@codesourcery.com>
3414
3415 [BZ #16284]
3416 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3417 rounding mode to recompute results that overflow to infinity or
3418 underflow to zero.
3419 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3420 bug 16284.
3421 * math/auto-libm-test-out: Regenerated.
3422 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3423 (ccosh_test): Likewise.
3424 (csin_test_data): Use plus_oflow.
3425 (csin_test): Use ALL_RM_TEST.
3426 (csinh_test_data): Use plus_oflow.
3427 (csinh_test): Use ALL_RM_TEST.
3428 * sysdeps/i386/fpu/libm-test-ulps: Update.
3429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3430
f7be7376
JM
34312014-03-21 Joseph Myers <joseph@codesourcery.com>
3432
1ca2d03e
JM
3433 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3434 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3435 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3436
f7be7376
JM
3437 [BZ #16731]
3438 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3439 when x - 1 is zero.
3440 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3441 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3442 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3443 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3444 argument is 1.
3445 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3446 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3447 zero.
3448 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3449 * sysdeps/i386/fpu/libm-test-ulps: Update.
3450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3451
fdf4534d
SP
34522014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3453
df26ea53
SP
3454 * scripts/bench.pl: Remove file.
3455 * scripts/bench.py: New benchmark script.
3456 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3457 * benchtests/README: Mention python dependency.
3458 * scripts/pylintrc: New file.
3459 * scripts/pylint: New file.
3460
fdf4534d
SP
3461 * bits/mathdef.h: Use #ifdef instead of #if.
3462 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3463 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3464 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3465 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3466 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3467 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3468
6f23d093
AZ
34692014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3470 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3471
3472 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3474 and strpbrk-ppc64 objects.
3475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3476 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3477 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3478 multiarch strpbrk for POWER7.
3479 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3480 multiarch strpbrk for PPC64.
3481 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3482 ifunc selector.
3483 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3484 strpbrk for POWER7.
3485
8c92dfff
JM
34862014-03-20 Joseph Myers <joseph@codesourcery.com>
3487
3488 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3489 (atan_test): Likewise.
3490 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3491 (atanh_test): Use ALL_RM_TEST.
3492 (atan2_test_data): Likewise.
3493 (cabs_test): Likewise.
3494 (cacosh_test): Likewise.
3495 (carg_test): Likewise.
3496 (casin_test): Likewise.
3497 (casinh_test): Likewise.
3498 (cbrt_test): Likewise.
3499 (csqrt_test): Likewise.
3500 (erf_test): Likewise.
3501 (erfc_test): Likewise.
3502 (pow10_test): Likewise.
3503 (exp2_test): Likewise.
3504 (hypot_test): Likewise.
3505 (j0_test): Likewise.
3506 (j1_test): Likewise.
3507 (lgamma_test): Likewise.
3508 (gamma_test): Likewise.
3509 (sincos_test): Likewise.
3510 (tanh_test): Likewise.
3511 (y0_test): Likewise.
3512 (y1_test): Likewise.
3513 * sysdeps/i386/fpu/libm-test-ulps: Update.
3514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3515
6eaf95cb
AZ
35162014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3517
a387428c
SP
3518 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3520 and strcspn-ppc64 objects.
3521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3522 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3523 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3524 multiarch strcspn for POWER7.
3525 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3526 multiarch strcspn for PPC64.
3527 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3528 ifunc selector.
3529 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3530 strcspn for POWER7.
3531
ae3a5dff
JM
35322014-03-20 Joseph Myers <joseph@codesourcery.com>
3533
3534 * math/gen-libm-test.pl (generate_testfile): Expect only function
3535 name as argument to AUTO_TESTS_* and pass results for all rounding
3536 modes to parse_args.
3537 (parse_auto_input): Separate inputs of automatic tests from
3538 outputs before storing in %auto_tests.
3539 * math/libm-test.inc (acos_test_data): Update call to
3540 AUTO_TESTS_f_f.
3541 (acos_test): Use ALL_RM_TEST.
3542 (acos_tonearest_test_data): Remove.
3543 (acos_test_tonearest): Likewise.
3544 (acos_towardzero_test_data): Likewise.
3545 (acos_test_towardzero): Likewise.
3546 (acos_downward_test_data): Likewise.
3547 (acos_test_downward): Likewise.
3548 (acos_upward_test_data): Likewise.
3549 (acos_test_upward): Likewise.
3550 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3551 (asin_test_data): Likewise.
3552 (asin_test): Use ALL_RM_TEST.
3553 (asin_tonearest_test_data): Remove.
3554 (asin_test_tonearest): Likewise.
3555 (asin_towardzero_test_data): Likewise.
3556 (asin_test_towardzero): Likewise.
3557 (asin_downward_test_data): Likewise.
3558 (asin_test_downward): Likewise.
3559 (asin_upward_test_data): Likewise.
3560 (asin_test_upward): Likewise.
3561 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3562 (atan_test_data): Likewise.
3563 (atanh_test_data): Likewise.
3564 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3565 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3566 (carg_test_data): Likewise.
3567 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3568 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3569 (ccosh_test_data): Likewise.
3570 (cexp_test_data): Likewise.
3571 (clog_test_data): Likewise.
3572 (clog10_test_data): Likewise.
3573 (cos_test_data): Update call to AUTO_TESTS_f_f.
3574 (cos_test): Use ALL_RM_TEST.
3575 (cos_tonearest_test_data): Remove.
3576 (cos_test_tonearest): Likewise.
3577 (cos_towardzero_test_data): Likewise.
3578 (cos_test_towardzero): Likewise.
3579 (cos_downward_test_data): Likewise.
3580 (cos_test_downward): Likewise.
3581 (cos_upward_test_data): Likewise.
3582 (cos_test_upward): Likewise.
3583 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3584 (cosh_test): Use ALL_RM_TEST.
3585 (cosh_tonearest_test_data): Remove.
3586 (cosh_test_tonearest): Likewise.
3587 (cosh_towardzero_test_data): Likewise.
3588 (cosh_test_towardzero): Likewise.
3589 (cosh_downward_test_data): Likewise.
3590 (cosh_test_downward): Likewise.
3591 (cosh_upward_test_data): Likewise.
3592 (cosh_test_upward): Likewise.
3593 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3594 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3595 (ctan_test_data): Likewise.
3596 (ctan_test): Use ALL_RM_TEST.
3597 (ctan_tonearest_test_data): Remove.
3598 (ctan_test_tonearest): Likewise.
3599 (ctan_towardzero_test_data): Likewise.
3600 (ctan_test_towardzero): Likewise.
3601 (ctan_downward_test_data): Likewise.
3602 (ctan_test_downward): Likewise.
3603 (ctan_upward_test_data): Likewise.
3604 (ctan_test_upward): Likewise.
3605 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3606 (ctanh_test): Use ALL_RM_TEST.
3607 (ctanh_tonearest_test_data): Remove.
3608 (ctanh_test_tonearest): Likewise.
3609 (ctanh_towardzero_test_data): Likewise.
3610 (ctanh_test_towardzero): Likewise.
3611 (ctanh_downward_test_data): Likewise.
3612 (ctanh_test_downward): Likewise.
3613 (ctanh_upward_test_data): Likewise.
3614 (ctanh_test_upward): Likewise.
3615 (erf_test_data): Update call to AUTO_TESTS_f_f.
3616 (erfc_test_data): Likewise.
3617 (exp_test_data): Likewise.
3618 (exp_test): Use ALL_RM_TEST.
3619 (exp_tonearest_test_data): Remove.
3620 (exp_test_tonearest): Likewise.
3621 (exp_towardzero_test_data): Likewise.
3622 (exp_test_towardzero): Likewise.
3623 (exp_downward_test_data): Likewise.
3624 (exp_test_downward): Likewise.
3625 (exp_upward_test_data): Likewise.
3626 (exp_test_upward): Likewise.
3627 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3628 (exp10_test): Use ALL_RM_TEST.
3629 (exp10_tonearest_test_data): Remove.
3630 (exp10_test_tonearest): Likewise.
3631 (exp10_towardzero_test_data): Likewise.
3632 (exp10_test_towardzero): Likewise.
3633 (exp10_downward_test_data): Likewise.
3634 (exp10_test_downward): Likewise.
3635 (exp10_upward_test_data): Likewise.
3636 (exp10_test_upward): Likewise.
3637 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3638 (expm1_test_data): Likewise.
3639 (expm1_test): Use ALL_RM_TEST.
3640 (expm1_tonearest_test_data): Remove.
3641 (expm1_test_tonearest): Likewise.
3642 (expm1_towardzero_test_data): Likewise.
3643 (expm1_test_towardzero): Likewise.
3644 (expm1_downward_test_data): Likewise.
3645 (expm1_test_downward): Likewise.
3646 (expm1_upward_test_data): Likewise.
3647 (expm1_test_upward): Likewise.
3648 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3649 (fma_test): Use ALL_RM_TEST.
3650 (fma_towardzero_test_data): Remove.
3651 (fma_test_towardzero): Likewise.
3652 (fma_downward_test_data): Likewise.
3653 (fma_test_downward): Likewise.
3654 (fma_upward_test_data): Likewise.
3655 (fma_test_upward): Likewise.
3656 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3657 (j0_test_data): Update call to AUTO_TESTS_f_f.
3658 (j1_test_data): Likewise.
3659 (jn_test_data): Update call to AUTO_TESTS_if_f.
3660 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3661 (log_test_data): Update call to AUTO_TESTS_f_f.
3662 (log10_test_data): Likewise.
3663 (log1p_test_data): Likewise.
3664 (log2_test_data): Likewise.
3665 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3666 (pow_tonearest_test_data): Likewise.
3667 (sin_test_data): Update call to AUTO_TESTS_f_f.
3668 (sin_test): Use ALL_RM_TEST.
3669 (sin_tonearest_test_data): Remove.
3670 (sin_test_tonearest): Likewise.
3671 (sin_towardzero_test_data): Likewise.
3672 (sin_test_towardzero): Likewise.
3673 (sin_downward_test_data): Likewise.
3674 (sin_test_downward): Likewise.
3675 (sin_upward_test_data): Likewise.
3676 (sin_test_upward): Likewise.
3677 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3678 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3679 (sinh_test): Use ALL_RM_TEST.
3680 (sinh_tonearest_test_data): Remove.
3681 (sinh_test_tonearest): Likewise.
3682 (sinh_towardzero_test_data): Likewise.
3683 (sinh_test_towardzero): Likewise.
3684 (sinh_downward_test_data): Likewise.
3685 (sinh_test_downward): Likewise.
3686 (sinh_upward_test_data): Likewise.
3687 (sinh_test_upward): Likewise.
3688 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3689 (sqrt_test): Use ALL_RM_TEST.
3690 (sqrt_tonearest_test_data): Remove.
3691 (sqrt_test_tonearest): Likewise.
3692 (sqrt_towardzero_test_data): Likewise.
3693 (sqrt_test_towardzero): Likewise.
3694 (sqrt_downward_test_data): Likewise.
3695 (sqrt_test_downward): Likewise.
3696 (sqrt_upward_test_data): Likewise.
3697 (sqrt_test_upward): Likewise.
3698 (tan_test_data): Update call to AUTO_TESTS_f_f.
3699 (tan_test): Use ALL_RM_TEST.
3700 (tan_tonearest_test_data): Remove.
3701 (tan_test_tonearest): Likewise.
3702 (tan_towardzero_test_data): Likewise.
3703 (tan_test_towardzero): Likewise.
3704 (tan_downward_test_data): Likewise.
3705 (tan_test_downward): Likewise.
3706 (tan_upward_test_data): Likewise.
3707 (tan_test_upward): Likewise.
3708 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3709 (tgamma_test_data): Likewise.
3710 (y0_test_data): Likewise.
3711 (y1_test_data): Likewise.
3712 (yn_test_data): Update call to AUTO_TESTS_if_f.
3713 (main): Do not call removed functions.
3714
d71aeee8
JM
37152014-03-19 Joseph Myers <joseph@codesourcery.com>
3716
3717 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3718 (ldexp_test_data): Remove.
3719 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3720 scalbn_test_data.
3721 (scalb_test): Use ALL_RM_TEST.
3722
baaf1ded
AS
37232014-03-19 Andreas Schwab <schwab@suse.de>
3724
3725 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3726
b1115e91
JM
37272014-03-19 Joseph Myers <joseph@codesourcery.com>
3728
3729 [BZ #16649]
3730 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3731 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3732 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3733 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3734 (__ASSUME_PREADV): Undefine.
3735 (__ASSUME_PWRITEV): Likewise.
3736
0283ecca
RM
37372014-03-18 Roland McGrath <roland@hack.frob.com>
3738
7d375303
RM
3739 * bits/mman-linux.h: Add comment about non-Linux use.
3740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3741 bits/mman-linux.h resting place.
3742
0283ecca
RM
3743 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3744 * bits/mman-linux.h: ... here.
3745
aebe1003
AZ
37462014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3747
3748 * conform/conformtest.pl: Add standard definition when calling C
3749 preprocessor on data files.
3750 (checknamespace): Remove unused variable.
3751
b29b6bb8
JM
37522014-03-18 Joseph Myers <joseph@codesourcery.com>
3753
3754 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3755 minus_oflow, plus_uflow and minus_uflow in expected results.
3756 * math/libm-test.inc (scalbn_test_data): Add more tests of
3757 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3758 minus_uflow.
3759 (scalbn_test): Use ALL_RM_TEST.
3760 (scalbln_test_data): Add more tests of negative arguments. Use
3761 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3762 (scalbln_test): Use ALL_RM_TEST.
3763
c8f8fa15
RM
37642014-03-18 Roland McGrath <roland@hack.frob.com>
3765
3766 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3767
fede7a5f
WN
37682014-03-18 Will Newton <will.newton@linaro.org>
3769
3770 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3771 inaccurate comment.
3772
80cf0a58
JM
37732014-03-18 Joseph Myers <joseph@codesourcery.com>
3774
3775 * Makerules [!subdir] (check-abi): Exit with error status if a
3776 test failed.
3777
b3620862
JM
37782014-03-17 Joseph Myers <joseph@codesourcery.com>
3779
3780 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3781 for rint. Include results for all rounding modes.
3782 (nearbyint_test): Use ALL_RM_TEST.
3783 (rint_test_data): Include all tests used for nearbyint.
3784
788bba36
WN
37852014-03-17 Will Newton <will.newton@linaro.org>
3786
04ec140a
WN
3787 * nptl/sysdeps/pthread/pthread.h: Revert previous
3788 change.
3789
7579d8d5
WN
3790 * sysdeps/generic/ldsodefs.h: Revert previous
3791 change.
3792
c15cf13a
WN
3793 * libio/genops.c: Revert previous change.
3794 * libio/libioP.h: Likewise.
3795 * stdio-common/vfprintf.c: Likewise.
3796
d0ac1324
WN
3797 * sysdeps/generic/math_private.h: Revert previous
3798 change.
3799
9290130a
WN
3800 * sysdeps/generic/math_private.h: Check whether
3801 HAVE_RM_CTX is defined with #ifdef rather
3802 than #if.
3803
afb466fc
WN
3804 * argp/argp-fmtstream.h: Check whether
3805 __STRICT_ANSI__ is defined with #ifdef rather
3806 than #if.
3807 * argp/argp.h: Likewise.
3808
f7efd7c3
WN
3809 * libio/genops.c: Check whether
3810 _IO_JUMPS_OFFSET is defined with #ifdef rather
3811 than #if.
3812 * libio/libioP.h: Likewise.
3813 * stdio-common/vfprintf.c: Likewise.
3814
53f1bed3
WN
3815 * sysdeps/generic/ldsodefs.h: Check whether
3816 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3817 than #if.
3818
788bba36
WN
3819 * nptl/sysdeps/pthread/pthread.h: Check
3820 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3821 its value.
3822
fcd89ebe
SP
38232014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3824
ae42bbc5
SP
3825 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3826 setting O_APPEND.
3827 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3828 test case.
3829
ea33158c
SP
3830 [BZ #16680]
3831 * libio/fileops.c (_IO_file_open): Seek to end of file but
3832 don't cache the offset.
3833 (get_file_offset): Remove function.
3834 (do_ftell): Use cached offset when available.
3835 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3836 don't cache the offset.
3837 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3838 case.
3839 (do_one_test): Call it.
3840 (do_ftell_test): Fix up expected old offset for a+ mode.
3841 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3842 available.
3843
b1dbb426
SP
3844 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3845 up test status with function return status.
3846 (do_write_test): Likewise.
3847 (do_append_test): Likewise.
3848
fcd89ebe
SP
3849 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3850 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3851 Remove.
3852
9962a2d3
JM
38532014-03-17 Joseph Myers <joseph@codesourcery.com>
3854
3855 * math/gen-libm-test.pl (parse_args): Handle results specified for
3856 each rounding mode separately.
3857 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3858 tests and results from lrint_tonearest_test_data,
3859 lrint_towardzero_test_data, lrint_downward_test_data and
3860 lrint_upward_test_data.
3861 (lrint_test): Use ALL_RM_TEST.
3862 (lrint_tonearest_test_data): Remove.
3863 (lrint_test_tonearest): Likewise.
3864 (lrint_towardzero_test_data): Likewise.
3865 (lrint_test_towardzero): Likewise.
3866 (lrint_downward_test_data): Likewise.
3867 (lrint_test_downward): Likewise.
3868 (lrint_upward_test_data): Likewise.
3869 (lrint_test_upward): Likewise.
3870 (llrint_test_data): Merge in per-rounding-mode tests and results
3871 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3872 llrint_downward_test_data and llrint_upward_test_data.
3873 (llrint_test): Use ALL_RM_TEST.
3874 (llrint_tonearest_test_data): Remove.
3875 (llrint_test_tonearest): Likewise.
3876 (llrint_towardzero_test_data): Likewise.
3877 (llrint_test_towardzero): Likewise.
3878 (llrint_downward_test_data): Likewise.
3879 (llrint_test_downward): Likewise.
3880 (llrint_upward_test_data): Likewise.
3881 (llrint_test_upward): Likewise.
3882 (rint_test_data): Merge in per-rounding-mode tests and results
3883 from rint_tonearest_test_data, rint_towardzero_test_data,
3884 rint_downward_test_data and rint_upward_test_data. Add
3885 per-rounding-mode results for tests not in those arrays.
3886 (rint_test): Use ALL_RM_TEST.
3887 (rint_tonearest_test_data): Remove.
3888 (rint_test_tonearest): Likewise.
3889 (rint_towardzero_test_data): Likewise.
3890 (rint_test_towardzero): Likewise.
3891 (rint_downward_test_data): Likewise.
3892 (rint_test_downward): Likewise.
3893 (rint_upward_test_data): Likewise.
3894 (rint_test_upward): Likewise.
3895 (main): Don't call removed functions.
3896
5006148e
RM
38972014-03-14 Roland McGrath <roland@hack.frob.com>
3898
3899 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3900 "Compiled on ..." crapola. It is anti-useful.
3901
d6fe5e58
JM
39022014-03-14 Joseph Myers <joseph@codesourcery.com>
3903
3904 * scripts/evaluate-test.sh: Handle fourth argument to determine
3905 whether test run should stop on failure.
3906 * Makeconfig (stop-on-test-failure): New variable.
3907 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3908 $(stop-on-test-failure).
3909 * Makefile (tests): Give a summary of results from testing and
3910 exit with failure status if they include an ERROR or FAIL.
3911 (xtests): Likewise.
3912 * manual/install.texi (Configuring and compiling): Mention
3913 stop-on-test-failure=y.
3914 * INSTALL: Regenerated.
3915
498a2233
RM
39162014-03-14 Roland McGrath <roland@hack.frob.com>
3917
22dbc19d
RM
3918 * scripts/versionlist.awk: New file.
3919 * Makerules [$(build-shared) = yes]
3920 (postclean-generated): Add Versions.def, not Versions.def.v and
3921 Versions.def.v.i.
3922 ($(common-objpfx)Versions.def.v.i): Target removed.
3923 ($(common-objpfx)Versions.def): New target.
3924 ($(common-objpfx)Versions.all): Depend on that rather that
3925 $(common-objpfx)Versions.def.v.
3926 * Versions.def: File removed.
3927
498a2233
RM
3928 * Makeconfig (+gccwarn): Add -Wundef.
3929 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3930 a dl-sysdep.h breaking its contract.
3931 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3932 * include/stackinfo.h: New file.
3933 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3934 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3935 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3936 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3937 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3938 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3939 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3940 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3941 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3942 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3943 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3944 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3945 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3946 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3947 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3948
c7de5025
AZ
39492014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950
3951 [BZ #16707]
3952 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3953 implementation.
3954 * math/libm-test.inc (round_test_data): Add more tests.
3955
98fb27a3
AZ
3956 [BZ #16706]
3957 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3958 implementation.
3959 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3960
374f7f61
AZ
3961 [BZ #16701]
3962 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3963 implementation.
3964 * math/libm-test.inc (ceil_test_data): Add more tests.
3965
4655c291
AZ
3966 * math/libm-test.inc (trunc_test_data): Add more tests related to
3967 BZ#16414.
3968
d7329d4b
RM
39692014-03-14 Roland McGrath <roland@hack.frob.com>
3970
3971 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3972 with #if rather than #ifdef.
3973 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3974
aa4de9ce
L
39752014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3976
3977 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3978 first. Disable AVX-512 GCC support if assembler doesn't support
3979 it.
3980 * sysdeps/x86_64/configure: Regenerated.
3981
2e03fae7
CD
39822014-03-13 Carlos O'Donell <carlos@redhat.com>
3983
3984 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3985 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3986 (__old_pthread_attr_setstack): Likewise.
3987 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3988 [!_STACK_GROWS_DOWN]: Likewise.
3989
43ca83ec
MF
39902014-03-13 Mike Frysinger <vapier@gentoo.org>
3991
3992 * config.make.in (have-bash2): Delete.
3993 * configure.ac (libc_cv_have_bash2): Delete.
3994 * configure: Regenerate.
3995 * elf/Makefile (common-ldd-rewrite): Rename to ...
3996 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3997 (sh-ldd-rewrite): Delete.
3998 (bash-ldd-rewrite): Delete.
3999 (have-bash2): Delete checks.
57f41c40
AS
4000 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4001 ldd-rewrite.
c66e48b4
MF
4002
4003 * config.make.in (have-ksh): Delete.
4004 (KSH): Delete.
4005 * configure.ac (libc_cv_have_ksh): Delete.
4006 * configure: Regenerate.
4007
b93834ef
MF
4008 * elf/Makefile: Delete $(have-ksh) check.
4009 ($(objpfx)sotruss): Change KSH to BASH.
4010 * elf/sotruss.ksh: Rename to ...
4011 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4012 function style to match POSIX. Drop ksh vim mode setting.
4013
f3a4632a
MF
4014 * manual/time.texi (Specifying the Time Zone with TZ): Change
4015 Tuesday to Thursday.
4016
5896c8bd
MF
4017 * debug/tst-longjmp_chk2.c: Update header comment.
4018 (stackoverflow_handler): Add comment. Call assert on pass value.
4019
2d63a517
IZ
40202014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4021
4022 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4023 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4024 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4025 (La_x86_64_vector): Add zmm.
4026 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4027 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4028 ($(objpfx)tst-audit10): New target.
4029 ($(objpfx)tst-audit10.out): Likewise.
4030 (tst-audit10-ENV): New.
4031 (AVX512-CFLAGS): Likewise.
4032 (CFLAGS-tst-audit10.c): Likewise.
4033 (CFLAGS-tst-auditmod10a.c): Likewise.
4034 (CFLAGS-tst-auditmod10b.c): Likewise.
4035 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4036 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4037 * sysdeps/x86_64/configure: Regenerated.
4038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4039 AVX-512 zmm register support.
4040 (_dl_x86_64_save_sse): Likewise.
4041 (_dl_x86_64_restore_sse): Likewise.
4042 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4043 size vector registers.
4044 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4045 (ZMM_SIZE): Likewise.
4046 * sysdeps/x86_64/tst-audit10.c: New file.
4047 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4048 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4049
44c4e5d5
RM
40502014-03-13 Roland McGrath <roland@hack.frob.com>
4051
4052 * configure.ac (HAVE_EHDR_START): New check.
4053 * configure: Regenerated.
4054 * config.h.in (HAVE_EHDR_START): New #undef.
4055 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4056 assuming the lowest-addressed segment maps the start of the file.
4057
acd6e389
JM
40582014-03-13 Joseph Myers <joseph@codesourcery.com>
4059
4060 * INSTALL: Regenerated.
4061
6f918f36
WN
40622014-03-13 Will Newton <will.newton@linaro.org>
4063
4064 * manual/setjmp.texi (System V contexts): Improve
4065 clarity and grammar of documentation.
4066
798212a0
PP
40672014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4068
4069 [BZ #16381]
798212a0 4070 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4071 (tests-pie): Add tst-pie2.
798212a0
PP
4072 * elf/tst-pie2.c: New file.
4073 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4074 for ET_EXEC.
4075 * elf/rtld.c (map_doit): Load executable as lt_executable.
4076 (dl_main): Likewise.
4077
abe6d90c
JM
40782014-03-12 Joseph Myers <joseph@codesourcery.com>
4079
4080 [BZ #16642]
4081 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4082 (__ASSUME_PSELECT): Undefine.
4083
dd3946c6
AZ
40842014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4085
4086 [BZ #16689]
4087 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4088 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4089 static build.
4090 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4091 selector for static builds.
4092
c44496df
SP
40932014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4094
4095 [BZ #16695]
4096 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4097 key in the buffer.
4098
27c7220a
AZ
40992014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4100
57f41c40
AS
4101 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4102 IFUNC selector for static builds.
27c7220a 4103
600fa361
JM
41042014-03-11 Joseph Myers <joseph@codesourcery.com>
4105
76c96cf7
JM
4106 * sysdeps/mips/math_private.h [__mips_hard_float]
4107 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4108 libc_feresetround_mips_ctx.
4109 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4110 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4111 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4112
600fa361
JM
4113 [BZ #16677]
4114 * math/s_nextafter.c (__nextafter): Do not return value from
4115 overflowing computation.
4116 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4117 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4118 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4119 Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4121 Likewise.
4122 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4123 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4124
d7706c32
RM
41252014-03-11 Roland McGrath <roland@hack.frob.com>
4126
4127 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4128 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4129 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4130 the new mov targetting sp.
4131
4facea47
AZ
41322014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4133
4134 [BZ #16683]
4135 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4136 Define it for static builds as well.
4137 (NO_BZERO_IMPL): Likewise.
4138
e65caf1f
VR
41392014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4140
4141 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4142 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4143 multiarch strspn for PPC64.
4144 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4145 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4147 (__libc_ifunc_impl_list): Likewise.
4148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4149 multiarch optimizations
4150 * string/strspn.c (strspn): Using macro to redefine symbol name.
4151
ba9cc071
AZ
41522014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4153 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154
4155 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4156 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4157 multiarch strncat for PPC64.
4158 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4159 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4161 (__libc_ifunc_impl_list): Likewise.
4162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4163 multiarch optimizations
4164
8b4ff974
SP
41652014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4166
4167 [BZ #16639]
4168 * nscd/nscd.service: Make service type forking.
4169
54b46a4b
AZ
41702014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4171
4172 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4173 sign in non default rounding modes.
4174 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4175
e9996ef7
JM
41762014-03-08 Joseph Myers <joseph@codesourcery.com>
4177
4178 * math/libm-test.inc (ALL_RM_TEST): New macro.
4179 (ceil_test): Use ALL_RM_TEST.
4180 (cimag_test): Likewise.
4181 (conj_test): Likewise.
4182 (copysign_test): Likewise.
4183 (cproj_test): Likewise.
4184 (creal_test): Likewise.
4185 (fabs_test): Likewise.
4186 (floor_test): Likewise.
4187 (fmax_test): Likewise.
4188 (fmin_test): Likewise.
4189 (fmod_test): Likewise.
4190 (fpclassify_test): Likewise.
4191 (frexp_test): Likewise.
4192 (ilogb_test): Likewise.
4193 (isfinite_test): Likewise.
4194 (finite_test): Likewise.
4195 (isgreater_test): Likewise.
4196 (isgreaterequal_test): Likewise.
4197 (isinf_test): Likewise.
4198 (isless_test): Likewise.
4199 (islessequal_test): Likewise.
4200 (islessgreater_test): Likewise.
4201 (isnan_test): Likewise.
4202 (isnormal_test): Likewise.
4203 (issignaling_test): Likewise.
4204 (isunordered_test): Likewise.
4205 (logb_test): Likewise.
4206 (logb_downward_test_data): Remove.
4207 (logb_test_downward): Likewise.
4208 (lround_test): Use ALL_RM_TEST.
4209 (llround_test): Likewise.
4210 (modf_test): Likewise.
4211 (nexttoward_test): Likewise.
4212 (remainder_test): Likewise.
4213 (drem_test): Likewise.
4214 (remainder_tonearest_test_data): Likewise.
4215 (remainder_test_tonearest): Likewise.
4216 (drem_test_tonearest): Likewise.
4217 (remainder_towardzero_test_data): Likewise.
4218 (remainder_test_towardzero): Likewise.
4219 (drem_test_towardzero): Likewise.
4220 (remainder_downward_test_data): Likewise.
4221 (remainder_test_downward): Likewise.
4222 (drem_test_downward): Likewise.
4223 (remainder_upward_test_data): Likewise.
4224 (remainder_test_upward): Likewise.
4225 (drem_test_upward): Likewise.
4226 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4227 (round_test): Use ALL_RM_TEST.
4228 (signbit_test): Likewise.
4229 (trunc_test): Likewise.
4230 (significand_test): Likewise.
4231 (main): Don't call removed functions.
4232
bc61d27c
JM
42332014-03-07 Joseph Myers <joseph@codesourcery.com>
4234
5c780849
JM
4235 [BZ #16674]
4236 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4237 || __USE_XOPEN2K8].
4238 (ILL_ILLOPN): Likewise.
4239 (ILL_ILLADR): Likewise.
4240 (ILL_ILLTRP): Likewise.
4241 (ILL_PRVOPC): Likewise.
4242 (ILL_PRVREG): Likewise.
4243 (ILL_COPROC): Likewise.
4244 (ILL_BADSTK): Likewise.
4245 (FPE_INTDIV): Likewise.
4246 (FPE_INTOVF): Likewise.
4247 (FPE_FLTDIV): Likewise.
4248 (FPE_FLTOVF): Likewise.
4249 (FPE_FLTUND): Likewise.
4250 (FPE_FLTRES): Likewise.
4251 (FPE_FLTINV): Likewise.
4252 (FPE_FLTSUB): Likewise.
4253 (SEGV_MAPERR): Likewise.
4254 (SEGV_ACCERR): Likewise.
4255 (BUS_ADRALN): Likewise.
4256 (BUS_ADRERR): Likewise.
4257 (BUS_OBJERR): Likewise.
4258 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4259 (TRAP_TRACE): Likewise.
4260 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4261 __USE_XOPEN2K8].
4262 (CLD_KILLED): Likewise.
4263 (CLD_DUMPED): Likewise.
4264 (CLD_TRAPPED): Likewise.
4265 (CLD_STOPPED): Likewise.
4266 (CLD_CONTINUED): Likewise.
4267 (POLL_IN): Likewise.
4268 (POLL_OUT): Likewise.
4269 (POLL_MSG): Likewise.
4270 (POLL_ERR): Likewise.
4271 (POLL_PRI): Likewise.
4272 (POLL_HUP): Likewise.
4273 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4274 Likewise.
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 (BUS_MCEERR_AR): Likewise.
4296 (BUS_MCEERR_AO): Likewise.
4297 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4298 (TRAP_TRACE): Likewise.
4299 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4300 __USE_XOPEN2K8].
4301 (CLD_KILLED): Likewise.
4302 (CLD_DUMPED): Likewise.
4303 (CLD_TRAPPED): Likewise.
4304 (CLD_STOPPED): Likewise.
4305 (CLD_CONTINUED): Likewise.
4306 (POLL_IN): Likewise.
4307 (POLL_OUT): Likewise.
4308 (POLL_MSG): Likewise.
4309 (POLL_ERR): Likewise.
4310 (POLL_PRI): Likewise.
4311 (POLL_HUP): Likewise.
4312 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4313 (ILL_ILLOPN): Likewise.
4314 (ILL_ILLADR): Likewise.
4315 (ILL_ILLTRP): Likewise.
4316 (ILL_PRVOPC): Likewise.
4317 (ILL_PRVREG): Likewise.
4318 (ILL_COPROC): Likewise.
4319 (ILL_BADSTK): Likewise.
4320 (FPE_INTDIV): Likewise.
4321 (FPE_INTOVF): Likewise.
4322 (FPE_FLTDIV): Likewise.
4323 (FPE_FLTOVF): Likewise.
4324 (FPE_FLTUND): Likewise.
4325 (FPE_FLTRES): Likewise.
4326 (FPE_FLTINV): Likewise.
4327 (FPE_FLTSUB): Likewise.
4328 (SEGV_MAPERR): Likewise.
4329 (SEGV_ACCERR): Likewise.
4330 (BUS_ADRALN): Likewise.
4331 (BUS_ADRERR): Likewise.
4332 (BUS_OBJERR): Likewise.
4333 (BUS_MCEERR_AR): Likewise.
4334 (BUS_MCEERR_AO): Likewise.
4335 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4336 (TRAP_TRACE): Likewise.
4337 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4338 __USE_XOPEN2K8].
4339 (CLD_KILLED): Likewise.
4340 (CLD_DUMPED): Likewise.
4341 (CLD_TRAPPED): Likewise.
4342 (CLD_STOPPED): Likewise.
4343 (CLD_CONTINUED): Likewise.
4344 (POLL_IN): Likewise.
4345 (POLL_OUT): Likewise.
4346 (POLL_MSG): Likewise.
4347 (POLL_ERR): Likewise.
4348 (POLL_PRI): Likewise.
4349 (POLL_HUP): Likewise.
4350 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4351 Likewise.
4352 (ILL_ILLOPN): Likewise.
4353 (ILL_ILLADR): Likewise.
4354 (ILL_ILLTRP): Likewise.
4355 (ILL_PRVOPC): Likewise.
4356 (ILL_PRVREG): Likewise.
4357 (ILL_COPROC): Likewise.
4358 (ILL_BADSTK): Likewise.
4359 (ILL_BADIADDR): Likewise.
4360 (ILL_BREAK): Likewise.
4361 (FPE_INTDIV): Likewise.
4362 (FPE_INTOVF): Likewise.
4363 (FPE_FLTDIV): Likewise.
4364 (FPE_FLTOVF): Likewise.
4365 (FPE_FLTUND): Likewise.
4366 (FPE_FLTRES): Likewise.
4367 (FPE_FLTINV): Likewise.
4368 (FPE_FLTSUB): Likewise.
4369 (FPE_DECOVF): Likewise.
4370 (FPE_DECDIV): Likewise.
4371 (FPE_DECERR): Likewise.
4372 (FPE_INVASC): Likewise.
4373 (FPE_INVDEC): Likewise.
4374 (SEGV_MAPERR): Likewise.
4375 (SEGV_ACCERR): Likewise.
4376 (SEGV_PSTKOVF): Likewise.
4377 (BUS_ADRALN): Likewise.
4378 (BUS_ADRERR): Likewise.
4379 (BUS_OBJERR): Likewise.
4380 (BUS_MCEERR_AR): Likewise.
4381 (BUS_MCEERR_AO): Likewise.
4382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4383 (TRAP_TRACE): Likewise.
4384 (TRAP_BRANCH): Likewise.
4385 (TRAP_HWBKPT): Likewise.
4386 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4387 __USE_XOPEN2K8].
4388 (CLD_KILLED): Likewise.
4389 (CLD_DUMPED): Likewise.
4390 (CLD_TRAPPED): Likewise.
4391 (CLD_STOPPED): Likewise.
4392 (CLD_CONTINUED): Likewise.
4393 (POLL_IN): Likewise.
4394 (POLL_OUT): Likewise.
4395 (POLL_MSG): Likewise.
4396 (POLL_ERR): Likewise.
4397 (POLL_PRI): Likewise.
4398 (POLL_HUP): Likewise.
4399 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4400 (ILL_ILLOPN): Likewise.
4401 (ILL_ILLADR): Likewise.
4402 (ILL_ILLTRP): Likewise.
4403 (ILL_PRVOPC): Likewise.
4404 (ILL_PRVREG): Likewise.
4405 (ILL_COPROC): Likewise.
4406 (ILL_BADSTK): Likewise.
4407 (FPE_INTDIV): Likewise.
4408 (FPE_INTOVF): Likewise.
4409 (FPE_FLTDIV): Likewise.
4410 (FPE_FLTOVF): Likewise.
4411 (FPE_FLTUND): Likewise.
4412 (FPE_FLTRES): Likewise.
4413 (FPE_FLTINV): Likewise.
4414 (FPE_FLTSUB): Likewise.
4415 (SEGV_MAPERR): Likewise.
4416 (SEGV_ACCERR): Likewise.
4417 (BUS_ADRALN): Likewise.
4418 (BUS_ADRERR): Likewise.
4419 (BUS_OBJERR): Likewise.
4420 (BUS_MCEERR_AR): Likewise.
4421 (BUS_MCEERR_AO): Likewise.
4422 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4423 (TRAP_TRACE): Likewise.
4424 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4425 __USE_XOPEN2K8].
4426 (CLD_KILLED): Likewise.
4427 (CLD_DUMPED): Likewise.
4428 (CLD_TRAPPED): Likewise.
4429 (CLD_STOPPED): Likewise.
4430 (CLD_CONTINUED): Likewise.
4431 (POLL_IN): Likewise.
4432 (POLL_OUT): Likewise.
4433 (POLL_MSG): Likewise.
4434 (POLL_ERR): Likewise.
4435 (POLL_PRI): Likewise.
4436 (POLL_HUP): Likewise.
4437 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4438 (ILL_ILLOPN): Likewise.
4439 (ILL_ILLADR): Likewise.
4440 (ILL_ILLTRP): Likewise.
4441 (ILL_PRVOPC): Likewise.
4442 (ILL_PRVREG): Likewise.
4443 (ILL_COPROC): Likewise.
4444 (ILL_BADSTK): Likewise.
4445 (FPE_INTDIV): Likewise.
4446 (FPE_INTOVF): Likewise.
4447 (FPE_FLTDIV): Likewise.
4448 (FPE_FLTOVF): Likewise.
4449 (FPE_FLTUND): Likewise.
4450 (FPE_FLTRES): Likewise.
4451 (FPE_FLTINV): Likewise.
4452 (FPE_FLTSUB): Likewise.
4453 (SEGV_MAPERR): Likewise.
4454 (SEGV_ACCERR): Likewise.
4455 (BUS_ADRALN): Likewise.
4456 (BUS_ADRERR): Likewise.
4457 (BUS_OBJERR): Likewise.
4458 (BUS_MCEERR_AR): Likewise.
4459 (BUS_MCEERR_AO): Likewise.
4460 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4461 (TRAP_TRACE): Likewise.
4462 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4463 __USE_XOPEN2K8].
4464 (CLD_KILLED): Likewise.
4465 (CLD_DUMPED): Likewise.
4466 (CLD_TRAPPED): Likewise.
4467 (CLD_STOPPED): Likewise.
4468 (CLD_CONTINUED): Likewise.
4469 (POLL_IN): Likewise.
4470 (POLL_OUT): Likewise.
4471 (POLL_MSG): Likewise.
4472 (POLL_ERR): Likewise.
4473 (POLL_PRI): Likewise.
4474 (POLL_HUP): Likewise.
4475 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4476 (ILL_ILLOPN): Likewise.
4477 (ILL_ILLADR): Likewise.
4478 (ILL_ILLTRP): Likewise.
4479 (ILL_PRVOPC): Likewise.
4480 (ILL_PRVREG): Likewise.
4481 (ILL_COPROC): Likewise.
4482 (ILL_BADSTK): Likewise.
4483 (FPE_INTDIV): Likewise.
4484 (FPE_INTOVF): Likewise.
4485 (FPE_FLTDIV): Likewise.
4486 (FPE_FLTOVF): Likewise.
4487 (FPE_FLTUND): Likewise.
4488 (FPE_FLTRES): Likewise.
4489 (FPE_FLTINV): Likewise.
4490 (FPE_FLTSUB): Likewise.
4491 (SEGV_MAPERR): Likewise.
4492 (SEGV_ACCERR): Likewise.
4493 (BUS_ADRALN): Likewise.
4494 (BUS_ADRERR): Likewise.
4495 (BUS_OBJERR): Likewise.
4496 (BUS_MCEERR_AR): Likewise.
4497 (BUS_MCEERR_AO): Likewise.
4498 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4499 (TRAP_TRACE): Likewise.
4500 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4501 __USE_XOPEN2K8].
4502 (CLD_KILLED): Likewise.
4503 (CLD_DUMPED): Likewise.
4504 (CLD_TRAPPED): Likewise.
4505 (CLD_STOPPED): Likewise.
4506 (CLD_CONTINUED): Likewise.
4507 (POLL_IN): Likewise.
4508 (POLL_OUT): Likewise.
4509 (POLL_MSG): Likewise.
4510 (POLL_ERR): Likewise.
4511 (POLL_PRI): Likewise.
4512 (POLL_HUP): Likewise.
4513 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4514 (ILL_ILLOPN): Likewise.
4515 (ILL_ILLADR): Likewise.
4516 (ILL_ILLTRP): Likewise.
4517 (ILL_PRVOPC): Likewise.
4518 (ILL_PRVREG): Likewise.
4519 (ILL_COPROC): Likewise.
4520 (ILL_BADSTK): Likewise.
4521 (ILL_DBLFLT): Likewise.
4522 (ILL_HARDWALL): Likewise.
4523 (FPE_INTDIV): Likewise.
4524 (FPE_INTOVF): Likewise.
4525 (FPE_FLTDIV): Likewise.
4526 (FPE_FLTOVF): Likewise.
4527 (FPE_FLTUND): Likewise.
4528 (FPE_FLTRES): Likewise.
4529 (FPE_FLTINV): Likewise.
4530 (FPE_FLTSUB): Likewise.
4531 (SEGV_MAPERR): Likewise.
4532 (SEGV_ACCERR): Likewise.
4533 (BUS_ADRALN): Likewise.
4534 (BUS_ADRERR): Likewise.
4535 (BUS_OBJERR): Likewise.
4536 (BUS_MCEERR_AR): Likewise.
4537 (BUS_MCEERR_AO): Likewise.
4538 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4539 (TRAP_TRACE): Likewise.
4540 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4541 __USE_XOPEN2K8].
4542 (CLD_KILLED): Likewise.
4543 (CLD_DUMPED): Likewise.
4544 (CLD_TRAPPED): Likewise.
4545 (CLD_STOPPED): Likewise.
4546 (CLD_CONTINUED): Likewise.
4547 (POLL_IN): Likewise.
4548 (POLL_OUT): Likewise.
4549 (POLL_MSG): Likewise.
4550 (POLL_ERR): Likewise.
4551 (POLL_PRI): Likewise.
4552 (POLL_HUP): Likewise.
4553 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4554 (ILL_ILLOPN): Likewise.
4555 (ILL_ILLADR): Likewise.
4556 (ILL_ILLTRP): Likewise.
4557 (ILL_PRVOPC): Likewise.
4558 (ILL_PRVREG): Likewise.
4559 (ILL_COPROC): Likewise.
4560 (ILL_BADSTK): Likewise.
4561 (FPE_INTDIV): Likewise.
4562 (FPE_INTOVF): Likewise.
4563 (FPE_FLTDIV): Likewise.
4564 (FPE_FLTOVF): Likewise.
4565 (FPE_FLTUND): Likewise.
4566 (FPE_FLTRES): Likewise.
4567 (FPE_FLTINV): Likewise.
4568 (FPE_FLTSUB): Likewise.
4569 (SEGV_MAPERR): Likewise.
4570 (SEGV_ACCERR): Likewise.
4571 (BUS_ADRALN): Likewise.
4572 (BUS_ADRERR): Likewise.
4573 (BUS_OBJERR): Likewise.
4574 (BUS_MCEERR_AR): Likewise.
4575 (BUS_MCEERR_AO): Likewise.
4576 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4577 (TRAP_TRACE): Likewise.
4578 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4579 __USE_XOPEN2K8].
4580 (CLD_KILLED): Likewise.
4581 (CLD_DUMPED): Likewise.
4582 (CLD_TRAPPED): Likewise.
4583 (CLD_STOPPED): Likewise.
4584 (CLD_CONTINUED): Likewise.
4585 (POLL_IN): Likewise.
4586 (POLL_OUT): Likewise.
4587 (POLL_MSG): Likewise.
4588 (POLL_ERR): Likewise.
4589 (POLL_PRI): Likewise.
4590 (POLL_HUP): Likewise.
4591 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4592 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4593
bc61d27c
JM
4594 [BZ #16670]
4595 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4596 before #include of <time.h>.
4597 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4598 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4599 (test-xfail-UNIX98/sched.h/conform): Likewise.
4600
302949e2
MS
46012014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4602
4603 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4604 error absence of trapping exception support.
4605 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4606
a00f522a
JM
46072014-03-07 Joseph Myers <joseph@codesourcery.com>
4608
6f99f280
JM
4609 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4610 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4611 * timezone/Makefile (testdata): Move definition above include of
4612 Rules.
4613 (test-zones): New variable.
4614 (tests-special): Add zone files.
4615 (build-testdata): Use $(evaluate-test).
4616
0b20a9e8
JM
4617 * elf/Makefile (tests-special): Rename tests to end with .out.
4618 ($(objpfx)noload-mem): Likewise.
4619 ($(objpfx)tst-leaks1-mem): Likewise.
4620 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4621 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4622 $(objpfx)test-iconvconfig.out.
4623 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4624 set -e inside subshell and redirect output to file.
4625 * iconvdata/Makefile (generated): Rename tests to end with .out.
4626 Correct type.
4627 (tests-special): Rename tests to end with .out.
4628 ($(objpfx)mtrace-tst-loading): Likewise.
4629 * intl/Makefile (generated): Likewise.
4630 (tests-special): Likewise.
4631 ($(objpfx)mtrace-tst-gettext): Likewise.
4632 * misc/Makefile (generated): Likewise.
4633 (tests-special): Likewise.
4634 ($(objpfx)tst-error1-mem): Likewise.
4635 * nptl/Makefile (tests-special): Likewise.
4636 ($(objpfx)tst-stack3-mem): Likewise.
4637 (generated): Likewise.
4638 * posix/Makefile (generated): Likewise.
4639 (tests-special): Likewise.
4640 (xtests-special): Likewise.
4641 ($(objpfx)tst-fnmatch-mem): Likewise.
4642 ($(objpfx)bug-regex2-mem): Likewise.
4643 ($(objpfx)bug-regex14-mem): Likewise.
4644 ($(objpfx)bug-regex21-mem): Likewise.
4645 ($(objpfx)bug-regex31-mem): Likewise.
4646 ($(objpfx)tst-vfork3-mem): Likewise.
4647 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4648 ($(objpfx)tst-pcre-mem): Likewise.
4649 ($(objpfx)tst-boost-mem): Likewise.
4650 ($(objpfx)bug-ga2-mem): Likewise.
4651 ($(objpfx)bug-glob2-mem): Likewise.
4652 * resolv/Makefile (generate): Likewise.
4653 (tests-special): Likewise.
4654 (xtests-special): Likewise.
4655 (generated): Likewise.
4656 ($(objpfx)mtrace-tst-leaks): Likewise.
4657 ($(objpfx)mtrace-tst-leaks2): Likewise.
4658
265d52ab
JM
4659 * scripts/merge-test-results.sh: New file.
4660 * Makefile (tests-special-notdir): New variable.
4661 (tests): Run merge-test-results.sh.
4662 (xtests): Likewise.
4663 * Rules (tests-special-notdir): New variable.
4664 (xtests-special-notdir): Likewise.
4665 (tests): Run merge-test-results.sh
4666 (xtests): Likewise.
4667
54ee292d
JM
4668 * Makeconfig (test-xfail-name): New variable.
4669 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4670 compute variable name for expected failures.
4671 * conform/Makefile (conformtest-headers-data): New variable.
4672 (conformtest-standards): Likewise.
4673 (conformtest-headers-ISO): Likewise.
4674 (conformtest-headers-ISO99): Likewise.
4675 (conformtest-headers-ISO11): Likewise.
4676 (conformtest-headers-POSIX): Likewise.
4677 (conformtest-headers-XPG3): Likewise.
4678 (conformtest-headers-XPG4): Likewise.
4679 (conformtest-headers-UNIX98): Likewise.
4680 (conformtest-headers-XOPEN2K): Likewise.
4681 (conformtest-headers-POSIX2008): Likewise.
4682 (conformtest-headers-XOPEN2K8): Likewise.
4683 (conformtest-header-list-base): Likewise.
4684 (conformtest-header-list-tests): Likewise.
4685 (conformtest-header-base): Likewise.
4686 (conformtest-header-tests): Likewise.
4687 (tests-special): Add $(conformtest-header-list-tests). If
4688 [$(fast-check) && !$(cross-compiling)], add
4689 $(conformtest-header-tests) instead of
4690 $(objpfx)run-conformtest.out.
4691 (generated): Add $(conformtest-header-list-base). If
4692 [$(fast-check) && !$(cross-compiling)], add
4693 $(conformtest-header-base). Remove previous setting.
4694 ($(conformtest-header-list-tests)): New target.
4695 (test-xfail-run-conformtest): Remove variable.
4696 ($(objpfx)run-conformtest.out): Remove target.
4697 (test-xfail-ISO11/complex.h/conform): New variable.
4698 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4699 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4700 (test-xfail-XPG3/varargs.h/conform): Likewise.
4701 (test-xfail-XPG4/varargs.h/conform): Likewise.
4702 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4703 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4704 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4705 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4706 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4707 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4708 (test-xfail-XPG3/ftw.h/conform): Likewise.
4709 (test-xfail-XPG3/grp.h/conform): Likewise.
4710 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4711 (test-xfail-XPG3/limits.h/conform): Likewise.
4712 (test-xfail-XPG3/pwd.h/conform): Likewise.
4713 (test-xfail-XPG3/search.h/conform): Likewise.
4714 (test-xfail-XPG3/signal.h/conform): Likewise.
4715 (test-xfail-XPG3/stdio.h/conform): Likewise.
4716 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4717 (test-xfail-XPG3/string.h/conform): Likewise.
4718 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4719 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4720 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4721 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4722 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4723 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4724 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4725 (test-xfail-XPG3/termios.h/conform): Likewise.
4726 (test-xfail-XPG3/time.h/conform): Likewise.
4727 (test-xfail-XPG3/unistd.h/conform): Likewise.
4728 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4729 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4730 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4731 (test-xfail-XPG4/netdb.h/conform): Likewise.
4732 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4733 (test-xfail-XPG4/signal.h/conform): Likewise.
4734 (test-xfail-XPG4/stdio.h/conform): Likewise.
4735 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4736 (test-xfail-XPG4/stropts.h/conform): Likewise.
4737 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4738 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4739 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4740 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4741 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4742 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4743 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4744 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4745 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4746 (test-xfail-XPG4/termios.h/conform): Likewise.
4747 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4748 (test-xfail-XPG4/unistd.h/conform): Likewise.
4749 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4750 (test-xfail-POSIX/sched.h/conform): Likewise.
4751 (test-xfail-POSIX/signal.h/conform): Likewise.
4752 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4753 (test-xfail-POSIX/tar.h/conform): Likewise.
4754 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4755 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4756 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4757 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4758 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4759 (test-xfail-UNIX98/sched.h/conform): Likewise.
4760 (test-xfail-UNIX98/signal.h/conform): Likewise.
4761 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4762 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4763 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4764 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4765 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4766 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4767 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4768 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4769 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4770 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4771 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4772 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4773 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4774 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4775 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4776 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4777 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4778 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4779 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4780 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4781 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4782 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4783 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4784 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4785 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4786 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4787 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4788 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4789 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4790 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4791 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4792 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4793 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4794 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4795 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4796 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4797 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4798 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4799 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4800 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4801 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4802 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4803 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4804 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4805 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4806 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4807 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4808 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4809 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4810 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4811 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4812 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4813 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4814 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4815 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4816 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4817 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4818 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4819 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4820 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4821 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4822 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4823 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4824 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4825 (conformtest-cc-flags): Likewise.
4826 ($(conformtest-header-tests): New target.
4827 * conform/check-header-lists.sh: New file.
4828 * conform/run-conformtest.sh: Remove.
4829
a00f522a
JM
4830 * conform/conformtest.pl: Allow ' and \ in values given for
4831 constants.
4832 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4833 inclusion.
4834 [POSIX] (sys/types.h): Likewise.
4835 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4836 inclusion.
4837 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4838 inclusion.
4839 * conform/data/signal.h-data (SIGIO): Remove expectation.
4840 [XPG3] (SIGBUS): Do not expect.
4841 [POSIX || XPG3] (SIGPOLL): Likewise.
4842 [POSIX || XPG3] (SIGPROF): Likewise.
4843 [POSIX || XPG3] (SIGSYS): Likewise.
4844 [XPG3] (SIGTRAP): Likewise.
4845 [POSIX || XPG3] (SIGURG): Likewise.
4846 [POSIX || XPG3] (SIGVTALRM): Likewise.
4847 [POSIX || XPG3] (SIGXCPU): Likewise.
4848 [POSIX || XPG3] (SIGXFSZ): Likewise.
4849 [POSIX] (SA_SIGINFO): Expect.
4850 [XPG3] (siginfo_t): Do not expect type or contents.
4851 [POSIX] (si_pid): Do not expect element.
4852 [POSIX] (si_uid): Likewise.
4853 [POSIX] (si_addr): Likewise.
4854 [POSIX] (si_status): Likewise.
4855 [POSIX] (si_band): Likewise.
4856 [XPG4] (si_value): Likewise.
4857 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4858 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4859 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4860 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4861 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4862 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4863 [POSIX || XPG3] (ILL_COPROC): Likewise.
4864 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4865 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4866 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4867 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4868 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4869 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4870 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4871 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4872 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4873 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4874 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4875 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4876 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4877 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4878 [POSIX || XPG3] (CLD_EXITED): Likewise.
4879 [POSIX || XPG3] (CLD_KILLED): Likewise.
4880 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4881 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4882 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4883 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4884 [POSIX || XPG3] (POLL_IN): Likewise.
4885 [POSIX || XPG3] (POLL_OUT): Likewise.
4886 [POSIX || XPG3] (POLL_MSG): Likewise.
4887 [POSIX || XPG3] (POLL_ERR): Likewise.
4888 [POSIX || XPG3] (POLL_PRI): Likewise.
4889 [POSIX || XPG3] (POLL_HUP): Likewise.
4890 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4891 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4892 (SIG*): Do not allow.
4893 [XPG3] (si_*): Likewise.
4894 [XPG3] (SI_*): Likewise.
4895 [XPG3 || XPG4] (sigev_*): Likewise.
4896 [XPG3 || XPG4] (SIGEV_*): Likewise.
4897 [XPG3 || XPG4] (sival_*): Likewise.
4898 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4899 [POSIX || XPG3] (BUS_*): Likewise.
4900 [POSIX || XPG3] (CLD_*): Likewise.
4901 [POSIX || XPG3] (FPE_*): Likewise.
4902 [POSIX || XPG3] (ILL_*): Likewise.
4903 [POSIX || XPG3] (POLL_*): Likewise.
4904 [POSIX || XPG3] (SEGV_*): Likewise.
4905 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4906 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4907 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4908 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4909 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4910 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4911 Specify type and value.
4912 (TVERSLEN): Likewise.
4913 (REGTYPE): Likewise.
4914 (AREGTYPE): Likewise.
4915 (LNKTYPE): Likewise.
4916 (SYMTYPE): Likewise.
4917 (CHRTYPE): Likewise.
4918 (BLKTYPE): Likewise.
4919 (DIRTYPE): Likewise.
4920 (FIFOTYPE): Likewise.
4921 (CONTTYPE): Likewise.
4922 (TSUID): Likewise.
4923 (TSGID): Likewise.
4924 (TSVTX): Likewise.
4925 (TUREAD): Likewise.
4926 (TUWRITE): Likewise.
4927 (TUEXEC): Likewise.
4928 (TGREAD): Likewise.
4929 (TGWRITE): Likewise.
4930 (TGEXEC): Likewise.
4931 (TOREAD): Likewise.
4932 (TOWRITE): Likewise.
4933 (TOEXEC): Likewise.
4934 [POSIX] (TSVTX): Expect constant.
4935
aa97dee1
JM
49362014-03-06 Joseph Myers <joseph@codesourcery.com>
4937
f214606a
JM
4938 * Makefile (tests): Change dependencies to ....
4939 (tests-special): ... additions to this variable.
4940 (tests): Depend on $(tests-special).
4941 * Makerules (check-abi-list): New variable.
4942 (check-abi): Depend on $(check-abi-list).
4943 [$(subdir) = elf] (tests-special): Add
4944 $(objpfx)check-abi-libc.out.
4945 [$(build-shared) = yes && subdir] (tests-special): Add
4946 $(check-abi-list).
4947 [$(build-shared) = yes && subdir] (tests): Do not depend on
4948 check-abi.
4949 * Rules (tests): Depend on $(tests-special).
4950 (xtests): Depend on $(xtests-special).
4951 * catgets/Makefile (tests): Change dependencies to ....
4952 (tests-special): ... additions to this variable.
4953 * conform/Makefile (tests): Change dependencies to ....
4954 (tests-special): ... additions to this variable.
4955 * elf/Makefile (tests): Change dependencies to ....
4956 (tests-special): ... additions to this variable.
4957 * grp/Makefile (tests): Change dependencies to ....
4958 (tests-special): ... additions to this variable.
4959 * iconv/Makefile (xtests): Change dependencies to ....
4960 (xtests-special): ... additions to this variable.
4961 * iconvdata/Makefile (tests): Change dependencies to ....
4962 (tests-special): ... additions to this variable.
4963 * intl/Makefile (tests): Change dependencies to ....
4964 (tests-special): ... additions to this variable. Also add
4965 $(objpfx)tst-gettext.out.
4966 * io/Makefile (tests): Change dependencies to ....
4967 (tests-special): ... additions to this variable.
4968 * libio/Makefile (tests): Change dependencies to ....
4969 (tests-special): ... additions to this variable.
4970 * malloc/Makefile (tests): Change dependencies to ....
4971 (tests-special): ... additions to this variable.
4972 * misc/Makefile (tests): Change dependencies to ....
4973 (tests-special): ... additions to this variable.
4974 * nptl/Makefile (tests): Change dependencies to ....
4975 (tests-special): ... additions to this variable.
4976 * nptl_db/Makefile (tests): Change dependencies to ....
4977 (tests-special): ... additions to this variable.
4978 * posix/Makefile (tests): Change dependencies to ....
4979 (tests-special): ... additions to this variable.
4980 (xtests): Change dependencies to ....
4981 (xtests-special): ... additions to this variable.
4982 * resolv/Makefile (tests): Change dependencies to ....
4983 (tests-special): ... additions to this variable.
4984 (xtests): Change dependencies to ....
4985 (xtests-special): ... additions to this variable.
4986 * stdio-common/Makefile (tests): Change dependencies to ....
4987 (tests-special): ... additions to this variable.
4988 (do-tst-unbputc): Remove target.
4989 (do-tst-printf): Likewise.
4990 * stdlib/Makefile (tests): Change dependencies to ....
4991 (tests-special): ... additions to this variable.
4992 * string/Makefile (tests): Change dependencies to ....
4993 (tests-special): ... additions to this variable.
4994 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4995 (tests-special): ... additions to this variable.
4996
81700b53
JM
4997 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4998 whole file.
4999 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5000 whole file.
5001 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5002 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5003
2ea18461
JM
5004 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5005 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5006 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5007 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5008 * conform/data/libgen.h-data [XPG3]: Likewise.
5009 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5010 * conform/data/ndbm.h-data [XPG3]: Likewise.
5011 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5012 * conform/data/netdb.h-data [XPG3]: Likewise.
5013 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5014 * conform/data/poll.h-data [XPG3]: Likewise.
5015 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5016 * conform/data/strings.h-data [XPG3]: Likewise.
5017 * conform/data/stropts.h-data [XPG3]: Likewise.
5018 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5019 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5020 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5021 Likewise.
5022 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5023 * conform/data/sys/time.h-data [XPG3]: Likewise.
5024 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5025 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5026 * conform/data/sys/un.h-data [XPG3]: Likewise.
5027 * conform/data/syslog.h-data [XPG3]: Likewise.
5028 * conform/data/ucontext.h-data [XPG3]: Likewise.
5029 * conform/data/utmpx.h-data [XPG3]: Likewise.
5030 * conform/data/varargs.h-data [UNIX98]: Enable file.
5031
355bc986
JM
5032 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5033
215db402
JM
5034 * math/libm-test.inc (struct test_f_f_data): Move expected results
5035 into structure for each rounding mode.
5036 (struct test_ff_f_data): Likewise.
5037 (struct test_ff_f_data_nexttoward): Likewise.
5038 (struct test_fi_f_data): Likewise.
5039 (struct test_fl_f_data): Likewise.
5040 (struct test_if_f_data): Likewise.
5041 (struct test_fff_f_data): Likewise.
5042 (struct test_c_f_data): Likewise.
5043 (struct test_f_f1_data): Likewise.
5044 (struct test_fF_f1_data): Likewise.
5045 (struct test_ffI_f1_data): Likewise.
5046 (struct test_c_c_data): Likewise.
5047 (struct test_cc_c_data): Likewise.
5048 (struct test_f_i_data): Likewise.
5049 (struct test_ff_i_data): Likewise.
5050 (struct test_f_l_data): Likewise.
5051 (struct test_f_L_data): Likewise.
5052 (struct test_fFF_11_data): Likewise.
5053 (RM_): New macro.
5054 (RM_FE_DOWNWARD): Likewise.
5055 (RM_FE_TONEAREST): Likewise.
5056 (RM_FE_TOWARDZERO): Likewise.
5057 (RM_FE_UPWARD): Likewise.
5058 (RUN_TEST_LOOP_f_f): Update references to expected results.
5059 (RUN_TEST_LOOP_2_f): Likewise.
5060 (RUN_TEST_LOOP_fff_f): Likewise.
5061 (RUN_TEST_LOOP_c_f): Likewise.
5062 (RUN_TEST_LOOP_f_f1): Likewise.
5063 (RUN_TEST_LOOP_fF_f1): Likewise.
5064 (RUN_TEST_LOOP_fI_f1): Likewise.
5065 (RUN_TEST_LOOP_ffI_f1): Likewise.
5066 (RUN_TEST_LOOP_c_c): Likewise.
5067 (RUN_TEST_LOOP_cc_c): Likewise.
5068 (RUN_TEST_LOOP_f_i): Likewise.
5069 (RUN_TEST_LOOP_f_i_tg): Likewise.
5070 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5071 (RUN_TEST_LOOP_f_b): Likewise.
5072 (RUN_TEST_LOOP_f_b_tg): Likewise.
5073 (RUN_TEST_LOOP_f_l): Likewise.
5074 (RUN_TEST_LOOP_f_L): Likewise.
5075 (RUN_TEST_LOOP_fFF_11): Likewise.
5076 * math/gen-libm-test.pl (parse_args): Output four copies of
5077 expected results for each test.
5078
67737b8f
JM
5079 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5080 (__ASSUME_UTIMES): Remove.
5081 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5082 (__ASSUME_UTIMES): Likewise.
5083
aa97dee1
JM
5084 * math/gen-auto-libm-tests.c: Update comment on output format.
5085 (output_for_one_input_case): Generate before-rounding and
5086 after-rounding information as conditions on output flags not
5087 floating-point format.
5088 * math/auto-libm-test-out: Regenerated.
5089 * math/gen-libm-test.pl (cond_value): New function.
5090 (or_cond_value): Use cond_value.
5091 (generate_testfile): Handle conditional exceptions.
5092
e6b6a857
JM
50932014-03-05 Joseph Myers <joseph@codesourcery.com>
5094
2f0a0f44
JM
5095 * math/libm-test.inc (max_valid_error): New variable.
5096 (init_max_error): Take new argument specifying whether function
5097 results are exactly determined. Set max_valid_error and bound
5098 other variables for errors based on this argument.
5099 (set_max_error): Do not record results above max_valid_error.
5100 (check_float_internal): Only accept errors of up to 0.5ulps if
5101 also at most max_valid_error.
5102 (START): Take new argument EXACT and pass it to init_max_error.
5103 (acos_test): Update call to START.
5104 (acos_test_tonearest): Likewise.
5105 (acos_test_towardzero): Likewise.
5106 (acos_test_downward): Likewise.
5107 (acos_test_upward): Likewise.
5108 (acosh_test): Likewise.
5109 (asin_test): Likewise.
5110 (asin_test_tonearest): Likewise.
5111 (asin_test_towardzero): Likewise.
5112 (asin_test_downward): Likewise.
5113 (asin_test_upward): Likewise.
5114 (asinh_test): Likewise.
5115 (atan_test): Likewise.
5116 (atanh_test): Likewise.
5117 (atan2_test): Likewise.
5118 (cabs_test): Likewise.
5119 (cacos_test): Likewise.
5120 (cacosh_test): Likewise.
5121 (carg_test): Likewise.
5122 (casin_test): Likewise.
5123 (casinh_test): Likewise.
5124 (catan_test): Likewise.
5125 (catanh_test): Likewise.
5126 (cbrt_test): Likewise.
5127 (ccos_test): Likewise.
5128 (ccosh_test): Likewise.
5129 (ceil_test): Likewise.
5130 (cexp_test): Likewise.
5131 (cimag_test): Likewise.
5132 (clog_test): Likewise.
5133 (clog10_test): Likewise.
5134 (conj_test): Likewise.
5135 (copysign_test): Likewise.
5136 (cos_test): Likewise.
5137 (cos_test_tonearest): Likewise.
5138 (cos_test_towardzero): Likewise.
5139 (cos_test_downward): Likewise.
5140 (cos_test_upward): Likewise.
5141 (cosh_test): Likewise.
5142 (cosh_test_tonearest): Likewise.
5143 (cosh_test_towardzero): Likewise.
5144 (cosh_test_downward): Likewise.
5145 (cosh_test_upward): Likewise.
5146 (cpow_test): Likewise.
5147 (cproj_test): Likewise.
5148 (creal_test): Likewise.
5149 (csin_test): Likewise.
5150 (csinh_test): Likewise.
5151 (csqrt_test): Likewise.
5152 (ctan_test): Likewise.
5153 (ctan_test_tonearest): Likewise.
5154 (ctan_test_towardzero): Likewise.
5155 (ctan_test_downward): Likewise.
5156 (ctan_test_upward): Likewise.
5157 (ctanh_test): Likewise.
5158 (ctanh_test_tonearest): Likewise.
5159 (ctanh_test_towardzero): Likewise.
5160 (ctanh_test_downward): Likewise.
5161 (ctanh_test_upward): Likewise.
5162 (erf_test): Likewise.
5163 (erfc_test): Likewise.
5164 (exp_test): Likewise.
5165 (exp_test_tonearest): Likewise.
5166 (exp_test_towardzero): Likewise.
5167 (exp_test_downward): Likewise.
5168 (exp_test_upward): Likewise.
5169 (exp10_test): Likewise.
5170 (exp10_test_tonearest): Likewise.
5171 (exp10_test_towardzero): Likewise.
5172 (exp10_test_downward): Likewise.
5173 (exp10_test_upward): Likewise.
5174 (pow10_test): Likewise.
5175 (exp2_test): Likewise.
5176 (expm1_test): Likewise.
5177 (expm1_test_tonearest): Likewise.
5178 (expm1_test_towardzero): Likewise.
5179 (expm1_test_downward): Likewise.
5180 (expm1_test_upward): Likewise.
5181 (fabs_test): Likewise.
5182 (fdim_test): Likewise.
5183 (floor_test): Likewise.
5184 (fma_test): Likewise.
5185 (fma_test_towardzero): Likewise.
5186 (fma_test_downward): Likewise.
5187 (fma_test_upward): Likewise.
5188 (fmax_test): Likewise.
5189 (fmin_test): Likewise.
5190 (fmod_test): Likewise.
5191 (fpclassify_test): Likewise.
5192 (frexp_test): Likewise.
5193 (hypot_test): Likewise.
5194 (ilogb_test): Likewise.
5195 (isfinite_test): Likewise.
5196 (finite_test): Likewise.
5197 (isgreater_test): Likewise.
5198 (isgreaterequal_test): Likewise.
5199 (isinf_test): Likewise.
5200 (isless_test): Likewise.
5201 (islessequal_test): Likewise.
5202 (islessgreater_test): Likewise.
5203 (isnan_test): Likewise.
5204 (isnormal_test): Likewise.
5205 (issignaling_test): Likewise.
5206 (isunordered_test): Likewise.
5207 (j0_test): Likewise.
5208 (j1_test): Likewise.
5209 (jn_test): Likewise.
5210 (ldexp_test): Likewise.
5211 (lgamma_test): Likewise.
5212 (gamma_test): Likewise.
5213 (lrint_test): Likewise.
5214 (lrint_test_tonearest): Likewise.
5215 (lrint_test_towardzero): Likewise.
5216 (lrint_test_downward): Likewise.
5217 (lrint_test_upward): Likewise.
5218 (llrint_test): Likewise.
5219 (llrint_test_tonearest): Likewise.
5220 (llrint_test_towardzero): Likewise.
5221 (llrint_test_downward): Likewise.
5222 (llrint_test_upward): Likewise.
5223 (log_test): Likewise.
5224 (log10_test): Likewise.
5225 (log1p_test): Likewise.
5226 (log2_test): Likewise.
5227 (logb_test): Likewise.
5228 (logb_test_downward): Likewise.
5229 (lround_test): Likewise.
5230 (llround_test): Likewise.
5231 (modf_test): Likewise.
5232 (nearbyint_test): Likewise.
5233 (nextafter_test): Likewise.
5234 (nexttoward_test): Likewise.
5235 (pow_test): Likewise.
5236 (pow_test_tonearest): Likewise.
5237 (pow_test_towardzero): Likewise.
5238 (pow_test_downward): Likewise.
5239 (pow_test_upward): Likewise.
5240 (remainder_test): Likewise.
5241 (drem_test): Likewise.
5242 (remainder_test_tonearest): Likewise.
5243 (drem_test_tonearest): Likewise.
5244 (remainder_test_towardzero): Likewise.
5245 (drem_test_towardzero): Likewise.
5246 (remainder_test_downward): Likewise.
5247 (drem_test_downward): Likewise.
5248 (remainder_test_upward): Likewise.
5249 (drem_test_upward): Likewise.
5250 (remquo_test): Likewise.
5251 (rint_test): Likewise.
5252 (rint_test_tonearest): Likewise.
5253 (rint_test_towardzero): Likewise.
5254 (rint_test_downward): Likewise.
5255 (rint_test_upward): Likewise.
5256 (round_test): Likewise.
5257 (scalb_test): Likewise.
5258 (scalbn_test): Likewise.
5259 (scalbln_test): Likewise.
5260 (signbit_test): Likewise.
5261 (sin_test): Likewise.
5262 (sin_test_tonearest): Likewise.
5263 (sin_test_towardzero): Likewise.
5264 (sin_test_downward): Likewise.
5265 (sin_test_upward): Likewise.
5266 (sincos_test): Likewise.
5267 (sinh_test): Likewise.
5268 (sinh_test_tonearest): Likewise.
5269 (sinh_test_towardzero): Likewise.
5270 (sinh_test_downward): Likewise.
5271 (sinh_test_upward): Likewise.
5272 (sqrt_test): Likewise.
5273 (sqrt_test_tonearest): Likewise.
5274 (sqrt_test_towardzero): Likewise.
5275 (sqrt_test_downward): Likewise.
5276 (sqrt_test_upward): Likewise.
5277 (tan_test): Likewise.
5278 (tan_test_tonearest): Likewise.
5279 (tan_test_towardzero): Likewise.
5280 (tan_test_downward): Likewise.
5281 (tan_test_upward): Likewise.
5282 (tanh_test): Likewise.
5283 (tgamma_test): Likewise.
5284 (trunc_test): Likewise.
5285 (y0_test): Likewise.
5286 (y1_test): Likewise.
5287 (yn_test): Likewise.
5288 (significand_test): Likewise.
5289
e6b6a857
JM
5290 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5291 individual tests in comment.
5292 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5293 (prev_max_error): New variable.
5294 (prev_real_max_error): Likewise.
5295 (prev_imag_max_error): Likewise.
5296 (compare_ulp_data): Don't refer to test names in comment.
5297 (find_test_ulps): Remove function.
5298 (find_function_ulps): Likewise.
5299 (find_complex_function_ulps): Likewise.
5300 (init_max_error): Take function name as argument. Look up ulps
5301 for that function.
5302 (print_ulps): Remove function.
5303 (print_max_error): Use prev_max_error instead of calling
5304 find_function_ulps.
5305 (print_complex_max_error): Use prev_real_max_error and
5306 prev_imag_max_error instead of calling find_complex_function_ulps.
5307 (check_float_internal): Take max_ulp parameter instead of calling
5308 find_test_ulps. Don't call print_ulps.
5309 (check_float): Update call to check_float_internal.
5310 (check_complex): Update calls to check_float_internal.
5311 (START): Pass argument to init_max_error.
5312 * math/gen-libm-test.pl (%results): Don't include "kind"
5313 information.
5314 (parse_ulps): Don't handle ulps of individual tests.
5315 (print_ulps_file): Likewise.
5316 (output_ulps): Likewise.
5317 * math/README.libm-test: Update.
5318 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5319 individual tests.
5320 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5321 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5322 * sysdeps/arm/libm-test-ulps: Likewise.
5323 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5324 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5325 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5326 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5327 * sysdeps/microblaze/libm-test-ulps: Likewise.
5328 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5329 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5330 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5331 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5332 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5333 * sysdeps/sh/libm-test-ulps: Likewise.
5334 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5335 * sysdeps/tile/libm-test-ulps: Likewise.
5336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5337
45adef3c
JM
53382014-03-04 Joseph Myers <joseph@codesourcery.com>
5339
5340 * math/libm-test.inc (print_complex_max_error): Check separately
5341 whether real and imaginary errors are within allowed range and
5342 pass 0 to print_complex_function_ulps instead of value within
5343 allowed range.
5344
000232b9
SP
53452014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5346
d4b17258
SP
5347 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5348 formatting.
5349 (get_handles_fopen): Likewise.
5350 (do_write_test): Likewise.
5351
091eff71
SP
5352 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5353
fa3cd248
SP
5354 * libio/fileops.c (do_ftell): Use cached offset when
5355 available.
5356 * libio/iofwide.c (do_ftell_wide): Likewise.
5357 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5358 _IO_file_attach.
5359 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5360
000232b9
SP
5361 [BZ #16532]
5362 * libio/libioP.h (get_file_offset): New function.
5363 * libio/fileops.c (get_file_offset): Likewise.
5364 (do_ftell): Likewise.
5365 (_IO_new_file_seekoff): Split out ftell logic.
5366 * libio/wfileops.c (do_ftell_wide): Likewise.
5367 (_IO_wfile_seekoff): Split out ftell logic.
5368 * libio/tst-ftell-active-handler.c: New test case.
5369 * libio/Makefile (tests): Add it.
5370
116f4d1a
RM
53712014-03-03 Roland McGrath <roland@hack.frob.com>
5372
5373 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5374 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5375
532a6035
SP
53762014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5377
5378 [BZ #16639]
5379 * nscd/connections.c (nscd_init): Call do_exit.
5380 (start_threads): Call do_exit and notify_parent.
5381 (begin_drop_privileges): Call do_exit.
5382 (finish_drop_privileges): Likewise.
5383 * nscd/selinux.c (preserve_capabilities): Likewise.
5384 (install_real_capabilities): Likewise.
5385 (nscd_selinux_enabled): Likewise.
5386 (avc_create_thread): Likewise.
5387 (avc_alloc_lock): Likewise.
5388 (nscd_avc_init): Likewise.
5389 * nscd/nscd.c (parent_fd): New static variable.
5390 (main): Create a pipe between parent and child processes.
5391 Skip closing parent_fd.
5392 (monitor_child): New function.
5393 (do_exit): Likewise.
5394 (notify_parent): Likewise.
5395 * nscd/nscd.h (notify_parent): Likewise.
5396 (do_exit): Likewise.
5397
d6285c9f
CD
53982014-03-03 Carlos O'Donell <carlos@redhat.com>
5399
5400 * malloc/malloc.c (__libc_calloc): Revert last change.
5401
2b85d2a0
AZ
54022014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5403
5404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5405
c7debbdf
RS
54062014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5407
5408 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5410 implementation.
5411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5412 (__libc_ifunc_impl_list): Likewise.
5413 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5414 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5415 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5416 * string/strrchr.c: Define STRRCHR.
5417
235eed86
OB
54182014-02-28 Ondřej Bílka <neleai@seznam.cz>
5419
5420 * benchtest/bench-strtok.c (simple_strtok): Delete.
5421 (strtok_string): Use as benchmark.
5422 * string/strtok (STRTOK): New macro.
5423
8e25d1e7
CD
54242014-02-28 Carlos O'Donell <carlos@redhat.com>
5425
ef563f92
CD
5426 * manual/threads.texi: Add header and standard comments to all
5427 functions.
5428
8e25d1e7
CD
5429 * elf/dl-lookup.c (check_match): New function.
5430 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5431 (do_lookup_x): Remove nested function check_match. Use non-nested
5432 function check_match.
5433
ff71cc37
RM
54342014-02-28 Roland McGrath <roland@hack.frob.com>
5435
f08e9a26
RM
5436 * csu/Makefile (generated, before-compile): Use += rather than =.
5437 * catgets/Makefile (generated, generated-dirs): Likewise.
5438 * debug/Makefile (generated): Likewise.
5439 * dlfcn/Makefile (generated): Likewise.
5440 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5441 * iconvdata/Makefile (before-compile, generated): Likewise.
5442 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5443 * libio/Makefile (generated): Likewise.
5444 * malloc/Makefile (generated): Likewise.
5445 * manual/Makefile (generated, generated-dirs): Likewise.
5446 * misc/Makefile (generated): Likewise.
5447 * posix/Makefile (generated): Likewise.
5448 * resolv/Makefile (generated): Likewise.
5449 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5450 * timezone/Makefile (generated, generated-dirs): Likewise.
5451
ff71cc37
RM
5452 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5453
fe13a20c
AZ
54542014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5455
57f41c40
AS
5456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5457 power8 implementation.
5458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5459 file: POWER8 llround ifunc implementation.
5460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5461 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5462 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5463 POWER8 llround implementation.
5464
57f41c40
AS
5465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5466 power8 implementation.
5467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5468 file: POWER8 llrint ifunc implementation.
5469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5470 Add POWER8 implementation.
1ad8950a
AZ
5471 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5472 POWER8 llrint implementation.
5473
57f41c40
AS
5474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5475 power8 implementation.
5476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5477 file: POWER8 finite ifunc implementation.
5478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5479 Add POWER8 implementation.
cac626d6
AZ
5480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5481 Likewise.
5482 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5483 POWER8 finite implementation.
5484 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5485
57f41c40
AS
5486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5487 power8 implementation.
5488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5489 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5491 POWER8 implementation.
5492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5493 Likewise.
57f41c40
AS
5494 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5495 isinf implementation.
4393fc11
AZ
5496 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5497
57f41c40
AS
5498 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5499 (INIT_ARCH): Add hwcap2 initialization.
5500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5501 power8 implementation.
5502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5503 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5505 POWER8 implementation.
5506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5507 Likewise.
57f41c40
AS
5508 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5509 isnan implementation.
487972ae
AZ
5510 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5511
7d92b787
JY
55122014-02-27 Joey Ye <joey.ye@arm.com>
5513
5514 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5515 (_FP_NANFRAC_Q): Set to zero.
5516
1cadc858
SP
55172014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5518
5519 [BZ #16623]
5520 * math/auto-libm-test-in: New test inputs.
5521 * math/auto-libm-test-out: Regenerate.
5522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5523 and DA.
5524 (__cos): Likewise.
5525 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5526
f8c17e79
JM
55272014-02-27 Joseph Myers <joseph@codesourcery.com>
5528
5529 * scripts/evaluate-test.sh: Take new argument indicating whether
5530 failure is expected.
5531 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5532 indicating whether failure is expected.
5533 * conform/Makefile (test-xfail-run-conformtest): New variable.
5534 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5535 level.
5536 * posix/Makefile (test-xfail-annexc): New variable.
5537 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5538
a5f891ac
JM
55392014-02-26 Joseph Myers <joseph@codesourcery.com>
5540
5541 * argp/Makefile: Include Makeconfig immediately after defining
5542 subdir.
5543 * assert/Makefile: Likewise.
5544 * benchtests/Makefile: Likewise.
5545 * catgets/Makefile: Likewise.
5546 * conform/Makefile: Likewise.
5547 * crypt/Makefile: Likewise.
5548 * csu/Makefile: Likewise.
5549 (all): Remove target.
5550 * ctype/Makefile: Include Makeconfig immediately after defining
5551 subdir.
5552 * debug/Makefile: Likewise.
5553 * dirent/Makefile: Likewise.
5554 * dlfcn/Makefile: Likewise.
5555 * gmon/Makefile: Likewise.
5556 * gnulib/Makefile: Likewise.
5557 * grp/Makefile: Likewise.
5558 * gshadow/Makefile: Likewise.
5559 * hesiod/Makefile: Likewise.
5560 * hurd/Makefile: Likewise.
5561 (all): Remove target.
5562 * iconvdata/Makefile: Include Makeconfig immediately after
5563 defining subdir.
5564 * inet/Makefile: Likewise.
5565 * intl/Makefile: Likewise.
5566 * io/Makefile: Likewise.
5567 * libio/Makefile: Likewise.
5568 (all): Remove target.
5569 * locale/Makefile: Include Makeconfig immediately after defining
5570 subdir.
5571 * login/Makefile: Likewise.
5572 * mach/Makefile: Likewise.
5573 (all): Remove target.
5574 * malloc/Makefile: Include Makeconfig immediately after defining
5575 subdir.
5576 (all): Remove target.
5577 * manual/Makefile: Include Makeconfig immediately after defining
5578 subdir.
5579 * math/Makefile: Likewise.
5580 * misc/Makefile: Likewise.
5581 * nis/Makefile: Likewise.
5582 * nss/Makefile: Likewise.
5583 * po/Makefile: Likewise.
5584 (all): Remove target.
5585 * posix/Makefile: Include Makeconfig immediately after defining
5586 subdir.
5587 * pwd/Makefile: Likewise.
5588 * resolv/Makefile: Likewise.
5589 * resource/Makefile: Likewise.
5590 * rt/Makefile: Likewise.
5591 * setjmp/Makefile: Likewise.
5592 * shadow/Makefile: Likewise.
5593 * signal/Makefile: Likewise.
5594 * socket/Makefile: Likewise.
5595 * soft-fp/Makefile: Likewise.
5596 * stdio-common/Makefile: Likewise.
5597 * stdlib/Makefile: Likewise.
5598 * streams/Makefile: Likewise.
5599 * string/Makefile: Likewise.
5600 * sunrpc/Makefile: Likewise.
5601 (all): Remove target.
5602 * sysvipc/Makefile: Include Makeconfig immediately after defining
5603 subdir.
5604 * termios/Makefile: Likewise.
5605 * time/Makefile: Likewise.
5606 * timezone/Makefile: Likewise.
5607 (all): Remove target.
5608 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5609 subdir.
5610 * wctype/Makefile: Likewise.
5611
5b456e9d
SE
56122014-02-26 Steve Ellcey <sellcey@mips.com>
5613
5614 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5615 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5616 (libc_feholdexcept_setround_mips): Ditto.
5617 (libc_feholdsetround): New.
5618 (libc_feholdsetroundf): New.
5619 (libc_feholdsetroundl): New.
5620 (libc_feupdateenv_test_mips): New.
5621 (libc_feupdateenv_test): New.
5622 (libc_feupdateenv_testf): New.
5623 (libc_feupdateenv_testl): New.
5624 (libc_feresetround): New.
5625 (libc_feresetroundf): New.
5626 (libc_feresetroundl): New.
5627 (libc_fetestexcept_mips): New.
5628 (libc_fetestexcept): New.
5629 (libc_fetestexceptf): New.
5630 (libc_fetestexceptl): New.
5631 (HAVE_RM_CTX): New.
5632 (libc_feholdexcept_setround_mips_ctx): New.
5633 (libc_feholdexcept_setround_ctx): New.
5634 (libc_feholdexcept_setroundf_ctx): New.
5635 (libc_feholdexcept_setroundl_ctx): New.
5636 (libc_fesetenv_mips_ctx): New.
5637 (libc_fesetenv_ctx): New.
5638 (libc_fesetenv_ctxf): New.
5639 (libc_fesetenv_ctxl): New.
5640 (libc_feupdateenv_mips_ctx): New.
5641 (libc_feupdateenv_ctx): New.
5642 (libc_feupdateenvf_ctx): New.
5643 (libc_feupdateenvl_ctx): New.
5644 (libc_feholdsetround_mips_ctx): New.
5645 (libc_feholdsetround_ctx): New.
5646 (libc_feholdsetroundf_ctx): New.
5647 (libc_feholdsetroundl_ctx): New.
5648 (libc_feresetround_mips_ctx): New.
5649 (libc_feresetround_ctx): New.
5650 (libc_feresetroundf_ctx): New.
5651 (libc_feresetroundl_ctx): New.
5652
085d0e35
CD
56532014-02-26 Carlos O'Donell <carlos@redhat.com>
5654
f067bf1f
CD
5655 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5656
085d0e35
CD
5657 * manual/ipc.texi: New file.
5658 * manual/Makefile (chapters): Add ipc.
5659 * manual/job.texi: Add "Inter-Process Communication" to next.
5660 * manual/process.texi: Add "Inter-Process Communication" to prev.
5661
86e58c08
AZ
56622014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5663
5664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5665
4248f0da
OB
56662014-02-26 Ondřej Bílka <neleai@seznam.cz>
5667
5668 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5669
cf822e3c
OB
5670 * manual/arith.texi: Fix spaces after sentences.
5671 * manual/charset.texi: Likewise.
5672 * manual/errno.texi: Likewise.
5673 * manual/install.texi: Likewise.
5674 * manual/llio.texi: Likewise.
5675 * manual/locale.texi: Likewise.
5676 * manual/maint.texi: Likewise.
5677 * manual/math.texi: Likewise.
5678 * manual/memory.texi: Likewise.
5679 * manual/message.texi: Likewise.
5680 * manual/probes.texi: Likewise.
5681 * manual/resource.texi: Likewise.
5682 * manual/signal.texi: Likewise.
5683 * manual/socket.texi: Likewise.
5684 * manual/stdio.texi: Likewise.
5685 * manual/string.texi: Likewise.
5686 * manual/time.texi: Likewise.
5687 * manual/users.texi: Likewise.
5688
ade40b10
CD
56892014-02-25 Carlos O'Donell <carlos@redhat.com>
5690
5691 [BZ #16632]
5692 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5693 _DEFAULT_SOURCE is defined.
5694
d0503676
CD
56952014-02-25 Ulrich Drepper <drepper@gmail.com>
5696 Carlos O'Donell <carlos@redhat.com>
5697
5698 [BZ #16613]
5699 * elf/dl-tls.c (_dl_count_modids): New function.
5700 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5701 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5702 audit library and increment generation counter.
5703 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5704 * elf/tst-audit9.c: New file.
5705 * elf/tst-auditmod9a.c: New file.
5706 * elf/tst-auditmod9b.c: New file.
5707 * elf/Makefile: Add rules to build and run tst-audit9.
5708
4cbf380c
FW
57092014-02-25 Florian Weimer <fweimer@redhat.com>
5710
5711 [BZ #15347]
5712 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5713
80a56cc3
WN
57142014-02-25 Will Newton <will.newton@linaro.org>
5715
5716 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5717 (__longjmp): Restore sp and lr before restoring callee
5718 saved registers. Add longjmp and longjmp_target
5719 SystemTap probe point.
5720 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5721 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5722 Define to zero to match jmpbuf layout.
5723 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5724 (__sigsetjmp): Save sp and lr before saving callee
5725 saved registers. Add setjmp SystemTap probe point.
5726
3ea0f74e
SL
57272014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5728
5729 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5730
b04acb26
AS
57312014-02-24 Andreas Schwab <schwab@suse.de>
5732
5733 [BZ #15804]
5734 * elf/pldd.c (wait_for_ptrace_stop): New function.
5735 (main): Call it after attaching.
5736
098ad55c
RM
57372014-02-22 Roland McGrath <roland@hack.frob.com>
5738
d4ec6ae1
RM
5739 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5740 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5741 Versions files is now verboten.
5742 * hurd/Versions (libc: GLIBC_2.0):
5743 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5744 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5745 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5746 * mach/Versions: Likewise.
5747
098ad55c
RM
5748 * csu/Versions: Remove unused %include.
5749 * resolv/Versions: Likewise.
5750
acd7f096
JM
57512014-02-21 Joseph Myers <joseph@codesourcery.com>
5752
f0881698
JM
5753 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5754 ($(objpfx)check-local-headers.out): Likewise.
5755 ($(objpfx)begin-end-check.out): Likewise.
5756 * Makerules (check-abi-%.out): Likewise.
5757 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5758 ($(objpfx)test2.cat): Likewise.
5759 ($(objpfx)de/libc.cat): Likewise.
5760 ($(objpfx)test-gencat.out): Likewise.
5761 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5762 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5763 ($(objpfx)noload-mem): Likewise.
5764 ($(objpfx)tst-pathopt.out): Likewise.
5765 ($(objpfx)tst-rtld-load-self.out): Likewise.
5766 ($(objpfx)tst-array1-cmp.out): Likewise.
5767 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5768 ($(objpfx)tst-array2-cmp.out): Likewise.
5769 ($(objpfx)tst-array3-cmp.out): Likewise.
5770 ($(objpfx)tst-array4-cmp.out): Likewise.
5771 ($(objpfx)tst-array5-cmp.out): Likewise.
5772 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5773 ($(objpfx)check-textrel.out): Likewise.
5774 ($(objpfx)check-execstack.out): Likewise.
5775 ($(objpfx)check-localplt.out): Likewise.
5776 ($(objpfx)order2-cmp.out): Likewise.
5777 ($(objpfx)tst-leaks1-mem): Likewise.
5778 ($(objpfx)tst-leaks1-static-mem): Likewise.
5779 ($(objpfx)tst-initorder-cmp.out): Likewise.
5780 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5781 ($(objpfx)tst-unused-dep.out): Likewise.
5782 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5784 * iconv/Makefile (test-iconvconfig): Likewise.
5785 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5786 ($(objpfx)iconv-test.out): Likewise.
5787 ($(objpfx)tst-tables.out): Likewise.
5788 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5789 ($(objpfx)tst-gettext.out): Likewise.
5790 ($(objpfx)tst-translit.out): Likewise.
5791 ($(objpfx)tst-gettext2.out): Likewise.
5792 ($(objpfx)tst-gettext4.out): Likewise.
5793 ($(objpfx)tst-gettext6.out): Likewise.
5794 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5795 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5796 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5797 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5798 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5799 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5800 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5801 ($(objpfx)wordexp-tst.out): Likewise.
5802 ($(objpfx)annexc.out): Likewise.
5803 ($(objpfx)tst-fnmatch-mem): Likewise.
5804 ($(objpfx)bug-regex2-mem): Likewise.
5805 ($(objpfx)bug-regex14-mem): Likewise.
5806 ($(objpfx)bug-regex21-mem): Likewise.
5807 ($(objpfx)bug-regex31-mem): Likewise.
5808 ($(objpfx)tst-vfork3-mem): Likewise.
5809 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5810 ($(objpfx)tst-pcre-mem): Likewise.
5811 ($(objpfx)tst-boost-mem): Likewise.
5812 ($(objpfx)tst-getconf.out): Likewise.
5813 ($(objpfx)bug-ga2-mem): Likewise.
5814 ($(objpfx)bug-glob2-mem): Likewise.
5815 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5816 ($(objpfx)mtrace-tst-leaks2): Likewise.
5817 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5818 ($(objpfx)tst-printf.out): Likewise.
5819 ($(objpfx)tst-setvbuf1.out): Likewise.
5820 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5821 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5822 ($(objpfx)tst-fmtmsg.out): Likewise.
5823 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5824 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5825
acd7f096
JM
5826 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5827 * bits/sigaction.h [__USE_MISC]: Likewise.
5828 * bits/waitstatus.h: Update #endif comments.
5829 * ctype/ctype.h: Likewise.
5830 * dirent/dirent.h: Likewise.
5831 [__USE_MISC]: Remove redundant conditionals.
5832 * grp/grp.h: Update #endif comments.
5833 [__USE_GNU]: Remove redundant conditionals.
5834 [__USE_MISC]: Likewise.
5835 * inet/netinet/in.h [__USE_GNU]: Likewise.
5836 * io/sys/stat.h [__USE_MISC]: Likewise.
5837 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5838 * libio/bits/stdio.h: Update #endif comments.
5839 [__USE_MISC]: Remove redundant conditionals.
5840 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5841 * libio/stdio.h: Update #endif comments.
5842 [__USE_MISC]: Remove redundant conditionals.
5843 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5844 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5845 * math/math.h: Update #else and #endif comments.
5846 [__USE_MISC]: Remove redundant conditionals.
5847 * misc/sys/uio.h: Update #endif comments.
5848 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5849 * posix/glob.h [__USE_MISC]: Likewise.
5850 * posix/sys/types.h: Update #endif comments.
5851 [__USE_MISC]: Remove redundant conditionals.
5852 * posix/sys/wait.h: Update #endif comments.
5853 [__USE_MISC]: Remove redundant conditionals.
5854 * posix/unistd.h: Update #endif comments.
5855 [__USE_MISC]: Remove redundant conditionals.
5856 * pwd/pwd.h [__USE_GNU]: Likewise.
5857 [__USE_MISC]: Likewise.
5858 * resolv/netdb.h [__USE_GNU]: Likewise.
5859 * signal/signal.h: Update #endif comments.
5860 [__USE_MISC]: Remove redundant conditionals.
5861 * stdlib/stdlib.h: Update #else and #endif comments.
5862 [__USE_MISC]: Remove redundant conditionals.
5863 [__USE_GNU]: Likewise.
5864 * string/bits/string2.h [__USE_MISC]: Likewise.
5865 * string/string.h: Update #endif comments.
5866 [__USE_MISC]: Remove redundant conditionals.
5867 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5868 Likewise.
5869 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5870 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5871 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5872 Likewise.
5873 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5874 Likewise.
5875 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5876 comments.
5877 [__USE_MISC]: Remove redundant conditionals.
5878 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5879 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5880 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5881 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5882 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5883 Likewise.
5884 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5885 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5886 Likewise.
5887 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5888 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5889 Likewise.
5890 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5891 Likewise.
5892 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5893 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5894 Likewise.
5895 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5896 Likewise.
5897 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5898 * sysdeps/x86/bits/string.h: Update #endif comments.
5899 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5900 conditionals.
5901 * time/sys/time.h: Update #endif comments.
5902 * time/time.h: Likewise.
5903 [__USE_MISC]: Remove redundant conditionals.
5904
a5d82e4e
YG
59052014-02-21 Yury Gribov <y.gribov@samsung.com>
5906
5907 [BZ #16600]
5908 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5909
9a80491d
AS
59102014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5911
5912 * Versions.def (librt): Add GLIBC_2.17.
5913
105fa381
AC
59142014-02-21 Adam Conrad <adconrad@0c3.net>
5915
5916 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5917 synonym for _SYS_AUXV_H to allow direct inclusion.
5918 * sysdeps/sparc/bits/hwcap.h: Likewise.
5919 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5920 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5921 * sysdeps/sparc/sysdep.h: Likewise.
5922
b8cd1c4e
SP
59232014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5924
5925 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5926
bd939d23
RS
59272014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5928
5929 * benchtests/bench-strrchr.c: Print length instead of position.
5930
5d7b57ca
JM
59312014-02-20 Joseph Myers <joseph@codesourcery.com>
5932
bc688c10
JM
5933 [BZ #16611]
5934 * sysdeps/unix/sysv/linux/kernel-features.h
5935 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5936 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5937 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5938 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5939 Likewise.
5940 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5941 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5942 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5943 (__ASSUME_SENDMMSG): Define instead of using previous
5944 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5945 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5946 (__ASSUME_SENDMMSG_SYSCALL): Define.
5947 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5948 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5949 Likewise.
5950 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5951 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5952 Likewise.
5953 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5954 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5955 Likewise.
5956 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5957 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5958 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5959 [__ASSUME_SENDMMSG]: Change conditionals to
5960 [__ASSUME_SENDMMSG_SOCKETCALL].
5961 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5962 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5963 Define.
5964 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5965 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5966 Likewise.
5967 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5968 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5969 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5970 [!__ASSUME_SENDMMSG]: Change conditional to
5971 [!__ASSUME_SENDMMSG_SOCKETCALL].
5972 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5973 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5974 Define.
5975
0e31b18c
JM
5976 [BZ #16610]
5977 * sysdeps/unix/sysv/linux/kernel-features.h
5978 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5979 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5980 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5981 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5982 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5983 [__i386__ || __sparc__]
5984 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5985 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5986 (__ASSUME_RECVMMSG): Define instead of using previous
5987 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5988 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5989 (__ASSUME_RECVMMSG_SYSCALL): Define.
5990 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5991 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5992 Likewise.
5993 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5994 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5995 Likewise.
5996 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5997 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5998 Likewise.
5999 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6000 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6001 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6002 [__ASSUME_RECVMMSG]: Change condition to
6003 [__ASSUME_RECVMMSG_SOCKETCALL].
6004 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6005 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6006 Define.
6007 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6008 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6009 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6010 Likewise.
6011 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6012 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6013 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6014 [!__ASSUME_RECVMMSG]: Change condition to
6015 [!__ASSUME_RECVMMSG_SOCKETCALL].
6016 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6017 (__ASSUME_RECVMMSG_SYSCALL): Define.
6018
dd481ccf
JM
6019 [BZ #16609]
6020 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6021 __powerpc__ || __s390__ || __sh__ || __sparc__]
6022 (__ASSUME_SOCKETCALL): Define.
6023 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6024 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6025 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6026 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6027 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6028 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6029 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6030 (__ASSUME_ACCEPT4): Define instead of using previous
6031 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6032 __powerpc__ || __sparc__ || __s390__)] condition.
6033 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6034 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6035 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6036 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6037 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6038 [!__ASSUME_ACCEPT4]: Change condition to
6039 [!__ASSUME_ACCEPT4_SOCKETCALL].
6040 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6041 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6042 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6043 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6044 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6045 __ASSUME_ACCEPT4_SYSCALL.
6046 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6047 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6048 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6049 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6050 __ASSUME_ACCEPT4_SYSCALL.
6051 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6052 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6053 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6054 [__ASSUME_ACCEPT4]: Change condition to
6055 [__ASSUME_ACCEPT4_SOCKETCALL].
6056 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6057 (__ASSUME_SOCKETCALL): Define.
6058 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6060 (__ASSUME_SOCKETCALL): Define.
6061 (__ASSUME_ACCEPT4): Remove.
6062 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6063 Define.
6064 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6065 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6066 Likewise.
6067 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6068 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6069
5d7b57ca
JM
6070 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6071 macro.
6072 (HWCAP_ARM_LPAE): Likewise.
6073 (HWCAP_ARM_EVTSTRM): Likewise.
6074 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6075 Add vpfd32, lpae and evtstrm.
6076 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6077 Increase to 22.
6078
63689d61
JM
60792014-02-19 Joseph Myers <joseph@codesourcery.com>
6080
6081 * math/auto-libm-test-in: Add tests of clog10.
6082 * math/auto-libm-test-out: Regenerated.
6083 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6084 * sysdeps/i386/fpu/libm-test-ulps: Update.
6085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6086
ab09bf61
AS
60872014-02-18 Andreas Schwab <schwab@suse.de>
6088
6089 [BZ #16574]
6090 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6091 Store non-zero if the second buffer was newly allocated.
6092 (send_dg): Likewise.
6093 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6094 to send_vc and send_dg.
6095 (res_nsend): Pass NULL for ansp2_malloced.
6096 * resolv/res_query.c (__libc_res_nquery): Add parameter
6097 answerp2_malloced and pass it down to __libc_res_nsend.
6098 (res_nquery): Pass additional NULL to __libc_res_nquery.
6099 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6100 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6101 second answer buffer if answerp2_malloced was set.
6102 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6103 (__libc_res_nquerydomain): Add parameter
6104 answerp2_malloced and pass it down to __libc_res_nquery.
6105 (res_nquerydomain): Pass additional NULL to
6106 __libc_res_nquerydomain.
6107 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6108 additional NULL to __libc_res_nsend and __libc_res_nquery.
6109 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6110 additional NULL to __libc_res_nsearch.
6111 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6112 parameter of __libc_res_nsearch to check for separately allocated
6113 second buffer.
6114 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6115 __libc_res_nquery.
6116 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6117 additional NULL to __libc_res_nquery.
6118 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6119 __libc_res_nsearch.
6120 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6121 * include/resolv.h: Update prototypes of __libc_res_nquery,
6122 __libc_res_nsearch, __libc_res_nsend.
6123
a4fb7861
JM
61242014-02-18 Joseph Myers <joseph@codesourcery.com>
6125
c6af2d89
JM
6126 * math/auto-libm-test-in: Add tests of fma.
6127 * math/auto-libm-test-out: Regenerated.
6128 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6129 (fma_towardzero_test_data): Likewise.
6130 (fma_downward_test_data): Likewise.
6131 (fma_upward_test_data): Likewise.
6132 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6133 mpc_mode.
6134 (rounding_modes): Add values for new field.
6135 (func_calc_method): Add value mpfr_fff_f.
6136 (func_calc_desc): Add mpfr_fff_f union field.
6137 (test_function): Add field exact_args.
6138 (FUNC): Add macro argument EXACT_ARGS.
6139 (FUNC_mpfr_f_f): Update call to FUNC.
6140 (FUNC_mpfr_f_f): Likewise.
6141 (FUNC_mpfr_ff_f): Likewise.
6142 (FUNC_mpfr_if_f): Likewise.
6143 (FUNC_mpc_c_f): Likewise.
6144 (FUNC_mpc_c_c): Likewise.
6145 (test_functions): Add fma. Update calls to FUNC.
6146 (handle_input_arg): Add argument exact_args.
6147 (add_test): Update call to handle_input_arg.
6148 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6149 (output_for_one_input_case): Update call to calc_generic_results.
6150 Recalculate exact zero results in each rounding mode.
6151
a4fb7861
JM
6152 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6153 non-negative before setting low bit.
6154 * math/auto-libm-test-in: Mark one asin test possibly having
6155 spurious underflow.
6156 * math/auto-libm-test-out: Regenerated.
6157 * sysdeps/i386/fpu/libm-test-ulps: Update.
6158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6159
ef114eaf
DH
61602014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6161
2b7f4f2c
SP
6162 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6163 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6164 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6165 * README: Add missing listing for microblaze*-*-linux-gnu.
6166
c70a4b1d
MF
61672014-02-16 Mike Frysinger <vapier@gentoo.org>
6168
6169 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6170 * sysdeps/unix/sysv/linux/ia64: Move directory from
6171 ports/sysdeps/unix/sysv/linux/ia64.
6172 * README: Update listing for ia64-*-linux-gnu.
6173
591aeaf7
TD
61742014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6175 Joseph Myers <joseph@codesourcery.com>
6176
6177 * Makeconfig (test-name): New variable.
6178 (evaluate-test): Likewise.
6179 * Makerules (do-test-clean): Remove .test-result files.
6180 (common-mostlyclean): Likewise.
6181 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6182 * scripts/evaluate-test.sh: New file.
6183
6e89caf1
JM
61842014-02-14 Joseph Myers <joseph@codesourcery.com>
6185
7f98f180
JM
6186 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6187 separate $(objpfx)tst-fopenloc-cmp.out and
6188 $(objpfx)tst-fopenloc-mem.out targets.
6189 (tests): Update dependencies.
6190 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6191 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6192 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6193 (tst-rxspencer-no-utf8-ARGS): New variable.
6194 (tst-rxspencer-no-utf8-ENV): Likewise.
6195 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6196 instead of $(objpfx)tst-rxspencer-mem.
6197 ($(objpfx)tst-rxspencer-mem): Change target to
6198 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6199 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6200 * posix/tst-rxspencer-no-utf8.c: New file.
6201
6e89caf1
JM
6202 * elf/Makefile ($(objpfx)order.out): Remove rule.
6203 [$(run-built-tests) = yes] (tests): Depend on
6204 $(objpfx)order-cmp.out.
6205 ($(objpfx)order-cmp.out): New rule.
6206 [$(run-built-tests) = yes] (tests): Depend on
6207 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6208 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6209 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6210 $(objpfx)tst-array5-static-cmp.out.
6211 ($(objpfx)tst-array1.out): Remove rule.
6212 ($(objpfx)tst-array1-cmp.out): New rule.
6213 ($(objpfx)tst-array1-static.out): Remove rule.
6214 ($(objpfx)tst-array1-static-cmp.out): New rule.
6215 ($(objpfx)tst-array2.out): Remove rule.
6216 ($(objpfx)tst-array2-cmp.out): New rule.
6217 ($(objpfx)tst-array3.out): Remove rule.
6218 ($(objpfx)tst-array3-cmp.out): New rule.
6219 ($(objpfx)tst-array4.out): Remove rule.
6220 ($(objpfx)tst-array4-cmp.out): New rule.
6221 ($(objpfx)tst-array5.out): Remove rule.
6222 ($(objpfx)tst-array5-cmp.out): New rule.
6223 ($(objpfx)tst-array5-static.out): Remove rule.
6224 ($(objpfx)tst-array5-static-cmp.out): New rule.
6225 [$(run-built-tests) = yes] (tests): Depend on
6226 $(objpfx)order2-cmp.out.
6227 ($(objpfx)order2.out): Remove rule.
6228 ($(objpfx)order2-cmp.out): New rule.
6229 ($(objpfx)tst-initorder.out): Remove rule.
6230 [$(run-built-tests) = yes] (tests): Depend on
6231 $(objpfx)tst-initorder-cmp.out.
6232 ($(objpfx)tst-initorder-cmp.out): New rule.
6233 ($(objpfx)tst-initorder2.out): Remove rule.
6234 [$(run-built-tests) = yes] (tests): Depend on
6235 $(objpfx)tst-initorder2-cmp.out.
6236 ($(objpfx)tst-initorder2-cmp.out): New rule.
6237 [$(run-built-tests) = yes] (tests): Depend on
6238 $(objpfx)tst-unused-dep-cmp.out.
6239 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6240 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6241 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6242 on $(objpfx)tst-setvbuf1-cmp.out.
6243 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6244 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6245 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6246 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6247 ($(objpfx)tst-svc.out): Remove rule.
6248 ($(objpfx)tst-svc-cmp.out): New rule.
6249
ed9a38e2
JM
62502014-02-13 Joseph Myers <joseph@codesourcery.com>
6251
6252 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6253 * ctype/ctype.h [__USE_MISC]: Likewise.
6254 * dirent/dirent.h [__USE_MISC]: Likewise.
6255 * grp/grp.h [__USE_MISC]: Likewise.
6256 * io/fcntl.h [__USE_MISC]: Likewise.
6257 * io/sys/stat.h [__USE_MISC]: Likewise.
6258 * libio/stdio.h [__USE_MISC]: Likewise.
6259 * posix/unistd.h [__USE_MISC]: Likewise.
6260 * pwd/pwd.h [__USE_MISC]: Likewise.
6261 * stdlib.h [__USE_MISC]: Likewise.
6262 * string/bits/string2.h [__USE_MISC]: Likewise.
6263 * string/string.h [__USE_MISC]: Likewise.
6264 * time/time.h [__USE_MISC]: Likewise.
6265
d6680619
AS
62662014-02-13 Andreas Schwab <schwab@suse.de>
6267
6268 [BZ #16574]
6269 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6270 second answer buffer if it was separately allocated.
6271
ace614b8
JM
62722014-02-12 Joseph Myers <joseph@codesourcery.com>
6273
743151ae
JM
6274 * sysdeps/mips/math-tests.h: Include <features.h>.
6275 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6276 (ROUNDING_TESTS_long_double): Do not define.
6277 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6278 (EXCEPTION_TESTS_long_double): Likewise.
6279 * sysdeps/mips/mips64/libm-test-ulps: Update.
6280
498afc54
JM
6281 * include/features.h (__USE_BSD): Remove macro definitions.
6282 (__USE_SVID): Likewise.
6283 (_BSD_SOURCE): Likewise.
6284 (_SVID_SOURCE): Likewise.
6285 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6286 from definition of _DEFAULT_SOURCE.
6287 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6288 [_DEFAULT_SOURCE].
6289 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6290 * bits/mman.h [__USE_BSD]: Likewise.
6291 * bits/termios.h [__USE_BSD]: Likewise.
6292 * bits/waitstatus.h [__USE_BSD]: Likewise.
6293 * ctype/ctype.h [__USE_SVID]: Likewise.
6294 * dirent/dirent.h [__USE_BSD]: Likewise.
6295 * grp/grp.h [__USE_SVID]: Likewise.
6296 [__USE_BSD]: Likewise.
6297 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6298 * io/fcntl.h [__USE_BSD]: Likewise.
6299 * io/ftw.h [__USE_BSD]: Likewise.
6300 * io/sys/stat.h [__USE_BSD]: Likewise.
6301 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6302 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6303 * libio/stdio.h [__USE_SVID]: Likewise.
6304 [__USE_BSD]: Likewise.
6305 * math/math.h [__USE_SVID]: Likewise.
6306 [__USE_BSD]: Likewise.
6307 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6308 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6309 * misc/search.h [__USE_SVID]: Likewise.
6310 * misc/sys/mman.h [__USE_BSD]: Likewise.
6311 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6312 * misc/sys/uio.h [__USE_BSD]: Likewise.
6313 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6314 * posix/glob.h [__USE_BSD]: Likewise.
6315 * posix/regex.h [__USE_BSD]: Likewise.
6316 * posix/sys/types.h [__USE_BSD]: Likewise.
6317 [__USE_SVID]: Likewise.
6318 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6319 * posix/sys/wait.h [__USE_BSD]: Likewise.
6320 [__USE_SVID]: Likewise.
6321 * posix/unistd.h [__USE_BSD]: Likewise.
6322 [__USE_SVID]: Likewise.
6323 * pwd/pwd.h [__USE_SVID]: Likewise.
6324 * resolv/netdb.h [__USE_BSD]: Likewise.
6325 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6326 * signal/signal.h [__USE_BSD]: Likewise.
6327 [__USE_SVID]: Likewise.
6328 * socket/sys/socket.h [__USE_BSD]: Likewise.
6329 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6330 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6331 [__USE_SVID]: Likewise.
6332 * string/bits/string2.h [__USE_BSD]: Likewise.
6333 [__USE_SVID]: Likewise.
6334 * string/bits/string3.h [__USE_BSD]: Likewise.
6335 * string/endian.h [__USE_BSD]: Likewise.
6336 * string/string.h [__USE_SVID]: Likewise.
6337 [__USE_BSD]: Likewise.
6338 * string/strings.h [__USE_BSD]: Likewise.
6339 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6340 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6341 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6342 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6343 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6344 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6345 Likewise.
6346 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6347 Likewise.
6348 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6349 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6350 Likewise.
6351 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6352 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6353 Likewise.
6354 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6355 Likewise.
6356 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6357 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6358 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6359 Likewise.
6360 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6361 Likewise.
6362 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6363 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6364 * termios/termios.h [__USE_BSD]: Likewise.
6365 * time/sys/time.h [__USE_BSD]: Likewise.
6366 * time/time.h [__USE_BSD]: Likewise.
6367 [__USE_SVID]: Likewise.
6368
dd7b064c
JM
6369 * Makefile (subdir_targets): Remove subdir_lint.out.
6370
a2c4c199
JM
6371 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6372 (do-tst-printf): Likewise.
6373 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6374 $(objpfx)tst-printf.out.
6375
8756f740
JM
6376 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6377
1b6dd3f1
JM
6378 * Makerules (check-abi-%): Change target to
6379 $(objpfx)check-abi-%.out.
6380 (check-abi target): Update dependencies.
6381 (check-abi-pattern variable): Redirect output of diff to $@.
6382 (check-abi variable): Likewise.
6383 * elf/Makefile (check-abi): Update dependencies.
6384
ace614b8
JM
6385 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6386 unused.
6387 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6388 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6389 subnormal range.
6390 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6391 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6392 value has largest subnormal exponent.
6393 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6394 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6395 * sysdeps/aarch64/soft-fp/sfp-machine.h
6396 (_FP_TININESS_AFTER_ROUNDING): New macro.
6397 * sysdeps/alpha/soft-fp/sfp-machine.h
6398 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6399 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6400 Likewise.
6401 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6402 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6403 * sysdeps/mips/soft-fp/sfp-machine.h
6404 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6405 * sysdeps/powerpc/soft-fp/sfp-machine.h
6406 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6407 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6408 Likewise.
6409 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6410 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6411 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6412 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6413 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6414 Likewise.
6415
fbfdf9cb
DAS
64162014-02-12 Dylan Alex Simon <dylan@dylex.net>
6417
6418 [BZ #16545]
6419 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6420 model 1.
6421
68b7efaa
RH
64222014-02-12 Richard Henderson <rth@redhat.com>
6423
c70a4b1d 6424 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6425 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6426 * sysdeps/unix/sysv/linux/alpha: Move directory from
6427 ports/sysdeps/unix/sysv/linux/alpha.
6428 * README: Update listing for alpha-*-linux-gnu.
6429
cb4a2928
JM
64302014-02-11 Joseph Myers <joseph@codesourcery.com>
6431
c941736c
JM
6432 * include/features.h: Update comment documenting feature test
6433 macros.
6434 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6435 _DEFAULT_SOURCE.
6436 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6437 (_SVID_SOURCE): Likewise.
6438 (_DEFAULT_SOURCE): Update description of default features.
6439 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6440 with _GNU_SOURCE.
6441 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6442 (S_ISVTX): Likewise.
6443 * manual/math.texi (Mathematical Constants): Likewise.
6444 * manual/signal.texi (Interrupted Primitives): Likewise.
6445 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6446 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6447 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6448 Don't refer to _SVID_SOURCE in warning text.
6449
e8d8d7ec
JM
6450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6451
cb4a2928
JM
6452 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6453 already defined.
6454 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6455 * sysdeps/mips/dl-lookup.c: Remove.
6456 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6457
7e6424e3
AK
64582014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6459
6460 [BZ #16447]
6461 * math/auto-libm-test-in: Add testcase for expl.
6462 * math/auto-libm-test-out: Regenerate.
6463 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6464 calculation of unsafe.
6465 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6466
75eff3fe
MS
64672014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6468
6469 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6470 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6471 ports/sysdeps/unix/sysv/linux/aarch64.
6472 * README: Update listing for aarch64*-*-linux-gnu.
6473
d35f1e80
WN
64742014-02-11 Will Newton <will.newton@linaro.org>
6475
6476 * manual/probes.texi (Mathematical Function Probes): Use
6477 "triggered" instead of "hit".
6478
7b3436d4
WN
6479 * manual/probes.texi (Internal Probes): Add documentation
6480 of setjmp, longjmp and longjmp_target probes.
6481
b4f12ca3
WN
6482 * include/stap-probe.h: Add comment about probe argument
6483 format.
6484
c13a72b7
WN
6485 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6486 definition. (tr_where, tr_freehook, tr_mallochook,
6487 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6488
195b8165
DM
64892014-02-11 David S. Miller <davem@davemloft.net>
6490
6491 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6492 processing int_tests.
6493
2ad7600b
JM
64942014-02-10 Joseph Myers <joseph@codesourcery.com>
6495
6496 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6497 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6498 * sysdeps/unix/sysv/linux/mips: Move directory from
6499 ports/sysdeps/unix/sysv/linux/mips.
6500 * README: Update listing for mips-*-linux-gnu and
6501 mips64-*-linux-gnu.
6502
73588a72
AS
65032014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6504
6505 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6506 * sysdeps/unix/sysv/linux/m68k: Move directory from
6507 ports/sysdeps/unix/sysv/linux/m68k.
6508 * README: Update listing for m68k-*-linux-gnu.
6509
4372980f
CM
65102014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6511
6512 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6513 * sysdeps/unix/sysv/linux/generic: Move directory from
6514 ports/sysdeps/unix/sysv/linux/generic.
6515 * sysdeps/unix/sysv/linux/tile: Move directory from
6516 ports/sysdeps/unix/sysv/linux/tile.
6517 * README: Update listing for tile*-*-linux-gnu.
6518
a1ffb40e
OB
65192014-02-10 Ondřej Bílka <neleai@seznam.cz>
6520
57f41c40
AS
6521 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6522 __builtin_expect.
a1ffb40e
OB
6523 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6524 * catgets/open_catalog.c (__open_catalog): Likewise.
6525 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6526 * debug/confstr_chk.c: Likewise.
6527 * debug/fread_chk.c (__fread_chk): Likewise.
6528 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6529 * debug/getgroups_chk.c: Likewise.
6530 * debug/mbsnrtowcs_chk.c: Likewise.
6531 * debug/mbsrtowcs_chk.c: Likewise.
6532 * debug/mbstowcs_chk.c: Likewise.
6533 * debug/memcpy_chk.c: Likewise.
6534 * debug/memmove_chk.c: Likewise.
6535 * debug/mempcpy_chk.c: Likewise.
6536 * debug/memset_chk.c: Likewise.
6537 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6538 * debug/strcat_chk.c (__strcat_chk): Likewise.
6539 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6540 * debug/strncat_chk.c (__strncat_chk): Likewise.
6541 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6542 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6543 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6544 * debug/wcpncpy_chk.c: Likewise.
6545 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6546 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6547 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6548 * debug/wcsncpy_chk.c: Likewise.
6549 * debug/wcsnrtombs_chk.c: Likewise.
6550 * debug/wcsrtombs_chk.c: Likewise.
6551 * debug/wcstombs_chk.c: Likewise.
6552 * debug/wmemcpy_chk.c: Likewise.
6553 * debug/wmemmove_chk.c: Likewise.
6554 * debug/wmempcpy_chk.c: Likewise.
6555 * debug/wmemset_chk.c: Likewise.
6556 * dirent/scandirat.c (SCANDIRAT): Likewise.
6557 * dlfcn/dladdr1.c (dladdr1): Likewise.
6558 * dlfcn/dladdr.c (dladdr): Likewise.
6559 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6560 * dlfcn/dlerror.c (__dlerror): Likewise.
6561 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6562 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6563 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6564 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6565 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6566 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6567 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6568 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6569 Likewise.
6570 * elf/dl-conflict.c: Likewise.
6571 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6572 * elf/dl-dst.h: Likewise.
6573 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6574 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6575 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6576 * elf/dl-init.c (call_init, _dl_init): Likewise.
6577 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6578 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6579 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6580 Likewise.
a1ffb40e
OB
6581 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6582 Likewise.
6583 * elf/dl-minimal.c (__libc_memalign): Likewise.
6584 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6585 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6586 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6587 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6588 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6589 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6590 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6591 * elf/dl-writev.h (_dl_writev): Likewise.
6592 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6593 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6594 (dl_main): Likewise.
a1ffb40e
OB
6595 * elf/setup-vdso.h (setup_vdso): Likewise.
6596 * grp/compat-initgroups.c (compat_call): Likewise.
6597 * grp/fgetgrent.c (fgetgrent): Likewise.
6598 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6599 * grp/putgrent.c (putgrent): Likewise.
6600 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6601 Likewise.
6602 * hurd/hurdinit.c: Likewise.
6603 * iconvdata/8bit-gap.c (struct): Likewise.
6604 * iconvdata/ansi_x3.110.c : Likewise.
6605 * iconvdata/big5.c : Likewise.
6606 * iconvdata/big5hkscs.c : Likewise.
6607 * iconvdata/cp1255.c: Likewise.
6608 * iconvdata/cp1258.c : Likewise.
6609 * iconvdata/cp932.c : Likewise.
6610 * iconvdata/euc-cn.c: Likewise.
6611 * iconvdata/euc-jisx0213.c : Likewise.
6612 * iconvdata/euc-jp.c: Likewise.
6613 * iconvdata/euc-jp-ms.c : Likewise.
6614 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6615 * iconvdata/gb18030.c : Likewise.
6616 * iconvdata/gbbig5.c (const): Likewise.
6617 * iconvdata/gbgbk.c: Likewise.
6618 * iconvdata/gbk.c : Likewise.
6619 * iconvdata/ibm1364.c : Likewise.
6620 * iconvdata/ibm930.c : Likewise.
6621 * iconvdata/ibm932.c: Likewise.
6622 * iconvdata/ibm933.c : Likewise.
6623 * iconvdata/ibm935.c : Likewise.
6624 * iconvdata/ibm937.c : Likewise.
6625 * iconvdata/ibm939.c : Likewise.
6626 * iconvdata/ibm943.c: Likewise.
6627 * iconvdata/iso_11548-1.c: Likewise.
6628 * iconvdata/iso-2022-cn.c : Likewise.
6629 * iconvdata/iso-2022-cn-ext.c : Likewise.
6630 * iconvdata/iso-2022-jp-3.c: Likewise.
6631 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6632 * iconvdata/iso-2022-kr.c : Likewise.
6633 * iconvdata/iso646.c (gconv_end): Likewise.
6634 * iconvdata/iso_6937-2.c : Likewise.
6635 * iconvdata/iso_6937.c : Likewise.
6636 * iconvdata/iso8859-1.c: Likewise.
6637 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6638 * iconvdata/shift_jisx0213.c : Likewise.
6639 * iconvdata/sjis.c : Likewise.
6640 * iconvdata/t.61.c : Likewise.
6641 * iconvdata/tcvn5712-1.c : Likewise.
6642 * iconvdata/tscii.c: Likewise.
6643 * iconvdata/uhc.c : Likewise.
6644 * iconvdata/unicode.c (gconv_end): Likewise.
6645 * iconvdata/utf-16.c (gconv_end): Likewise.
6646 * iconvdata/utf-32.c (gconv_end): Likewise.
6647 * iconvdata/utf-7.c (base64): Likewise.
6648 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6649 * iconv/gconv_close.c (__gconv_close): Likewise.
6650 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6651 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6652 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6653 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6654 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6655 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6656 * iconv/iconv.c (iconv): Likewise.
6657 * iconv/iconv_close.c: Likewise.
6658 * iconv/loop.c (SINGLE): Likewise.
6659 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6660 * include/atomic.h: Likewise.
6661 * inet/inet6_option.c (option_alloc): Likewise.
6662 * intl/bindtextdom.c (set_binding_values): Likewise.
6663 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6664 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6665 * intl/localealias.c (read_alias_file): Likewise.
6666 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6667 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6668 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6669 * libio/fmemopen.c (fmemopen): Likewise.
6670 * libio/iofgets.c (_IO_fgets): Likewise.
6671 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6672 * libio/iofgetws.c (fgetws): Likewise.
6673 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6674 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6675 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6676 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6677 * locale/findlocale.c (_nl_find_locale): Likewise.
6678 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6679 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6680 Likewise.
6681 * locale/setlocale.c (setlocale): Likewise.
6682 * login/programs/pt_chown.c (main): Likewise.
6683 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6684 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6685 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6686 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6687 * math/e_exp2l.c: Likewise.
6688 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6689 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6690 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6691 * math/s_catan.c (__catan): Likewise.
6692 * math/s_catanf.c (__catanf): Likewise.
6693 * math/s_catanh.c (__catanh): Likewise.
6694 * math/s_catanhf.c (__catanhf): Likewise.
6695 * math/s_catanhl.c (__catanhl): Likewise.
6696 * math/s_catanl.c (__catanl): Likewise.
6697 * math/s_ccosh.c (__ccosh): Likewise.
6698 * math/s_ccoshf.c (__ccoshf): Likewise.
6699 * math/s_ccoshl.c (__ccoshl): Likewise.
6700 * math/s_cexp.c (__cexp): Likewise.
6701 * math/s_cexpf.c (__cexpf): Likewise.
6702 * math/s_cexpl.c (__cexpl): Likewise.
6703 * math/s_clog10.c (__clog10): Likewise.
6704 * math/s_clog10f.c (__clog10f): Likewise.
6705 * math/s_clog10l.c (__clog10l): Likewise.
6706 * math/s_clog.c (__clog): Likewise.
6707 * math/s_clogf.c (__clogf): Likewise.
6708 * math/s_clogl.c (__clogl): Likewise.
6709 * math/s_csin.c (__csin): Likewise.
6710 * math/s_csinf.c (__csinf): Likewise.
6711 * math/s_csinh.c (__csinh): Likewise.
6712 * math/s_csinhf.c (__csinhf): Likewise.
6713 * math/s_csinhl.c (__csinhl): Likewise.
6714 * math/s_csinl.c (__csinl): Likewise.
6715 * math/s_csqrt.c (__csqrt): Likewise.
6716 * math/s_csqrtf.c (__csqrtf): Likewise.
6717 * math/s_csqrtl.c (__csqrtl): Likewise.
6718 * math/s_ctan.c (__ctan): Likewise.
6719 * math/s_ctanf.c (__ctanf): Likewise.
6720 * math/s_ctanh.c (__ctanh): Likewise.
6721 * math/s_ctanhf.c (__ctanhf): Likewise.
6722 * math/s_ctanhl.c (__ctanhl): Likewise.
6723 * math/s_ctanl.c (__ctanl): Likewise.
6724 * math/w_pow.c: Likewise.
6725 * math/w_powf.c: Likewise.
6726 * math/w_powl.c: Likewise.
6727 * math/w_scalb.c (sysv_scalb): Likewise.
6728 * math/w_scalbf.c (sysv_scalbf): Likewise.
6729 * math/w_scalbl.c (sysv_scalbl): Likewise.
6730 * misc/error.c (error_tail): Likewise.
6731 * misc/pselect.c (__pselect): Likewise.
6732 * nis/nis_callback.c (__nis_create_callback): Likewise.
6733 * nis/nis_call.c (__nisfind_server): Likewise.
6734 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6735 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6736 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6737 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6738 * nis/nis_lookup.c (nis_lookup): Likewise.
6739 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6740 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6741 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6742 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6743 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6744 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6745 * nis/nss_compat/compat-initgroups.c (add_group)
6746 (internal_getgrent_r): Likewise.
6747 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6748 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6749 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6750 (internal_getspnam_r): Likewise.
6751 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6752 (_nss_nis_getaliasbyname_r): Likewise.
6753 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6754 (_nss_nis_getntohost_r): Likewise.
6755 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6756 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6757 (_nss_nis_getgrgid_r): Likewise.
6758 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6759 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6760 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6761 (_nss_nis_gethostbyname4_r): Likewise.
6762 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6763 (initgroups_netid): Likewise.
a1ffb40e 6764 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6765 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6766 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6767 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6768 (_nss_nis_getprotobynumber_r): Likewise.
6769 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6770 (_nss_nis_getsecretkey): Likewise.
6771 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6772 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6773 (_nss_nis_getpwuid_r): Likewise.
6774 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6775 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6776 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6777 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6778 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6779 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6780 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6781 Likewise.
57f41c40
AS
6782 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6783 (_nss_nisplus_getntohost_r): Likewise.
6784 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6785 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6786 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6787 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6788 Likewise.
57f41c40
AS
6789 * nis/nss_nisplus/nisplus-initgroups.c
6790 (_nss_nisplus_initgroups_dyn): Likewise.
6791 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6792 (_nss_nisplus_getnetbyaddr_r): Likewise.
6793 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6794 (_nss_nisplus_getprotobynumber_r): Likewise.
6795 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6796 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6797 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6798 Likewise.
57f41c40
AS
6799 * nis/nss_nisplus/nisplus-service.c
6800 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6801 (_nss_nisplus_getservbyport_r): Likewise.
6802 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6803 (_nss_nisplus_getspnam_r): Likewise.
6804 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6805 Likewise.
a1ffb40e
OB
6806 * nscd/aicache.c (addhstaiX): Likewise.
6807 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6808 * nscd/connections.c (register_traced_file, send_ro_fd)
6809 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6810 (main_loop_epoll): Likewise.
a1ffb40e
OB
6811 * nscd/grpcache.c (addgrbyX): Likewise.
6812 * nscd/hstcache.c (addhstbyX): Likewise.
6813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6814 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6815 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6816 (addinnetgrX): Likewise.
6817 * nscd/nscd-client.h (__nscd_acquire_maplock)
6818 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6819 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6820 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6821 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6822 Likewise.
6823 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6824 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6825 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6826 (__nscd_get_map_ref): Likewise.
a1ffb40e 6827 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6828 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6829 Likewise.
a1ffb40e
OB
6830 * nscd/pwdcache.c (addpwbyX): Likewise.
6831 * nscd/selinux.c (preserve_capabilities): Likewise.
6832 * nscd/servicescache.c (addservbyX): Likewise.
6833 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6834 * posix/fnmatch.c (fnmatch): Likewise.
6835 * posix/getopt.c (_getopt_internal_r): Likewise.
6836 * posix/glob.c (glob, glob_in_dir): Likewise.
6837 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6838 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6839 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6840 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6841 * resolv/res_init.c: Likewise.
6842 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6843 * resolv/res_query.c (__libc_res_nquery): Likewise.
6844 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6845 Likewise.
6846 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6847 * stdio-common/perror.c (perror): Likewise.
6848 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6849 * stdio-common/tmpnam.c (tmpnam): Likewise.
6850 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6851 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6852 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6853 Likewise.
a1ffb40e
OB
6854 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6855 * stdlib/putenv.c (putenv): Likewise.
6856 * stdlib/setenv.c (__add_to_environ): Likewise.
6857 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6858 * stdlib/strtol_l.c (INTERNAL): Likewise.
6859 * string/memmem.c (memmem): Likewise.
6860 * string/strerror.c (strerror): Likewise.
6861 * string/strnlen.c (__strnlen): Likewise.
6862 * string/test-memmem.c (simple_memmem): Likewise.
6863 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6864 * sunrpc/pm_getport.c (__get_socket): Likewise.
6865 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6866 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6867 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6868 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6869 Likewise.
6870 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6871 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6872 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6873 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6874 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6875 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6876 Likewise.
6877 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6878 Likewise.
a1ffb40e
OB
6879 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6880 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6881 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6882 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6883 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6885 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6886 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6887 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6888 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6889 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6890 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6891 Likewise.
6892 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6893 Likewise.
6894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6895 Likewise.
6896 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6897 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6898 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6900 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6901 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6902 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6911 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6912 Likewise.
a1ffb40e
OB
6913 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6914 Likewise.
6915 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6916 Likewise.
6917 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6918 Likewise.
6919 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6921 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6922 Likewise.
6923 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6924 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6925 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6926 * sysdeps/posix/sleep.c: Likewise.
6927 * sysdeps/posix/tempname.c: Likewise.
6928 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6929 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6930 Likewise.
57f41c40
AS
6931 * sysdeps/powerpc/powerpc32/dl-machine.h
6932 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6933 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6935 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6936 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6937 Likewise.
6938 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6940 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6941 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6942 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6943 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6944 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6945 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6946 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6947 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6948 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6949 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6950 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6951 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6952 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6953 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6954 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6955 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6956 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6957 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6958 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6959 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6961 Likewise.
6962 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6963 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6964 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6965 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6966 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6967 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6968 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6969 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6970 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6971 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6972 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6973 Likewise.
6974 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6975 (__posix_fallocate64_l64): Likewise.
6976 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6977 (posix_fallocate): Likewise.
57f41c40
AS
6978 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6979 Likewise.
a1ffb40e 6980 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6981 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6982 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6983 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6984 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6985 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6986 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6987 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6988 (__posix_fallocate64_l64): Likewise.
6989 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6990 Likewise.
6991 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6992 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6993 (__get_clockfreq): Likewise.
a1ffb40e
OB
6994 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6995 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6996 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6998 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6999 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7000 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7001 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7002 Likewise.
7003 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7004 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7005 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7006 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7007 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7008 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7009 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7010 Likewise.
7011 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7012 (posix_fallocate): Likewise.
7013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7014 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7015 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7016 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7017 (elf_machine_rela, elf_machine_rela_relative)
7018 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7019 * time/asctime.c (asctime_internal): Likewise.
7020 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7021 * time/tzset.c (__tzset_parse_tz): Likewise.
7022 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7023 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7024 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7025 * wcsmbs/wcsmbsload.h: Likewise.
7026
f3d338c9
OB
7027 [BZ #15894]
7028 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7029
57f41c40
AS
7030 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7031 (arena_get2): Remove THREAD_STATS conditionals.
7032 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7033 (__malloc_stats, int): Likewise.
bdfe308a 7034
d674667c
MF
70352014-02-08 Mike Frysinger <vapier@gentoo.org>
7036
7037 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7038 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7039
6349768c
MF
7040 * manual/setjmp.texi: Fix typos/grammar errors.
7041
0b7c7473
MF
7042 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7043 Only return early when n is <= 0. Delete unused return statement.
7044
ac8cc9e3
MF
7045 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7046 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7047 * debug/tst-longjmp_chk3.c: New file.
7048
c5bb8e23
MF
7049 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7050 (test_main): Replace code with set_fortify_handler call.
7051 * debug/test-strcpy_chk.c: Likewise.
7052 * debug/tst-chk1.c: Likewise.
7053 * debug/tst-longjmp_chk.c: Likewise.
7054 * test-skeleton.c: Include fcntl.h & paths.h
7055 (set_fortify_handler): Define.
7056
10444e42
MF
7057 * debug/tst-longjmp_chk.c: Add header comment and include
7058 ../test-skeleton.c.
7059 (do_test): Mark static.
7060 (TEST_FUNCTION): Define.
7061
1e805e8d
MF
7062 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7063 (IP_PMTUDISC_INTERFACE): Likewise.
7064 (IP_MULTICAST_IF): Likewise.
7065 (IP_MULTICAST_TTL): Likewise.
7066 (IP_MULTICAST_LOOP): Likewise.
7067 (IP_ADD_MEMBERSHIP): Likewise.
7068 (IP_DROP_MEMBERSHIP): Likewise.
7069 (IP_UNBLOCK_SOURCE): Likewise.
7070 (IP_BLOCK_SOURCE): Likewise.
7071 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7072 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7073 (IP_MSFILTER): Likewise.
7074 (MCAST_JOIN_GROUP): Likewise.
7075 (MCAST_BLOCK_SOURCE): Likewise.
7076 (MCAST_UNBLOCK_SOURCE): Likewise.
7077 (MCAST_LEAVE_GROUP): Likewise.
7078 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7079 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7080 (MCAST_MSFILTER): Likewise.
7081 (IP_MULTICAST_ALL): Likewise.
7082 (IP_UNICAST_IF): Likewise.
7083
73f79bb7
MF
7084 * timezone/Makefile: Delete $(have-ksh) check.
7085 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7086 * timezone/tzselect.ksh: Add +x mode bits.
7087
8da79b60
MF
7088 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7089 (ANON_INODE_FS_MAGIC): Likewise.
7090 (BDEVFS_MAGIC): Likewise.
7091 (BINFMTFS_MAGIC): Likewise.
7092 (BTRFS_TEST_MAGIC): Likewise.
7093 (CRAMFS_MAGIC_WEND): Likewise.
7094 (DEBUGFS_MAGIC): Likewise.
7095 (ECRYPTFS_SUPER_MAGIC): Likewise.
7096 (EXT3_SUPER_MAGIC): Likewise.
7097 (EXT4_SUPER_MAGIC): Likewise.
7098 (FUTEXFS_SUPER_MAGIC): Likewise.
7099 (HOSTFS_SUPER_MAGIC): Likewise.
7100 (HUGETLBFS_MAGIC): Likewise.
7101 (MINIX3_SUPER_MAGIC): Likewise.
7102 (MTD_INODE_FS_MAGIC): Likewise.
7103 (NILFS_SUPER_MAGIC): Likewise.
7104 (OPENPROM_SUPER_MAGIC): Likewise.
7105 (PIPEFS_MAGIC): Likewise.
7106 (PSTOREFS_MAGIC): Likewise.
7107 (QNX6_SUPER_MAGIC): Likewise.
7108 (RAMFS_MAGIC): Likewise.
7109 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7110 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7111 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7112 (SECURITYFS_MAGIC): Likewise.
7113 (SELINUX_MAGIC): Likewise.
7114 (SMACK_MAGIC): Likewise.
7115 (SOCKFS_MAGIC): Likewise.
7116 (SQUASHFS_MAGIC): Likewise.
7117 (STACK_END_MAGIC): Likewise.
7118 (TMPFS_MAGIC): Likewise.
7119 (USBDEVICE_SUPER_MAGIC): Likewise.
7120 (V9FS_MAGIC): Likewise.
7121 (XENFS_SUPER_MAGIC): Likewise.
7122 (CRAMFS_MAGIC): Fix typo in comment.
7123 (EXT2_SUPER_MAGIC): Update comment.
7124 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7125
464263cc
JM
71262014-02-08 Joseph Myers <joseph@codesourcery.com>
7127
c6bfe5c4
JM
7128 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7129 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7130 * sysdeps/unix/sysv/linux/arm: Move directory from
7131 ports/sysdeps/unix/sysv/linux/arm.
7132 * README: Update listing for arm-*-linux-gnueabi.
7133
464263cc
JM
7134 * README: Remove mention of am33.
7135
32749f6c
RM
71362014-02-07 Roland McGrath <roland@hack.frob.com>
7137
7138 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7139 than the comma operator, to avoid "rhs of comma has no effect"
7140 compiler warnings.
7141 (__sigfillset, __sigandset, __sigorset): Likewise.
7142 * include/signal.h (__sigemptyset): Likewise.
7143 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7144
d5b396c1
AM
71452014-02-07 Allan McRae <allan@archlinux.org>
7146
7147 * version.h (RELEASE): Set to "development".
7148 (VERSION): Set to "2.19.90"
7149 * NEWS: Add 2.20 section.
7150
3bfff2ed
CD
71512014-02-06 Carlos O'Donell <carlos@redhat.com>
7152
7153 [BZ #16529]
7154 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7155
ee7cc385
SP
71562014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7157
7158 * manual/contrib.texi: Update entry for Carlos O'Donell,
7159 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7160
f877c4f2
CD
71612014-02-05 Carlos O'Donell <carlos@rehdat.com>
7162
27e839f6
CD
7163 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7164
f877c4f2
CD
7165 * sysdeps/unix/sysv/linux/kernel-features.h
7166 [__LINUX_KERNEL_VERSION >= 0x020621]
7167 (__ASSUME_PROC_PID_TASK_COMM): Define.
7168
68159946
SP
71692014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7170
ba17cdbd
SP
7171 [BZ #16398]
7172 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7173 conversion when destination buffer does not have enough space.
7174 * libio/tst-ftell-partial-wide.c: New test case.
7175 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7176
68159946
SP
7177 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7178 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7179 Leonard and Allan McRae.
7180
2b528732
DM
71812014-02-04 David S. Miller <davem@davemloft.net>
7182
7183 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7184 32-bit.
7185
0ff82463
AZ
71862014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7187
57f41c40
AS
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7189 New file
c01603f7
AZ
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7191 New file
57f41c40
AS
7192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7193 New file.
7194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7195 New file.
c01603f7
AZ
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7197 New file.
57f41c40
AS
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7199 New file.
7200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7201 New file.
c01603f7
AZ
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7203 New file.
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7205 New file.
7206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7207 New file.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7209 New file.
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7211 New file.
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7213 New file.
7214
72152014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7216
0ff82463
AZ
7217 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7218 * shlib-versions: Likewise.
7219
1695c773
AZ
72202014-02-04 Roland McGrath <roland@hack.frob.com>
7221 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7222
7223 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7224 (abilist-pattern): New variable, set to %-le.abilist.
7225
7226 * Makerules (abilist-pattern): New variable.
7227 (vpath): Use $(abilist-pattern) in place of %.abilist.
7228 (check-abi-% pattern rule): Likewise.
7229 (check-abi, update-abi): Likewise.
7230
6c0ce4b4
EW
72312014-02-04 Eric Wong <normalperson@yhbt.net>
7232
7233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7234
481e3524
CD
72352014-02-03 Carlos O'Donell <carlos@redhat.com>
7236
7237 * manual/startup.texi: Add next, previous, and top entries for
7238 the `Program Arguments' and `Environment Variables' nodes.
7239
375592d3
AO
72402014-02-03 Alexandre Oliva <aoliva@redhat.com>
7241
7242 * manual/macros.texi: Add comments before MTASC-safety macros.
7243
f54838ba
AO
7244 * manual/users.texi: Document MTASC-safety properties.
7245
57f41c40
AS
7246 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7247 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7248 @deftypefun, and add @safety note.
7249 * manual/signal.texi: Move comments that analyze the above
7250 functions to their home place.
7251
fd3daba4
AM
72522014-02-03 Allan McRae <allan@archlinux.org>
7253
7254 * po/sl.po: Update Slovenian translation from translation project.
7255
597636d7
AO
72562014-02-02 Alexandre Oliva <aoliva@redhat.com>
7257
7258 * manual/time.texi (timegm): Add missing blank after @c.
7259 Reported by Joseph Myers <joseph@codesourcery.com>.
7260
ee196e3c
AO
72612014-02-01 Alexandre Oliva <aoliva@redhat.com>
7262
7263 * manual/check-safety.sh: New.
7264 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7265
f8d529d5
AO
7266 * manual/terminal.texi: Document MTASC-safety properties.
7267
de55fdf4
AO
7268 * manual/filesys.texi: Document MTASC-safety properties.
7269
c3299c08
AO
7270 * manual/errno.texi: Document MTASC-safety properties.
7271
06e90b14
AO
7272 * manual/intro.texi: Document safety identifiers and
7273 conditionals.
7274
1acd4371
AO
7275 * manual/string.texi (wcstok): Fix prototype.
7276 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7277
23e5b8cb
AO
7278 * manual/time.texi: Document MTASC-safety properties.
7279
11087373
AO
7280 * manual/string.texi: Document MTASC-safety properties.
7281
5da2c93d
AO
7282 * manual/threads.texi: Document MTASC-safety properties.
7283
171e9210
AO
7284 * manual/stdio.texi: Document MTASC-safety properties.
7285
d9e02532
AO
7286 * manual/syslog.texi: Document MTASC-safety properties.
7287
6af8bab7
AO
7288 * manual/sysinfo.texi: Document MTASC-safety properties.
7289
663b02d7
AO
7290 * manual/startup.texi: Document MTASC-safety properties.
7291
973f180b
AO
7292 * manual/socket.texi: Document MTASC-safety properties.
7293
8f3c25c8
AO
7294 * manual/signal.texi: Document MTASC-safety properties.
7295
542210fb
AO
72962014-01-31 Alexandre Oliva <aoliva@redhat.com>
7297
7298 * manual/setjmp.texi: Document MTASC-safety properties.
7299
433c45a2
AO
7300 * manual/search.texi: Document MTASC-safety properties.
7301
c8ce789c
AO
7302 * manual/resource.texi: Document MTASC-safety properties.
7303
19f5d29c
AO
7304 * manual/process.texi: Document MTASC-safety properties.
7305
e2dfb7f4
AO
7306 * manual/platform.texi: Document MTASC-safety properties.
7307
8c1413f5
AO
7308 * manual/pipe.texi: Document MTASC-safety properties.
7309
03483ada
AO
7310 * manual/pattern.texi: Document MTASC-safety properties.
7311
29e7e2df
AO
7312 * manual/message.texi: Document MTASC-safety properties.
7313
9f529d7c
AO
7314 [BZ #12751]
7315 * manual/memory.texi: Document MTASC-safety properties.
7316
27aaa791
AO
7317 * manual/math.texi: Document MTASC-safety properties.
7318
f2d58726
AO
7319 * manual/locale.texi: Document MTASC-safety properties.
7320
2cc3615c
AO
7321 * manual/llio.texi: Document MTASC-safety properties.
7322
d9f0ec97
AO
7323 * manual/libdl.texi: New.
7324
e7c4409a
AO
7325 * manual/lang.texi: Document MTASC-safety properties.
7326
27bdc63c
AO
7327 * manual/job.texi: Document MTASC-safety properties.
7328
a7b90ea9
AO
7329 * manual/getopt.texi: Document MTASC-safety properties.
7330
c49130e3
AO
7331 * manual/ctype.texi: Document MTASC-safety properties.
7332
0d23a5c1
MR
73332014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7334
7335 [BZ #16046]
7336 * csu/libc-tls.c (static_map): Remove variable.
7337 (__libc_setup_tls): Use main executable's link map for TLS data.
7338 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7339 casing for LM_ID_BASE and GL(dl_nns).
7340 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7341 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7342 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7343 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7344 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7345 member.
7346 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7347 l_phnum members.
7348
0037bb60
AO
73492014-01-30 Alexandre Oliva <aoliva@redhat.com>
7350
7351 * manual/debug.texi: Document MTASC-safety properties.
7352
409e00bd
L
73532014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7354
7355 [BZ #16510]
7356 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7357 of __x86_64__ when disabling x87 inline functions.
7358
86e60666
AO
73592014-01-29 Alexandre Oliva <aoliva@redhat.com>
7360
7361 * manual/charset.texi: Document MTASC-safety properties.
7362
76167637
AO
7363 * manual/crypt.texi: Document MTASC-safety properties.
7364
e567f2a0
AO
7365 * manual/conf.texi: Document MTASC-safety properties.
7366
b719dafd
AO
7367 * manual/arith.texi: Document MTASC-safety properties.
7368
4a16c662
AO
7369 * manual/argp.texi: Document MTASC-safety properties.
7370
0a57b83e
AO
7371 * manual/macros.texi: Introduce macros to document multi
7372 thread, asynchronous signal and asynchronous cancellation
7373 safety properties.
7374 * manual/intro.texi: Introduce the properties themselves.
7375
feab2397
KK
73762014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7377
7378 * sysdeps/sh/sh4/Makefile: New file.
7379
1c0d11bc
AS
73802014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7381
7382 * math/gen-libm-test.pl ($srcdir): New variable.
7383 ($auto_input): Use it.
7384
af37a8a3
SP
73852014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7386
d7b00f98
SP
7387 [BZ #16506]
7388 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7389 access beyond array bounds when parsing netgroups file.
7390
af37a8a3
SP
7391 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7392 the old buffer before realloc.
7393
0c00f062
AM
73942014-01-27 Allan McRae <allan@archlinux.org>
7395
7396 * po/fr.po: Update French translation from translation project.
7397
7d69a1b0
KK
73982014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7399
7400 * sysdeps/sh/libm-test-ulps: Regenerate.
7401
6e697ff7
DM
74022014-01-24 David S. Miller <davem@davemloft.net>
7403
7404 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7405
9cadb35c
KK
74062014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7407
7408 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7409 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7410
5d41dadf
SP
74112013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7412
7413 [BZ #16474]
7414 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7415 string pointers after reallocation.
7416
0bad441c
KK
74172014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7418
7419 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7420 __SH4A__ instead of __SH_FPU_ANY__.
7421
7007c661
KK
74222014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7423
7424 * sysdeps/sh/fpu_control.h: New file.
7425 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7426 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7427 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7428 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7429 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7430 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7431 * sysdeps/sh/sys/ucontext.h: Remove.
7432 * sysdeps/sh/sys: Remove directory.
7433
0f0c35e4
AK
74342014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7435
7436 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7437 s390/sys/ucontext.h.
7438 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7439 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7440
4959e284
L
74412014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7442
7443 [BZ #15605]
7444 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7445
d98720e0
AZ
74462014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7447
7448 [BZ#16431]
7449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7450 Adjust the vDSO correctly for internal calls.
7451 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7452
91cbd0bc
AM
74532014-01-20 Allan McRae <allan@archlinux.org>
7454
7455 * po/ca.po: Update Catalan translation from translation project.
7456
7a02cfad
MF
74572014-01-16 Mike Frysinger <vapier@gentoo.org>
7458
7459 * sysdeps/s390/sotruss-lib.c: New file.
7460
736c304a
AZ
74612014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7462
7463 [BZ#16430]
6e077ee5 7464 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7465 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7466 local calls issues by not having a PLT stub required for IFUNC calls.
7467 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7468
94d0cea0
JM
74692014-01-16 Joseph Myers <joseph@codesourcery.com>
7470
7471 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7472 * math/test-fpucw-static.c: Likewise.
7473
980cb518
SP
74742013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7475
7476 [BZ #16453]
7477 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7478
2393fc01
AZ
74792014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7480
7481 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7482 implementation for powerpc.
7483
d359bcc2
OB
74842014-01-15 Ondřej Bílka <neleai@seznam.cz>
7485
7486 [BZ #14782]
7487 * sysdeps/posix/system.c (__libc_system): Do not enable
7488 asynchronous cancellation.
7489
7beb48cb
AK
74902014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7491
7492 [BZ #16427]
7493 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7494 handling only for numbers special also in the IEEE case.
7495
c20d5bf5
AK
74962014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7497
7498 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7499
e83bd4ee
AM
75002014-01-11 Allan McRae <allan@archlinux.org>
7501
76d0ea69
AM
7502 * po/bg.po: Update Bulgarian translation from translation project.
7503
e83bd4ee
AM
7504 * po/de.po: Update German translation from translation project.
7505
bc2ba20a
RM
75062014-01-10 Roland McGrath <roland@hack.frob.com>
7507
7508 * sysdeps/generic/gcc-compat.h: New file.
7509
649ecea2
SP
75102014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7511
7512 * benchtests/asin-inputs: Correct slow inputs.
7513 * benchtests/acos-inputs: Likewise.
7514
1b19c006
AM
75152014-01-10 Allan McRae <allan@archlinux.org>
7516
a46dab08
AM
7517 * po:sv.po: Update Swedish translation from translation project.
7518
421df74a
AM
7519 * po/vi.po: Update Vietnamese translation from translation project.
7520
d61c51a7
AM
7521 * po/eo.po: Update Esperanto translation from translation project.
7522
0339a319
AM
7523 * po/cs.po: Update Czech translation from translation project.
7524
94ad3e99
AM
7525 * po/nl.po: Update Dutch translation from translation project.
7526
e349ca71
AM
7527 * po/pl.po: Update Polish translation from translation project.
7528
ddf930c1
AM
7529 * po/ru.po: Update Russian translation from translation project.
7530
1b19c006
AM
7531 * po/uk.po: Update Ukrainian translation from translation project.
7532
9f236c49
BM
75332014-01-08 Brooks Moses <bmoses@google.com>
7534
7535 * elf/dl-load.c: Fix comment typo.
7536
cd6701cf
CD
75372014-01-08 Carlos O'Donell <carlos@redhat.com>
7538
7539 * po/header.pot: Rename to...
7540 * po/pot.header: ... this.
7541 * po/Makefile: Use pot.header.
7542
66671c84
YK
75432014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7544 Maxim Kuvyrkov <maxim@kugelworks.com>
7545
7546 [BZ #16394]
cd6701cf
CD
7547 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7548 SRC and DEST against LEN.
66671c84 7549
38f34581
AZ
75502014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7551
7552 [BZ #16414]
7553 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7554 implementation.
7555 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7556
75572014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7558
7559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7560
4c327f2a
JM
75612014-01-08 Joseph Myers <joseph@codesourcery.com>
7562
7563 [BZ #16408]
7564 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7565 for large positive arguments.
7566
b821f414
JM
75672014-01-07 Joseph Myers <joseph@codesourcery.com>
7568
1f0f2067
JM
7569 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7570
a5a326f6
JM
7571 * math/auto-libm-test-in: Mark various tests with
7572 xfail-rounding:ldbl-128ibm.
7573 * math/auto-libm-test-out: Regenerated.
7574
b821f414
JM
7575 [BZ #16407]
7576 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7577 Increase overflow threshold.
7578
94c8a4bc
OB
75792014-01-07 Ondřej Bílka <neleai@seznam.cz>
7580
7581 [BZ #14286]
7582 * stdio-common/vfprintf.c: Check for integer overflow.
7583
87ded0c3
AK
75842014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7585
7586 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7587 the first argument and return value of __tls_get_addr_internal.
7588
c5eebdd0
AK
75892014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7590
7591 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7592 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7593
05d138ef
AK
75942014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7595
7596 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7597 * sysdeps/s390/rtld-global-offsets.sym: New file.
7598 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7599 GLIBC_2.19 symbol.
7600 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7601 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7602 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7603 ... this.
7604 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7605 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7606 ... this.
7607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7608 Regenerate.
7609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7610 Regenerate.
7611 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7612 halfs of GPRs for high_gprs contexts.
7613 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7614 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7615 field.
7616 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7617 uc_flags field.
7618 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7619 64 bit versions:
7620 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7621 for high GPRs (uc_high_gprs) and for future extensions
7622 (__reserved).
7623 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7624 for future extensions (__reserved).
7625 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7626 64 bit versions:
7627 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7628 SC_HIGHGPRS offset definition.
7629 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7630 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7631
93a45ff1
AK
7632 * Versions.def: Add GLIBC_2.19 for libpthread.
7633 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7634 siglongjmp for libpthread with GLIBC_2.19 symver.
7635 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7636 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7637 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7638 * sysdeps/s390/__longjmp.c: New file.
7639 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7640 * sysdeps/s390/longjmp.c: New file.
7641 * sysdeps/s390/setjmp.S: New file.
7642 * sysdeps/s390/sigjmp.S: New file.
7643 * sysdeps/s390/v1-longjmp.c: New file.
7644 * sysdeps/s390/v1-setjmp.h: New file.
7645 * sysdeps/s390/v1-sigjmp.c: New file.
7646 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7647 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7648 GLIBC_2.19 version.
7649 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7650 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7651 versioned symbols for ____longjmp_chk.
7652 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7653 Likewise.
7654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7655 Regenerate.
7656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7657 Regenerate.
7658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7659 Regenerate.
7660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7661 Regenerate.
7662 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7663 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7664 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7665 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7666 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7667 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7668 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7669 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7670 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7671 * sysdeps/s390/rtld-__longjmp.c: New file.
7672 * sysdeps/s390/rtld-setjmp.S: New file.
7673
eb3fc44b
JM
76742014-01-06 Joseph Myers <joseph@codesourcery.com>
7675
7676 [BZ #16400]
7677 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7678 Return -__logl (x) for small positive arguments without evaluating
7679 a polynomial.
7680
9341dde4
MF
76812014-01-06 Mike Frysinger <vapier@gentoo.org>
7682
7683 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7684 Rename to ...
7685 (__ptrace_peeksiginfo_args): ... this.
7686 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7687 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7688 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7689
4cff0293
AM
76902014-01-06 Allan McRae <allan@archlinux.org>
7691
7692 * inet/netinet/in.h: Fix typo in comment.
7693
75595dcf
AJ
76942014-01-05 Andreas Jaeger <aj@suse.de>
7695
7696 * sysdeps/i386/fpu/libm-test-ulps: Update.
7697
79c1e109
AM
76982014-01-05 Allan McRae <allan@archlinux.org>
7699
dd804818
AM
7700 * po/libc.pot: Regenerated.
7701
79c1e109
AM
7702 * malloc/memusagestat.c: Fix gettext call formatting.
7703
0c813d1f
SK
77042014-01-04 Sami Kerola <kerolasa@iki.fi>
7705
7706 * nscd/nscd.c: Improve usage() output.
7707
20f4a8d9
MF
77082014-01-04 Mike Frysinger <vapier@gentoo.org>
7709
7710 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7711 * sysdeps/unix/sysv/linux/configure: Regenerated.
7712 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7713 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7714
22562bb2
JM
77152014-01-03 Joseph Myers <joseph@codesourcery.com>
7716
7717 [BZ #16390]
7718 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7719 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7720
d7ad2d9b
AZ
77212014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7722
7723 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7724 extra tokens at end of #undef directive.
7725 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7726 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7727 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7728
7dd009d8
JM
77292014-01-03 Joseph Myers <joseph@codesourcery.com>
7730
24db925a
JM
7731 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7732
7dd009d8
JM
7733 * math/auto-libm-test-in: Mark various tests with
7734 xfail-rounding:ldbl-128ibm.
7735 * math/auto-libm-test-out: Regenerated.
7736
396e3ecf
JM
77372014-01-02 Joseph Myers <joseph@codesourcery.com>
7738
819e5d50
JM
7739 [BZ #16386]
7740 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7741 numbers with subnormal high part when calculating exponent.
7742
90b6a1e5
JM
7743 [BZ #16385]
7744 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7745 fabs.
7746
396e3ecf
JM
7747 [BZ #16384]
7748 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7749 M_LN2l.
7750 (__ieee754_acoshl): Use __log1pl not __log1p.
7751
6c8dbf00
OB
77522013-01-02 Ondřej Bílka <neleai@seznam.cz>
7753
57f41c40
AS
7754 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7755 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7756 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7757 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7758 (reused_arena, arena_get2): Convert to GNU style.
7759 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7760 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7761 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7762 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7763 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7764 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7765 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7766 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7767 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7768 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7769 * malloc/malloc.h: Likewise.
57f41c40
AS
7770 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7771 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7772 * malloc/mcheck.h: Likewise.
57f41c40
AS
7773 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7774 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7775 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7776 * malloc/morecore.c (__default_morecore): Likewise.
7777 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7778 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7779 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7780 (print_and_abort): Likewise.
6c8dbf00
OB
7781 * malloc/obstack.h: Likewise.
7782 * malloc/set-freeres.c (__libc_freeres): Likewise.
7783 * malloc/tst-mallocstate.c (main): Likewise.
7784 * malloc/tst-mtrace.c (main): Likewise.
7785 * malloc/tst-realloc.c (do_test): Likewise.
7786
d4124212
SP
77872013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7788
9a3c6a6f
SP
7789 [BZ #16366]
7790 * nscd/netgroupcache.c (do_notfound): New function.
7791 (addgetnetgrentX): Use it.
7792
d4124212
SP
7793 [BZ # 16365]
7794 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7795 NSS_STATUS_NOTFOUND.
7796
97b9a009
JM
77972014-01-01 Joseph Myers <joseph@codesourcery.com>
7798
7799 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7801
d4697bc9
AM
78022014-01-01 Allan McRae <allan@archlinux.org>
7803
ddb3687f
AM
7804 * scripts/update-copyrights: Update configure input file suffix.
7805
88726d48
AM
7806 * NEWS: Update copyright year.
7807 * catgets/gencat.c: Likewise.
7808 * csu/version.c: Likewise.
7809 * debug/catchsegv.sh: Likewise.
7810 * debug/pcprofiledump.c: Likewise.
7811 * debug/xtrace.sh: Likewise.
7812 * elf/ldconfig.c: Likewise.
7813 * elf/ldd.bash.in: Likewise.
7814 * elf/pldd.c: Likewise.
7815 * elf/sotruss.ksh: Likewise.
7816 * elf/sprof.c: Likewise.
7817 * iconv/iconv_prog.c: Likewise.
7818 * iconv/iconvconfig.c: Likewise.
7819 * locale/programs/locale.c: Likewise.
7820 * locale/programs/localedef.c: Likewise.
7821 * login/programs/pt_chown.c: Likewise.
7822 * malloc/memusage.sh: Likewise.
7823 * malloc/memusagestat.c: Likewise.
7824 * malloc/mtrace.pl: Likewise.
7825 * manual/libc.texinfo: Likewise.
7826 * nscd/nscd.c: Likewise.
7827 * nss/getent.c: Likewise.
7828 * nss/makedb.c: Likewise.
7829 * posix/getconf.c: Likewise.
7830 * scripts/test-installation.pl: Likewise.
7831
d4697bc9
AM
7832 * All files with FSF copyright notices: Update copyright dates
7833 using scripts/update-copyrights.
7834 * intl/plural.c: Regenerated.
7835 * locale/programs/charmap-kw.h: Likewise.
7836 * locale/programs/locfile-kw.h: Likewise.
7837
c8590f9d
MF
78382013-12-31 Mike Frysinger <vapier@gentoo.org>
7839
7840 * sysdeps/unix/sysv/linux/configure: Regenerated.
7841 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7842 the linux/fanotify.h header.
7843 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7844 HAVE_LINUX_FANOTIFY_H is defined.
7845
b19221b9
SP
78462013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7847
dd1d85e5
SP
7848 * benchtests/cos-inputs: New inputs.
7849 * benchtests/sin-inputs: Likewise.
7850
1acbb90f
SP
7851 * benchtests/atan-inputs: New inputs. Fix name of multiple
7852 precision fallback inputs.
7853
4c012ed3
SP
7854 * benchtests/atanh-inputs: New inputs.
7855 * benchtests/tanh-inputs: Likewise.
7856
eff98324
SP
7857 * benchtests/acosh-inputs: New inputs.
7858 * benchtests/asinh-inputs: Likewise.
7859
ce641152
SP
7860 * benchtests/cosh-inputs: New inputs.
7861 * benchtests/sinh-inputs: Likewise.
7862
b19221b9
SP
7863 * benchtests/acos-inputs: Add more inputs.
7864 * benchtests/asin-inputs: Likewise.
7865
030a4976 78662013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7867
030a4976 7868 [BZ #16375]
9dcc8f11
VS
7869 * manual/arith.texi: Fix spelling.
7870 * manual/charset.texi: Likewise.
7871 * manual/errno.texi: Likewise.
7872 * manual/filesys.texi: Likewise.
7873 * manual/lang.texi: Likewise.
7874 * manual/llio.texi: Likewise.
7875 * manual/locale.texi: Likewise.
7876 * manual/message.texi: Likewise.
7877 * manual/resource.texi: Likewise.
7878 * manual/search.texi: Likewise.
7879 * manual/setjmp.texi: Likewise.
7880 * manual/stdio.texi: Likewise.
7881 * manual/string.texi: Likewise.
7882 * manual/sysinfo.texi: Likewise.
7883 * manual/time.texi: Likewise.
7884
11520a57
CD
78852013-12-27 Carlos O'Donell <carlos@redhat.com>
7886
7887 * po/sl.po: New file.
7888
471103ae
MF
78892013-12-27 Mike Frysinger <vapier@gentoo.org>
7890
7891 * .gitignore: Add core/.gdbinit/.gdb_history.
7892
6c9642ed
AM
78932013-12-27 Allan McRae <allan@archlinux.org>
7894
7895 [BZ #16369]
7896 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7897 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7898
3f637079
BM
78992013-12-24 Brooks Moses <bmoses@google.com>
7900
7901 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7902 all compilers that claim C++98 compliance, not just GCC.
7903 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7904 Likewise.
7905
abc26e99
MK
79062013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7907
7908 * NEWS: Restore accidentally deleted bug-fix entries.
7909
362b47fe
MK
79102013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7911 Ondřej Bílka <neleai@seznam.cz>
7912
7913 [BZ #15073]
7914 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7915 have_lock.
362b47fe 7916
b9bcbbcb
OB
79172013-12-23 Ondřej Bílka <neleai@seznam.cz>
7918
7919 [BZ #12986]
7920 * manual/stdio.texi (String Input Conversions): Clarify that character
7921 classes are not supported.
7922
fb55fcd2
AZ
79232013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7924
7925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7926
ef7344f0
JM
79272013-12-22 Joseph Myers <joseph@codesourcery.com>
7928
4f40e4b3
JM
7929 [BZ #16337]
7930 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7931 Calculate results for small negative arguments directly rather
7932 than using reflection formula with special underflow handling.
7933
ef7344f0
JM
7934 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7935 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7936 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7937 (fchflags): Likewise.
7938 (revoke): Likewise.
7939 (setlogin): Likewise.
7940 (sigaltstack): Likewise.
7941 (wait4): Likewise.
7942 (sigblock): Remove.
7943 (sigsetmask): Likewise.
7944 (wait3): Likewise.
7945 (waitpid): Likewise.
7946 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7947 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7948 file.
7949 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7950 * sysdeps/unix/bsd/Makefile: ... here.
7951 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7952 * sysdeps/unix/bsd/Versions: ... here.
7953 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7954 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7955 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7956 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7957 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7958 * sysdeps/unix/bsd/sigblock.c: ... here.
7959 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7960 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7961 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7962 * sysdeps/unix/bsd/sigvec.c: ... here.
7963 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7964 * sysdeps/unix/bsd/tcdrain.c: ... here.
7965 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7966 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7967 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7968 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7969 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7970 * sysdeps/unix/bsd/wait.c: ... here.
7971 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7972 * sysdeps/unix/bsd/wait3.c: ... here.
7973 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7974 * sysdeps/unix/bsd/waitpid.c: ... here.
7975
5b0626b9
JM
79762013-12-21 Joseph Myers <joseph@codesourcery.com>
7977
7978 [BZ #16356]
7979 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7980 round-to-nearest for [!USE_AS_EXPM1L].
7981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7982 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7983 more tests of exp and exp10. Expect some exp10 tests to miss
7984 exceptions or fail in directed rounding modes.
7985 * math/auto-libm-test-out: Regenerated.
7986 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7987 (exp10_test_tonearest): New function.
7988 (exp10_towardzero_test_data): New array.
7989 (exp10_test_towardzero): New function.
7990 (exp10_downward_test_data): New array.
7991 (exp10_test_downward): New function.
7992 (exp10_upward_test_data): New array.
7993 (exp10_test_upward): New function.
7994 (main): Call the new functions.
7995 * sysdeps/i386/fpu/libm-test-ulps: Update.
7996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7997
7fda5682
JM
79982013-12-20 Joseph Myers <joseph@codesourcery.com>
7999
31e3a405
JM
8000 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8001 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8002 * math/auto-libm-test-out: Regenerated.
8003 * math/libm-test.inc (acosh_test_data): Add more tests.
8004 (atanh_test_data): Likewise.
8005 (ceil_test_data): Likewise.
8006 (copysign_test_data): Likewise.
8007 * sysdeps/i386/fpu/libm-test-ulps: Update.
8008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8009
85bff96a
JM
8010 * timezone/checktab.awk: Update from tzcode 2013i.
8011 * timezone/private.h: Likewise.
8012 * timezone/scheck.c: Likewise.
8013 * timezone/tzfile.h: Likewise.
8014 * timezone/tzselect.ksh: Likewise.
8015 * timezone/zdump.c: Likewise.
8016 * timezone/zic.c: Likewise.
8017
b7867a3b
JM
8018 * math/auto-libm-test-in: Add tests of cpow.
8019 * math/auto-libm-test-out: Regenerated.
8020 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8021 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8022 mpc_cc_c.
8023 (func_calc_desc): Add mpc_cc_c union field.
8024 (test_functions): Add cpow.
8025 (special_fill_2pi): New function.
8026 (special_real_inputs): Add 2pi.
8027 (calc_generic_results): Handle mpc_cc_c.
8028 * sysdeps/i386/fpu/libm-test-ulps: Update.
8029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8030
7fda5682
JM
8031 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8032 csqrt, ctan and ctanh.
8033 * math/auto-libm-test-out: Regenerated.
8034 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8035 (TEST_COND_x86): Likewise.
8036 (ccos_test_data): Use AUTO_TESTS_c_c.
8037 (ccosh_test_data): Likewise.
8038 (cexp_test_data): Likewise.
8039 (clog_test_data): Likewise.
8040 (csqrt_test_data): Likewise.
8041 (ctan_test_data): Likewise.
8042 (ctan_tonearest_test_data): Likewise.
8043 (ctan_towardzero_test_data): Likewise.
8044 (ctan_downward_test_data): Likewise.
8045 (ctan_upward_test_data): Likewise.
8046 (ctanh_test_data): Likewise.
8047 (ctanh_tonearest_test_data): Likewise.
8048 (ctanh_towardzero_test_data): Likewise.
8049 (ctanh_downward_test_data): Likewise.
8050 (ctanh_upward_test_data): Likewise.
8051 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8052 mpc_c_c.
8053 (func_calc_desc): Add mpc_c_c union field.
8054 (FUNC_mpc_c_c): New macro.
8055 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8056 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8057 ctanh.
8058 (special_fill_min_subnorm_p120): New function.
8059 (special_real_inputs): Add min_subnorm_p120.
8060 (calc_generic_results): Handle mpc_c_c.
8061 * sysdeps/i386/fpu/libm-test-ulps: Update.
8062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8063
5ff8d60e
SP
80642013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8065
57f41c40
AS
8066 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8067 (do_sin_slow): New functions.
8068 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8069 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8070
84ba214c
SP
8071 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8072 Use M to change sign of result instead of X. Assume X is
8073 positive.
8074 (csloww1): Likewise.
8075 (__sin): Adjust.
8076 (__cos): Adjust.
8077
975195e4
SP
8078 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8079 arguments A and DA.
8080 (__sin): Adjust.
8081 (__cos): Likewise.
8082
5ff8d60e
SP
8083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8084 (__cos): Likewise.
8085 (sloww1): Don't adjust sign of DX.
8086 (csloww1): Likewise.
8087 (sloww2): Use X directly and don't adjust sign of DX.
8088 (csloww2): Likewise.
8089
eb983568
JM
80902013-12-19 Joseph Myers <joseph@codesourcery.com>
8091
64a17f1a
JM
8092 * math/auto-libm-test-in: Add tests of cabs and carg.
8093 * math/auto-libm-test-out: Regenerated.
8094 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8095 (carg_test_data): Likewise.
8096 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8097 mpc_c_f.
8098 (func_calc_desc): Add mpc_c_f union field.
8099 (test_functions): Add cabs and carg.
8100 (calc_generic_results): Handle mpc_c_f.
8101
eb983568
JM
8102 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8103 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8104 as a macro and a compat symbol.
8105 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8106 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8107 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8108 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8109 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8110 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8111 not use .hidden.
8112 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8113 Likewise.
8114 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8115 Likewise.
8116 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8117 Likewise.
8118 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8119 Likewise.
8120 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8121 Likewise.
8122 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8123 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8124 from GLIBC_2.3.2.
8125
6eeb678a
AZ
81262013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8127
8128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8129
6f6fc482
JM
81302013-12-19 Joseph Myers <joseph@codesourcery.com>
8131
21fea2e2
JM
8132 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8133 trailing whitespace removed.
8134 * scripts/config.guess: Update to version 2013-11-29.
8135 * scripts/config.sub: Update to version 2013-10-01.
8136
6f6fc482
JM
8137 * math/auto-libm-test-in: Add tests of sincos.
8138 * math/auto-libm-test-out: Regenerated.
8139 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8140 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8141 mpfr_f_11.
8142 (func_calc_desc): Add mpfr_f_11 union field.
8143 (test_functions): Add sincos.
8144 (calc_generic_results): Handle mpfr_f_11.
8145 * sysdeps/i386/fpu/libm-test-ulps: Update.
8146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8147
83f5c32d
AS
81482013-12-19 Andreas Schwab <schwab@suse.de>
8149
8150 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8151 CALL_MCOUNT.
8152 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8153 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8154 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8155
c688b419
JM
81562013-12-19 Joseph Myers <joseph@codesourcery.com>
8157
335ee092
JM
8158 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8159 * sysdeps/i386/fpu/libm-test-ulps: Update.
8160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8161
f88acd39
JM
8162 [BZ #16293]
8163 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8164 round-to-nearest mode when using frndint.
8165 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8166 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8167 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8168 Likewise.
8169 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8170 sinh test to fail.
8171 * math/auto-libm-test-out: Regenerated.
8172 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8173 (TEST_COND_x86): Likewise.
8174 (expm1_tonearest_test_data): New array.
8175 (expm1_test_tonearest): New function.
8176 (expm1_towardzero_test_data): New array.
8177 (expm1_test_towardzero): New function.
8178 (expm1_downward_test_data): New array.
8179 (expm1_test_downward): New function.
8180 (expm1_upward_test_data): New array.
8181 (expm1_test_upward): New function.
8182 (main): Run the new test functions.
8183 * sysdeps/i386/fpu/libm-test-ulps: Update.
8184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8185
c688b419
JM
8186 * include/features.h: Update comment documenting feature test
8187 macros. Mention _DEFAULT_SOURCE in comment.
8188 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8189 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8190 _BSD_SOURCE and _SVID_SOURCE.
8191 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8192 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8193 !_SVID_SOURCE]: Likewise.
8194 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8195 (__USE_POSIX_IMPLICITLY): Define.
8196 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8197 (_POSIX_SOURCE): Undefine and redefine.
8198 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8199 (_POSIX_C_SOURCE): Likewise.
8200 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8201 (Feature Test Macros): Update documentation of default features.
8202
9f6e964c
RS
82032013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8204
8205 * benchtests/Makefile: Add bench-strtok.
8206 * benchtests/bench-strtok.c: New file: strtok benchtest.
8207
ee0a148a
AM
82082013-12-19 Allan McRae <allan@archlinux.org>
8209
8210 * manual/install.texi: Suppress menu for plain text output.
8211 * INSTALL: Regenerated.
8212
b9ab448f
BM
82132013-12-18 Brooks Moses <bmoses@google.com>
8214
8215 [BZ #15846]
8216 * misc/getauxval.c: Include errno.h.
8217 (__getauxval): Set errno to ENOENT if the requested type is not
8218 found.
8219 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8220 don't declare with __attribute_const__.
8221 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8222 * manual/startup.texi: Document that getauxval sets errno.
8223
23776487
JM
82242013-12-18 Joseph Myers <joseph@codesourcery.com>
8225
f889953b
JM
8226 * math/auto-libm-test-in: Add tests of jn and yn.
8227 * math/auto-libm-test-out: Regenerated.
8228 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8229 (yn_test_data): Likewise.
8230 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8231 mpfr_if_f.
8232 (func_calc_desc): Add mpfr_if_f union field.
8233 (FUNC_mpfr_if_f): New macro.
8234 (test_functions): Add jn and yn.
8235 (calc_generic_results): Assert type of second input for
8236 mpfr_ff_f. Handle mpfr_if_f.
8237 (output_for_one_input_case): Disable all checking for arguments
8238 fitting floating-point types in case of an integer argument.
8239 * sysdeps/i386/fpu/libm-test-ulps: Update.
8240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8241
23776487
JM
8242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8243 Don't expect fegetround reference in libm.so.
8244
cb756c6d
MS
82452013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8246
8247 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8248 $(config-cflags-nofma).
8249
2dec468f
JM
82502013-12-18 Joseph Myers <joseph@codesourcery.com>
8251
5953eb3a
JM
8252 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8253 * math/auto-libm-test-out: Regenerated.
8254
2dec468f
JM
8255 [BZ #16338]
8256 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8257 to determine exponent and adjust argument to have exponent of -1.
8258 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8259 log2.
8260 * math/auto-libm-test-out: Regenerated.
8261 * sysdeps/i386/fpu/libm-test-ulps: Update.
8262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8263
4d84e6ad
OB
82642013-12-18 Ondřej Bílka <neleai@seznam.cz>
8265
8266 * manual/probes.texi: Remove cases when per-thread arenas are
8267 disabled.
8268
1818483b
AS
82692013-12-18 Andreas Schwab <schwab@suse.de>
8270
8271 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8272 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8273 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8274 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8275 * sysdeps/i386/i686/multiarch/Makefile: Update.
8276 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8277
25de95bf
JM
82782013-12-17 Joseph Myers <joseph@codesourcery.com>
8279
8280 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8281 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8282
674762d9
PE
82832013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8284
ed27ed83 8285 [BZ #15968]
0748546f
PE
8286 Support TZ transition times < 00:00:00.
8287 This is needed for version-3 tz-format files; it supports time
8288 stamps past 2037 for America/Godthab (the only entry in the tz
8289 database for which this change is relevant).
8290 * manual/time.texi (TZ Variable): Document transition times
8291 from -167:59:59 through -00:00:01.
8292 * time/tzset.c (tz_rule): Time of day is now signed.
8293 (__tzset_parse_tz): Parse negative time of day.
8294
4480e934
PE
8295 Document TZ transition times >= 25:00:00.
8296 * manual/time.texi (TZ Variable): Document transition times from
8297 25:00:00 through 167:59:59. These are already supported, and this
8298 support will help with version-3 tz-format files.
8299
69947401
PE
8300 * manual/time.texi (TZ Variable): Modernize North America example
8301 to reflect current (i.e., 2007-and-later) daylight saving rules.
8302
674762d9
PE
8303 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8304
7011c262
JM
83052013-12-17 Joseph Myers <joseph@codesourcery.com>
8306
2fc6557e
JM
8307 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8308 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8311 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8312 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8313 * sysdeps/unix/bsd/clock.c: Likewise.
8314 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8315 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8316 * sysdeps/unix/bsd/init-posix.c: Likewise.
8317 * sysdeps/unix/bsd/poll.c: Likewise.
8318 * sysdeps/unix/bsd/ptsname.c: Likewise.
8319 * sysdeps/unix/bsd/seekdir.c: Likewise.
8320 * sysdeps/unix/bsd/setegid.c: Likewise.
8321 * sysdeps/unix/bsd/seteuid.c: Likewise.
8322 * sysdeps/unix/bsd/setgid.c: Likewise.
8323 * sysdeps/unix/bsd/setrgid.c: Likewise.
8324 * sysdeps/unix/bsd/setruid.c: Likewise.
8325 * sysdeps/unix/bsd/setsid.c: Likewise.
8326 * sysdeps/unix/bsd/setuid.c: Likewise.
8327 * sysdeps/unix/bsd/sigaction.c: Likewise.
8328 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8329 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8330 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8331 * sysdeps/unix/bsd/telldir.c: Likewise.
8332 * sysdeps/unix/bsd/times.c: Likewise.
8333 * sysdeps/unix/bsd/usleep.c: Likewise.
8334
029c7b25
JM
8335 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8336 ($(objpfx)libbsd-compat.a): Remove rule.
8337
7011c262
JM
8338 * include/features.h (__FAVOR_BSD): Do not define.
8339 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8340 features conflicting with POSIX.
8341 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8342 (_BSD_SOURCE): Remove description of not being a subset of other
8343 feature test macros.
8344 * manual/job.texi (getpgrp): Do not document BSD version.
8345 (getpgid): Do not document by reference to BSD getpgrp.
8346 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8347 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8348 * signal/signal.h [__FAVOR_BSD]: Likewise.
8349 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8350 instead of making contents conditional on [__FAVOR_BSD].
8351 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8352
affb6f78
AZ
83532013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8354
8355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8356
c88769dd
JM
83572013-12-17 Joseph Myers <joseph@codesourcery.com>
8358
6432a540
JM
8359 [BZ #16314]
8360 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8361 values below 2**-450, not 2**-500.
8362 * math/auto-libm-test-in: Don't allow spurious underflow from
8363 hypot.
8364 * math/auto-libm-test-out: Regenerated.
8365
c88769dd
JM
8366 [BZ #16316]
8367 [BZ #16330]
8368 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8369 values of ha and hb and sort them after adjusting subnormal
8370 arguments.
8371 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8372 Likewise.
8373 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8374 values of ea and eb and sort them after adjusting subnormal
8375 arguments.
8376 * math/auto-libm-test-in: Do not expect some hypot tests of
8377 subnormals to fail. Add more hypot tests.
8378 * math/auto-libm-test-out: Regenerated.
8379
29618f6b
KK
83802013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8381
8382 [BZ #13304]
8383 * sysdeps/sh/s_fma.c: New file.
8384 * sysdeps/sh/s_fmaf.c: New file.
8385 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8386 version.
8387 * sysdeps/sh/Implies: Add sh/soft-fp.
8388
eacfdfbf
RM
83892013-12-16 Roland McGrath <roland@hack.frob.com>
8390
8391 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8392 level of indirection to members `objname', `errstring', `malloced'.
8393 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8394 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8395 it as the __longjmp argument (just pass 1 instead).
8396 (_dl_catch_error): Initialize C with argument pointers and address of
8397 volatile local ERRCODE rather than copying values out of C at return.
8398
ff362e5b
JM
83992013-12-16 Joseph Myers <joseph@codesourcery.com>
8400
8401 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8402 * math/auto-libm-test-out: Regenerated.
8403 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8404 (hypot_test_data): Likewise.
8405 (pow_test_data): Likewise.
8406 (pow_tonearest_test_data): Likewise.
8407 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8408 mpfr_ff_f.
8409 (func_calc_desc): Add mpfr_ff_f union field.
8410 (FUNC_mpfr_ff_f): New macro.
8411 (test_functions): Add atan2, hypot and pow.
8412 (special_fill_min): New function.
8413 (special_fill_minus_min): Likewise.
8414 (special_fill_min_subnorm): Likewise.
8415 (special_fill_minus_min_subnorm): Likewise.
8416 (special_real_inputs): Add min, -min, min_subnorm and
8417 -min_subnorm.
8418 (calc_generic_results): Handle mpfr_ff_f.
8419 * sysdeps/i386/fpu/libm-test-ulps: Update.
8420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8421
5764c27f
WN
84222013-12-16 Will Newton <will.newton@linaro.org>
8423
8424 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8425 (Aligned Memory Blocks): Add documentation for aligned_alloc
8426 and suggest it as an alternative to posix_memalign.
8427 (Hooks for Malloc): Document __memalign_hook is also called
8428 for aligned_alloc. (Summary of Malloc): Add summary for
8429 aligned alloc. Document __memalign_hook is also called
8430 for aligned_alloc.
8431
0a096e44
WN
84322013-12-16 Will Newton <will.newton@linaro.org>
8433
8434 * manual/memory.texi (Malloc Examples): Clarify default
8435 alignment documentation. Suggest posix_memalign rather
8436 than memalign or valloc.
8437 (Aligned Memory Blocks): Remove suggestion to use memalign
8438 or valloc. Remove obsolete comment about BSD.
8439 Document memalign errno values and mark the function obsolete.
8440 Document posix_memalign returned error codes. Mark valloc
8441 as obsolete. (Hooks for Malloc): __memalign_hook is also
8442 called for posix_memalign and valloc.
8443 (Summary of Malloc): Add posix_memalign to function summary.
8444 __memalign_hook is also called for posix_memalign and valloc.
8445
8d561986
SP
84462013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8447
8448 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8449 TAYLOR_SIN.
8450 (__sin): Adjust.
8451 (__cos): Likewise.
8452 (sloww): Use mynumber union. Expand ternary operator into
8453 if-else statements.
8454 (cslow): use mynumber union.
8455
73616a74
AM
84562013-12-16 Allan McRae <allan@archlinux.org>
8457
9e8ac24b
AM
8458 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8459 * configure: Regenerated.
8460
6f8e37eb
AM
8461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8462
8894bad3
AM
8463 [BZ #14120]
8464 * configure.ac: Added --enable-maintainer-mode. Check for
8465 autoconf when enabled.
8466 * configure: Regenerated.
8467
73616a74
AM
8468 * nscd/nscd.service: New file.
8469 * nscd/nscd.tmpfiles: New file.
8470
584b18eb
OB
84712013-12-14 Ondřej Bílka <neleai@seznam.cz>
8472
8473 [BZ #12100]
8474 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8475 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8476 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8477 (strstr): Add __strstr_sse2_unaligned ifunc.
8478 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8479 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8480 (strcasestr): Remove __strcasestr_sse42 ifunc.
8481 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8482 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8484
8a5c7897
KK
84852013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8486
8487 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8488 * sysdeps/sh/bits/fenv.h: ... here.
8489 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8490
fd712ef3
AZ
84912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8492
8493 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8494
42fcb46c
AZ
8495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8496 hypotf multiarch implementations.
8497 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8498 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8499 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8500 multiarch hypot for PPC64.
8501 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8502 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8503 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8504 multiarch hypotf for PPC64.
8505
83efded4
AZ
8506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8507 modff multiarch implementations.
8508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8511 multiarch modf for PPC64.
8512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8515 multiarch modff for PPC64.
8516
43e246d2
AZ
8517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8518 and logl multiarch implementations.
8519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8522 multiarch logb for PPC64.
8523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8526 multiarch logb for PPC64.
8527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8530 multiarch logb for PPC64.
8531
8fdad123
AZ
8532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8533 isinff multiarch implementation.
8534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8535 file.
8536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8538 multiarch isinf for PPC64.
8539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8540 file.
8541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8542 multiarch isinff for PPC64.
8543
1481d706
AZ
8544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8545 finitef multiarch implementation.
8546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8547 file.
8548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8550 multiarch finite for PPC64.
8551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8552 file.
8553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8554 multiarch finitef for PPC64.
8555
5ccd5fc8
AZ
8556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8557 lrint multiarch implementation.
8558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8559 file.
8560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8562 multiarch llrint for PPC64.
8563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8564 multiarch lrint for PPC64.
8565
2568f3fa
AZ
8566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8567 copysignf multiarch implementation.
8568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8569 file.
8570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8571 file.
8572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8573 multiarch copysign for PPC64.
8574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8575 multiarch copysignf for PPC64.
8576
1cb341fd
AZ
8577 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8578 multiarch implementation.
8579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8580 file.
8581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8582 file.
8583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8584 file.
8585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8586 file.
8587 multiarch llround for PPC64.
8588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8589 multiarch trunc for PPC64.
8590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8591 multiarch truncf for PPC64.
8592
59a3e194
AZ
8593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8594 multiarch implementation.
8595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8596 file.
8597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8598 file.
8599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8600 file.
8601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8602 file.
8603 multiarch llround for PPC64.
8604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8605 multiarch round for PPC64.
8606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8607 multiarch roundf for PPC64.
8608
357fd3b4
AZ
8609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8610 multiarch implementation.
8611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8612 file.
8613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8614 file.
8615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8616 file.
8617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8618 file.
8619 multiarch llround for PPC64.
8620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8621 multiarch floor for PPC64.
8622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8623 multiarch floorf for PPC64.
8624
96770f12
AZ
8625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8626 multiarch implementation.
8627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8628 file.
8629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8630 file.
8631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8632 file.
8633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8634 file.
8635 multiarch llround for PPC64.
8636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8637 multiarch ceil for PPC64.
8638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8639 multiarch ceilf for PPC64.
8640
c3627f6e
AZ
8641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8642 multiarch implementation.
8643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8644 file.
8645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8646 file.
8647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8648 file.
8649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8650 multiarch llround for PPC64.
8651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8652 multiarch lround for PPC64.
8653
b2284ad7
AZ
8654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8655 multiarch implementation.
8656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8659 file.
8660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8663 multiarch isnan for PPC64.
8664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8665 multiarch isnanf for PPC64.
8666
69bbc63d
AZ
8667 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8668 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8669 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8670 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8671 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8673
c24517c9
AZ
8674 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8675 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8676 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8677 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8678
a52374e8
AZ
8679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8680 multiarch implementations.
8681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8682 (__libc_ifunc_impl_list): Likewise.
8683 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8684 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8685 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8686 multiarch stpcpy for PPC64.
8687
7f5ec113
AZ
8688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8689 multiarch implementations.
8690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8691 (__libc_ifunc_impl_list): Likewise.
8692 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8693 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8694 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8695 multiarch strcpy for PPC64.
8696
e28bcd42
AZ
8697 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8698 redefine function name.
8699 (_wordcopy_fwd_dest_aligned): Likewise.
8700 (_wordcopy_bwd_aligned): Likewise.
8701 (_wordcopy_bwd_dest_aligned): Likewise.
8702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8703 multiarch implementations.
8704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8705 (__libc_ifunc_impl_list): Likewise.
8706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8707 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8708 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8709 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8710 multiarch wcscpy for PPC64.
8711
92cacfce
AZ
8712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8713 multiarch implementations.
8714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8715 (__libc_ifunc_impl_list): Likewise.
8716 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8717 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8718 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8719 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8720 multiarch wcscpy for PPC64.
8721
7b714620
AZ
8722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8723 multiarch implementations.
8724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8725 (__libc_ifunc_impl_list): Likewise.
8726 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8727 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8728 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8729 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8730 multiarch wcsrchr for PPC64.
8731
16fd2ae3
AZ
8732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8733 multiarch implementations.
8734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8735 (__libc_ifunc_impl_list): Likewise.
8736 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8737 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8738 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8739 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8740 multiarch wcschr for PPC64.
8741
9ee2969b
AZ
8742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8743 multiarch implementations.
8744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8745 (__libc_ifunc_impl_list): Likewise.
8746 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8747 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8748 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8749 multiarch strchrnul for PPC64.
8750
372dc060
AZ
8751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8752 implementations.
8753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8754 (__libc_ifunc_impl_list): Likewise.
8755 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8756 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8757 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8758 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8759 strchr for PPC64.
8760
24c2c3b9
AZ
8761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8762 implementations.
8763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8764 (__libc_ifunc_impl_list): Likewise.
8765 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8766 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8767 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8768 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8769 strncmp for PPC64.
8770
1c92d9a0
AZ
8771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8772 multiarch implementations.
8773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8774 (__libc_ifunc_impl_list): Likewise.
8775 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8776 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8777 strncasecmp for PPC64.
8778 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8779 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8780 multiarch strncasecmp_l for PPC64.
8781
17de3ee3
AZ
8782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8783 multiarch implementations.
8784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8785 (__libc_ifunc_impl_list): Likewise.
8786 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8787 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8788 multiarch strcasecmp for PPC64.
8789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8790 file.
8791 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8792 multiarch strcasecmp_l for PPC64.
8793
62982bf9
AZ
8794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8795 implementations.
8796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8797 (__libc_ifunc_impl_list): Likewise.
8798 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8799 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8800 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8801 strnlen for PPC64.
8802
a65f4904
AZ
8803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8804 implementations.
8805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8806 (__libc_ifunc_impl_list): Likewise.
8807 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8808 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8809 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8810 strlen for PPC64.
8811
1fd005ad
AZ
8812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8813 implementations.
8814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8815 (__libc_ifunc_impl_list): Likewise.
8816 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8817 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8818 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8819 rawmemrchr for PPC64.
8820
cd05ba91
AZ
8821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8822 implementation.
8823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8824 (__libc_ifunc_impl_list): Likewise.
8825 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8826 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8827 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8828 memrchr for PPC64.
8829
870f8676
AZ
8830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8831 implementation.
8832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8833 (__libc_ifunc_impl_list): Likewise.
8834 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8835 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8836 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8837 memchr for PPC64.
8838
f00be62b
AZ
8839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8840 implementation.
8841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8842 (__libc_ifunc_impl_list): Likewise.
8843 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8844 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8845 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8846 mempcpy for PPC64.
8847
8a29a3d0
AZ
8848 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8849 avoid cretion of __bzero symbol.
8850 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8851 Likewise.
8852 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8853 Likewise.
8854 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8855 Likewise.
8856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8857 multiarch implementations.
8858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8859 (__libc_ifunc_impl_list): Likewise.
8860 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8861 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8862 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8863 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8864 bzero for PPC32.
8865 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8866 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8867 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8868 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8869 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8870 memset for PPC64.
8871 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8872
07253fcf
AZ
8873 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8875 implementations.
8876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8877 (__libc_ifunc_impl_list): Likewise.
8878 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8879 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8880 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8881 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8882 memcmp for PPC64.
8883
b5beafbc
AZ
8884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8885 multiarch for POWER/PPC64.
8886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8887 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8888 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8889 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8890 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8891 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8892 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8893 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8894 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8895 memcpy for PPC64.
8896
5e6a4d4b
AZ
8897 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8898 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8899 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8900 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8901 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8902 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8903 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8904 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8905 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8906 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8907 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8908 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8909 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8910 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8911 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8919
ddfab6dc
KK
89202013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8921
8922 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8923
19b5525e
SP
89242013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8925
8926 * benchtests/Makefile (bench): Add exp2 and log2.
8927 (LDLIBS-bench-exp2): Add -lm.
8928 (LDLIBS-bench-log2): Likewise.
8929 * benchtests/exp2-inputs: New inputs file.
8930 * benchtests/log2-inputs: New inputs file.
8931 * benchtests/log-inputs: Add new inputs.
8932 * benchtests/tan-inputs: Likewise.
8933
196f7f5d
SP
89342013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8935
7a74607f
SP
8936 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8937 definition...
57f41c40
AS
8938 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8939 (csloww2): ... from here.
7a74607f 8940
196f7f5d
SP
8941 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8942 instead of structures.
8943 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8944 (POLYNOMIAL): Likewise.
8945 (TAYLOR_SLOW): Likewise.
8946 (__sin): Likewise.
8947 (__cos): Likewise.
8948 (slow1): Likewise.
8949 (slow2): Likewise.
8950 (sloww): Likewise.
8951 (sloww1); Likewise.
8952 (sloww2): Likewise.
8953 (bsloww1): Likewise.
8954 (bsloww2): Likewise.
8955 (cslow2): Likewise.
8956 (csloww): Likewise.
8957 (csloww1): Likewise.
8958 (csloww2): Likewise.
8959
0dfa665c
OB
89602013-12-10 Ondřej Bílka <neleai@seznam.cz>
8961
8962 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8963 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8964 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8965 * malloc/hooks.c (realloc_check): Likewise.
8966
5782a80f
OB
8967 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8968 * malloc/arena.c: Remove PER_THREAD conditional.
8969 [!PER_THREAD]: Remove code.
8970 (ptmalloc_unlock_all2): Likewise.
8971 (ptmalloc_init): Likewise.
8972 (_int_new_arena): Likewise.
8973 (arena_get2): Likewise.
8974 * malloc/hooks.c (__malloc_get_state): Likewise.
8975 (__malloc_set_state): Likewise.
8976 * malloc/malloc.c: Likewise.
8977 (struct malloc_state): Likewise.
8978 (struct malloc_par): Likewise.
8979 (__libc_realloc): Likewise.
8980 (__libc_mallopt): Likewise.
8981
aeb95445
AZ
89822013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8983
8984 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8985
e8349efd
OB
89862013-12-09 Ondřej Bílka <neleai@seznam.cz>
8987
8988 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8989 macro to a function. Check for zero perturb_byte.
8990 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8991
f3eeb3fc 8992 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8993 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8994 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8995 force_reg by atomic_forced_read.
8996 * malloc/arena.c (ptmalloc_init): Likewise.
8997 * malloc/hooks.c (top_check): Likewise.
8998
be2f9009
AZ
89992013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9000
9001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9002
e7b914bd
MT
90032013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9004
9005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9006
9f0be4f8
JM
90072013-12-08 Joseph Myers <joseph@codesourcery.com>
9008
9009 * math/auto-libm-test-in: Add tests of lgamma.
9010 * math/auto-libm-test-out: Regenerated.
9011 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9012 (M_LOG_2_SQRT_PIl): Likewise.
9013 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9015 mpfr_f_f1.
9016 (func_calc_desc): Add mpfr_f_f1 union field.
9017 (ARGS1): New macro.
9018 (ARGS2): Likewise.
9019 (ARGS3): Likewise.
9020 (ARGS4): Likewise.
9021 (RET1): Likewise.
9022 (RET2): Likewise.
9023 (CALC): Likewise.
9024 (FUNC): Likewise.
9025 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9026 (test_functions): Add lgamma.
9027 (calc_generic_results): Handle mpfr_f_f1.
9028 * sysdeps/i386/fpu/libm-test-ulps: Update.
9029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9030
24eeafdb
AZ
90312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9032
9033 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9034 __mpn_add_n for PowerPC64/POWER7.
9035 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9036 __mpn_sub_n for PowerPC64/POWER7.
9037
4a2c0fd4
AZ
9038 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9039 __mpn_addmul_1 for PowerPC64.
9040 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9041 __mpn_submul_1 for PowerPC64.
9042 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9043 for PowerPC64.
9044 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9045 for PowerPC64.
9046
4b5b548c
FS
90472013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9048
9049 [BZ #15089]
9050 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9051
0a3ac0aa
AZ
90522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9053
9054 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9055
ccdc8438
AZ
9056 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9057 add multiarch folders.
9058 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9059 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9060 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9061 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9062 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9063 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9064 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9065 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9066 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9067 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9068 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9075
2e973d99
AZ
9076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9077 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9079 New file.
9080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9081 New file.
9082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9083 multiarch __ieee754_hypot for PowerPC32.
9084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9085 New file.
9086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9087 New file.
9088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9089 multiarch __ieee754_hypotf for PowerPC32.
9090
2d9470b2
AZ
9091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9092 long_double_symbol only if __logbl is defined.
9093 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9094 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9096 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9098 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9099 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9100 path for implementation.
9101 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9102 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9104 logb, and logbl multiarch implementations for PowerPC32.
9105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9106 file.
9107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9108 file.
9109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9110 multiarch logb for PowerPC32.
9111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9112 file.
9113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9114 file.
9115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9116 multiarch logbf for PowerPC32.
9117 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9119 file.
9120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9121 multiarch logbl implementation for PowerPC32.
9122
5212ffce
AZ
9123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9124 and modff multiarch implementations.
9125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9126 New file.
9127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9128 New file.
9129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9130 multiarch modf for PowerPC32.
9131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9132 New file.
9133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9134 New file.
9135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9136 multiarch modff for PowerPC32.
9137
79dccf31
AZ
9138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9139 and lrintf multiarch implementations.
9140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9141 New file.
9142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9143 New file.
9144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9145 multiarch lrint for PowerPC32.
9146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9147 file: multiarch lrintf for PowerPC32.
9148
deb66480
AZ
9149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9150 and lroundf multiarch implementations.
9151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9152 New file.
9153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9154 New file.
9155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9156 New file.
9157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9158 multiarch lround for PowerPC32.
9159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9160 file: multiarch lroundf for PowerPC32.
9161
264b036b
AZ
9162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9163 copysign and copysignf multiarch implementations.
9164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9165 New file.
9166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9167 New file.
9168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9169 file: multiarch copysign for PowerPC32.
9170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9171 file: multiarch copysignf for PowerPC32.
9172
d47db6c9
AZ
9173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9174 and truncf multiarch implementations.
9175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9176 New file.
9177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9178 file.
9179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9180 multiarch trunc for PowerPC32.
9181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9182 New file.
9183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9184 New file.
9185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9186 multiarch truncf for PowerPC32.
9187
ddb60b5a
AZ
9188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9189 and roundf multiarch implementations.
9190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9191 New file.
9192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9193 file.
9194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9195 multiarch round for PowerPC32.
9196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9197 New file.
9198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9199 New file.
9200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9201 multiarch roundf for PowerPC32.
9202
bedcf49b
AZ
9203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9204 and floorf multiarch implementations.
9205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9206 New file.
9207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9208 file.
9209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9210 multiarch floor for PowerPC32.
9211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9212 New file.
9213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9214 New file.
9215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9216 multiarch floorf for PowerPC32.
9217
35ae5b40
AZ
9218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9219 and ceilf multiarch implementations.
9220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9221 New file.
9222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9223 file.
9224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9225 multiarch ceil for PowerPC32.
9226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9227 New file.
9228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9229 file.
9230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9231 multiarch ceilf for PowerPC32.
9232
ae1a4cd9
AZ
9233 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9234 is defined.
9235 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9236 FINITEF is defined.
9237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9238 and finitef multiarch implementations.
9239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9240 New file.
9241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9242 file.
9243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9244 multiarch finite for PowerPC32.
9245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9246 New file.
9247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9248 file: multiarch finitef for PowerPC32.
9249
64fffd65
AZ
9250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9251 and isinff multiarch implementations.
9252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9253 file.
9254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9255 file.
9256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9257 multiarch isinf for PowerPC32.
9258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9259 New file.
9260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9261 multiarch isinff for PowerPC32.
9262
8e4e7ba2
AZ
9263 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9264 alias when __isnan is defined.
9265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9266 and isnanf multiarch implementations.
9267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9268 file.
9269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9270 file.
9271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9272 file.
9273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9274 file.
9275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9276 multiarch isnan for PowerPC32.
9277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9278 New file.
9279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9280 New file.
9281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9282 multiarch isnanf for PowerPC32.
9283
ddba588e
AZ
9284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9285 and sqrtf multiarch implementations.
9286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9287 file.
9288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9289 file.
9290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9291 multiarch sqrt for PowerPC32.
9292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9293 file.
9294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9295 file.
9296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9297 multiarch sqrtf for PowerPC32.
9298
0f96a2f0
AZ
9299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9300 and llroundf multiarch implementations.
9301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9302 New file.
9303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9304 New file.
9305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9306 New file.
9307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9308 file: multiarch llround for PowerPC32.
9309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9310 file: multiarch llroundf for PowerPC32.
9311
c9b5d79e
AZ
9312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9313 multiarch PowerPC32 fpu implementations.
9314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9315 New file.
9316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9317 New file.
9318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9319 multiarch llrint for PowerPC32.
9320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9321 New file.
9322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9323 New file.
9324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9325 file.
9326
9cbb3aab
AZ
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9328
ea5a72f8
AZ
9329 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9330 file.
9331 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9332 file.
9333 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9334 file.
9335 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9336 multiarch wordcopy for PPC32.
9337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9338 wordcopy objects.
9339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9340 (__libc_ifunc_impl_list): Likewise.
9341 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9342 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9343 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9344 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9345 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9346 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9347
93be09e7
AZ
9348 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9350 file.
9351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9352 file.
9353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9354 file.
9355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9356 multiarch wcscpy for PPC32.
9357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9358 multiarch objects.
9359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9360 (__libc_ifunc_impl_list): Likewise.
9361 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9362 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9363 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9364 sysdeps/powerpc/power6/wcscpy.c.
9365
bb04e529
AZ
9366 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9368 file.
9369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9370 file.
9371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9372 file.
9373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9374 multiarch wcsrchr for PPC32.
9375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9376 multiarch objects.
9377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9378 (__libc_ifunc_impl_list): Likewise.
9379 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9380 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9381 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9382 sysdeps/powerpc/power6/wcsrchr.c.
9383
05b5cd1c
AZ
9384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9385 file.
9386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9387 file.
9388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9390 multiarch wcschr for PPc32.
9391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9392 multiarch objects.
9393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9394 (__libc_ifunc_impl_list): Likewise.
9395 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9396 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9397 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9398 sysdeps/powerpc/power6/wcschr.c.
9399
ba964147
AZ
9400 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9401 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9402 file.
9403 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9404 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9405 file: multiarch strchr for PPC32.
9406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9407 multiarch objects.
9408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9409 (__libc_ifunc_impl_list): Likewise.
9410
31c81aaa
AZ
9411 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9412 name.
9413 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9414 file.
9415 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9416 file.
9417 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9418 multiarch strchrnul for PPC32.
9419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9420 multiarch objects.
9421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9422 (__libc_ifunc_impl_list): Likewise.
9423
0d0607d9
AZ
9424 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9425 file.
9426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9427 multiarch strncasecmp for PPC32.
9428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9429 file.
9430 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9431 multiarch strncasecmp_l for PPC32.
9432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9433 strncasecmp multiarch objects.
9434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9435 (__libc_ifunc_impl_list): Likewise.
9436
4dfd5c86
AZ
9437 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9438 file.
9439 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9440 multiarch strncasecmp for PPC32.
9441 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9442 New file.
9443 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9444 multiarch strcasecmp_l for PPC32.
9445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9446 multiarch objects.
9447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9448 (__libc_ifunc_impl_list): Likewise.
9449
a19e01a3
AZ
9450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9451 file.
9452 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9453 file.
9454 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9455 multiarch strncmp for PPC32.
9456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9457 multiarch objects.
9458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9459 (__libc_ifunc_impl_list): Likewise.
9460
ae9cf7a2
AZ
9461 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9462 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9463 file.
9464 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9465 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9467 multiarch objects.
9468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9469 (__libc_ifunc_impl_list): Likewise.
9470
3148bb7d
AZ
9471 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9472 file.
9473 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9474 file.
9475 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9477 multiarch objects.
9478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9479 (__libc_ifunc_impl_list): Likewise.
9480
7af8b946
AZ
9481 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9482 file.
9483 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9484 file.
9485 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9486 multiarch rawmemchr for PPC32.
9487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9488 multiarch objects.
9489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9490 (__libc_ifunc_impl_list): Likewise.
9491
03a6aa6a
AZ
9492 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9493 file.
9494 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9495 file.
9496 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9497 file: memrchr multiarch for PPC32.
9498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9499 multiarch objects.
9500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9501 (__libc_ifunc_impl_list): Likewise.
9502
1c62e6d9
AZ
9503 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9504 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9505 file.
9506 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9507 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9508 multiarch memchr for PPC32.
9509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9510 multiarch objects.
9511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9512 (__libc_ifunc_impl_list): Likewise.
9513
87da8bdb
AZ
9514 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9515 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9516 file.
9517 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9518 file.
9519 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9520 file: multiarch mempcpy for PPC32.
9521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9522 multiarch objects.
9523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9524 (__libc_ifunc_impl_list): Likewise.
9525
20ed4714
AZ
9526 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9527 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9528 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9529 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9530 multiarch bzero for PPC32.
9531 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9532 file.
9533 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9534 file.
9535 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9536 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9537 file: multiarch memset for PPC32.
9538 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9540 memset multiarch objects.
9541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9542 (__libc_ifunc_impl_list): Likewise.
9543
ab3e3a46
AZ
9544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9545 file.
9546 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9547 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9548 memcmp for PPC32.
9549 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9551 multiarch objects.
9552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9553 (__libc_ifunc_impl_list): Likewise.
9554
930de6f0
AZ
9555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9558 file.
9559 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9560 file.
9561 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9562 file.
9563 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9564 multiarch memcpy for PPC32.
9565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9566 multiarch objects.
9567 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9568 (__libc_ifunc_impl_list): Likewise.
9569
4c628e00
AZ
9570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9571 support multiarch for POWER/PPC32.
9572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9573 Likewise.
9574 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9576 Implies file to make multiarch folder appers before the fpu and
9577 default folder for power4 configuration.
9578
f4479220
SP
95792013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9580
9581 * scripts/bench.pl: Append volatile keyword to type.
9582
8517800f
KK
95832013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9584
9585 * sysdeps/sh/sotruss-lib.c: New file.
9586 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9587
180138f1
AZ
95882013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9589
9590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9591
bbf37bdc
JM
95922013-12-05 Joseph Myers <joseph@codesourcery.com>
9593
e47cc4e0
JM
9594 [BZ #6810]
9595 * math/w_tgamma.c: Include <errno.h>.
9596 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9597 * math/w_tgammaf.c: Include <errno.h>.
9598 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9599 * math/w_tgammal.c: Include <errno.h>.
9600 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9601 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9602 underflow. Add more tgamma tests.
9603 * math/auto-libm-test-out: Regenerated.
9604 * sysdeps/i386/fpu/libm-test-ulps: Update.
9605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9606
bbf37bdc
JM
9607 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9608 sin, sinh, tan, tanh, tgamma, y0 and y1.
9609 * math/auto-libm-test-out: Regenerated.
9610 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9611 (TEST_COND_x86): Likewise.
9612 (M_E2l): Remove macro.
9613 (M_E3l): Likewise.
9614 (M_2_SQRT_PIl): Likewise.
9615 (M_SQRT_PIl): Likewise.
9616 (M_1_DIV_El): Likewise.
9617 (log_test_data): Use AUTO_TESTS_f_f.
9618 (log10_test_data): Likewise.
9619 (log1p_test_data): Likewise.
9620 (log2_test_data): Likewise.
9621 (sin_test_data): Likewise.
9622 (sin_tonearest_test_data): Likewise.
9623 (sin_towardzero_test_data): Likewise.
9624 (sin_downward_test_data): Likewise.
9625 (sin_upward_test_data): Likewise.
9626 (sinh_test_data): Likewise.
9627 (sinh_tonearest_test_data): Likewise.
9628 (sinh_towardzero_test_data): Likewise.
9629 (sinh_downward_test_data): Likewise.
9630 (sinh_upward_test_data): Likewise.
9631 (tan_test_data): Likewise.
9632 (tan_tonearest_test_data): Likewise.
9633 (tan_towardzero_test_data): Likewise.
9634 (tan_downward_test_data): Likewise.
9635 (tan_upward_test_data): Likewise.
9636 (tanh_test_data): Likewise.
9637 (tgamma_test_data): Likewise.
9638 (y0_test_data): Likewise.
9639 (y1_test_data): Likewise.
9640 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9641 (special_real_inputs): Add pi/4.
9642 * sysdeps/i386/fpu/libm-test-ulps: Update.
9643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9644
eb5ad6b9
AZ
96452013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9646
9647 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9648 "longjmp_target" static probes.
9649 (__longjmp): Rename to __longjmp_symbol.
9650 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9651 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9652 on which longjmp to generate.
9653 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9654 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9655 probe.
9656 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9657 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9658 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9659 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9660 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9661 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9663 __longjmp_symbol based on which __longjmp to generate.
9664 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9665 probe.
9666 (setjmp): Rename to setjmp_symbol.
9667 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9668 (_setjmp): Rename to _setjmp_symbol.
9669 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9670 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9671 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9672 which setjmp to generate.
9673 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9674 "longjmp_target" static probes.
9675
d136c6dc
SP
96762013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9677
9298ecba
SP
9678 * benchtests/README: Add note about output arguments.
9679 * benchtests/bench-sincos.c: Remove file.
9680 * benchtests/sincos-inputs: New file.
9681 * scripts/bench.pl: Identify output arguments and define
9682 static variables for them.
9683
232983e9
SP
9684 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9685
d136c6dc
SP
9686 [BZ #15941]
9687 * Makefile (INSTALL): Add install-plain.texi as the primary
9688 dependency.
9689 * manual/install-plain.texi: New file.
9690 * manual/install.texi: Include node directive only for
9691 non-plaintext output.
9692
699ff837
JM
96932013-12-04 Joseph Myers <joseph@codesourcery.com>
9694
ab07cea8
JM
9695 * stdlib/longlong.h: Update from GCC.
9696
699ff837
JM
9697 [BZ #6807]
9698 [BZ #15901]
9699 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9700 * math/w_j0f.c (y0f): Likewise.
9701 * math/w_j0l.c (__y0l): Likewise.
9702 * math/w_j1.c (y1): Likewise.
9703 * math/w_j1f.c (y1f): Likewise.
9704 * math/w_j1l.c (__y1l): Likewise
9705 * math/w_jn.c (yn): Likewise.
9706 * math/w_jnf.c (ynf): Likewise.
9707 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9708 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9709 value for Bessel function domain errors outside _SVID_ mode.
9710 Adjust sign of return value for yn (negative integer, 0).
9711 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9712 by zero in return for negative x and set sign appropriately for
9713 negative n.
9714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9715 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9716 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9717 expectations in error cases.
9718 (y1_test_data): Likewise.
9719 (yn_test_data): Likewise.
9720 * sysdeps/i386/fpu/libm-test-ulps: Update.
9721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9722
5b118558
UW
97232013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9724
9725 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9726 "64" to "64-v1". Add "64-v2".
9727 (abi-64-options): Rename to ...
9728 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9729 (abi-64-condition): Rename to ...
9730 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9731 (abi-64-ld-soname): Rename to ...
9732 (abi-64-v1-ld-soname): ... this.
9733 (abi-64-v2-options): Define.
9734 (abi-64-v2-condition): Likewise.
9735 (abi-64-v2-ld-soname): Likewise.
9736 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9737 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9741
61cd8fe4
UW
97422013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9743 Alan Modra <amodra@gmail.com>
9744
9745 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9746 New versions for use with the ELFv2 ABI.
9747 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9748 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9749 declaration.
9750 (struct La_ppc64v2_retval): Likewise.
9751 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9752 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9753 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9754 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9755 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9756 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9757 Do not save or restore CR.
9758 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9759 (_dl_profile_resolve): Do no save or restore CR. Support extended
9760 return values for ELFv2 ABI. Fix location of FPR return registers.
9761 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9762 updated values for _CALL_ELF == 2.
9763 (La_regs, La_retval, int_retval): Likewise.
9764
8b8a692c
UW
97652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9766
9767 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9768 (FRAME_MIN_SIZE_PARM): Likewise.
9769 (FRAME_BACKCHAIN): Likewise.
9770 (FRAME_CR_SAVE): Likewise.
9771 (FRAME_LR_SAVE): Likewise.
9772 (FRAME_TOC_SAVE): Likewise.
9773 (FRAME_PARM_SAVE): Likewise.
9774 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9775 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9776 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9777 (call_mcount_parm_offset): New macro.
9778 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9779 (PROF): Use symbolic stack frame offsets.
9780 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9781 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9782 Redefine in terms of FRAME_MIN_SIZE.
9783 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9784 (_dl_profile_resolve): Likewise. Update comment.
9785 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9786 symbols stack frame offsets.
9787 (__sigsetjmp): Likewise.
9788 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9789 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9790 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9791 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9792
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9794 (FRAME_BACKCHAIN): Remove.
9795 (FRAME_CR_SAVE): Likewise.
9796 (FRAME_LR_SAVE): Likewise.
9797 (FRAME_COMPILER_DW): Likewise.
9798 (FRAME_LINKER_DW): Likewise.
9799 (FRAME_TOC_SAVE): Likewise.
9800 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9801 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9802 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9803 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9805 (CHECK_SP): Use symbolic stack frame offsets.
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9807 zone" instead of caller's parameter save area for temp storage.
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9809 Likewise. Also, use symbolic stack frame offsets.
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9811 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9812 our own stack frame instead of the caller's.
9813 (__socket): Use symbolic stack frame offsets.
9814
122b66de
UW
98152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9816 Alan Modra <amodra@gmail.com>
9817
9818 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9819 Define.
57f41c40
AS
9820 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9821 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9822 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9823 New function.
9824 (elf_machine_fixup_plt): Call it.
9825 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9826 reloc arguments.
9827 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9828 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9829 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9830 r2 before calling target.
9831
696caf1d
UW
98322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9833 Alan Modra <amodra@gmail.com>
9834
9835 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9836 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9837 versions of macros to support ELFv2 ABI.
9838 (LOCALENTRY): New macro.
9839 (ENTRY, EALIGN): Use it.
9840 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9841 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9842 fall through into ENTRY entry point.
9843 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9844 Only define if _CALL_ELF != 2.
9845
9846 (elf_machine_matches_host): Verify ABI version matches.
9847 (RTLD_START): Use LOCALENTRY.
9848 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9849 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9850 (PLT_ENTRY_WORDS): New macro.
9851 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9852 (elf_machine_runtime_setup): Support ELFv2 ABI.
9853 (elf_machine_fixup_plt): Likewise.
9854 (elf_machine_plt_conflict): Likewise.
9855 (resolve_ifunc): Likewise.
9856 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9857 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9858 Likewise.
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9860 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9862 (makecontext): Support ELFv2 ABI.
9863 * elf/elf.h (EF_PPC64_ABI): Define.
9864
d31beafa
UW
98652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9866
57f41c40
AS
9867 * sysdeps/powerpc/powerpc64/sysdep.h
9868 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9869 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9870 (ENTRY) [ASSEMBLER]: ... but instead here ...
9871 (EALIGN) [ASSEMBLER]: ... and here.
9872 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9873 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9874 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9875 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9876 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9877 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9878 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9879 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9881 Use PPC64_LOAD_FUNCPTR.
9882
b525166b
UW
9883 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9884
7ec07d9a
AM
98852013-12-04 Alan Modra <amodra@gmail.com>
9886
9887 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9888 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9889 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9890 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9891
9892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9893 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9894 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9895 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9896 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9897 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9898
5162e7dd
UW
98992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9900
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9902 (__makecontext): Fix incorrect CFI when backtracing out of
9903 context created via makecontext.
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9905 (__setcontext): Fix incorrect CFI during switch to new context.
9906 (__novec_setcontext): Likewise.
9907
19e3372b
OB
99082013-12-04 Ondřej Bílka <neleai@seznam.cz>
9909
9910 [BZ #4772]
9911 * time/strptime_l.c (__strptime_internal): Allow modifiers
9912 in strptime.
9913 * time/tst-strptime.c (day_tests): Add testcase.
9914
ecaf142d
SP
99152013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9916
9917 * scripts/bench.pl: Skip over blank lines.
9918
fbf964ae
PE
99192013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9920
9921 [BZ #926]
9922 * manual/time.texi (Calendar Time): Clarify what timezone functions
9923 use.
9924
fa60a674
AZ
99252013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9926
9927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9928
d674f0ef
OB
99292013-12-04 Ondřej Bílka <neleai@seznam.cz>
9930
9931 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9932 implementation.
9933 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9934 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9935 * debug/memset_chk.c (__memset_chk): Likewise.
9936 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9937 * debug/strncpy_chk.c: Likewise.
9938
17dea188
JM
99392013-12-03 Joseph Myers <joseph@codesourcery.com>
9940
749008ff
JM
9941 [BZ #15268]
9942 [BZ #15425]
9943 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9944 (__ieee754_exp): For possibly underflowing results, check size of
9945 result and force underflow exception if required.
9946 * math/auto-libm-test-in: Add more tests of exp.
9947 * math/auto-libm-test-out: Regenerated.
9948 * sysdeps/i386/fpu/libm-test-ulps: Update.
9949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9950
17dea188
JM
9951 [BZ #16283]
9952 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9953 * math/w_exp2f.c (__exp2f): Likewise.
9954 * math/w_exp2l.c (__exp2l): Likewise.
9955 * math/auto-libm-test-in: Do not allow missing errno on exp2
9956 underflow.
9957 * math/auto-libm-test-out: Regenerated.
9958
b20de2c3
OB
99592013-12-03 Ondřej Bílka <neleai@seznam.cz>
9960
9961 [BZ #16274]
9962 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9963 handle filename validation.
9964 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9965 (do_open): Delete.
9966
d8e2dbe3
JM
99672013-12-03 Joseph Myers <joseph@codesourcery.com>
9968
34e16df5
JM
9969 [BZ #6786]
9970 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9971 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9972 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9973 <float.h>.
9974 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9975 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9976 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9977 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9978 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9979 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9980 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9981 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9982 Add more erfc tests.
9983 * math/auto-libm-test-out: Regenerated.
9984 * sysdeps/i386/fpu/libm-test-ulps: Update.
9985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9986
d8e2dbe3
JM
9987 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9988 exp2, expm1, j0 and j1.
9989 * math/auto-libm-test-out: Regenerated.
9990 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9991 (erfc_test_data): Likewise.
9992 (exp_test_data): Likewise.
9993 (exp_tonearest_test_data): Likewise.
9994 (exp_towardzero_test_data): Likewise.
9995 (exp_downward_test_data): Likewise.
9996 (exp_upward_test_data): Likewise.
9997 (exp10_test_data): Likewise.
9998 (exp2_test_data): Likewise.
9999 (expm1_test_data): Likewise.
10000 (j0_test_data): Likewise.
10001 (j1_test_data): Likewise.
10002 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10003 (input_flag_type): Add flag_xfail_rounding.
10004 (input_flags): Add xfail-rounding.
10005 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10006 (output_for_one_input_case): Handle flag_xfail_rounding.
10007 * sysdeps/i386/fpu/libm-test-ulps: Update.
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10009
18d14251
AJ
100102013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10011
3d2e6075 10012 [BZ #16289]
18d14251
AJ
10013 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10014 division by 0.
10015
520d437b
SP
100162013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10017
10018 [BZ #16195]
10019 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10020 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10021 (STAP_PROBE0): New macro.
10022 (STAP_PROBE1): Likewise.
10023 (STAP_PROBE2): Likewise.
10024 (STAP_PROBE3): Likewise.
10025 (STAP_PROBE4): Likewise.
10026
416e0145
OB
100272013-12-02 Ondřej Bílka <neleai@seznam.cz>
10028
10029 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10030
9d17796a
SE
100312013-12-02 Steve Ellcey <sellcey@mips.com>
10032
10033 * benchtests/Makefile (bench): Add sqrt.
10034 (LDLIBS-bench-sqrt): New.
10035 * benchtests/sqrt-input: New.
10036
f524d6a8
PS
100372013-12-02 Pavel Simerda <psimerda@redhat.com>
10038
639a0ef8
PS
10039 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10040 (GAIH_EAI): Likewise.
10041 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10042 (gaih_inet): Likewise.
10043 (getaddrinfo): Don't use GAIH_EAI.
10044
f524d6a8
PS
10045 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10046 (struct gaih): Remove definition.
10047
df3aedaf
SP
100482013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10049
10050 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10051 Use HERRNOP directly.
10052
1ab19dec
AZ
100532013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10054
b42ad38d 10055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10056
176b0c79
JM
100572013-11-30 Joseph Myers <joseph@codesourcery.com>
10058
10059 * math/gen-auto-libm-tests.c (test_functions): Add more
10060 single-argument functions.
10061 (special_fill_pi_2): New function.
10062 (special_fill_minus_pi_2): Likewise.
10063 (special_fill_pi_6): Likewise.
10064 (special_fill_minus_pi_6): Likewise.
10065 (special_fill_pi_3): Likewise.
10066 (special_fill_2pi_3): Likewise.
10067 (special_fill_e): Likewise.
10068 (special_fill_1_e): Likewise.
10069 (special_fill_e_minus_1): Likewise.
10070 (special_real_inputs): Add more special inputs.
10071 (output_for_one_input_case): Do not require ERANGE on underflow to
10072 zero if round-to-nearest result does not underflow to zero, unless
10073 exact results required.
10074 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10075 atan, atanh, cbrt, cos and cosh.
10076 * math/auto-libm-test-out: Regenerated.
10077 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10078 (acos_tonearest_test_data): Likewise.
10079 (acos_towardzero_test_data): Likewise.
10080 (acos_downward_test_data): Likewise.
10081 (acos_upward_test_data): Likewise.
10082 (acosh_test_data): Likewise.
10083 (asin_test_data): Likewise.
10084 (asin_tonearest_test_data): Likewise.
10085 (asin_towardzero_test_data): Likewise.
10086 (asin_upward_test_data): Likewise.
10087 (asinh_test_data): Likewise.
10088 (atan_test_data): Likewise.
10089 (atanh_test_data): Likewise.
10090 (cbrt_test_data): Likewise.
10091 (cos_test_data): Likewise.
10092 (cos_tonearest_test_data): Likewise.
10093 (cos_towardzero_test_data): Likewise.
10094 (cos_downward_test_data): Likewise.
10095 (cos_upward_test_data): Likewise.
10096 (cosh_test_data): Likewise.
10097 (cosh_tonearest_test_data): Likewise.
10098 (cosh_towardzero_test_data): Likewise.
10099 (cosh_downward_test_data): Likewise.
10100 (cosh_upward_test_data): Likewise.
10101 * sysdeps/i386/fpu/libm-test-ulps: Update.
10102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10103
ffb536d0
JM
101042013-11-29 Joseph Myers <joseph@codesourcery.com>
10105
2a77a467
JM
10106 [BZ #6787]
10107 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10108 * math/w_exp10f.c (__exp10f): Likewise.
10109 * math/w_exp10l.c (__exp10l): Likewise.
10110 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10111 errno settings in existing tests.
10112
ea3bc4e8
JM
10113 [BZ #14032]
10114 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10115 precision control set to double precision.
10116 * sysdeps/i386/fpu/w_sqrt.c: New file.
10117 * math/auto-libm-test-in: Add more tests.
10118 * math/auto-libm-test-out: Update.
10119
0712c9d8
JM
10120 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10121 (sqrt_test_tonearest): New function.
10122 (sqrt_towardzero_test_data): New variable.
10123 (sqrt_test_towardzero): New function.
10124 (sqrt_downward_test_data): New variable.
10125 (sqrt_test_downward): New function.
10126 (sqrt_upward_test_data): New variable.
10127 (sqrt_test_upward): New function.
10128 (main): Call the new functions.
10129
ffb536d0
JM
10130 * math/gen-auto-libm-tests.c: New file.
10131 * math/auto-libm-test-in: Likewise.
10132 * math/auto-libm-test-out: New generated file.
10133 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10134 variables.
10135 (%beautify): Add generated representations of zero.
10136 (top level): Set $auto_input and call parse_auto_input.
10137 (beautify): Remove trailing "f" from hex float constants.
10138 (parse_args): Handle XFAIL_TEST.
10139 (convert_condition): New function.
10140 (or_value): Likewise.
10141 (or_cond_value): Likewise.
10142 (generate_testfile): Handle AUTO_TESTS_* lines.
10143 (parse_auto_input): New function.
10144 * math/libm-test.inc (XFAIL_TEST): New macro.
10145 (ERRNO_UNCHANGED): Update value.
10146 (ERRNO_EDOM): Likewise.
10147 (ERRNO_ERANGE): Likewise.
10148 (IGNORE_RESULT): Likewise.
10149 (TEST_COND_flt_32): New macro.
10150 (TEST_COND_dbl_64): Likewise.
10151 (TEST_COND_ldbl_96_intel): Likewise.
10152 (TEST_COND_ldbl_96_m68k): Likewise.
10153 (TEST_COND_ldbl_128): Likewise.
10154 (TEST_COND_ldbl_128ibm): Likewise.
10155 (TEST_COND_long32): Likewise.
10156 (TEST_COND_long64): Likewise.
10157 (TEST_COND_before_rounding): Likewise.
10158 (TEST_COND_after_rounding): Likewise.
10159 (enable_test): Handle XFAIL_TEST flag.
10160 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10161 with finite results.
10162 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10163 auto-libm-test-out.
10164
acd98a8e
AK
101652013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10166 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10167
10168 [BZ #16214]
10169 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10170 __tls_get_addr_internal instead of __tls_get_offset in order to
10171 avoid GOT pointer dependency. Make rtld export
10172 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10173 __tls_get_addr since we are a __tls_get_offset platform.
10174 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10175 GOT pointer being set up before.
10176 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10177
3c1c46a6
JM
101782013-11-28 Joseph Myers <joseph@codesourcery.com>
10179
7475aef5
JM
10180 * manual/math.texi (Errors in Math Functions): Document accuracy
10181 goals.
10182
8bca7cd8
JM
10183 [BZ #15004]
10184 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10185 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10188 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10189 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10190 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10191 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10192 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10193 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10194 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10200
91a1f3fe
JM
10201 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10202 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10203 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10204 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10205 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10206 Likewise.
10207 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10208 Likewise.
10209 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10210 Likewise.
10211 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10212 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10213 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10214 atomic-feupdateenv and flt-rounds.
10215 * sysdeps/powerpc/nofpu/Versions (libc): Add
10216 __atomic_feholdexcept, __atomic_feclearexcept,
10217 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10218 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10219 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10220 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10221 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10222 here.
10223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10224 Update.
10225
c5df7609
JM
10226 * manual/arith.texi (FP Exceptions): Document that exceptions may
10227 not be raised when matherr is used.
10228 (Math Error Reporting): Document overflow in directed rounding
10229 modes. Document that errno may not be set when finite values are
10230 returned on overflow. Document intent to set errno on underflow
10231 only for underflow to zero.
10232
3c1c46a6
JM
10233 [BZ #16271]
10234 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10235 round-to-nearest then adjust result for other rounding modes.
10236 * include/fenv.h (fegetround): Use libm_hidden_proto.
10237 * math/fegetround.c (fegetround): Use libm_hidden_def.
10238 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10239 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10240 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10241 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10242 Likewise.
10243 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10244 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10245 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10246 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10247
5a4c6d53
SP
102482013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10249
10250 [BZ #16077]
10251 * nss/Versions (libnss_files): Add
10252 _nss_files_gethostbyname3_r.
10253 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10254 New function.
10255 (HOST_DB_LOOKUP): Remove macro.
10256 (_nss_files_gethostbyname_r): Implement function without the
10257 HOST_DB_LOOKUP macro.
10258 (_nss_files_gethostbyname2_r): Likewise.
10259
897b98ba
OB
102602013-11-28 Ondřej Bílka <neleai@seznam.cz>
10261
10262 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10263
6f476861
UB
102642013-11-26 Uros Bizjak <ubizjak@gmail.com>
10265
10266 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10267 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10268 warning.
10269
bd12ab55
AZ
102702013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10271
10272 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10273 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10274 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10275 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10276 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10277 __fe_nomask_env_priv and attribute_hidden.
10278 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10279 (libc_feupdateenv_test_ppc): Likewise.
10280 (libc_feresetround_ppc): Likewise.
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10282 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10283 compat_symbol macro.
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10285 (__fe_nomask_env): Likewise.
10286 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10287
52bb6543
OB
102882013-11-26 Ondřej Bílka <neleai@seznam.cz>
10289
10290 * string/Makefile: Remove ifunc tests.
10291 * string/test-string.h: Define TEST_IFUNC.
10292 * string/test-bcopy-ifunc.c: Remove.
10293 * string/test-bzero-ifunc.c: Likewise.
10294 * string/test-memccpy-ifunc.c: Likewise.
10295 * string/test-memchr-ifunc.c: Likewise.
10296 * string/test-memcmp-ifunc.c: Likewise.
10297 * string/test-memcpy-ifunc.c: Likewise.
10298 * string/test-memmem-ifunc.c: Likewise.
10299 * string/test-memmove-ifunc.c: Likewise.
10300 * string/test-mempcpy-ifunc.c: Likewise.
10301 * string/test-memrchr-ifunc.c: Likewise.
10302 * string/test-memset-ifunc.c: Likewise.
10303 * string/test-rawmemchr-ifunc.c: Likewise.
10304 * string/test-stpcpy-ifunc.c: Likewise.
10305 * string/test-stpncpy-ifunc.c: Likewise.
10306 * string/test-strcasecmp-ifunc.c: Likewise.
10307 * string/test-strcasestr-ifunc.c: Likewise.
10308 * string/test-strcat-ifunc.c: Likewise.
10309 * string/test-strchr-ifunc.c: Likewise.
10310 * string/test-strchrnul-ifunc.c: Likewise.
10311 * string/test-strcmp-ifunc.c: Likewise.
10312 * string/test-strcpy-ifunc.c: Likewise.
10313 * string/test-strcspn-ifunc.c: Likewise.
10314 * string/test-strlen-ifunc.c: Likewise.
10315 * string/test-strncasecmp-ifunc.c: Likewise.
10316 * string/test-strncat-ifunc.c: Likewise.
10317 * string/test-strncmp-ifunc.c: Likewise.
10318 * string/test-strncpy-ifunc.c: Likewise.
10319 * string/test-strnlen-ifunc.c: Likewise.
10320 * string/test-strpbrk-ifunc.c: Likewise.
10321 * string/test-strrchr-ifunc.c: Likewise.
10322 * string/test-strspn-ifunc.c: Likewise.
10323 * string/test-strstr-ifunc.c: Likewise.
10324
ab260039 103252013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10326
10327 * benchtests/Makefile: Remove ifunc tests.
10328 * benchtests/bench-string.h: Define TEST_IFUNC.
10329 * benchtests/bench-bcopy-ifunc.c: Remove.
10330 * benchtests/bench-bzero-ifunc.c: Likewise.
10331 * benchtests/bench-memccpy-ifunc.c: Likewise.
10332 * benchtests/bench-memchr-ifunc.c: Likewise.
10333 * benchtests/bench-memcmp-ifunc.c: Likewise.
10334 * benchtests/bench-memcpy-ifunc.c: Likewise.
10335 * benchtests/bench-memmem-ifunc.c: Likewise.
10336 * benchtests/bench-memmove-ifunc.c: Likewise.
10337 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10338 * benchtests/bench-memrchr-ifunc.c: Likewise.
10339 * benchtests/bench-memset-ifunc.c: Likewise.
10340 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10341 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10342 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10343 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10344 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10345 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10346 * benchtests/bench-strcat-ifunc.c: Likewise.
10347 * benchtests/bench-strchr-ifunc.c: Likewise.
10348 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10349 * benchtests/bench-strcmp-ifunc.c: Likewise.
10350 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10351 * benchtests/bench-strcpy-ifunc.c: Likewise.
10352 * benchtests/bench-strcspn-ifunc.c: Likewise.
10353 * benchtests/bench-strlen-ifunc.c: Likewise.
10354 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10355 * benchtests/bench-strncat-ifunc.c: Likewise.
10356 * benchtests/bench-strncmp-ifunc.c: Likewise.
10357 * benchtests/bench-strncpy-ifunc.c: Likewise.
10358 * benchtests/bench-strnlen-ifunc.c: Likewise.
10359 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10360 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10361 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10362 * benchtests/bench-strspn-ifunc.c: Likewise.
10363 * benchtests/bench-strstr-ifunc.c: Likewise.
10364
103652013-11-26 Ondřej Bílka <neleai@seznam.cz>
10366
ab260039
OB
10367 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10368
d1d9eaf4 103692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10370
d1d9eaf4
OB
10371 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10372 * rt/aio.h: Likewise.
10373 * sysdeps/gnu/bits/utmp.h: Likewise.
10374 * sysdeps/gnu/bits/utmpx.h: Likewise.
10375 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10376 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10377 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10378 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10379 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10380 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10381 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10382 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10383 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10384 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10385 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10386 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10387 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10389 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10390 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10391 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10392 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10393 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10394 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10395 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10396 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10397 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10398 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10399 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10401 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10402 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10403 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10404 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10405 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10406 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10407 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10408 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10409 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10410 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10411 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10412 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10413 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10414 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10415 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10416 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10417
a7624ed9
CD
104182013-11-25 Carlos O'Donell <carlos@redhat.com>
10419
10420 [BZ #16245]
10421 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10422 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10423
63cfe52b
JM
104242013-11-25 Joseph Myers <joseph@codesourcery.com>
10425
10426 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10427 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10428 Likewise.
10429
41e8926a
AZ
104302013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10431
10432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10433 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10434 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10435 (__fesetround): Remove define.
10436 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10437 rounding and exceptions handling.
10438 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10439 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10440 (__fe_nomask_env): Likewise.
10441 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10442 __fegetround instead of fegetround.
10443 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10445
6851bd4d
RM
104462013-11-21 Roland McGrath <roland@hack.frob.com>
10447
070906ff
RM
10448 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10449 it's there.
10450
6851bd4d
RM
10451 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10452
84ae135d
MI
104532013-11-21 Meador Inge <meadori@codesourcery.com>
10454
10455 [BZ #11157]
10456 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10457 (encrypt_r): Likewise.
10458 * malloc/obstack.h (obstack_free): Likewise.
10459 * posix/unistd.h (encrypt): Likewise.
10460
daf75146
GM
104612013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10462
10463 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10464 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10465 DL_CALL_DT_FINI() that call the functions directly.
10466 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10467 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10468 * elf/dl-fini.c: Likewise.
10469
10ad46bc
OB
104702013-11-20 Ondřej Bílka <neleai@seznam.cz>
10471
10472 * malloc/hooks.c (memalign_check): Add alignment rounding.
10473 * malloc/malloc.c (_mid_memalign): New function.
10474 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10475 Implement by calling _mid_memalign.
10476 * manual/probes.texi (Memory Allocation Probes): Remove
10477 memory_valloc_retry and memory_pvalloc_retry.
10478
f3fd2628
SP
104792013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10480
4712799f
SP
10481 * locale/programs/locarchive.c (open_archive): Add const
10482 qualifier to ARCHIVEFNAME and copy default fname to
10483 DEFAULT_FNAME.
10484
0417b20f
SP
10485 [BZ #15601]
10486 * libio/tst-widetext.input: Rename Oriya to Odia.
10487 * locale/iso-639.def: Likewise.
10488
f3fd2628
SP
10489 * manual/probes.texi (Mathematical Function Probes): Add
10490 documentation for sin, cos, asin and acos probes.
10491 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10492 (__sin32): Add slowasin probe.
10493 (__cos32): Add slowacos probe.
10494 (__mpsin): Add slowsin probe.
10495 (__mpcos): Add slowcos probe.
10496
73c1ce4f
JM
104972013-11-19 Joseph Myers <joseph@codesourcery.com>
10498
10499 [BZ #15483]
10500 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10501 thread-local __sim_exceptions_thread and global
10502 __sim_exceptions_global.
10503 (__sim_disabled_exceptions): Change to thread-local
10504 __sim_disabled_exceptions_thread and global
10505 __sim_disabled_exceptions_global.
10506 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10507 and global __sim_round_mode_global.
10508 (__simulate_exceptions): Use thread-local floating-point state and
10509 set global state from it as needed.
10510 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10511 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10512 __sim_round_mode_thread.
10513 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10514 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10515 and global __sim_exceptions_global.
10516 (__sim_disabled_exceptions): Change to thread-local
10517 __sim_disabled_exceptions_thread and global
10518 __sim_disabled_exceptions_global.
10519 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10520 and global __sim_round_mode_global.
10521 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10522 (SIM_SET_GLOBAL): Likewise.
10523 * sysdeps/powerpc/soft-fp/sfp-machine.h
10524 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10525 __sim_round_mode_thread.
10526 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10527 __sim_disabled_exceptions_thread.
10528 (__sim_exceptions): Change to __sim_exceptions_thread.
10529 (__sim_disabled_exceptions): Change to
10530 __sim_disabled_exceptions_thread.
10531 (__sim_round_mode): Change to __sim_round_mode_thread.
10532 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10533 thread-local floating-point state and set global state from it as
10534 needed.
10535 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10536 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10537 (__sim_disabled_exceptions): Remove extern declaration.
10538 (feenableexcept): Use thread-local floating-point state and set
10539 global state from it as needed.
10540 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10541 extern declaration.
10542 (__sim_disabled_exceptions): Likewise.
10543 (__sim_round_mode): Likewise.
10544 (__fegetenv): Use thread-local floating-point state.
10545 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10546 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10547 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10548 floating-point state and set global state from it as needed.
10549 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10550 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10551 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10552 Likewise.
10553 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10554 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10555 Likewise.
10556 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10557 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10558 Use __sim_round_mode_thread.
10559 * math/test-fenv-tls.c: New file.
10560 * math/Makefile (tests): Add test-fenv-tls.
10561 ($(objpfx)test-fenv-tls): Depend on
10562 $(common-objpfx)nptl/libpthread.so.
10563
b5449b12
AS
105642013-11-19 Andreas Schwab <schwab@suse.de>
10565
10566 * locale/programs/locale.c (show_info): Decode wordarray elements.
10567 * locale/categories.def (LC_MONETARY): Add element for
10568 _NL_MONETARY_CRNCYSTR.
10569 * locale/C-monetary.c (conversion_rate): New variable.
10570 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10571 element.
10572
e186536b
CM
105732013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10574
10575 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10576 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10577
5c349950
PP
105782013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10579
10580 * elf/Makefile (tst-auxv): New test.
10581 * elf/tst-auxv.c: New
10582 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10583
699df45b
JM
105842013-11-18 Joseph Myers <joseph@codesourcery.com>
10585
10586 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10587 (hidden_proto): Caller changed.
10588 (hidden_tls_proto): New macro.
10589 (libc_hidden_tls_proto): Likewise.
10590 (rtld_hidden_tls_proto): Likewise.
10591 (libm_hidden_tls_proto): Likewise.
10592 (libresolv_hidden_tls_proto): Likewise.
10593 (librt_hidden_tls_proto): Likewise.
10594 (libdl_hidden_tls_proto): Likewise.
10595 (libnss_files_hidden_tls_proto): Likewise.
10596 (libnsl_hidden_tls_proto): Likewise.
10597 (libnss_nisplus_hidden_tls_proto): Likewise.
10598 (libutil_hidden_tls_proto): Likewise.
10599
b7589107
OB
106002013-11-18 Ondřej Bílka <neleai@seznam.cz>
10601
10602 [BZ #10253]
10603 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10604 (decompose_rpath): Defer expansion to fillin_rpath.
10605 (_dl_init_paths): Pass linkmap to fillin_rpath.
10606
250c23bd
RS
106072013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10608
10609 * benchtests/Makefile: Add strsep.
10610 * benchtests/bench-strsep.c: New file: strsep benchtest.
10611 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10612
a7931fcf
AS
106132013-11-18 Andreas Schwab <schwab@suse.de>
10614
10615 * locale/programs/locale.c (show_info) [case byte]: Check for
10616 '\377' instead of '\177'.
10617 * locale/C-monetary.c (not_available): Always use "\377".
10618 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10619 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10620 detect unavailable sign_posn locale elements.
10621 * locale/localeconv.c (__localeconv): For grouping and
10622 mon_grouping handle "\177" and "\377" like no grouping.
10623 (INT_ELEM): New macro. Use it to set all numeric members.
10624 * locale/programs/ld-monetary.c (monetary_read)
10625 <tok_mon_grouping>: Normalize single -1 to the empty string.
10626 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10627 Likewise.
10628
728dab0e
OB
106292013-11-07 Ondřej Bílka <neleai@seznam.cz>
10630
10631 [BZ #16055]
10632 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10633 when we match (nil).
10634 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10635
66294491
JM
106362013-11-16 Joseph Myers <joseph@codesourcery.com>
10637
ce665817
JM
10638 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10639 (NO_TEST_INLINE): Update value.
10640 (ERRNO_UNCHANGED): Likewise.
10641 (ERRNO_EDOM): Likewise.
10642 (ERRNO_ERANGE): Likewise.
10643 (IGNORE_RESULT): Likewise.
10644 (check_float_internal): Check signs of NaN results if
10645 TEST_NAN_SIGN used.
10646 (check_complex): Pass TEST_NAN_SIGN flag through to second
10647 check_float_internal call.
10648 (copysign_test_data): Add tests with quiet NaNs as second
10649 argument. Use TEST_NAN_SIGN.
10650 (fabs_test_data): Add test of negative quiet NaN argument. Use
10651 TEST_NAN_SIGN.
10652 (signbit_test_data): Add tests of quiet NaN argument.
10653 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10654
ee1466a9
JM
10655 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10656 $ignore_result.
10657 (parse_args): Handle function results specified as IGNORE.
10658 * math/libm-test.inc (IGNORE_RESULT): New macro.
10659 (check_float_internal): Do not check numerical result if flag
10660 IGNORE_RESULT set.
10661 (check_complex): Pass through IGNORE_RESULT to second
10662 check_float_internal call.
10663 (check_int): Do not check numerical result if flag IGNORE_RESULT
10664 set.
10665 (check_long): Likewise.
10666 (check_bool): Likewise.
10667 (check_longlong): Likewise.
10668 (lrint_test_data): Add tests of infinite and NaN arguments.
10669 (lrint_tonearest_test_data): Likewise.
10670 (lrint_towardzero_test_data): Likewise.
10671 (lrint_downward_test_data): Likewise.
10672 (lrint_upward_test_data): Likewise.
10673 (llrint_test_data): Likewise.
10674 (llrint_tonearest_test_data): Likewise.
10675 (llrint_towardzero_test_data): Likewise.
10676 (llrint_downward_test_data): Likewise.
10677 (llrint_upward_test_data): Likewise.
10678 (lround_test_data): Likewise.
10679 (llround_test_data): Likewise.
10680
14407b7e
JM
10681 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10682 (ERRNO_UNCHANGED): Update value.
10683 (ERRNO_EDOM): Likewise.
10684 (ERRNO_ERANGE): Likewise.
10685 (NO_TEST_INLINE_FLOAT): New macro.
10686 (NO_TEST_INLINE_DOUBLE): Likewise.
10687 (enable_test): New function.
10688 (RUN_TEST_f_f): Check enable_test before running test.
10689 (RUN_TEST_2_f): Likewise.
10690 (RUN_TEST_fff_f): Likewise.
10691 (RUN_TEST_c_f): Likewise.
10692 (RUN_TEST_f_f1): Likewise.
10693 (RUN_TEST_fF_f1): Likewise.
10694 (RUN_TEST_fI_f1): Likewise.
10695 (RUN_TEST_ffI_f1): Likewise.
10696 (RUN_TEST_c_c): Likewise.
10697 (RUN_TEST_cc_c): Likewise.
10698 (RUN_TEST_f_i): Likewise.
10699 (RUN_TEST_f_i_tg): Likewise.
10700 (RUN_TEST_ff_i_tg): Likewise.
10701 (RUN_TEST_f_b): Likewise.
10702 (RUN_TEST_f_b_tg): Likewise.
10703 (RUN_TEST_f_l): Likewise.
10704 (RUN_TEST_f_L): Likewise.
10705 (RUN_TEST_fFF_11): Likewise.
10706 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10707 conditionals.
10708 (cosh_test_data): Likewise.
10709 (exp_test_data): Likewise.
10710 (expm1_test_data): Likewise.
10711 (hypot_test_data): Likewise.
10712 (pow_test_data): Likewise.
10713 (sinh_test_data): Likewise.
10714 (tanh_test_data): Likewise.
10715 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10716 flags argument.
10717
ca07f197
JM
10718 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10719 tests with quiet NaN input and output.
10720 (acosh_test_data): Likewise.
10721 (asin_test_data): Likewise.
10722 (asinh_test_data): Likewise.
10723 (atan_test_data): Likewise.
10724 (atanh_test_data): Likewise.
10725 (atan2_test_data): Likewise.
10726 (cbrt_test_data): Likewise.
10727 (cos_test_data): Likewise.
10728 (cosh_test_data): Likewise.
10729 (erf_test_data): Likewise.
10730 (erfc_test_data): Likewise.
10731 (exp_test_data): Likewise.
10732 (exp10_test_data): Likewise.
10733 (exp2_test_data): Likewise.
10734 (expm1_test_data): Likewise.
10735 (hypot_test_data): Likewise.
10736 (j0_test_data): Likewise.
10737 (j1_test_data): Likewise.
10738 (jn_test_data): Likewise.
10739 (lgamma_test_data): Likewise.
10740 (log_test_data): Likewise.
10741 (log10_test_data): Likewise.
10742 (log1p_test_data): Likewise.
10743 (log2_test_data): Likewise.
10744 (pow_test_data): Likewise.
10745 (scalb_test_data): Likewise.
10746 (sin_test_data): Likewise.
10747 (sincos_test_data): Likewise.
10748 (sinh_test_data): Likewise.
10749 (tan_test_data): Likewise.
10750 (tanh_test_data): Likewise.
10751 (tgamma_test_data): Likewise.
10752 (y0_test_data): Likewise.
10753 (y1_test_data): Likewise.
10754 (yn_test_data): Likewise.
10755
66294491
JM
10756 [BZ #16167]
10757 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10758 argument being NaN and avoid computations with second argument in
10759 that case.
10760 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10761 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10762 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10763
1820b143
CL
107642013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10765
10766 * locale/iso-639.def: Add Chitwani Tharu (the).
10767
714bd261
AS
107682013-11-14 Andreas Schwab <schwab@suse.de>
10769
10770 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10771 word instead of empty string.
10772
7ab44563
AZ
107732013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10774
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10776 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10778 (__fe_nomask_env): Likewise.
10779
e8470ea2
SE
107802013-11-13 Steve Ellcey <sellcey@mips.com>
10781
10782 * benchtests/bench-timing.h: Include time.h.
10783
17c1d9f0
L
107842013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10785
10786 [BZ #15997]
10787 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10788 to 3.4.0 for x32.
10789 * sysdeps/unix/sysv/linux/configure: Regenerated.
10790
9310c284
JM
107912013-11-13 Joseph Myers <joseph@codesourcery.com>
10792
10793 [BZ #16151]
10794 * stdlib/strtod_l.c (round_and_return): Do not consider
10795 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10796 exponent one less than half the least subnormal exponent.
10797 * stdlib/test-strtod-round-data: Add more tests.
10798 * stdlib/tst-strtod-round.c (tests): Regenerated.
10799
7a2ad8cf
AZ
108002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10801
10802 [BZ #14143]
10803 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10804 (__fe_mask_env): Likewise.
10805 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10806 libm_hidden_proto and add function prototype.
10807 (__fe_mask_env): Add function prototype.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10809 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10811 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10813 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10814
50727aa7
MS
108152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10816
b2f386c1 10817 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10818 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10819
a615be46
MS
108202013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10821
10822 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10823 of htab_find_slot().
10824
7ddace62
DM
108252013-11-11 David S. Miller <davem@davemloft.net>
10826
10827 [BZ #16150]
10828 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10829 symbol in the non-vis3 case in static builds.
10830 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10831 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10832 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10833 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10834
9182aa67
JK
108352013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10836
10837 [BZ #387]
10838 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10839 it is empty.
10840
450a2e2d
AZ
108412013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10842
b2f386c1
SP
10843 * benchtests/Makefile: Add bench-strtod.
10844 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10845
8ec3f656
AS
108462013-11-11 Andreas Schwab <schwab@suse.de>
10847
10848 [BZ #16153]
10849 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10850 terminating NUL in key length.
10851
76a9b998
AZ
108522013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10853
10854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10855 Add artificial ODP entry for vDSO symbol for PPC64.
10856 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10857 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10858
e4368156
OB
108592013-11-07 Ondřej Bílka <neleai@seznam.cz>
10860
10861 [BZ #15374]
10862 * nss/getent.c (services_keys): Recognize services starting with digit.
10863
8d6bb57c
DM
108642013-11-06 David S. Miller <davem@davemloft.net>
10865
10866 [BZ #15985]
10867 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10868 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10869
e256c421
WN
108702013-11-06 Will Newton <will.newton@linaro.org>
10871
10872 * manual/memory.texi (Malloc Examples): Remove register
10873 keyword from examples.
10874
f6e12daa 108752013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10876
f6e12daa 10877 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10878
9d880655
AS
108792013-11-04 Joseph Myers <joseph@codesourcery.com>
10880
fd2f9486 10881 [BZ #6981]
9d880655
AS
10882 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10883 depending on [__GCC_IEC_559 > 0].
10884 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10885 depending on [__GCC_IEC_559_COMPLEX > 0].
10886
ae129d3c
CL
108872013-11-03 Chris Leonard <cjl@sugarlabs.org>
10888
10889 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10890 to iso-639.def.
10891
4a15c2a4 108922013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10893
10894 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10895
8b35e35d
OB
108962013-11-01 Ondřej Bílka <neleai@seznam.cz>
10897
10898 [BZ #16112]
10899 * malloc/malloc (malloc_info): Do not handle first bin as
10900 special case.
10901
1d70fd6c
CL
109022013-11-01 Chris Leonard <cjl@sugarlabs.org>
10903
10904 * locale/iso-639.def: Add Central Nahuatl (nhn).
10905
8c5c2600
BH
109062013-11-01 Bruno Haible <bruno@clisp.org>
10907
10908 [BZ #7003]
10909 * manual/math.texi (BSD Random): Specify range upper bound as
10910 in POSIX.
10911
da5579c2
CL
109122013-10-31 Chris Leonard <cjl@sugarlabs.org>
10913
10914 * locale/iso-639.def: Add Meadow Mari (mhr).
10915
5d30d853
OB
109162013-10-31 Ondřej Bílka <neleai@seznam.cz>
10917
10918 [BZ #14752], [BZ #15763]
10919 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10920 Validate name.
10921 * rt/tst_shm.c: Add test for escaping directory.
10922
a4966c61
AS
109232013-10-31 Andreas Schwab <schwab@suse.de>
10924
8a43e768 10925 [BZ #15917]
a4966c61
AS
10926 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10927 followed by 'x' as part of digit sequence.
10928 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10929
28d708c4
MAP
109302013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10931
10932 [BZ #16037]
10933 * configure.ac: allow GNU Make 4.0 and greater.
10934 * configure: Regenerated.
10935
a56ee40b
WN
109362013-10-30 Will Newton <will.newton@linaro.org>
10937
10938 [BZ #16038]
10939 * malloc/hooks.c (memalign_check): Limit alignment to the
10940 maximum representable power of two.
10941 * malloc/malloc.c (__libc_memalign): Likewise.
10942 * malloc/tst-memalign.c (do_test): Add test for very
10943 large alignment values.
10944 * malloc/tst-posix_memalign.c (do_test): Likewise.
10945
c6e4925d
OB
109462013-10-30 Ondřej Bílka <neleai@seznam.cz>
10947
10948 [BZ #11087]
10949 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10950 (munmap_chunk): Likewise.
10951 (mremap_chunk): Likewise.
10952
109532013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10954
8a43e768 10955 [BZ #15799]
bbea82f7
OB
10956 * stdlib/div.c (div): Remove obsolete code.
10957 * stdlib/ldiv.c (ldiv): Likewise.
10958 * stdlib/lldiv.c (lldiv): Likewise.
10959
977f4b31
SP
109602013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10961
10962 [BZ #16071]
10963 * nss/nss_files/files-XXX.c (get_contents_ret): New
10964 enumerator.
10965 (get_contents): New function.
10966 (internal_getent): Use it. Expand size of LINEBUFLEN.
10967
cb8a6dbd
MF
109682013-10-30 Mike Frysinger <vapier@gentoo.org>
10969
10970 * configure.in: Moved to ...
10971 * configure.ac: ... here. Change reference to configure.in
10972 to configure.ac.
10973 * sysdeps/arm/preconfigure.ac: ... here.
10974 configure.in to configure.ac.
10975 * sysdeps/gnu/configure.in: Moved to ...
10976 * sysdeps/gnu/configure.ac: ... here.
10977 * sysdeps/i386/configure.in: Moved to ...
10978 * sysdeps/i386/configure.ac: ... here.
10979 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10980 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10981 * sysdeps/mach/configure.in: Moved to ...
10982 * sysdeps/mach/configure.ac: ... here.
10983 * sysdeps/mach/hurd/configure.in: Moved to ...
10984 * sysdeps/mach/hurd/configure.ac: ... here.
10985 * sysdeps/powerpc/configure.in: Moved to ...
10986 * sysdeps/powerpc/configure.ac: ... here.
10987 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10988 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10989 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10990 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10991 * sysdeps/s390/s390-32/configure.in: Moved to ...
10992 * sysdeps/s390/s390-32/configure.ac: ... here.
10993 * sysdeps/s390/s390-64/configure.in: Moved to ...
10994 * sysdeps/s390/s390-64/configure.ac: ... here.
10995 * sysdeps/sh/configure.in: Moved to ...
10996 * sysdeps/sh/configure.ac: ... here.
10997 * sysdeps/sparc/configure.in: Moved to ...
10998 * sysdeps/sparc/configure.ac: ... here.
10999 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11000 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11001 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11002 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11003 * sysdeps/x86_64/configure.in: Moved to ...
11004 * sysdeps/x86_64/configure.ac: ... here.
11005 * sysdeps/x86_64/preconfigure.in: Moved to ...
11006 * sysdeps/x86_64/preconfigure.ac: ... here.
11007 * aclocal.m4: Change reference to configure.in to configure.ac.
11008 * config.h.in: Likewise.
11009 * manual/install.texi: Likewise.
11010 * manual/maint.texi: Likewise.
11011 * Makefile: Likewise.
11012 * malloc/Makefile: Likewise.
11013 * nscd/Makefile: Likewise.
11014 * Makeconfig: Change reference to configure.in and
11015 preconfigure.in to configure.ac and preconfigure.ac
11016 respectively.
11017 * INSTALL: Regenerated.
11018 * configure: Likewise.
11019 * sysdeps/gnu/configure: Likewise.
11020 * sysdeps/i386/configure: Likewise.
11021 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11022 * sysdeps/mach/configure: Likewise.
11023 * sysdeps/mach/hurd/configure: Likewise.
11024 * sysdeps/powerpc/configure: Likewise.
11025 * sysdeps/powerpc/powerpc32/configure: Likewise.
11026 * sysdeps/powerpc/powerpc64/configure: Likewise.
11027 * sysdeps/s390/s390-32/configure: Likewise.
11028 * sysdeps/s390/s390-64/configure: Likewise.
11029 * sysdeps/sh/configure: Likewise.
11030 * sysdeps/sparc/configure: Likewise.
11031 * sysdeps/unix/sysv/linux/configure: Likewise.
11032 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11033 * sysdeps/x86_64/configure: Likewise.
11034 * sysdeps/x86_64/preconfigure: Likewise.
11035
36a4953a
AS
110362013-10-29 Andreas Schwab <schwab@suse.de>
11037
11038 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11039
c79a1204
SP
110402013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11041
dfa1b402
SP
11042 * benchtests/pow-inputs: Add new inputs.
11043
54f73d9c
SP
11044 * benchtests/exp-inputs: Add new inputs.
11045
c79a1204
SP
11046 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11047 conditional check for return value.
11048 (__cos32): Likewise.
11049
67beb545 110502013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11051
11052 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11053 to provide a boost for large inputs with word alignment.
11054 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11055 implementation based on optimized PPC64 strcpy.
11056 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11057 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11058 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11059 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11060
151659f6
OB
110612013-10-25 Ondřej Bílka <neleai@seznam.cz>
11062
482a077e 11063 [BZ #2801]
151659f6
OB
11064 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11065
10b0f26b
OB
110662013-10-25 Ondřej Bílka <neleai@seznam.cz>
11067
11068 [BZ #14876]
11069 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11070 * time/tst-strptime.c (day_tests): Add testcase.
11071
ca42d35e
OB
110722013-10-25 Ondřej Bílka <neleai@seznam.cz>
11073
482a077e 11074 [BZ #14029]
ca42d35e
OB
11075 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11076
52e6d801
FB
110772013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11078
11079 [BZ #16074]
11080 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11081 MAP_FAILED on error.
11082
7cbcdb36
SP
110832013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11084
11085 [BZ #16072]
11086 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11087 heap for large requests.
11088
894f3f10
AM
110892013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11090
11091 [BZ #9954]
11092 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11093 result if the result has no associated interface.
11094 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11095 interface for all 127.X.Y.Z addresses.
11096
b85545a6
CL
110972013-10-24 Chris Leonard <cjl@sugarlabs.org>
11098
11099 * locale/iso-639.def: Add Ligurian (lij)
11100
d1f23d46
OB
111012013-10-21 Ondřej Bílka <neleai@seznam.cz>
11102
11103 [BZ #15825]
11104 * sunrpc/rpc_main.c: Document rpcgen -5.
11105
4db5b08f
MS
111062013-10-19 Michael Stahl <mstahl@redhat.com>
11107
11108 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11109
a471e96a
OB
111102013-10-19 Ondřej Bílka <neleai@seznam.cz>
11111
d1f23d46 11112 [BZ #10278]
a471e96a
OB
11113 * posix/glob.c: Match only directories when trailing slash is present.
11114 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11115 (main): Add testcase.
11116
45c30c61
OB
111172013-10-19 Ondřej Bílka <neleai@seznam.cz>
11118
11119 [BZ #15670]
11120 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11121
484c12fb
CD
111222013-10-18 Carlos O'Donell <carlos@redhat.com>
11123
3d7dc513
CD
11124 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11125 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11126 AUTH_DES and cindex for FIPS 140-2.
11127 (DES Encryption): Add cindex FIPS 46-3.
11128
484c12fb
CD
11129 * locale/locarchive.h (struct locarhandle): Add fname.
11130 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11131 if an optional argument was specified to --list-archive,
11132 otherwise NULL.
11133 * locale/programs/locarchive.c (show_archive_content): Take new
11134 argument fname and pass it via ah.fname to open_archive.
11135 * locale/programs/localedef.h: Update decl.
11136 (open_archive): If AH->fname is non-null, open that file
11137 rather than the default file name, and don't ignore ENOENT.
11138 (create_archive): Set AH.fname to NULL.
11139 (delete_locales_from_archive): Likewise.
11140 (add_locales_to_archive): Likewise.
11141 * locale/programs/locfile.c (write_all_categories): Likewise.
11142
3c8325fb
JM
111432013-10-18 Joseph Myers <joseph@codesourcery.com>
11144 Aldy Hernandez <aldyh@redhat.com>
11145
11146 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11147 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11148 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11149 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11150 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11151 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11152 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11153 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11154 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11155 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11156 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11157 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11158 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11159 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11160 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11161 Likewise.
11162 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11163 Likewise.
11164 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11165 Likewise.
11166 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11167 Likewise.
11168 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11169 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11170 Likewise.
11171 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11172 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11173 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11174 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11175 Likewise.
11176 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11177 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11178 * sysdeps/powerpc/preconfigure: Likewise.
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11180 Likewise.
11181 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11182 Replace contents of file by #include of <fenv_libc.h>.
11183 * sysdeps/powerpc/soft-fp/sfp-machine.h
11184 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11185 and <sys/prctl.h>.
11186 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11188 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11189 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11190 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11191 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11193 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11194 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11195 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11196 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11197 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11199 Allow copysignl PLT reference to be missing.
11200
5abe0682
RS
112012013-10-18 Richard Sandiford <richard@codesourcery.com>
11202 Joseph Myers <joseph@codesourcery.com
11203
11204 [BZ #15948]
11205 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11206 single character.
11207 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11208
c7738d08
SP
112092013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11210
11211 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11212 * elf/tst-tls1.c: Likewise.
11213 * elf/tst-tls10.h: Likewise.
11214 * elf/tst-tls14.c: Likewise.
11215 * elf/tst-tls2.c: Likewise.
11216 * elf/tst-tls3.c: Likewise.
11217 * elf/tst-tls4.c: Likewise.
11218 * elf/tst-tls5.c: Likewise.
11219 * elf/tst-tls6.c: Likewise.
11220 * elf/tst-tls7.c: Likewise.
11221 * elf/tst-tls8.c: Likewise.
11222 * elf/tst-tls9.c: Likewise.
11223 * elf/tst-tlsmod1.c: Likewise.
11224 * elf/tst-tlsmod13.c: Likewise.
11225 * elf/tst-tlsmod13a.c: Likewise.
11226 * elf/tst-tlsmod14a.c: Likewise.
11227 * elf/tst-tlsmod16a.c: Likewise.
11228 * elf/tst-tlsmod16b.c: Likewise.
11229 * elf/tst-tlsmod2.c: Likewise.
11230 * elf/tst-tlsmod3.c: Likewise.
11231 * elf/tst-tlsmod4.c: Likewise.
11232 * elf/tst-tlsmod5.c: Likewise.
11233 * elf/tst-tlsmod6.c: Likewise.
11234
0bfcf2c7
OB
112352013-10-18 Ondřej Bílka <neleai@seznam.cz>
11236
11237 [BZ #12486]
11238 * malloc/malloc.c: remove checks for statistics.
11239
264aad1e
OB
112402013-10-17 Ondřej Bílka <neleai@seznam.cz>
11241
11242 [BZ #15277]
11243 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11244 * inet/tst-network.c: Add testcase.
11245
b957ced8
AS
112462013-10-17 Andreas Schwab <schwab@suse.de>
11247
11248 [BZ #15218]
11249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11250 to determine canonical name.
11251
c5d5d574
OB
112522013-10-17 Ondřej Bílka <neleai@seznam.cz>
11253
11254 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11255 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11263 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11266 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11267 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11278 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11279 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11284 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11312
e5c2c2d0
JM
113132013-10-17 Joseph Myers <joseph@codesourcery.com>
11314
11315 [BZ #16041]
11316 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11317 make result into a quiet NaN.
11318
51ca9e29
JM
113192013-10-16 Joseph Myers <joseph@codesourcery.com>
11320
11321 * soft-fp/adddf3.c: Fix horizontal whitespace.
11322 * soft-fp/addsf3.c: Likewise.
11323 * soft-fp/addtf3.c: Likewise.
11324 * soft-fp/divdf3.c: Likewise.
11325 * soft-fp/divsf3.c: Likewise.
11326 * soft-fp/divtf3.c: Likewise.
11327 * soft-fp/double.h: Likewise.
11328 * soft-fp/eqdf2.c: Likewise.
11329 * soft-fp/eqsf2.c: Likewise.
11330 * soft-fp/eqtf2.c: Likewise.
11331 * soft-fp/extenddftf2.c: Likewise.
11332 * soft-fp/extended.h: Likewise.
11333 * soft-fp/extendsfdf2.c: Likewise.
11334 * soft-fp/extendsftf2.c: Likewise.
11335 * soft-fp/extendxftf2.c: Likewise.
11336 * soft-fp/fixdfdi.c: Likewise.
11337 * soft-fp/fixdfsi.c: Likewise.
11338 * soft-fp/fixdfti.c: Likewise.
11339 * soft-fp/fixsfdi.c: Likewise.
11340 * soft-fp/fixsfsi.c: Likewise.
11341 * soft-fp/fixsfti.c: Likewise.
11342 * soft-fp/fixtfdi.c: Likewise.
11343 * soft-fp/fixtfsi.c: Likewise.
11344 * soft-fp/fixtfti.c: Likewise.
11345 * soft-fp/fixunsdfdi.c: Likewise.
11346 * soft-fp/fixunsdfsi.c: Likewise.
11347 * soft-fp/fixunsdfti.c: Likewise.
11348 * soft-fp/fixunssfdi.c: Likewise.
11349 * soft-fp/fixunssfsi.c: Likewise.
11350 * soft-fp/fixunssfti.c: Likewise.
11351 * soft-fp/fixunstfdi.c: Likewise.
11352 * soft-fp/fixunstfsi.c: Likewise.
11353 * soft-fp/fixunstfti.c: Likewise.
11354 * soft-fp/floatdidf.c: Likewise.
11355 * soft-fp/floatdisf.c: Likewise.
11356 * soft-fp/floatditf.c: Likewise.
11357 * soft-fp/floatsidf.c: Likewise.
11358 * soft-fp/floatsisf.c: Likewise.
11359 * soft-fp/floatsitf.c: Likewise.
11360 * soft-fp/floattidf.c: Likewise.
11361 * soft-fp/floattisf.c: Likewise.
11362 * soft-fp/floattitf.c: Likewise.
11363 * soft-fp/floatundidf.c: Likewise.
11364 * soft-fp/floatundisf.c: Likewise.
11365 * soft-fp/floatunditf.c: Likewise.
11366 * soft-fp/floatunsidf.c: Likewise.
11367 * soft-fp/floatunsisf.c: Likewise.
11368 * soft-fp/floatunsitf.c: Likewise.
11369 * soft-fp/floatuntidf.c: Likewise.
11370 * soft-fp/floatuntisf.c: Likewise.
11371 * soft-fp/floatuntitf.c: Likewise.
11372 * soft-fp/fmadf4.c: Likewise.
11373 * soft-fp/fmasf4.c: Likewise.
11374 * soft-fp/fmatf4.c: Likewise.
11375 * soft-fp/gedf2.c: Likewise.
11376 * soft-fp/gesf2.c: Likewise.
11377 * soft-fp/getf2.c: Likewise.
11378 * soft-fp/ledf2.c: Likewise.
11379 * soft-fp/lesf2.c: Likewise.
11380 * soft-fp/letf2.c: Likewise.
11381 * soft-fp/muldf3.c: Likewise.
11382 * soft-fp/mulsf3.c: Likewise.
11383 * soft-fp/multf3.c: Likewise.
11384 * soft-fp/negdf2.c: Likewise.
11385 * soft-fp/negsf2.c: Likewise.
11386 * soft-fp/negtf2.c: Likewise.
11387 * soft-fp/op-1.h: Likewise.
11388 * soft-fp/op-2.h: Likewise.
11389 * soft-fp/op-4.h: Likewise.
11390 * soft-fp/op-8.h: Likewise.
11391 * soft-fp/op-common.h: Likewise.
11392 * soft-fp/quad.h: Likewise.
11393 * soft-fp/single.h: Likewise.
11394 * soft-fp/soft-fp.h: Likewise.
11395 * soft-fp/sqrtdf2.c: Likewise.
11396 * soft-fp/sqrtsf2.c: Likewise.
11397 * soft-fp/sqrttf2.c: Likewise.
11398 * soft-fp/subdf3.c: Likewise.
11399 * soft-fp/subsf3.c: Likewise.
11400 * soft-fp/subtf3.c: Likewise.
11401 * soft-fp/truncdfsf2.c: Likewise.
11402 * soft-fp/trunctfdf2.c: Likewise.
11403 * soft-fp/trunctfsf2.c: Likewise.
11404 * soft-fp/trunctfxf2.c: Likewise.
11405 * soft-fp/unorddf2.c: Likewise.
11406 * soft-fp/unordsf2.c: Likewise.
11407 * soft-fp/unordtf2.c: Likewise.
11408
9ebb0332
JM
114092013-10-15 Joseph Myers <joseph@codesourcery.com>
11410
11411 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11412 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11413
4b1a6d8b
OB
114142013-10-15 Ondřej Bílka <neleai@seznam.cz>
11415
11416 * elf/dl-libc.c: Clear initfini list after freeing.
11417
1e145589
JM
114182013-10-14 Joseph Myers <joseph@codesourcery.com>
11419
11420 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11421 * soft-fp/addsf3.c: Likewise.
11422 * soft-fp/addtf3.c: Likewise.
11423 * soft-fp/divdf3.c: Likewise.
11424 * soft-fp/divsf3.c: Likewise.
11425 * soft-fp/divtf3.c: Likewise.
11426 * soft-fp/double.h: Likewise.
11427 * soft-fp/eqdf2.c: Likewise.
11428 * soft-fp/eqsf2.c: Likewise.
11429 * soft-fp/eqtf2.c: Likewise.
11430 * soft-fp/extenddftf2.c: Likewise.
11431 * soft-fp/extended.h: Likewise.
11432 * soft-fp/extendsfdf2.c: Likewise.
11433 * soft-fp/extendsftf2.c: Likewise.
11434 * soft-fp/extendxftf2.c: Likewise.
11435 * soft-fp/fixdfdi.c: Likewise.
11436 * soft-fp/fixdfsi.c: Likewise.
11437 * soft-fp/fixdfti.c: Likewise.
11438 * soft-fp/fixsfdi.c: Likewise.
11439 * soft-fp/fixsfsi.c: Likewise.
11440 * soft-fp/fixsfti.c: Likewise.
11441 * soft-fp/fixtfdi.c: Likewise.
11442 * soft-fp/fixtfsi.c: Likewise.
11443 * soft-fp/fixtfti.c: Likewise.
11444 * soft-fp/fixunsdfdi.c: Likewise.
11445 * soft-fp/fixunsdfsi.c: Likewise.
11446 * soft-fp/fixunsdfti.c: Likewise.
11447 * soft-fp/fixunssfdi.c: Likewise.
11448 * soft-fp/fixunssfsi.c: Likewise.
11449 * soft-fp/fixunssfti.c: Likewise.
11450 * soft-fp/fixunstfdi.c: Likewise.
11451 * soft-fp/fixunstfsi.c: Likewise.
11452 * soft-fp/fixunstfti.c: Likewise.
11453 * soft-fp/floatdidf.c: Likewise.
11454 * soft-fp/floatdisf.c: Likewise.
11455 * soft-fp/floatditf.c: Likewise.
11456 * soft-fp/floatsidf.c: Likewise.
11457 * soft-fp/floatsisf.c: Likewise.
11458 * soft-fp/floatsitf.c: Likewise.
11459 * soft-fp/floattidf.c: Likewise.
11460 * soft-fp/floattisf.c: Likewise.
11461 * soft-fp/floattitf.c: Likewise.
11462 * soft-fp/floatundidf.c: Likewise.
11463 * soft-fp/floatundisf.c: Likewise.
11464 * soft-fp/floatunsidf.c: Likewise.
11465 * soft-fp/floatunsisf.c: Likewise.
11466 * soft-fp/floatuntidf.c: Likewise.
11467 * soft-fp/floatuntisf.c: Likewise.
11468 * soft-fp/floatuntitf.c: Likewise.
11469 * soft-fp/fmadf4.c: Likewise.
11470 * soft-fp/fmasf4.c: Likewise.
11471 * soft-fp/fmatf4.c: Likewise.
11472 * soft-fp/gedf2.c: Likewise.
11473 * soft-fp/gesf2.c: Likewise.
11474 * soft-fp/getf2.c: Likewise.
11475 * soft-fp/ledf2.c: Likewise.
11476 * soft-fp/lesf2.c: Likewise.
11477 * soft-fp/letf2.c: Likewise.
11478 * soft-fp/muldf3.c: Likewise.
11479 * soft-fp/mulsf3.c: Likewise.
11480 * soft-fp/multf3.c: Likewise.
11481 * soft-fp/negdf2.c: Likewise.
11482 * soft-fp/negsf2.c: Likewise.
11483 * soft-fp/negtf2.c: Likewise.
11484 * soft-fp/op-1.h: Likewise.
11485 * soft-fp/op-2.h: Likewise.
11486 * soft-fp/op-4.h: Likewise.
11487 * soft-fp/op-8.h: Likewise.
11488 * soft-fp/op-common.h: Likewise.
11489 * soft-fp/quad.h: Likewise.
11490 * soft-fp/single.h: Likewise.
11491 * soft-fp/soft-fp.h: Likewise.
11492 * soft-fp/sqrtdf2.c: Likewise.
11493 * soft-fp/sqrtsf2.c: Likewise.
11494 * soft-fp/sqrttf2.c: Likewise.
11495 * soft-fp/subdf3.c: Likewise.
11496 * soft-fp/subsf3.c: Likewise.
11497 * soft-fp/subtf3.c: Likewise.
11498 * soft-fp/truncdfsf2.c: Likewise.
11499 * soft-fp/trunctfdf2.c: Likewise.
11500 * soft-fp/trunctfsf2.c: Likewise.
11501 * soft-fp/trunctfxf2.c: Likewise.
11502 * soft-fp/unorddf2.c: Likewise.
11503 * soft-fp/unordsf2.c: Likewise.
11504 * soft-fp/unordtf2.c: Likewise.
11505
17c48a60
OB
115062013-10-14 Ondřej Bílka <neleai@seznam.cz>
11507
11508 [BZ #15672]
11509 * misc/error.c (error_tail): Fix possible buffer overflow.
11510
cabba934
OB
115112013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11512
11513 [BZ #13028]
11514 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11515 address.
11516
94bf958a
PM
115172013-10-14 P. J. McDermott <pj@pehjota.net>
11518
11519 [BZ #832]
11520 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11521 testing pipefail option.
11522
71b4dea7
JM
115232013-10-12 Joseph Myers <joseph@codesourcery.com>
11524
11525 * soft-fp/double.h: Indent preprocessor directives inside #if.
11526 * soft-fp/extended.h: Likewise.
11527 * soft-fp/op-2.h: Likewise.
11528 * soft-fp/op-4.h: Likewise.
11529 * soft-fp/op-common.h: Likewise.
11530 * soft-fp/quad.h: Likewise.
11531 * soft-fp/single.h: Likewise.
11532 * soft-fp/soft-fp.h: Likewise.
11533
55602758
YC
115342013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11535
11536 * iconv/iconv_prog.c: Fix typos.
11537 * stdio-common/psiginfo-data.h: Likewise.
11538
9cd83302
RT
115392013-10-12 Reuben Thomas <rrt@sc3d.org>
11540
11541 [BZ #15764]
11542 * locale/setlocale.c: Fix typo.
11543
99fd9f47
JM
115442013-10-12 Joseph Myers <joseph@codesourcery.com>
11545
b7ea74f0
JM
11546 [BZ #16036]
11547 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11548 signaling NaN arguments.
11549 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11550 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11551
8a509447
JM
11552 [BZ #14910]
11553 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11554 unordered operands.
11555 * soft-fp/gesf2.c (__gesf2): Likewise.
11556 * soft-fp/getf2.c (__getf2): Likewise.
11557 * soft-fp/ledf2.c (__ledf2): Likewise.
11558 * soft-fp/lesf2.c (__lesf2): Likewise.
11559 * soft-fp/letf2.c (__letf2): Likewise.
11560
98998e9f
JM
11561 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11562 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11563 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11564 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11565 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11566 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11567 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11568 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11569 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11570 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11571 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11572 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11573 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11574 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11575 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11576 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11577 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11578 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11579 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11580 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11581 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11582 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11583 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11584 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11585 * soft-fp/floattidf.c (__floattidf): Likewise.
11586 * soft-fp/floattisf.c (__floattisf): Likewise.
11587 * soft-fp/floattitf.c (__floattitf): Likewise.
11588 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11589 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11590 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11591 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11592 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11593 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11594 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11595 * soft-fp/gesf2.c (__gesf2): Likewise.
11596 * soft-fp/getf2.c (__getf2): Likewise.
11597 * soft-fp/ledf2.c (__ledf2): Likewise.
11598 * soft-fp/lesf2.c (__lesf2): Likewise.
11599 * soft-fp/letf2.c (__letf2): Likewise.
11600
8edc4a11
JM
11601 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11602 Undefine and redefine.
11603 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11604 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11605 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11606 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11607 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11608 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11609 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11610 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11611 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11612 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11613 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11614 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11615 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11616 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11617 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11618
8399acaf
JM
11619 [BZ #16032]
11620 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11621 without decrementing exponent if mantissa >= that for the
11622 denominator, not >.
11623 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11624 denominator, not >. Decrement exponent in < case instead of
11625 incrementing in >= case.
11626 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11627 without decrementing exponent if mantissa >= that for the
11628 denominator, not >.
11629
99fd9f47
JM
11630 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11631 computing saturated result for unsigned overflow.
11632
10e1cf6b
SP
116332013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11634 Jeff Law <law@redhat.com>
11635
11636 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11637 (atan2Mp): Add systemtap probe marker.
11638 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11639 (__ieee754_log): Add systemtap probe marker.
11640 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11641 (atanMp): Add systemtap probe marker.
11642 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11643 (tanMp): Add systemtap probe marker.
11644 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11645 (__slowexp): Add systemtap probe marker.
11646 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11647 (__slowpow): Add systemtap probe marker.
11648 * manual/probes.texi: Document probes.
11649
3d110c7c
EB
116502013-10-11 Eric Biggers <ebiggers3@gmail.com>
11651
11652 [BZ #15362]
11653 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11654 written.
11655 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11656 written.
11657 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11658 written to buffer but not flushed.
11659 * libio/iofwrite_u.c: Likewise.
11660 * libio/iopadn.c: Return bytes returned even if EOF was
11661 encountered.
11662 * libio/iowpadn.c: Likewise.
11663 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11664 if _IO_padn does not write the whole buffer.
11665 [!COMPILE_WPRINTF] (PAD): Likewise.
11666
75b4202a
DM
116672013-10-10 David S. Miller <davem@davemloft.net>
11668
11669 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11670 directory block.
11671
6c6352e6
JM
116722013-10-10 Joseph Myers <joseph@codesourcery.com>
11673
33b853c3
JM
11674 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11675 instead of FSF address.
11676 * soft-fp/fixdfti.c: Likewise.
11677 * soft-fp/fixsfti.c: Likewise.
11678 * soft-fp/fixtfti.c: Likewise.
11679 * soft-fp/fixunsdfti.c: Likewise.
11680 * soft-fp/fixunssfti.c: Likewise.
11681 * soft-fp/fixunstfti.c: Likewise.
11682 * soft-fp/floattidf.c: Likewise.
11683 * soft-fp/floattisf.c: Likewise.
11684 * soft-fp/floattitf.c: Likewise.
11685 * soft-fp/floatuntidf.c: Likewise.
11686 * soft-fp/floatuntisf.c: Likewise.
11687 * soft-fp/floatuntitf.c: Likewise.
11688 * soft-fp/trunctfxf2.c: Likewise.
11689
6c6352e6
JM
11690 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11691 * soft-fp/fixdfti.c: Likewise.
11692 * soft-fp/fixsfti.c: Likewise.
11693 * soft-fp/fixtfti.c: Likewise.
11694 * soft-fp/fixunsdfti.c: Likewise.
11695 * soft-fp/fixunssfti.c: Likewise.
11696 * soft-fp/fixunstfti.c: Likewise.
11697 * soft-fp/floattidf.c: Likewise.
11698 * soft-fp/floattisf.c: Likewise.
11699 * soft-fp/floattitf.c: Likewise.
11700 * soft-fp/floatuntidf.c: Likewise.
11701 * soft-fp/floatuntisf.c: Likewise.
11702 * soft-fp/floatuntitf.c: Likewise.
11703 * soft-fp/trunctfxf2.c: Likewise.
11704
3bf78b71
DM
117052013-10-10 David S. Miller <davem@davemloft.net>
11706
11707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11708
6f10289e
JM
117092013-10-10 Joseph Myers <joseph@codsourcery.com>
11710
bd878fc0
JM
11711 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11712 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11713 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11714 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11715 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11716 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11717 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11718
6f10289e
JM
11719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11720 for NaNs before doing comparisons on argument.
11721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11722 Likewise.
11723
321e2684
WN
117242013-10-10 Will Newton <will.newton@linaro.org>
11725
11726 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11727 passed to _int_memalign does not overflow.
11728
40fefba1
TR
117292013-10-10 Torvald Riegel <triegel@redhat.com>
11730
11731 * scripts/bench.pl: Add include-sources directive.
11732 * benchtests/README: Update documentation.
11733
2ae21ed2
JM
117342013-10-10 Joseph Myers <joseph@codesourcery.com>
11735
dcc2dd3f
JM
11736 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11737 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11738 instead of FP_INIT_ROUNDMODE.
11739 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11740 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11741
2ae21ed2
JM
11742 [BZ #16034]
11743 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11744 copy class of input value.
11745 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11746 not handle exceptions.
11747 * soft-fp/negsf2.c (__negsf2): Likewise.
11748 * soft-fp/negtf2.c (__negtf2): Likewise.
11749 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11750
cb8f9562
JM
117512013-10-09 Joseph Myers <joseph@codesourcery.com>
11752
11753 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11754 semicolon. From Linux kernel.
11755
5b60c59d
AB
117562013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11757
11758 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11759
b86835ca
YC
117602013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11761
11762 [BZ #156]
11763 * manual/socket.texi: Added statement about buffer
11764 for gethostbyname2_r.
11765
e7044ea7
OB
117662013-10-08 Ondřej Bílka <neleai@seznam.cz>
11767
11768 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11769 Use .p2align directive instead, throughout.
11770 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11771 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11772 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11773 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11774 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11775 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11776 * sysdeps/x86_64/strchr.S: Likewise.
11777 * sysdeps/x86_64/strrchr.S: Likewise.
11778
09544cbc
SP
117792013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11780
88576635
SP
11781 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11782
e7b2d1dd
SP
11783 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11784
09544cbc
SP
11785 * sysdeps/generic/math_private.h (__mpsin1): Remove
11786 declaration.
11787 (__mpcos1): Likewise.
11788 (__mpsin): New argument __range_reduce.
11789 (__mpcos): Likewise.
11790 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11791 (slow): Use __mpsin and __mpcos.
11792 (slow1): Likewise.
11793 (slow2): Likewise.
11794 (sloww): Likewise.
11795 (sloww1): Likewise.
11796 (sloww2): Likewise.
11797 (bsloww): Likewise.
11798 (bsloww1): Likewise.
11799 (bsloww2): Likewise.
11800 (cslow2): Likewise.
11801 (csloww): Likewise.
11802 (csloww1): Likewise.
11803 (csloww2): Likewise.
11804 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11805 range_reduce. Merge in __mpsin1.
11806 (__mpcos): Likewise.
11807 (__mpsin1): Remove.
11808 (__mpcos1): Likewise.
11809
7602d070
JM
118102013-10-07 Joseph Myers <joseph@codesourcery.com>
11811
11812 * locale/loadlocale.c (_nl_intern_locale_data): Use
11813 LOCFILE_ALIGNED_P.
11814 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11815 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11816 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11817 obstack data is appropriately aligned.
11818 (obstack_int32_grow_fast): Likewise.
11819 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11820 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11821 (add_locale_uint32_array): Likewise.
11822
a357259b
SP
118232013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11824
11825 * benchtests/Makefile: Remove ARGLIST and RET variables.
11826 ($(objpfx)bench-%.c): Pass only function name to the script.
11827 * benchtests/README: Update documentation.
11828 * benchtests/acos-inputs: Add new directives.
11829 * benchtests/acosh-inputs: Likewise.
11830 * benchtests/asin-inputs: Likewise.
11831 * benchtests/asinh-inputs: Likewise.
11832 * benchtests/atan-inputs: Likewise.
11833 * benchtests/atanh-inputs: Likewise.
11834 * benchtests/cos-inputs: Likewise.
11835 * benchtests/cosh-inputs: Likewise.
11836 * benchtests/exp-inputs: Likewise.
11837 * benchtests/log-inputs: Likewise.
11838 * benchtests/pow-inputs: Likewise.
11839 * benchtests/rint-inputs: Likewise.
11840 * benchtests/sin-inputs: Likewise.
11841 * benchtests/sinh-inputs: Likewise.
11842 * benchtests/tan-inputs: Likewise.
11843 * benchtests/tanh-inputs: Likewise.
11844 * scripts/bench.pl: Add support for new directives.
11845
9ec1b13d
AM
118462013-10-07 Alan Modra <amodra@gmail.com>
11847
11848 * README: Fix careless merge.
11849
8b7d57cd
AM
118502013-10-05 Alan Modra <amodra@gmail.com>
11851
11852 * NEWS: Mention powerpc64le support and bugs fixed.
11853 * README: Both big-endian and little-endian powerpc64 supported.
11854
7b7bab13
ST
118552013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11856
57f41c40
AS
11857 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11858 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11859 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11860 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11861
d39baad1
RA
118622013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11863
11864 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11865 match prototype.
11866
cd78f7e7
JM
118672013-10-04 Joseph Myers <joseph@codesourcery.com>
11868
29d73d86
JM
11869 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11870 Move -mhard-float appending from
11871 ports/sysdeps/powerpc/powerpc32/Makefile.
11872 [$(with-fp) = yes] (ASFLAGS): Likewise.
11873 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11874 * sysdeps/powerpc/nofpu: Move directory from
11875 ports/sysdeps/powerpc/nofpu.
11876 * sysdeps/powerpc/soft-fp: Move directory from
11877 ports/sysdeps/powerpc/soft-fp.
11878 * sysdeps/powerpc/powerpc32/405: Move directory from
11879 ports/sysdeps/powerpc/powerpc32/405.
11880 * sysdeps/powerpc/powerpc32/440: Move directory from
11881 ports/sysdeps/powerpc/powerpc32/440.
11882 * sysdeps/powerpc/powerpc32/464: Move directory from
11883 ports/sysdeps/powerpc/powerpc32/464.
11884 * sysdeps/powerpc/powerpc32/476: Move directory from
11885 ports/sysdeps/powerpc/powerpc32/476.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11887 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11889 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11891 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11893 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11895 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11896 * README: Update for powerpc-*-linux-gnu software floating point
11897 support in libc.
11898
e246b347
JM
11899 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11900 case to powerpc/powerpc32*.
11901 * sysdeps/unix/sysv/linux/configure: Regenerated.
11902
89c2003e
JM
11903 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11904 (_FPU_MASK_OM): Define as 0x04.
11905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11907 0x00c10080.
11908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11909 0x0000003c.
11910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11911
cd78f7e7
JM
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11913 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11914 getcontext_e500.
11915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11916 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11917 setcontext_e500.
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11919 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11920 and setcontext_e500.
11921
c755294d
CL
119222013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11923
11924 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11925
e16d221c
SP
119262013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11927
11928 * manual/threads.texi (Default Thread Attributes): Fix typo.
11929
215c7d43
WN
119302013-10-04 Will Newton <will.newton@linaro.org>
11931
11932 * malloc/Makefile: Add tst-memalign.
11933 * malloc/tst-memalign.c: New file.
11934
27d0461b
WN
11935 * malloc/tst-posix_memalign.c: Add comments.
11936 (do_test): Add comments and call free on all potentially
11937 allocated pointers. Add space after cast.
11938
1bc92709
WN
11939 * malloc/tst-pvalloc.c: Add comments.
11940 (do_test): Add comments and call free on all potentially
11941 allocated pointers. Remove duplicate check for NULL pointer.
11942 Add space after cast.
11943
66a9be9d
WN
11944 * malloc/tst-valloc.c: Add comments.
11945 (do_test): Add comments and call free on all potentially
11946 allocated pointers. Remove duplicate check for NULL pointer.
11947 Add space after cast.
11948
4cb81307
AM
119492013-10-04 Alan Modra <amodra@gmail.com>
11950
11951 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11952 Use stdint types in rather than __attribute__((mode())).
11953 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11954
f8e3e9f3
AM
119552013-10-04 Alan Modra <amodra@gmail.com>
11956
11957 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11958 Correct handling of unaligned relocs for little-endian.
11959 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11960
8f9ebb08
AM
119612013-10-04 Alan Modra <amodra@gmail.com>
11962
11963 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11964 * configure: Regenerate.
11965 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11966 * shlib-versions: Likewise.
11967
0edf96c2
AM
119682013-10-04 Alan Modra <amodra@gmail.com>
11969
11970 * string/tester.c (test_memrchr): Increment reported test cycle.
11971
e0f7a380
AM
119722013-10-04 Alan Modra <amodra@gmail.com>
11973
11974 * string/test-memcpy.c (do_one_test): When reporting errors, print
11975 string address and don't overrun end of string.
11976
466b0393
AM
119772013-10-04 Alan Modra <amodra@gmail.com>
11978
11979 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11980 insrdi. Make better use of reg selection to speed exit slightly.
11981 Schedule entry path a little better. Remove useless "are we done"
11982 checks on entry to main loop. Handle wrapping around zero address.
11983 Correct main loop count. Handle single left-over word from main
11984 loop inline rather than by using loop_small. Remove extra word
11985 case in loop_small caused by wrong loop count. Add little-endian
11986 support.
11987 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11988 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11989 cache hint.
11990 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11991 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11992 support. Avoid rlwimi.
11993 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11994
3be87c77
AM
119952013-10-04 Alan Modra <amodra@gmail.com>
11996
11997 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11998 insrdi. Formatting.
3be87c77
AM
11999 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12000 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12001 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12002 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12003 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12004 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12005
759cfef3
AM
120062013-10-04 Alan Modra <amodra@gmail.com>
12007
12008 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12009 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12010 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12011 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12012 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12013 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12014 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12015 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12016 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12017 use of regs. Use power7 mtocrf. Tidy function tails.
12018
fe6e95d7
AM
120192013-10-04 Alan Modra <amodra@gmail.com>
12020
12021 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12022 Formatting. Consistently use rXXX register defines or rN defines.
12023 Use early exit labels that avoid restoring unused non-volatile regs.
12024 Make cr field use more consistent with rWORDn compares. Rename
12025 regs used as shift registers for unaligned loop, using rN defines
12026 for short lifetime/multiple use regs.
12027 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12028 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12029 addi 1,1,64 to pop stack frame. Simplify return value code.
12030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12031
664318c3
AM
120322013-10-04 Alan Modra <amodra@gmail.com>
12033
12034 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12035 support. Correct typos, formatting. Optimize tail. Use insrdi
12036 rather than rlwimi.
12037 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12038 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12039 little-endian support. Correct typos.
12040 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12041 rather than rlwimi.
12042 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12043 in loop and entry code to keep "and." results.
12044 (strchr): Add little-endian support. Comment. Move cntlzd
12045 earlier in tail.
12046 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12047
43b84013
AM
120482013-10-04 Alan Modra <amodra@gmail.com>
12049
12050 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12051 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12052 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12053 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12054
8a7413f9
AM
120552013-10-04 Alan Modra <amodra@gmail.com>
12056
12057 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12058 (rTMP): Define as r11.
12059 (strcmp): Add little-endian support. Optimise tail.
12060 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12061 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12062 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12063 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12064 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12065 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12066 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12067
33ee81de
AM
120682013-10-04 Alan Modra <amodra@gmail.com>
12069
12070 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12071 little-endian support. Remove unnecessary "are we done" tests.
12072 Handle "s" wrapping around zero and extremely large "size".
12073 Correct main loop count. Handle single left-over word from main
12074 loop inline rather than by using small_loop. Correct comments.
12075 Delete "zero" tail, use "end_max" instead.
12076 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12077
db9b4570
AM
120782013-10-04 Alan Modra <amodra@gmail.com>
12079
12080 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12081 support. Don't branch over align.
12082 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12083 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12084 support. Rearrange tmp reg use to suit. Comment.
12085 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12086
f7c399cf
AM
120872013-10-04 Alan Modra <amodra@gmail.com>
12088
12089 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12090
0b2c2ace
AM
120912013-10-04 Alan Modra <amodra@gmail.com>
12092
12093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12094 conditional form of branch and link when obtaining pc.
12095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12096
02f04a6c
AM
120972013-10-04 Alan Modra <amodra@gmail.com>
12098
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12100 HIWORD/LOWORD.
12101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12103
9b874b2f
AM
121042013-10-04 Alan Modra <amodra@gmail.com>
12105
12106 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12107 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12108 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12109 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12110 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12111 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12112 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12113 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12114 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12115 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12116
be1e5d31
AB
121172013-10-04 Anton Blanchard <anton@au1.ibm.com>
12118 Alistair Popple <alistair@ozlabs.au.ibm.com>
12119 Alan Modra <amodra@gmail.com>
12120
12121 [BZ #15723]
12122 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12123 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12124 _dl_hwcap access for little-endian.
12125 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12126 destroy vmx regs when saving unaligned.
12127 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12128 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12129 destroy vmx regs when saving unaligned.
12130
fef13a78
AM
121312013-10-04 Alan Modra <amodra@gmail.com>
12132
12133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12134 Don't use a union to pack hi/low value.
12135
76a66d51
AB
121362013-10-04 Anton Blanchard <anton@au1.ibm.com>
12137
12138 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12139 for little-endian.
12140 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12142 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12143 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12144 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12145
6a31fe7f
AM
121462013-10-04 Alan Modra <amodra@gmail.com>
12147
12148 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12149 constants to usual value for .cst8 section, and remove redundant
12150 high address load.
12151 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12152 constant for 0x1p52. Load little-endian words of double from
12153 correct stack offsets.
12154
7b88401f
AM
121552013-10-04 Alan Modra <amodra@gmail.com>
12156
12157 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12158 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12159 words of double from correct stack offsets.
12160 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12161 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12162 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12163 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12164 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12165 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12166 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12167 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12168 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12169 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12170 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12171 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12172 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12173 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12174 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12175 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12176 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12177
9c008155
AM
121782013-10-04 Alan Modra <amodra@gmail.com>
12179
12180 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12181 64-bit int/double union.
12182 (_FPU_SETCW): Likewise.
12183 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12184 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12185
da13146d
AM
121862013-10-04 Alan Modra <amodra@gmail.com>
12187
12188 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12189 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12190
603e8410
AM
121912013-10-04 Alan Modra <amodra@gmail.com>
12192
12193 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12194 use vector int constants.
12195 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12196
4a28b3ca
AB
121972013-10-04 Anton Blanchard <anton@au1.ibm.com>
12198
12199 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12200 array with long long.
12201 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12202 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12203 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12204 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12205 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12206 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12207 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12208 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12209 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12210 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12211 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12212 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12213 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12214
2ca85d2b
AB
122152013-10-04 Anton Blanchard <anton@au1.ibm.com>
12216
12217 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12218 (__signbit): Likewise. Correct for little-endian.
12219 (__signbitl): Call __signbit.
12220 (lrint): Correct for little-endian.
12221 (lrintf): Call lrint.
12222
62a728ae
AM
122232013-10-04 Alan Modra <amodra@gmail.com>
12224
12225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12226 union 32-bit int array member with 64-bit int array.
12227 (t515, tm256): Double rather than long double.
12228 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12229
32c301df
AM
122302013-10-04 Alan Modra <amodra@gmail.com>
12231
12232 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12233 Delete.
12234 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12235 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12236 version of math_ldbl.h.
12237
650ef4bd
AM
122382013-10-04 Alan Modra <amodra@gmail.com>
12239
12240 [BZ #15734], [BZ #15735]
12241 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12242 all uses of ieee875 long double macros and unions. Simplify test
12243 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12244 ldbl_extract_mantissa value for ix,iy exponents. Properly
12245 normalize after ldbl_extract_mantissa, and don't add hidden bit
12246 already handled. Don't treat low word of ieee854 mantissa like
12247 low word of IBM long double and mask off bit when testing for
12248 zero.
12249 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12250 all uses of ieee875 long double macros and unions. Simplify tests
12251 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12252 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12253 two1022, instead use their values. Recognise that tests for large
12254 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12255 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12256 Rewrite all uses of ieee875 long double macros and unions. Simplify
12257 test for 0.0L and nan. Correct negation.
12258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12259 ieee875 long double macros and unions. Correct output for large
12260 magnitude x. Correct absolute value calculation.
12261 (__erfcl): Likewise.
12262 * math/libm-test.inc: Add tests for errors discovered in IBM long
12263 double versions of fmodl, remainderl, erfl and erfcl.
12264
765714ca
AM
122652013-10-04 Alan Modra <amodra@gmail.com>
12266
12267 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12268 all uses of ieee854 long double macros and unions. Simplify tests
12269 for long doubles that are fully specified by the high double.
12270 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12271 Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12273 Remove dead code too.
12274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12275 (__ieee754_ynl): Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12279 Remove dead code too.
12280 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12284 Simplify.
12285 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12286 Simplify.
12287 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12290 Comment on variable precision.
12291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12293 Likewise.
12294 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12298 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12299
4ebd120c
AM
123002013-10-04 Alan Modra <amodra@gmail.com>
12301
12302 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12303 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12304 all uses of ieee854 long double macros and unions.
12305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12311 Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12313 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12314 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12315 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12316 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12317 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12318 Simplify sign and nan test too.
12319 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12321 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12322 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12323 Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12325 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12326 Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12328 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12329 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12330 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12333
1b6adf88
AM
123342013-10-04 Alan Modra <amodra@gmail.com>
12335
12336 * stdio-common/printf_size.c (__printf_size): Don't use
12337 union ieee854_long_double in fpnum union.
12338 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12339 signbit macro to retrieve sign from long double.
12340 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12341 retrieve sign from long double.
12342 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12343 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12344 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12345 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12346 * math/test-misc.c (main): Don't use union ieee854_long_double.
12347
4cf69995
AM
123482013-10-04 Alan Modra <amodra@gmail.com>
12349
12350 [BZ #15680]
12351 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12352 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12353 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12354 calculation. Remove unnecessary test for denormal exponent.
12355 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12356 Correct handling of denormals. Avoid undefined shift behaviour.
12357 Correct normalisation of low mantissa when low double is denormal.
12358 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12359 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12360 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12361 Correct normalisation of low mantissa. Test for overflow of high
12362 mantissa and normalise.
12363 (ldbl_nearbyint): Use more readable constant for two52.
12364 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12365 (__mpn_construct_long_double): Fix test for overflow of high
12366 mantissa and correct normalisation. Avoid undefined shift.
12367
9605ca6c
AM
123682013-10-04 Alan Modra <amodra@gmail.com>
12369
12370 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12371 (union ibm_extended_long_double): Define as an array of ieee754_double.
12372 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12373 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12374 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12375 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12379 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12383
975569d0
JM
123842013-10-03 Joseph Myers <joseph@codesourcery.com>
12385
d3d23756
JM
12386 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12387 page size instead of calling getpagesize.
12388
975569d0
JM
12389 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12390 (LOCFILE_ALIGN_MASK): Likewise.
12391 (LOCFILE_ALIGN_UP): Likewise.
12392 (LOCFILE_ALIGNED_P): Likewise.
12393 * locale/programs/ld-collate.c (collate_output): Use the new
12394 macros instead of __alignof__ (int32_t).
12395 * locale/weight.h (findidx): Likewise.
12396
b1fe1f2b
OB
123972013-10-03 Ondřej Bílka <neleai@seznam.cz>
12398
12399 [BZ #431]
12400 * manual/string.texi: Fix strncat and wcsncat.
12401
5f855e35
BM
124022013-10-03 Brooks Moses <bmoses@google.com>
12403
12404 [BZ #15915]
12405 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12406 * Makerules: ...here, and adjust associated comments.
12407
3cef6009
WN
124082013-10-02 Will Newton <will.newton@linaro.org>
12409
12410 * malloc/Makefile: Add tst-pvalloc.
12411 * malloc/tst-pvalloc.c: New file.
12412
7815420b
WN
124132013-10-02 Will Newton <will.newton@linaro.org>
12414
12415 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12416 improve test coverage.
12417
4868b204
WN
124182013-10-02 Will Newton <will.newton@linaro.org>
12419
12420 * malloc/Makefile: Add tst-posix_memalign.
12421 * malloc/tst-posix_memalign.c: New file.
12422
29c793b3
EB
124232013-10-01 Eric Blake <eblake@redhat.com>
12424
12425 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12426 Use __THROWNL rather than __THROW on static functions.
12427
fd967522
PM
124282013-09-30 Petr Machata <pmachata@redhat.com>
12429
12430 * elf/elf.h (R_AARCH64_ABS16): New macro.
12431 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12432 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12433 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12434 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12435 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12436 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12437 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12438 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12439 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12440 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12441 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12442 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12443 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12444 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12445 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12446 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12447 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12448 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12449 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12450 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12451 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12452 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12453 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12454 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12455 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12456 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12457 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12458 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12459 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12460 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12461 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12462 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12463 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12464 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12465 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12466 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12467 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12468 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12469 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12470 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12471 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12472 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12473 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12474 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12475 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12476 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12477 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12478 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12479 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12480 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12481 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12482 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12483 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12484 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12485 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12486 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12487 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12488 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12489 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12490 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12491 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12492 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12493 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12494 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12495 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12496 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12497 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12498 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12499 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12500 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12501 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12502 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12503 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12504 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12505 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12506 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12507 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12508 (R_AARCH64_TLSDESC_LDR): Likewise.
12509 (R_AARCH64_TLSDESC_ADD): Likewise.
12510 (R_AARCH64_TLSDESC_CALL): Likewise.
12511
b2179107
AS
125122013-09-30 Andreas Schwab <schwab@suse.de>
12513
12514 [BZ #15048]
12515 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12516 the nss database lookup.
12517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12519
47f28d0a
MF
125202013-09-28 Mike Frysinger <vapier@gentoo.org>
12521
12522 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12523
125242013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12525
12526 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12527 ${Bash-specific parameter/pattern/string} parameter expansion.
12528 * sysdeps/unix/make-syscalls.sh: Likewise.
12529
f4518a17
KK
125302013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12531
12532 * sysdeps/sh/stackguard-macros.h: New file.
12533
dc1a95c7
OB
125342013-09-26 Ondřej Bílka <neleai@seznam.cz>
12535
12536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12538 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12539 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12540 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12541 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12542
5ebbff8f
AZ
125432013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12544
12545 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12546 Fix thread ID register.
12547
4fd2cf9f
JM
125482013-09-25 Joseph Myers <joseph@codesourcery.com>
12549
12550 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12551 [POSIX || UNIX98]: Require rather than permitting all symbols from
12552 <time.h>.
12553 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12554 element of struct sched_param.
12555 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12556 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12557 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12558 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12559 constant.
12560
12c22bc4
OL
125612013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12562
12563 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12564 argument calculation.
12565
a03d8ea7
JM
125662013-09-24 Joseph Myers <joseph@codesourcery.com>
12567
12568 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12569 Expect macro.
12570 [POSIX] (pthread_attr_t): Do not require type.
12571 [POSIX] (pthread_cond_t): Likewise.
12572 [POSIX] (pthread_condattr_t): Likewise.
12573 [POSIX] (pthread_key_t): Likewise.
12574 [POSIX] (pthread_mutex_t): Likewise.
12575 [POSIX] (pthread_mutexattr_t): Likewise.
12576 [POSIX] (pthread_once_t): Likewise.
12577 [POSIX] (pthread_t): Likewise.
12578 [POSIX-based standards] (pthread_atfork): Expect function.
12579
6055173a
JM
125802013-09-24 Joseph Myers <joseph@codesourcery.com>
12581 Richard Sandiford <richard@codesourcery.com>
12582
12583 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12584 (swap_endianness_p): New extern variable.
12585 (set_big_endian): New inline function.
12586 (maybe_swap_uint32): Likewise.
12587 (maybe_swap_uint32_array): Likewise.
12588 (maybe_swap_uint32_obstack): Likewise.
12589 * locale/programs/locfile.c: Include <stdbool.h>.
12590 (swap_endianness_p): New variable.
12591 (add_locale_uint32): Call maybe_swap_uint32.
12592 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12593 (write_locale_data): Call maybe_swap_uint32_array.
12594 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12595 maybe_swap_uint32.
12596 (obstack_int32_grow_fast): Likewise.
12597 (output_weightwc): Call maybe_swap_uint32_obstack.
12598 (collate_output): Likewise.
12599 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12600 (OPT_LITTLE_ENDIAN): Likewise.
12601 (options): Add --little-endian and --big-endian options.
12602 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12603 * locale/programs/locarchive.c: Include "locfile.h".
12604 (GET): New macro.
12605 (SET): Likewise.
12606 (INC): Likewise.
12607 (create_archive): Use the new macros to access fields of
12608 structures directly mapped from or written to locale archives.
12609 (oldlocrecentcmp): Likewise.
12610 (enlarge_archive): Likewise.
12611 (insert_name): Likewise.
12612 (add_alias): Likewise.
12613 (add_locale): Likewise.
12614 (delete_locales_from_archive): Likewise.
12615 (show_archive_content): Likewise.
12616 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12617 locale data.
12618
39bf0bb4
RM
126192013-09-24 Roland McGrath <roland@hack.frob.com>
12620
12621 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12622 http://www.gnu.org/doc/freemanuals.texi.
12623 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12624
f02eed10
WN
126252013-09-24 Will Newton <will.newton@linaro.org>
12626
12627 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12628 macro.
12629
a3a6c312
JM
126302013-09-23 Joseph Myers <joseph@codesourcery.com>
12631
12632 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12633 unsigned char.
12634
107375ac
MR
126352013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12636
12637 * manual/threads.texi (POSIX Threads): Fix a typo.
12638
141f3a77
SP
126392013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12640
303e567a
SP
12641 [BZ #14547]
12642 * string/tst-strcoll-overflow.c: New test case.
12643 * string/Makefile (xtests): Add tst-strcoll-overflow.
12644 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12645 cache if string sizes may cause integer overflow.
12646
141f3a77
SP
12647 [BZ #14547]
12648 * string/strcoll_l.c (coll_seq): New members rule, idx,
12649 save_idx and back_us.
12650 (get_next_seq_nocache): New function.
12651 (do_compare_nocache): New function.
12652 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12653 when malloc fails.
12654
c61b4d41
CD
126552013-09-23 Carlos O'Donell <carlos@redhat.com>
12656
0b1f8e35
CD
12657 [BZ #15754]
12658 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12659 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12660 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12661
c61b4d41
CD
12662 [BZ #15754]
12663 * elf/Makefile (tests): Add tst-ptrguard1.
12664 (tests-static): Add tst-ptrguard1-static.
12665 (tst-ptrguard1-ARGS): Define.
12666 (tst-ptrguard1-static-ARGS): Define.
12667 * elf/tst-ptrguard1.c: New file.
12668 * elf/tst-ptrguard1-static.c: New file.
12669 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12670 * sysdeps/i386/stackguard-macros.h: Likewise.
12671 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12672 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12673 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12674 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12675 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12676 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12677
126782013-09-23 Hector Marco <hecmargi@upv.es>
12679 Ismael Ripoll <iripoll@disca.upv.es>
12680 Carlos O'Donell <carlos@redhat.com>
12681
12682 [BZ #15754]
12683 * sysdeps/generic/stackguard-macros.h: Define
12684 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12685 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12686 Define __pointer_chk_guard_local.
12687 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12688 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12689
f5f4e7b4
VV
126902013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12691
12692 [BZ #15859]
12693 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12694
5bb43a43
AS
126952013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12696
12697 * include/string.h (__ffs): Declare as hidden.
12698 * string/ffs.c (__ffs): Define as hidden.
12699 * sysdeps/i386/ffs.c (__ffs): Likewise.
12700 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12701 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12702 * sysdeps/s390/ffs.c (__ffs): Likewise.
12703 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12704
3ea5be54
AO
127052013-09-20 Alexandre Oliva <aoliva@redhat.com>
12706
ffb89e53
AO
12707 * NEWS: Mention malloc probes.
12708
322dea08
AO
12709 * malloc/arena.c (new_heap): New memory_heap_new probe.
12710 (grow_heap): New memory_heap_more probe.
12711 (shrink_heap): New memory_heap_less probe.
12712 (heap_trim): New memory_heap_free probe.
12713 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12714 (systrim): New memory_sbrk_less probe.
12715 * manual/probes.texi: Document them.
12716
655673f3
AO
12717 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12718 * manual/probes.texi: Document it.
12719
35fed6f1
AO
12720 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12721 (__libc_realloc): Add memory_realloc_retry probe.
12722 (__libc_memalign): Add memory_memalign_retry probe.
12723 (__libc_valloc): Add memory_valloc_retry probe.
12724 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12725 (__libc_calloc): Add memory_calloc_retry probe.
12726 * manual/probes.texi: Document them.
12727
6999d38c
AO
12728 * malloc/arena.c (get_free_list): Add probe
12729 memory_arena_reuse_free_list.
12730 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12731 and memory_arena_reuse.
12732 (arena_get2) [!PER_THREAD]: Likewise.
12733 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12734 memory_arena_reuse_realloc.
12735 * manual/probes.texi: Document them.
12736
0653427f
AO
12737 * malloc/malloc.c (__libc_free): Add
12738 memory_mallopt_free_dyn_thresholds probe.
12739 (__libc_mallopt): Add multiple memory_mallopt probes.
12740 * manual/probes.texi: Document them.
12741
3ea5be54
AO
12742 * malloc/malloc.c: Include stap-probe.h.
12743 (__libc_mallopt): Add memory_mallopt probe.
12744 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12745 * manual/probes.texi: New.
12746 * manual/Makefile (chapters): Add probes.
12747 * manual/threads.texi: Set next node.
12748
e35696c3 127492013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12750
e35696c3
CL
12751 [BZ #15963, #13985]
12752 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12753 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12754 Add `Chinese' to `nan' entry name.
12755
4aafb73c
SP
127562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12757
12758 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12759 (POLYNOMIAL): Likewise.
12760 (TAYLOR_SINCOS): Likewise.
12761 (TAYLOR_SLOW): Likewise.
12762 (__sin): Use TAYLOR_SINCOS.
12763 (__cos): Likewise.
12764 (slow): Use TAYLOR_SLOW.
12765 (sloww): Likewise.
12766 (bsloww): Likewise.
12767 (csloww): Likewise.
12768
d84f25c7
LD
127692013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12770
12771 * stdlib/strtod_l.c: Fix buffer overrun.
12772
5eea0404
SP
127732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12774
7849ff93
SP
12775 * benchtests/Makefile (bench): Add sincos.
12776 * benchtests/bench-sincos.c: New file.
12777
cfa3c886
SP
12778 * math/libm-test.inc (cos_test_data): New test inputs.
12779 (sin_test_data): Likewise.
12780
b348e1e3
SP
12781 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12782 macro.
12783 (__sin): Use it.
12784 (__cos): Likewise.
12785 (slow1): Likewise.
12786 (slow2): Likewise.
12787 (sloww1): Likewise.
12788 (sloww2): Likewise.
12789 (bsloww1): Likewise.
12790 (bsloww2): Likewise.
12791 (cslow2): Likewise.
12792 (csloww1): Likewise.
12793 (csloww2): Likewise.
12794
6cce25f8
SP
12795 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12796 function.
12797 (__sin): Use it.
12798 (__cos): Likewise.
12799
5eea0404
SP
12800 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12801 gotos.
12802 (__cos): Likewise.
12803
9c21573c
MR
128042013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12805
12806 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12807 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12808 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12809 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12810 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12811 * elf/cache.c (print_entry): Handle the new cache flags.
12812
24d22e65
JM
128132013-09-18 Joseph Myers <joseph@codesourcery.com>
12814 Aldy Hernandez <aldyh@redhat.com>
12815
12816 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12817 Change condition to [_SOFT_FLOAT].
12818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12830 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12833 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12834 declaration.
12835
d13ef066
JM
128362013-09-18 Joseph Myers <joseph@codesourcery.com>
12837
2e071de0
JM
12838 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12839 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12840 (__longjmp): Use LOAD_GP to load saved GPRs.
12841 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12842 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12843 (__sigsetjmp): Use SAVE_GP to save GPRs.
12844
d13ef066
JM
12845 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12846 Do not append -msoft-float.
12847 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12848
97a0650b
SP
128492013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12850
12851 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12852
11ca09e9
JM
128532013-09-17 Joseph Myers <joseph@codesourcery.com>
12854
12855 [BZ #15966]
12856 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12857 (_FPU_GETCW): Use initial "__" on variable and field names but not
12858 on macro parameter name.
12859 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12860 parentheses around reference to macro parameter.
12861
08ffcf34
RS
128622013-09-13 Richard Sandiford <richard@codesourcery.com>
12863
12864 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12865 prototype.
12866 (ctype_startup): Use uint32_t in cast and sizeof for
12867 ctype->charnames.
12868
ae7080d3
JL
128692013-09-11 Jia Liu <proljc@gmail.com>
12870
12871 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12872 __daddr_t_defined.
12873 [__FreeBSD__]: Likewise.
12874
5905e7b3
OB
128752013-09-11 Ondřej Bílka <neleai@seznam.cz>
12876
12877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12878 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12879 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12880 (strchr): Remove __strchr_sse42 ifunc selection.
12881 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12882 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12883
b987c776
WN
128842013-09-11 Will Newton <will.newton@linaro.org>
12885
12886 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12887 parameter to RES. Remove hardcoded 1000 value.
12888 * benchtests/bench-skeleton.c (main): Pass RES parameter
12889 to TIMING_INIT and multiply result by 1000.
12890
ddf985af
AZ
128912013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12892
12893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12894
ffdd3181
AS
128952013-09-11 Andreas Schwab <schwab@suse.de>
12896
12897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12898 if not defined.
12899 (O_TMPFILE) [__USE_GNU]: Define.
12900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12901 Define.
12902
b73ed247
WN
129032013-09-11 Will Newton <will.newton@linaro.org>
12904
12905 [BZ #15857]
12906 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12907 does not overflow.
12908
55e17aad
WN
129092013-09-11 Will Newton <will.newton@linaro.org>
12910
12911 [BZ #15856]
12912 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12913 does not overflow.
12914
1159a193
WN
129152013-09-11 Will Newton <will.newton@linaro.org>
12916
12917 [BZ #15855]
12918 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12919 does not overflow.
12920
5905e7b3 129212013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12922
12923 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12924 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12927 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12928
cdfc721b
AM
129292013-09-10 Allan McRae <allan@archlinux.org>
12930
aa04af00
AM
12931 [BZ #15748]
12932 * manual/arith.texi (Parsing of Floats): Clarify
12933 cross-reference.
12934
cdfc721b
AM
12935 [BZ #15849]
12936 * manual/install.texi (Running make install): Mention
12937 --enable-pt-chown.
12938 * INSTALL: Regenerated.
12939
95e7cf29
MR
129402013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12941
12942 * csu/init-first.c (_init): Remove the !SHARED condition around
12943 FPU control word initialization.
12944 * elf/dl-support.c (_dl_fpu_control): New variable.
12945 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12946 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12947 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12948 * math/test-fpucw-static.c: New file.
12949 * math/test-fpucw-ieee.c: New file.
12950 * math/test-fpucw-ieee-static.c: New file.
12951 * math/Makefile (tests): Add `test-fpucw-ieee' and
12952 `$(tests-static)'.
12953 (tests-static): New variable.
12954 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12955 dependency to...
12956 [($(build-shared),yes)]
12957 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12958 ... this.
12959 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12960 New dependency.
12961
83e43bf0
AM
129622013-09-09 Allan McRae <allan@archlinux.org>
12963
a9f5ce09
AM
12964 [BZ #15939]
12965 * manual/string.texi (Collation Functions): Fix typo in
12966 strcoll example.
12967 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12968
34829bc2
AM
12969 [BZ #15893]
12970 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12971
3932737d
AM
12972 [BZ #15892]
12973 * libio/memstream.c (open_memstream): Fix memory leak.
12974 * libio/wmemstream.c (open_wmemstream): Likewise.
12975
83e43bf0
AM
12976 [BZ #15895]
12977 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12978
0c66b8e9
WN
129792013-09-09 Will Newton <will.newton@linaro.org>
12980
12981 * malloc/Makefile: Add tst-realloc to tests.
12982 * malloc/tst-realloc.c: New file.
12983
f6b00fd1
AM
129842013-09-09 Allan McRae <allan@archlinux.org>
12985
12986 [BZ #15844]
12987 * COPYING: Update from GNU website to fix FSF address.
12988 * COPYING.LIB: Likewise.
12989
eec55e16
DM
129902013-09-06 David S. Miller <davem@davemloft.net>
12991
12992 * po/zh_TW.po: Update Chinese (traditional) translation from
12993 translation project.
12994
1ecbb381
RS
129952013-09-06 Richard Sandiford <richard@codesourcery.com>
12996 Joseph Myers <joseph@codesourcery.com>
12997
12998 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12999 "localeinfo.h".
13000 (obstack_chunk_alloc): New macro.
13001 (obstack_chunk_free): Likewise.
13002 (record_offset): New function.
13003 (init_locale_data): Likewise.
13004 (align_locale_data): Likewise.
13005 (add_locale_empty): Likewise.
13006 (add_locale_raw_data): Likewise.
13007 (add_locale_raw_obstack): Likewise.
13008 (add_locale_string): Likewise.
13009 (add_locale_wstring): Likewise.
13010 (add_locale_uint32): Likewise.
13011 (add_locale_uint32_array): Likewise.
13012 (add_locale_char): Likewise.
13013 (start_locale_structure): Likewise.
13014 (end_locale_structure): Likewise.
13015 (start_locale_prelude): Likewise.
13016 (end_locale_prelude): Likewise.
13017 (write_locale_data): Take locale_file structure rather than an
13018 iovec.
13019 * locale/programs/locfile.h: Include "obstack.h".
13020 (struct locale_file): Change to store locale file contents instead
13021 of header.
13022 (init_locale_data): New prototype.
13023 (align_locale_data): Likewise.
13024 (add_locale_empty): Likewise.
13025 (add_locale_raw_data): Likewise.
13026 (add_locale_raw_obstack): Likewise.
13027 (add_locale_string): Likewise.
13028 (add_locale_wstring): Likewise.
13029 (add_locale_uint32): Likewise.
13030 (add_locale_uint32_array): Likewise.
13031 (add_locale_char): Likewise.
13032 (start_locale_structure): Likewise.
13033 (end_locale_structure): Likewise.
13034 (start_locale_prelude): Likewise.
13035 (end_locale_prelude): Likewise.
13036 (write_locale_data): Update prototype.
13037 * locale/programs/3level.h (struct TABLE): Remove result field.
13038 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13039 Use new locale_file interface.
13040 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13041 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13042 * locale/programs/ld-address.c (address_output): Use new
13043 locale_file interface.
13044 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13045 NO_ADD_LOCALE.
13046 (collate_finish): Don't call collseq_table_finalize.
13047 (collate_output): Use new locale_file interface.
13048 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13049 in file.
13050 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13051 (TABLE): Move defines earlier in file.
13052 (ELEMENT): Likewise.
13053 (DEFAULT): Likewise.
13054 (wctrans_table_add): Move macro and inline function earlier in
13055 file.
13056 (struct wctype_table): Move type earlier in file.
13057 (add_locale_wctype_table): New static prototype.
13058 (struct locale_ctype_t): Use logical types instead of struct iovec
13059 pointers for members.
13060 (ctype_output): Use new locale_file interface.
13061 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13062 new locale_file interface.
13063 (allocate_arrays): Update for use of new locale_file interface.
13064 * locale/programs/ld-identification.c (identification_output): Use
13065 new locale_file interface.
13066 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13067 * locale/programs/ld-messages.c (messages_output): Likewise.
13068 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13069 * locale/programs/ld-name.c (name_output): Likewise.
13070 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13071 * locale/programs/ld-paper.c (paper_output): Likewise.
13072 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13073 * locale/programs/ld-time.c (time_output): Likewise.
13074
e029e2e5
AZ
130752013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13076
13077 * benchtests/Makefile: Add memrchr benchmark.
13078 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13079 benchmark as memrchr.
13080 * benchtests/bench-memrchr-ifunc.c: New file.
13081 * benchtests/bench-memrchr.c: New file.
13082
bbf6e8e4
WN
130832013-09-06 Will Newton <will.newton@linaro.org>
13084
13085 * benchtests/Makefile (string-bench): Add memcpy.
13086
6c82a2f8
CD
130872013-09-05 Carlos O'Donell <carlos@redhat.com>
13088 Cong Wang <amwang@redhat.com>
13089
e732c5f0 13090 [BZ #15850]
6c82a2f8
CD
13091 * sysdeps/unix/sysv/linux/bits/in.h
13092 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13093 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13094 before __USE_KERNEL_IPV6_DEFS uses.
13095 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13096 IPPROTO_BEETPH.
13097 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13098 sockaddr_in6, or ipv6_mreq.
13099
5430fc65
AZ
131002013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13101
13102 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13103 memory access for final bytes in some large inputs.
13104 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13105
4660856c
AZ
131062013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13107
13108 * string/test-memrchr.c: New file.
13109 * string/test-memrchr-ifunc.c: New file.
13110 * string/Makefile: Add new memrchr testcase.
13111
bb8ea713
MF
131122013-09-05 Mike Frysinger <vapier@gentoo.org>
13113
13114 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13115 fanotify_init returns EPERM.
13116
b92a20b5
JM
131172013-09-04 Joseph Myers <joseph@codesourcery.com>
13118
13119 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13120 errors.
13121 (top level): Treat second token from macro or constant entries for
13122 allowed headers as allowed.
13123 * include/complex.h: Condition internal declarations on
13124 [!_ISOMAC].
13125 * include/fenv.h: Condition include of <stdbool.h> and internal
13126 declarations on [!_ISOMAC].
7447ccd9
CL
13127
131282013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13129
3e181dda 13130 [BZ #15923]
7447ccd9
CL
13131 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13132
3f2e46a4
JM
131332013-09-04 Joseph Myers <joseph@codesourcery.com>
13134
13135 * configure.in (--enable-versioning): Remove configure option.
13136 (libc_cv_asm_symver_directive): Remove configure test.
13137 (libc_cv_ld_version_script_option): Likewise.
13138 (VERSIONING): Remove variable and AC_SUBST.
13139 (DO_VERSIONING): Remove AC_DEFINE.
13140 * configure: Regenerated.
13141 * config.h.in (DO_VERSIONING): Remove macro.
13142 * Makerules [$(versioning) = yes]: Change conditionals to
13143 [$(build-shared) = yes].
13144 * config.make.in (versioning): Remove variable.
13145 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13146 [$(build-shared) = yes].
13147 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13148 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13149 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13150 [$(build-shared) = yes].
13151 * extra-lib.mk [$(versioning) = yes]: Likewise.
13152 * hurd/Makefile [$(versioning) = yes]: Likewise.
13153 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13154 [SHARED].
13155 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13156 [SHARED].
13157 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13158 [SHARED && !NO_HIDDEN].
13159 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13160 [SHARED].
13161 [SHARED && DO_VERSIONING]: Likewise..
13162 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13163 [$(build-shared) = yes].
13164 * manual/install.texi (--disable-versioning): Remove
13165 documentation.
13166 * INSTALL: Regenerated.
13167 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13168 to [SHARED].
13169 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13170 [$(build-shared) = yes].
13171 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13172 * sysdeps/i386/i686/multiarch/strstr-c.c
13173 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13174 [SHARED && !NO_HIDDEN].
13175 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13176 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13177 * sysdeps/powerpc/powerpc32/dl-machine.c
13178 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13179 * sysdeps/powerpc/powerpc32/sysdep.h
13180 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13181 to [SHARED && PIC && !NO_HIDDEN].
13182 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13183 conditional to [SHARED].
13184
44558701
WN
131852013-09-04 Will Newton <will.newton@linaro.org>
13186
13187 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13188 * benchtests/bench-string.h: Include bench-timing.h instead
13189 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13190 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13191 call to HP_TIMING_DIFF_INIT.
13192 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13193 instead of hp-timing.h macros.
13194 * benchtests/bench-memchr.c: Likewise.
13195 * benchtests/bench-memcmp.c: Likewise.
13196 * benchtests/bench-memcpy.c: Likewise.
13197 * benchtests/bench-memmem.c: Likewise.
13198 * benchtests/bench-memmove.c: Likewise.
13199 * benchtests/bench-memset.c: Likewise.
13200 * benchtests/bench-rawmemchr.c: Likewise.
13201 * benchtests/bench-strcasecmp.c: Likewise.
13202 * benchtests/bench-strcasestr.c: Likewise.
13203 * benchtests/bench-strcat.c: Likewise.
13204 * benchtests/bench-strchr.c: Likewise.
13205 * benchtests/bench-strcmp.c: Likewise.
13206 * benchtests/bench-strcpy.c: Likewise.
13207 * benchtests/bench-strcpy_chk.c: Likewise.
13208 * benchtests/bench-strlen.c: Likewise.
13209 * benchtests/bench-strncasecmp.c: Likewise.
13210 * benchtests/bench-strncat.c: Likewise.
13211 * benchtests/bench-strncmp.c: Likewise.
13212 * benchtests/bench-strncpy.c: Likewise.
13213 * benchtests/bench-strnlen.c: Likewise.
13214 * benchtests/bench-strpbrk.c: Likewise.
13215 * benchtests/bench-strrchr.c: Likewise.
13216 * benchtests/bench-strspn.c: Likewise.
13217 * benchtests/bench-strstr.c: Likewise.
13218
cae16d66
WN
132192013-09-04 Will Newton <will.newton@linaro.org>
13220
13221 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13222
ffa3cd7f
JM
132232013-09-03 Joseph Myers <joseph@codesourcery.com>
13224
13225 [BZ #15427]
13226 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13227 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13228 * math/libm-test.inc (lgamma_test_data): Add more tests.
13229 * sysdeps/i386/fpu/libm-test-ulps: Update.
13230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13231
8f02859f
OB
132322013-09-03 Ondřej Bílka <neleai@seznam.cz>
13233
13234 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13235 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13236 Add ifunc.
13237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13238 Add strcmp-sse2-unaligned
13239 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13240
18d43716
MF
132412013-09-02 Mike Frysinger <vapier@gentoo.org>
13242
13243 * Versions.def (libc): Add GLIBC_2.19.
13244
ac444012
MF
132452013-09-02 Mike Frysinger <vapier@gentoo.org>
13246
13247 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13248 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13249
b7835e32
JM
132502013-09-02 Joseph Myers <joseph@codesourcery.com>
13251
13252 [BZ #14155]
13253 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13254 intermediate calculations in recurrence.
13255 (__ieee754_ynf): Likewise.
13256 * math/libm-test.inc (jn_test_data): Do not allow spurious
13257 underflow exception. Add more tests.
13258 (yn_test_data): Add more tests.
13259 * sysdeps/i386/fpu/libm-test-ulps: Update.
13260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13261
8220f4f0
OB
132622013-09-02 Ondřej Bílka <neleai@seznam.cz>
13263
13264 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13265
f24a6d08
OB
132662013-08-30 Ondřej Bílka <neleai@seznam.cz>
13267
13268 * csu/init-first.c: Fix then/than typos.
13269 * locale/programs/ld-collate.c: Likewise.
13270 * locale/programs/linereader.h: Likewise.
13271 * manual/charset.texi: Likewise.
13272 * manual/filesys.texi: Likewise.
13273 * manual/stdio.texi: Likewise.
13274 * manual/string.texi: Likewise.
13275 * stdlib/fmtmsg.c: Likewise.
13276 * sysdeps/i386/stpncpy.S: Likewise.
13277 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13278 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13279 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13280 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13281
382466e0
OB
132822013-08-30 Ondřej Bílka <neleai@seznam.cz>
13283
13284 * elf/dl-open.c: Fix typos.
13285 * iconvdata/gbbig5.c: Likewise.
13286 * iconvdata/iso-2022-jp.c: Likewise.
13287 * iconv/gconv_int.h: Likewise.
13288 * iconv/loop.c: Likewise.
13289 * nis/rpcsvc/nis.h: Likewise.
13290 * resolv/ns_name.c: Likewise.
13291 * stdio-common/vfscanf.c: Likewise.
13292 * streams/stropts.h: Likewise.
13293 * sunrpc/rpc_thread.c: Likewise.
13294 * sysdeps/i386/strpbrk.S: Likewise.
13295 * sysdeps/ieee754/k_standard.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13298 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13299 * sysdeps/mach/hurd/profil.c: Likewise.
13300 * sysdeps/s390/dl-procinfo.h: Likewise.
13301 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13302 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13303 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13304 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13305 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13306
0186c6e9
OB
133072013-08-30 Ondřej Bílka <neleai@seznam.cz>
13308
13309 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13311
d4e16af1
OB
133122013-08-29 Ondřej Bílka <neleai@seznam.cz>
13313
13314 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13315 aix specific files.
13316 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13317 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13318 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13319 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13320 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13321 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13322 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13323 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13324
88335980
TS
133252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13326 Roland McGrath <roland@hack.frob.com>
13327
13328 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13329 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13330
ed479b02
ST
133312013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13332
13333 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13334 __executable_start symbol instead of _start.
13335
f1cc4c86
TS
133362013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13337
d821f07c
TS
13338 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13339 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13340 Move macros to...
13341 * sysdeps/gnu/ldsodefs.h: ... this new file.
13342
c54290cf
TS
13343 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13344 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13345 instead of ELFOSABI_LINUX.
13346
0007fc9b 13347 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13348 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13349 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13350 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13351 Likewise.
13352 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13353 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13355 Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13357 (ibm_extended_long_double): Add ieee_nan member.
13358 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13359 (do_test): New function.
13360
f1cc4c86
TS
13361 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13362 TEST_TRUNC.
13363 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13364 functions, renamed from truncdfsf_test, trunctfsf_test,
13365 trunctfdf_test.
13366 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13367 functions.
13368 (do_test): Run all these.
13369
6f65e668
OB
133702013-08-29 Ondřej Bílka <neleai@seznam.cz>
13371
13372 * argp/argp-help.c: Fix typos.
13373 * argp/argp-parse.c: Likewise.
13374 * debug/backtracesyms.c: Likewise.
13375 * elf/elf.h: Likewise.
13376 * malloc/malloc.c: Likewise.
13377 * nis/nis_print.c: Likewise.
13378 * resolv/res_comp.c: Likewise.
13379 * stdlib/stdlib.h: Likewise.
13380 * sunrpc/clnt_tcp.c: Likewise.
13381 * sunrpc/clnt_udp.c: Likewise.
13382 * sunrpc/clnt_unix.c: Likewise.
13383 * sysdeps/unix/bsd/ptsname.c: Likewise.
13384 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13385 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13387 Likewise.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13389 Likewise.
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13391 Likewise.
6f65e668
OB
13392 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13393
3a309239
SP
133942013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13395
13396 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13398
3b813b29
MF
133992013-08-27 Mike Frysinger <vapier@gentoo.org>
13400
13401 [BZ #15897]
13402 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13403 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13404 ($(objpfx)bug-dl-leaf): New rule.
13405 ($(objpfx)bug-dl-leaf.so): Likewise.
13406 ($(objpfx)bug-dl-leaf.out): Likewise.
13407 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13408 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13409 * dlfcn/bug-dl-leaf.c: New test.
13410 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13411 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13412 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13413 (dlclose): Likewise.
13414 (dlmopen): Likewise.
13415
8cc3269f
RM
134162013-08-27 Roland McGrath <roland@hack.frob.com>
13417
7f9d0034
RM
13418 * include/netdb.h [!_ISOMAC]:
13419 Don't include <tls.h>.
13420 (h_errno, __libc_h_errno): Move declaration and macros out of
13421 [_LIBC_REENTRANT].
13422
fb431262
RM
13423 * include/resolv.h [_RESOLV_H_]:
13424 Don't include <tls.h>.
13425 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13426 * resolv/res_libc.c: Don't include <tls.h>.
13427 (_res): Use __attribute__ ((nocommon)) in place of
13428 __attribute__ ((section (".bss"))).
13429
bd81123a
RM
13430 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13431 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13432
c4e42566
RM
13433 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13434
f890a59b
RM
13435 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13436 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13437
13438 * resolv/res_mkquery.c: Include <sys/time.h>.
13439
5d1f0a09
RM
13440 * inet/ifreq.c: Moved to ...
13441 * sysdeps/unix/ifreq.c: ... here.
13442 * inet/ifreq.c: New file, true stub version.
13443
6fcf28b3
RM
13444 * socket/sa_len.c: New file.
13445 * socket/Makefile (aux): Add it.
13446 * sysdeps/unix/sysv/linux/Makefile
13447 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13448 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13449 and #include <socket/sa_len.c>.
13450 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13451 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13452
e041fb8b
RM
13453 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13454 * bits/socket.h: ... here.
13455
8cc3269f
RM
13456 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13457 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13458 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13459
5d228a43
AS
134602013-08-27 Andreas Schwab <schwab@suse.de>
13461
45b8accc
AS
13462 [BZ #15736]
13463 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13464 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13465 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13466 * string/test-strcasecmp.c (test_main): Run tests in several
13467 locales.
13468 * string/test-strncasecmp.c (test_main): Likewise.
13469
5d228a43
AS
13470 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13471 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13472 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13474 (__strncasecmp_ssse3) [PIC]: Likewise.
13475
59d112a4
RM
134762013-08-26 Roland McGrath <roland@hack.frob.com>
13477
53234cc3
RM
13478 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13479
59d112a4
RM
13480 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13481 instead of explicitly declaring xdecrypt.
13482 * nis/nss_nis/nis-publickey.c: Likewise.
13483
595aba70
SP
134842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13485
13486 [BZ #15890]
13487 * nscd/aicache.c: Include res_hconf.h.
13488 (addhstaiX): Initialize res_hconf.
13489
ffabd393
AS
134902013-08-26 Andreas Schwab <schwab@suse.de>
13491
13492 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13493 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13494
e0a69f5c
SP
134952013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13496
13497 * nscd/aicache.c (addhstaiX): Fix indentation.
13498
8c12f01d
MF
134992013-08-25 Mike Frysinger <vapier@gentoo.org>
13500
13501 * configure.ac: Quote $build_pt_chown test.
13502 * configure: Regenerated.
13503
8fe89494
JM
135042013-08-23 Joseph Myers <joseph@codesourcery.com>
13505
13506 [BZ #15532]
13507 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13508 * math/s_cexpf.c (__cexpf): Likewise.
13509 * math/s_cexpl.c (__cexpl): Likewise.
13510 * math/libm-test.inc (cexp_test_data): Correct expected return
13511 value for NaN + i0. Add another test.
13512
75b181d6
DM
135132013-08-22 David S. Miller <davem@davemloft.net>
13514
13515 * po/ca.po: Update Catalan translation from translation project.
936241e4 13516 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13517
acd06bb1
JM
135182013-08-21 Joseph Myers <joseph@codesourcery.com>
13519
13520 [BZ #15797]
13521 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13522 is infinite, not alongside NaN test.
13523 * math/s_fdimf.c (__fdimf): Likewise.
13524 * math/s_fdiml.c (__fdiml): Likewise.
13525 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13526 errno is unchanged.
13527
c0c3f78a
OB
135282013-08-21 Ondřej Bílka <neleai@seznam.cz>
13529
13530 * argp/argp-help.c: Fix typos.
13531 * crypt/speeds.c: Likewise.
13532 * csu/check_fds.c: Likewise.
13533 * elf/dl-load.c: Likewise.
13534 * elf/dl-open.c: Likewise.
13535 * elf/reldep3.c: Likewise.
13536 * elf/reldep.c: Likewise.
13537 * elf/sprof.c: Likewise.
13538 * iconv/iconv_charmap.c: Likewise.
13539 * iconv/skeleton.c: Likewise.
13540 * iconv/strtab.c: Likewise.
13541 * io/lockf64.c: Likewise.
13542 * libio/libioP.h: Likewise.
13543 * resolv/gai_notify.c: Likewise.
13544 * resolv/ns_name.c: Likewise.
13545 * resolv/ns_samedomain.c: Likewise.
13546 * resolv/res_send.c: Likewise.
13547 * stdlib/random.c: Likewise.
13548 * sunrpc/rpc/xdr.h: Likewise.
13549 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13550 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13551 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13552 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13554 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13556 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13557 * sysdeps/mach/hurd/check_fds.c: Likewise.
13558 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13559 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13560 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13561 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13562 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13563 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13564 * sysdeps/pthread/aio_notify.c: Likewise.
13565 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13566 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13567 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13569 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13570
46ed1038
LD
135712013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13572
13573 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13574 version if bit_Slow_SSE4_2 is set.
13575 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13576 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13577
d400dcac
AZ
135782013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13579
13580 [BZ #15867]
13581 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13582 trampoline stack frame information.
13583 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13584 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13585 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13586 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13587 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13588 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13589 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13590 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13591 sa_flags value.
13592 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13593 interrupting a syscall and set with option SA_SIGINFO.
13594
42c8fdd8
JM
135952013-08-20 Joseph Myers <joseph@codesourcery.com>
13596
c980f2f4
JM
13597 [BZ #15531]
13598 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13599 argument is infinite.
13600 * math/s_cprojf.c (__cprojf): Likewise.
13601 * math/s_cprojl.c (__cprojl): Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13603 * math/libm-test.inc (cproj_test_data): Add more tests.
13604
0716c4fc
JM
13605 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13606
42c8fdd8
JM
13607 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13608 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13609 size. Use __ffs to determine corresponding shift.
13610
b31469d0
JM
136112013-08-20 Joseph Myers <joseph@codesourcery.com>
13612 Roland McGrath <roland@hack.frob.com>
13613
13614 * Makefile (INSTALL): Remove trailing blank lines from output of
13615 makeinfo.
13616
4e39af6e
AK
136172013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13618
13619 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13620 Align 32 bit compat elf_greg to 8 bytes.
13621
f315524e
AA
136222013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13623
13624 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13625
1326ba1a
SP
136262013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13627
13628 * string/strcoll_l.c (coll_seq): New structure.
13629 (get_next_seq_cached): New function.
13630 (get_next_seq): New function.
13631 (do_compare): New function.
13632 (STRCOLL): Use GNU style definition. Simplify implementation
13633 by using get_next_seq, get_next_seq_cached and do_compare.
13634
91ce4085
FW
136352013-08-16 Florian Weimer <fweimer@redhat.com>
13636
13637 [BZ #14699]
13638 CVE-2013-4237
13639 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13640 member.
13641 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13642 member.
13643 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13644 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13645 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13646 conditional.
13647 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13648 GETDENTS_64BIT_ALIGNED.
13649 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13650 * manual/filesys.texi (Reading/Closing Directory): Document
13651 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13652 strongly.
13653 * manual/conf.texi (Limits for Files): Add portability note to
13654 NAME_MAX, PATH_MAX.
13655 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13656
ca0a6bc4
AS
136572013-08-13 Andreas Schwab <schwab@suse.de>
13658
13659 [BZ #15749]
13660 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13661 of fabs.
13662 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13663 LDBL_MAX_EXP >= 16384]: Add tests for it.
13664
6c1fd795
DM
136652013-08-12 David S. Miller <davem@davemloft.net>
13666
13667 * version.h (RELEASE): Set to "development".
13668 (VERSION): Set to "2.18.90".
13669 * NEWS: Add 2.19 section.
13670
31ad488d
DM
136712013-08-03 David S. Miller <davem@davemloft.net>
13672
13673 * po/ko.po: Update Korean translation from translation project.
13674
db24e684
DM
136752013-08-01 David S. Miller <davem@davemloft.net>
13676
13677 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13678 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13679 Bilka.
13680
f723285b
DM
136812013-07-30 David S. Miller <davem@davemloft.net>
13682
13683 * po/fr.po: Update French translation from translation project.
13684
3cbc52db
DM
136852013-07-28 David S. Miller <davem@davemloft.net>
13686
30bbc0cc
DM
13687 * po/cs.po: Update Czech translation from translation project.
13688
3cbc52db
DM
13689 * po/sv.po: Update Swedish translation from translation project.
13690
d492e6d0
DM
136912013-07-27 David S. Miller <davem@davemloft.net>
13692
f1a7f492
DM
13693 * po/eo.po: Update Esperanto translation from translation project.
13694
90e62a4a
DM
13695 * po/vi.po: Update Vietnamese translation from translation project.
13696
d492e6d0
DM
13697 * po/de.po: Update German translation from translation project.
13698
d4baa62d
DM
136992013-07-26 David S. Miller <davem@davemloft.net>
13700
641aa7b4
DM
13701 * po/bg.po: Update Bulgarian translation from translation project.
13702
d4baa62d
DM
13703 * po/nl.po: Update Dutch translation from translation project.
13704 * po/pl.po: Update Polish translation from translation project.
13705 * po/ru.po: Update Russian translation from translation project.
13706
61a9dcb9
DM
137072013-07-24 David S. Miller <davem@davemloft.net>
13708
13709 * po/libc.pot: Update.
13710
7b1f8b58
AZ
137112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13712
13713 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13714 variable page size.
13715 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13716 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13717 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13718
a8fc7a03
AK
137192013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13720
13721 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13722
e4608715
CD
137232013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13724 Andreas Schwab <schwab@suse.de>
13725 Roland McGrath <roland@hack.frob.com>
13726 Joseph Myers <joseph@codesourcery.com>
13727 Carlos O'Donell <carlos@redhat.com>
13728
13729 [BZ #15755]
13730 * config.h.in: Define HAVE_PT_CHOWN.
13731 * config.make.in (build-pt-chown): New variable.
13732 * configure.in (--enable-pt_chown): New configure option.
13733 * configure: Regenerate.
13734 * login/Makefile: Include Makeconfig. Build pt_chown only if
13735 build-pt-chown is enabled.
13736 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13737 pt_chown to fix pty ownership.
13738 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13739 CLOSE_ALL_FDS.
13740 * manual/install.texi (Configuring and compiling): Mention
13741 --enable-pt_chown. Add @findex for grantpt.
13742 * INSTALL: Regenerate.
13743
da2d62df
DM
137442013-07-20 David S. Miller <davem@davemloft.net>
13745
13746 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13747 difference between 32-bit and 64-bit.
13748
d7e06450
CD
137492013-07-15 Carlos O'Donell <carlos@redhat.com>
13750
13751 [BZ #15711]
13752 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13753 Avoid system header dependency with -ffreestanding.
13754 ($(objpfx)bits/syscall%d): Likewise.
13755
f959cfd7
DM
137562013-07-13 David S. Miller <davem@davemloft.net>
13757
13758 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13759 underflows from atanl/atan2l due to bug 15319.
13760 (casinh_test_data): Likewise.
13761
c61f8513
DM
137622013-07-07 David S. Miller <davem@davemloft.net>
13763
13764 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13765
72c90ed0
JA
137662013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13767
13768 * sysdeps/i386/fpu/libm-test-ulps: Update.
13769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13770
52dfbe13
SP
137712013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13772
13773 * configure.in (--enable-lock-elision): Fix message text.
13774 * INSTALL: Regenerate.
13775 * configure: Regenerate.
13776
3f169543
AZ
137772013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13778
13779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13780
521c6785
AJ
137812013-07-03 Andreas Jaeger <aj@suse.de>
13782
13783 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13784 define.
13785 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13786 (ptrace_peeksiginfo_args): Add.
13787 (__ptrace_peeksiginfo_flags): Add.
13788 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13790 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13791
d2cc15cb
AM
137922013-07-03 Allan McRae <allan@archlinux.org>
13793
13794 * sysdeps/i386/fpu/libm-test-ulps: Update.
13795
3aaeeca7
DM
137962013-07-02 David S. Miller <davem@davemloft.net>
13797
13798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13799
5314ed1a
MT
138002013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13801
13802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13803
67338156
JM
138042013-07-02 Joseph Myers <joseph@codesourcery.com>
13805
13806 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13808
1717da59
AK
138092013-07-02 Andi Kleen <ak@linux.intel.com>
13810
13811 * config.h.in (ENABLE_LOCK_ELISION): Add.
13812 * configure.in (--enable-lock-elision): Add option.
13813 * manual/install.texi: Document --enable lock elision.
13814 * configure: Regenerate
13815 * INSTALL: Regenerate.
13816
1c81621c
L
138172013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13818
13819 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13820 SSE4.2 strcasecmp for libc.a.
13821 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13822
77f01ab5
JM
138232013-07-02 Joseph Myers <joseph@codesourcery.com>
13824
13825 [BZ #13304]
13826 * soft-fp/op-common.h (_FP_FMA): New macro.
13827 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13828 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13829 (_FP_MUL_MEAT_1_imm): ... here.
13830 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13831 (_FP_MUL_MEAT_1_wide): ... here.
13832 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13833 (_FP_MUL_MEAT_1_hard): ... here.
13834 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13835 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13836 (_FP_MUL_MEAT_2_wide): ... here.
13837 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13838 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13839 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13840 (_FP_MUL_MEAT_2_gmp): ... here.
13841 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13842 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13843 (_FP_MUL_MEAT_4_wide): ... here.
13844 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13845 (_FP_MUL_MEAT_4_gmp): ... here.
13846 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13847 (_FP_WFRACBITS_DW_S): Likewise.
13848 (_FP_WFRACXBITS_DW_S): Likewise.
13849 (_FP_HIGHBIT_DW_S): Likewise.
13850 (FP_FMA_S): Likewise.
13851 (_FP_FRAC_HIGH_DW_S): Likewise.
13852 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13853 (_FP_WFRACBITS_DW_D): Likewise.
13854 (_FP_WFRACXBITS_DW_D): Likewise.
13855 (_FP_HIGHBIT_DW_D): Likewise.
13856 (FP_FMA_D): Likewise.
13857 (_FP_FRAC_HIGH_DW_D): Likewise.
13858 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13859 (_FP_WFRACBITS_DW_E): Likewise.
13860 (_FP_WFRACXBITS_DW_E): Likewise.
13861 (_FP_HIGHBIT_DW_E): Likewise.
13862 (FP_FMA_E): Likewise.
13863 (_FP_FRAC_HIGH_DW_E): Likewise.
13864 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13865 (_FP_WFRACBITS_DW_Q): Likewise.
13866 (_FP_WFRACXBITS_DW_Q): Likewise.
13867 (_FP_HIGHBIT_DW_Q): Likewise.
13868 (FP_FMA_Q): Likewise.
13869 (_FP_FRAC_HIGH_DW_Q): Likewise.
13870 * soft-fp/fmasf4.c: New file.
13871 * soft-fp/fmadf4.c: Likewise.
13872 * soft-fp/fmatf4.c: Likewise.
13873
6308fd9a
LD
138742013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13875
13876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13877 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13878 Silvermont.
13879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13880 macro.
13881 (index_Slow_SSE4_2): Likewise.
13882 (index_Prefer_PMINUB_for_stringop): Likewise.
13883 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13884 bit_Slow_SSE4_2 is set.
13885 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13886 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13887
89cd9569
RA
138882013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13889
13890 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13891 rtld_global._dl_hwcap2.
13892 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13893 POWER8.
13894 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13895 POWER8 feature descriptions defined in _dl_hwcap2.
13896 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13897 string handling for POWER8 feature bits.
13898 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13899 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13900 _dl_powerpc_cap_flags.
13901 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13902 * sysdeps/powerpc/rtld-global-offsets.sym
13903 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13904 _dl_hwcap2 in the rtld_global_ro structure.
13905
1ae8bfe0
RA
139062013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13907
13908 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13909 hardware capabilities in support of AT_HWCAP2.
13910 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13911 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13912 GLRO(dl_hwcap2).
13913 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13914 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13915 explicitly the unknown a_type display mechanism is used.
13916 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13917 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13918 struct member.
13919 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13920 to macro prototype for AT_HWCAP2 support.
13921 * sysdeps/i386/dl-procinfo.h: Likewise.
13922 * sysdeps/s390/dl-procinfo.h: Likewise.
13923 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13924 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13925 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13926 return -1 for unknown a_type display fallback.
13927 * sysdeps/sparc/dl-procinfo.h: Likewise.
13928 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13929 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13930
8fbec010
JM
139312013-06-28 Joseph Myers <joseph@codesourcery.com>
13932
13933 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13934 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13935
0432680e
PY
139362013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13937
13938 [BZ #12492]
13939 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13940 mprotect making __stack_prot writable.
13941
ce61a2ad
NF
139422013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13943 Joseph Myers <joseph@codesourcery.com>
13944
13945 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13946 as being properly aligned.
13947
f91f1c0f
MR
139482013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13949
3d0f5d0c
MR
13950 * dlfcn/modstatic5.c: New file.
13951 * dlfcn/tststatic5.c: New file.
13952 * dlfcn/Makefile (tests): Add tststatic5.
13953 (tests-static): Likewise.
13954 (modules-names): Add modstatic5.
13955 (tststatic5-ENV): New variable.
13956 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13957
f91f1c0f
MR
13958 [BZ #15022]
13959 * elf/dl-support.c (_dl_main_map): New variable.
13960 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13961 (_dl_nns, _dl_load_adds): Set to 1.
13962 (_dl_initial_searchlist): Refer to _dl_main_map.
13963 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13964 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13965 call to _dl_get_origin.
13966 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13967 around call_map.
13968 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13969 * dlfcn/modstatic3.c: New file.
13970 * dlfcn/tststatic3.c: New file.
13971 * dlfcn/tststatic4.c: New file.
13972 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13973 (tests-static): Likewise.
13974 (modules-names): Add modstatic3.
13975 (tststatic3-ENV, tststatic4-ENV): New variables.
13976 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13977 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13978
cbe7d24b
JM
139792013-06-26 Joseph Myers <joseph@codesourcery.com>
13980
13981 * configure.in (CC): Require GCC version 4.4 or later.
13982 * configure: Regenerated.
13983 * manual/install.texi (Tools for Compilation): Update GCC version
13984 requirement.
13985 * INSTALL: Regenerated.
13986
11b8a0e1
LD
139872013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13988
13989 [BZ #15674]
bb5bb87c
L
13990 * string/test-memcmp.c (check2): New.
13991 (main): Call check2.
13992
11b8a0e1
LD
13993 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13994
b0037103
MR
139952013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13996
13997 [BZ #15022]
13998 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13999 over to...
14000 (dl_open_worker) [!SHARED]: ... here.
14001
c18c701d
RA
140022013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14003
14004 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14005
1d17fa5f
RH
140062013-06-25 Richard Henderson <rth@redhat.com>
14007
14008 * locale/programs/locarchive.c: Include <libc-internal.h>
14009
8fcb833a
JM
140102013-06-25 Joseph Myers <joseph@codesourcery.com>
14011
14012 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14013 trailing whitespace removed.
14014
17db6e8d
MF
140152013-06-24 Mike Frysinger <vapier@gentoo.org>
14016
14017 [BZ #10283]
17db6e8d
MF
14018 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14019 * locale/programs/locarchive.c: Include libc-mmap.h.
14020 (prepare_address_space): Take two new outputs (the mmap base and len).
14021 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14022 values.
14023 (create_archive): Declare new mmap base and len values for
14024 prepare_address_space, and store the result in ah.
14025 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14026 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14027 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14028 Declare new mmap base and len values for
14029 prepare_address_space, and store the result in new_ah.
14030 (open_archive): Declare new mmap base and len values for
14031 prepare_address_space, and store the result in ah.
14032 (close_archive): If ah->mmap_base is not NULL, use that and
14033 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14034 * sysdeps/generic/libc-mmap.h: New file.
14035
d605071e
MF
140362013-06-24 Mike Frysinger <vapier@gentoo.org>
14037
14038 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14039 (ALIGN_UP): Likewise.
14040 (PTR_ALIGN_DOWN): Likewise.
14041 (PTR_ALIGN_UP): Likewise.
14042
2f063a6e
RA
140432013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14044
14045 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14046 entry mapped to PPC_PLATFORM_POWER8.
14047 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14048 POWER8.
14049 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14050 (_dl_string_platform): Add case for exporting platform position for
14051 POWER8.
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14053 search path to sysdeps/powerpc/powerpc32/power8 directory.
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14055 search path to sysdeps/powerpc/powerpc64/power8 directory.
14056 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14057 power7 directories.
14058 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14059 power7 directories.
14060
a31ee4b3
SP
140612013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14062
a74ca98f
SP
14063 * INSTALL: Regenerate.
14064
a31ee4b3
SP
14065 * nscd/connections.c (nscd_init): Fix comment.
14066
695c378f
JM
140672013-06-22 Joseph Myers <joseph@codesourcery.com>
14068
d8412221
JM
14069 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14070
695c378f
JM
14071 [BZ #15667]
14072 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14073 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14074
d1d54715
MR
140752013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14076
14077 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14078 DL_DST_REQ_STATIC.
14079 (DL_DST_REQ_STATIC): Remove macro.
14080
8fdda7af
JM
140812013-06-21 Joseph Myers <joseph@codesourcery.com>
14082
14083 [BZ #7006]
14084 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14085 with a shift of 0 bits.
14086
f3bc5e5a
MR
140872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14088
14089 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14090 $(tststatic-ENV).
14091
be09e8c9
KK
140922013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14093
14094 [BZ #15655]
14095 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14096
85c2e611
AZ
140972013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14098
14099 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14100 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14101 accepts -fno-tree-loop-distribute-patterns.
14102 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14103 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14104 recursive call.
14105 * string/memset.c (memset): Likewise.
14106 * string/test-memmove.c (simple_memmove): Disable loop transformation
14107 to library calls.
14108 * string/test-memset.c (simple_memset): Likewise.
14109 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14110 * benchtests/bench-memset.c (simple_memset): Likewise.
14111 * configure: Regenerated.
14112
c91e0825
JM
141132013-06-20 Joseph Myers <joseph@codesourcery.com>
14114
b8c792af
JM
14115 * math/test-misc.c (main): Ignore fesetround failure when failures
14116 of subsequent rounding tests would be ignored.
14117
c91e0825
JM
14118 [BZ #15654]
14119 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14120 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14121 * math/fegetenv.c (__fegetenv): Return 0.
14122 * math/fegetexcept.c (fegetexcept): Return 0.
14123 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14124 FE_TONEAREST.
14125 * math/feholdexcpt.c (feholdexcept): Return 0.
14126 * math/fesetenv.c (__fesetenv): Return 0.
14127 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14128 argument FE_TONEAREST.
14129 * math/feupdateenv.c (__feupdateenv): Return 0.
14130 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14131
bfcacbde
RM
141322013-06-18 Roland McGrath <roland@hack.frob.com>
14133
14134 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14135 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14136 ($(objpfx)rtld-%.os rules): Use them.
14137
e55a9b25
AZ
141382013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14139
14140 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14141 fields.
14142
346d65b3
RM
141432013-06-17 Roland McGrath <roland@hack.frob.com>
14144
12086fb4
RM
14145 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14146 length of target pattern, then descending length of dependency pattern.
14147 * configure.in (AWK): Require gawk 3.1.2 or newer.
14148 * manual/install.texi (Tools for Compilation): Say that we do.
14149 * configure: Regenerated.
14150
346d65b3
RM
14151 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14152 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14153 * scripts/sysd-rules.awk: ... this new script.
14154 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14155 than a glob-style pattern.
14156
1a846317
JM
141572013-06-17 Joseph Myers <joseph@codesourcery.com>
14158
14159 * math/test-misc.c (main): Do not treat incorrectly rounded
14160 conversions as failure unless ROUNDING_TESTS passes.
14161
8fc75e6f
JM
141622013-06-15 Joseph Myers <joseph@codesourcery.com>
14163
3711a167
JM
14164 [BZ #15631]
14165 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14166 restore exception state around main square root computation, then
14167 check for inexactness explicitly.
14168
8fc75e6f
JM
14169 * math/libm-test.inc (fma_test_data): Add another test.
14170
61dd6208
SP
141712013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14172
adf23d2c
SP
14173 * manual/threads.texi (Non-POSIX Extensions): New document
14174 node. Document pthread_getattr_default_np and
14175 pthread_setattr_default_np.
14176
61dd6208
SP
14177 * Versions.def (libpthread): Add GLIBC_2.18.
14178 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14180 Likewise.
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14182 Likewise.
14183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14184 Likewise.
14185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14186 Likewise.
14187 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14188 Likewise.
14189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14190 Likewise.
14191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14192 Likewise.
14193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14194 Likewise.
14195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14196 Likewise.
14197
d086fc7b
LD
141982013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14199
14200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14201 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14202
747ef469
SP
142032013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14204 H.J. Lu <hjl.tools@gmail.com>
14205
14206 [BZ #15627]
14207 * sysdeps/x86_64/rtld-memset.c: Remove file.
14208 * sysdeps/x86_64/rtld-memset.S: New file.
14209
1b2feed2
JM
142102013-06-14 Joseph Myers <joseph@codesourcery.com>
14211
14212 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14213 (test_in_one_mode): Take arguments for whether the rounding mode
14214 is supported for each floating-point type.
14215 (do_test): Pass new arguments to test_in_one_mode using
14216 ROUNDING_TESTS.
14217
a58ad3f8
RM
142182013-06-13 Roland McGrath <roland@hack.frob.com>
14219
14220 * posix/tst-waitid.c (do_test): Distinguish different instances of
14221 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14222 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14223 before entering the kernel for waitpid.
14224
c204ab28
SP
142252013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14226
14227 * NEWS: Fix note on clock function precision. Text by Roland
14228 McGrath.
14229
f4a29fba
RM
142302013-06-13 Roland McGrath <roland@hack.frob.com>
14231
14232 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14233 it into place only when and if the sanity check passes.
14234
1f24b9ad
JM
142352013-06-13 Joseph Myers <joseph@codesourcery.com>
14236
14237 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14238 output for whether conversion result is exact. Take argument
14239 indicating whether type is IBM long double.
14240 (round_for_all): Change need_exact field to ibm_ld.
14241 * stdlib/tst-strtod-round.c (struct exactness): New type.
14242 (struct test): Change bool ld_ok field to struct exactness exact.
14243 (TEST): Update all definitions for change to field.
14244 (tests): Regenerate array contents.
14245 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14246 field value. Check for IBM long double here.
14247 (do_test): Update calls to test_in_one_mode.
14248
58206c68
SP
142492013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14250
14251 [BZ #12515]
14252 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14253 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14254
2d6f4c5b 142552013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14256
14257 [BZ #15605]
14258 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14259 generated by the compiler on loop optimizations.
14260 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14261 general definitions.
14262
94f2c076
JM
142632013-06-12 Joseph Myers <joseph@codesourcery.com>
14264
14265 * math/bug-nextafter.c: Include <math-tests.h>.
14266 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14267 the relevant type.
14268 * math/bug-nexttoward.c: Include <math-tests.h>.
14269 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14270 the relevant type.
14271 * math/test-misc.c: Include <math-tests.h>.
14272 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14273 the relevant type.
14274
e0e50a0a
AJ
142752013-06-12 Andreas Jaeger <aj@suse.de>
14276
14277 * po/ia.po: Update Interlingua translation from translation
14278 project.
14279
25061094
SP
142802013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14281
14282 * include/fenv.h: Include stdbool.h.
14283 (struct rm_ctx): New structure.
14284 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14285 Define macro.
14286 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14287 (SET_RESTORE_ROUNDF): Likewise.
14288 (SET_RESTORE_ROUNDL): Likewise.
14289 (SET_RESTORE_ROUND_NOEX): Likewise.
14290 (SET_RESTORE_ROUND_NOEXF): Likewise.
14291 (SET_RESTORE_ROUND_NOEXL): Likewise.
14292 (SET_RESTORE_ROUND_53BIT): Likewise.
14293 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14294 (libc_feresetround_noexf_ctx): Likewise.
14295 (libc_feresetround_noexl_ctx): Likewise.
14296 (libc_feholdsetround_53bit_ctx): Likewise.
14297 (libc_feresetround_53bit_ctx): Likewise.
14298 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14299 (libc_feholdexcept_setround_sse_ctx): New function.
14300 (libc_fesetenv_sse_ctx): Likewise.
14301 (libc_feupdateenv_sse_ctx): Likewise.
14302 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14303 (libc_feholdexcept_setround_387_ctx): Likewise.
14304 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14305 (libc_feholdsetround_387_prec_ctx): Likewise.
14306 (libc_feholdsetround_387_ctx): Likewise.
14307 (libc_feholdsetround_387_53bit_ctx): Likewise.
14308 (libc_feholdsetround_sse_ctx): Likewise.
14309 (libc_feresetround_sse_ctx): Likewise.
14310 (libc_feresetround_387_ctx): Likewise.
14311 (libc_feupdateenv_387_ctx): Likewise.
14312 (libc_feholdexcept_setroundf_ctx): Define macro.
14313 (libc_fesetenvf_ctx): Likewise.
14314 (libc_feupdateenvf_ctx): Likewise.
14315 (libc_feholdsetroundf_ctx): Likewise.
14316 (libc_feresetroundf_ctx): Likewise.
14317 (libc_feholdexcept_setround_ctx): Likewise.
14318 (libc_fesetenv_ctx): Likewise.
14319 (libc_feupdateenv_ctx): Likewise.
14320 (libc_feholdsetround_ctx): Likewise.
14321 (libc_feresetround_ctx): Likewise.
14322 (libc_feholdexcept_setroundl_ctx): Likewise.
14323 (libc_feupdateenvl_ctx): Likewise.
14324 (libc_feholdsetroundl_ctx): Likewise.
14325 (libc_feresetroundl_ctx): Likewise.
14326 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14327 (libc_feresetround_53bit_ctx): Likewise.
14328
59b30555
SP
143292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14330
14331 * locale/iso-639.def: Convert to UTF-8.
14332
f1d73d30
JM
143332013-06-11 Joseph Myers <joseph@codesourcery.com>
14334
14335 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14336 (EXCEPTION_TESTS_double): Likewise.
14337 (EXCEPTION_TESTS_long_double): Likewise.
14338 (EXCEPTION_TESTS): Likewise.
14339 * math/libm-test.inc (test_exceptions): Only test exceptions if
14340 EXCEPTION_TESTS (FLOAT).
14341
94aca5e7
SP
143422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14343
14344 * benchtests/Makefile (string-bench): Add strcpy_chk and
14345 stpcpy_chk.
14346 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14347 * benchtests/bench-stpcpy_chk.c: New file.
14348 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14349 * benchtests/bench-strcpy_chk.c: New file.
14350 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14351 code.
14352 (do_test): Likewise.
14353
fac0c5f2
RA
143542013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14355
14356 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14357 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14358 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14359 with tabs where appropriate.
14360 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14361 dl-procinfo.h.
14362 [PPC_PLATFORM_PPC440]: Likewise.
14363 [PPC_PLATFORM_PPC464]: Likewise.
14364 [PPC_PLATFORM_PPC476]: Likewise.
14365 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14366 ppc464, and ppc476 platform strings merging from ports/
14367 dl-procinfo.h.
14368
f22bc486
AS
143692013-06-11 Andreas Schwab <schwab@suse.de>
14370
14371 [BZ #14991]
14372 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14373 (from_ucs4_idx): Regenerate.
14374 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14375 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14376 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14377 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14378 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14379 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14380 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14381 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14382 from FROM_LOOP and TO_LOOP specific macros.
14383 (BODY): Handle combining characters.
14384 * iconvdata/BIG5HKSCS.irreversible: Update.
14385 * iconvdata/BIG5HKSCS.precomposed: New file.
14386 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14387 characters.
14388 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14389
c1f75dc3
SP
143902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14391
4eacded2
SP
14392 * include/sys/time.h: Fix indentation and add copyright header.
14393
fec799f8
SP
14394 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14395 (do_test): Likewise.
14396 * string/test-memchr.c (do_one_test): Likewise.
14397 (do_test): Likewise.
14398 * string/test-memcmp.c (do_one_test): Likewise.
14399 (do_test): Likewise.
14400 * string/test-memcpy.c (do_one_test): Likewise.
14401 (do_test): Likewise.
14402 * string/test-memmem.c (do_one_test): Likewise.
14403 (do_test): Likewise.
14404 (do_random_tests): Likewise.
14405 * string/test-memmove.c (do_one_test): Likewise.
14406 (do_test): Likewise.
14407 * string/test-memset.c (do_one_test): Likewise.
14408 (do_test): Likewise.
14409 * string/test-rawmemchr.c (do_one_test): Likewise.
14410 (do_test): Likewise.
14411 * string/test-strcasecmp.c (do_one_test): Likewise.
14412 (do_test): Likewise.
14413 * string/test-strcasestr.c (do_one_test): Likewise.
14414 (do_test): Likewise.
14415 * string/test-strcat.c (do_one_test): Likewise.
14416 (do_test): Likewise.
14417 * string/test-strchr.c (do_one_test): Likewise.
14418 (do_test): Likewise.
14419 * string/test-strcmp.c (do_one_test): Likewise.
14420 (do_test): Likewise.
14421 * string/test-strcpy.c (do_one_test): Likewise.
14422 (do_test): Likewise.
14423 * string/test-string.h: Likewise.
14424 (test_init): Likewise.
14425 * string/test-strlen.c (do_one_test): Likewise.
14426 (do_test): Likewise.
14427 * string/test-strncasecmp.c (do_one_test): Likewise.
14428 (do_test): Likewise.
14429 * string/test-strncat.c (do_one_test): Likewise.
14430 (do_test): Likewise.
14431 * string/test-strncmp.c (do_one_test): Likewise.
14432 (do_test_limit): Likewise.
14433 (do_test): Likewise.
14434 * string/test-strncpy.c (do_one_test): Likewise.
14435 (do_test): Likewise.
14436 * string/test-strnlen.c (do_one_test): Likewise.
14437 (do_test): Likewise.
14438 * string/test-strpbrk.c (do_one_test): Likewise.
14439 (do_test): Likewise.
14440 * string/test-strrchr.c (do_one_test): Likewise.
14441 (do_test): Likewise.
14442 * string/test-strspn.c (do_one_test): Likewise.
14443 (do_test): Likewise.
14444 * string/test-strstr.c (do_one_test): Likewise.
14445 (do_test): Likewise.
14446
97020474
SP
14447 * benchtests/Makefile (string-bench): Add string benchmarks.
14448 * benchtests/bench-bcopy-ifunc.c: New file.
14449 * benchtests/bench-bcopy.c: New file.
14450 * benchtests/bench-bzero-ifunc.c: New file.
14451 * benchtests/bench-bzero.c: New file.
14452 * benchtests/bench-memccpy-ifunc.c: New file.
14453 * benchtests/bench-memccpy.c: New file.
14454 * benchtests/bench-memchr-ifunc.c: New file.
14455 * benchtests/bench-memchr.c: New file.
14456 * benchtests/bench-memcmp-ifunc.c: New file.
14457 * benchtests/bench-memcmp.c: New file.
14458 * benchtests/bench-memmem-ifunc.c: New file.
14459 * benchtests/bench-memmem.c: New file.
14460 * benchtests/bench-memmove-ifunc.c: New file.
14461 * benchtests/bench-memmove.c: New file.
14462 * benchtests/bench-mempcpy-ifunc.c: New file.
14463 * benchtests/bench-mempcpy.c: New file.
14464 * benchtests/bench-memset-ifunc.c: New file.
14465 * benchtests/bench-memset.c: New file.
14466 * benchtests/bench-rawmemchr-ifunc.c: New file.
14467 * benchtests/bench-rawmemchr.c: New file.
14468 * benchtests/bench-stpcpy-ifunc.c: New file.
14469 * benchtests/bench-stpcpy.c: New file.
14470 * benchtests/bench-stpncpy-ifunc.c: New file.
14471 * benchtests/bench-stpncpy.c: New file.
14472 * benchtests/bench-strcasecmp-ifunc.c: New file.
14473 * benchtests/bench-strcasecmp.c: New file.
14474 * benchtests/bench-strcasestr-ifunc.c: New file.
14475 * benchtests/bench-strcasestr.c: New file.
14476 * benchtests/bench-strcat-ifunc.c: New file.
14477 * benchtests/bench-strcat.c: New file.
14478 * benchtests/bench-strchr-ifunc.c: New file.
14479 * benchtests/bench-strchr.c: New file.
14480 * benchtests/bench-strchrnul-ifunc.c: New file.
14481 * benchtests/bench-strchrnul.c: New file.
14482 * benchtests/bench-strcmp-ifunc.c: New file.
14483 * benchtests/bench-strcmp.c: New file.
14484 * benchtests/bench-strcpy-ifunc.c: New file.
14485 * benchtests/bench-strcpy.c: New file.
14486 * benchtests/bench-strcspn-ifunc.c: New file.
14487 * benchtests/bench-strcspn.c: New file.
14488 * benchtests/bench-strlen-ifunc.c: New file.
14489 * benchtests/bench-strlen.c: New file.
14490 * benchtests/bench-strncasecmp-ifunc.c: New file.
14491 * benchtests/bench-strncasecmp.c: New file.
14492 * benchtests/bench-strncat-ifunc.c: New file.
14493 * benchtests/bench-strncat.c: New file.
14494 * benchtests/bench-strncmp-ifunc.c: New file.
14495 * benchtests/bench-strncmp.c: New file.
14496 * benchtests/bench-strncpy-ifunc.c: New file.
14497 * benchtests/bench-strncpy.c: New file.
14498 * benchtests/bench-strnlen-ifunc.c: New file.
14499 * benchtests/bench-strnlen.c: New file.
14500 * benchtests/bench-strpbrk-ifunc.c: New file.
14501 * benchtests/bench-strpbrk.c: New file.
14502 * benchtests/bench-strrchr-ifunc.c: New file.
14503 * benchtests/bench-strrchr.c: New file.
14504 * benchtests/bench-strspn-ifunc.c: New file.
14505 * benchtests/bench-strspn.c: New file.
14506 * benchtests/bench-strstr-ifunc.c: New file.
14507 * benchtests/bench-strstr.c: New file.
14508
c1f75dc3
SP
14509 * benchtests/Makefile: Disable parallel execution of targets.
14510 (string-bench): Add memcpy.
14511 (benchset): New variable to store a list of benchmark sets.
14512 (bench-func): Renamed from bench.
14513 (bench-set): New target.
14514 (bench): Depend on bench-func and bench-set.
14515 * benchtests/README: Add section on benchmark sets.
14516 * benchtests/bench-memcpy-ifunc.c: New file.
14517 * benchtests/bench-memcpy.c: New file.
14518 * benchtests/bench-string.h: New file.
14519
50fd745b
AS
145202013-06-11 Andreas Schwab <schwab@suse.de>
14521
14522 [BZ #15577]
14523 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14524 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14525 values in the triple.
14526 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14527 terminator in the group key.
14528
3ee7e9fe
AJ
145292013-06-11 Andreas Jaeger <aj@suse.de>
14530
14531 * po/zh_TW.po: Update Chinese (traditional) translation from
14532 translation project.
14533
89fb6835
SP
145342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14535
14536 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14537 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14538 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14540 (clock_getcpuclockid): Likewise.
14541 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14542 Add weak_alias and libc_hidden_def.
14543 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14544 * rt/clock_gettime.c (clock_gettime): Rename to
14545 __clock_gettime. Add weak_alias and libc_hidden_def.
14546 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14547 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14548 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14549 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14550 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14551 Likewise.
14552 * rt/clock_settime.c (clock_settime): Rename to
14553 __clock_settime. Add weak_alias and libc_hidden_def.
14554 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14555
0efa6f8b
JM
145562013-06-10 Joseph Myers <joseph@codesourcery.com>
14557
b8c61b4b
JM
14558 * mach/err_boot.sub: Remove trailing whitespace.
14559 * mach/err_ipc.sub: Likewise.
14560 * mach/err_mach.sub: Likewise.
14561
0efa6f8b
JM
14562 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14563 (ROUNDING_TESTS_double): Likewise.
14564 (ROUNDING_TESTS_long_double): Likewise.
14565 (ROUNDING_TESTS): Likewise.
14566 * math/libm-test.inc: Include <math-tests.h>.
14567 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14568 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14569 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14570 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14571
50b818bf
SP
145722013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14573
14574 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14575 of assigning.
14576
60d2f8f3
JM
145772013-06-08 Joseph Myers <joseph@codesourcery.com>
14578
4902d2c3
JM
14579 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14580 otherwise empty TRANS lines.
14581 * sysdeps/gnu/errlist.c: Regenerated.
14582
60d2f8f3
JM
14583 * catgets/gencat.c (error_print): Use (void) in function
14584 definition.
14585 * crypt/crypt_util.c (__init_des): Likewise.
14586 * crypt/speeds.c (Stop): Likewise.
14587 (main): Likewise.
14588 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14589 * inet/ruserpass.c (token): Likewise.
14590 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14591 * intl/localealias.c (extend_alias_table): Likewise.
14592 * intl/plural-exp.c (init_germanic_plural): Likewise.
14593 * libio/fcloseall.c (__fcloseall): Likewise.
14594 * libio/genops.c (_IO_flush_all): Likewise.
14595 (_IO_flush_all_linebuffered): Likewise.
14596 (_IO_cleanup): Likewise.
14597 (_IO_iter_begin): Likewise.
14598 (_IO_iter_end): Likewise.
14599 (_IO_list_lock): Likewise.
14600 (_IO_list_unlock): Likewise.
14601 (_IO_list_resetlock): Likewise.
14602 * libio/getchar.c (getchar): Likewise.
14603 * libio/getchar_u.c (getchar_unlocked): Likewise.
14604 * libio/getwchar.c (getwchar): Likewise.
14605 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14606 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14607 * login/getpt.c (__getpt): Likewise.
14608 * login/tst-utmp.c (main): Likewise.
14609 * malloc/hooks.c (__malloc_check_init): Likewise.
14610 * malloc/malloc.c (__malloc_stats): Likewise.
14611 * malloc/mtrace.c (tr_break): Likewise.
14612 (mtrace): Likewise.
14613 (muntrace): Likewise.
14614 * misc/fstab.c (endfsent): Likewise.
14615 * misc/getclktck.c (__getclktck): Likewise.
14616 * misc/getdtsz.c (__getdtablesize): Likewise.
14617 * misc/gethostid.c (gethostid): Likewise.
14618 * misc/getpagesize.c (__getpagesize): Likewise.
14619 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14620 (__get_nprocs): Likewise.
14621 (__get_phys_pages): Likewise.
14622 (__get_avphys_pages): Likewise.
14623 * misc/getttyent.c (getttyent): Likewise.
14624 (setttyent): Likewise.
14625 (endttyent): Likewise.
14626 * misc/getusershell.c (getusershell): Likewise.
14627 (endusershell): Likewise.
14628 (setusershell): Likewise.
14629 (initshells): Likewise.
14630 * misc/hsearch.c (__hdestroy): Likewise.
14631 * misc/sync.c (sync): Likewise.
14632 * misc/syslog.c (closelog_internal): Likewise.
14633 (closelog): Likewise.
14634 * misc/ttyslot.c (ttyslot): Likewise.
14635 * misc/vhangup.c (vhangup): Likewise.
14636 * posix/fork.c (__fork): Likewise.
14637 * posix/getegid.c (__getegid): Likewise.
14638 * posix/geteuid.c (__geteuid): Likewise.
14639 * posix/getgid.c (__getgid): Likewise.
14640 * posix/getpid.c (__getpid): Likewise.
14641 * posix/getppid.c (__getppid): Likewise.
14642 * posix/getuid.c (__getuid): Likewise.
14643 * posix/pause.c (pause): Likewise.
14644 * posix/setpgrp.c (setpgrp): Likewise.
14645 * posix/setsid.c (__setsid): Likewise.
14646 * posix/test-vfork.c (noop): Likewise.
14647 * resolv/gethnamaddr.c (_endhtent): Likewise.
14648 (_gethtent): Likewise.
14649 (ht_endhostent): Likewise.
14650 (gethostent): Likewise.
14651 (dns_service): Likewise.
14652 * stdlib/drand48.c (drand48): Likewise.
14653 * stdlib/lrand48.c (lrand48): Likewise.
14654 * stdlib/mrand48.c (mrand48): Likewise.
14655 * stdlib/rand.c (rand): Likewise.
14656 * stdlib/random.c (__random): Likewise.
14657 * stdlib/setenv.c (clearenv): Likewise.
14658 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14659 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14660 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14661 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14662 (__get_nprocs): Likewise.
14663 (__get_phys_pages): Likewise.
14664 (__get_avphys_pages): Likewise.
14665 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14666 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14667 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14668 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14669 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14670 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14671 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14672 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14673 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14674 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14675 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14676 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14677 * sysdeps/posix/clock.c (clock): Likewise.
14678 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14679 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14680 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14681 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14682 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14683 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14684 (__get_nprocs_conf): Likewise.
14685 (__get_phys_pages): Likewise.
14686 (__get_avphys_pages): Likewise.
14687 * time/clock.c (clock): Likewise.
14688 * time/tzset.c (__tzname_max): Likewise.
14689
2e09a79a
JM
146902013-06-07 Joseph Myers <joseph@codesourcery.com>
14691
14692 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14693 (__bswap_32): Do not use "register".
14694 * crypt/crypt.c (_ufc_doit_r): Likewise.
14695 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14696 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14697 * gmon/gmon.c (__monstartup): Likewise.
14698 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14699 * hurd/hurdmalloc.c (more_memory): Likewise.
14700 (malloc): Likewise.
14701 (free): Likewise.
14702 (realloc): Likewise.
14703 (malloc_fork_prepare): Likewise.
14704 (malloc_fork_parent): Likewise.
14705 (malloc_fork_child): Likewise.
14706 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14707 (_svcauth_des): Likewise.
14708 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14709 * inet/inet_net.c (inet_network): Likewise.
14710 * inet/inet_netof.c (inet_netof): Likewise.
14711 * inet/rcmd.c (__validuser2_sa): Likewise.
14712 * io/fts.c (fts_open): Likewise.
14713 (fts_load): Likewise.
14714 (fts_close): Likewise.
14715 (fts_read): Likewise.
14716 (fts_children): Likewise.
14717 (fts_build): Likewise.
14718 (fts_stat): Likewise.
14719 (fts_sort): Likewise.
14720 (fts_alloc): Likewise.
14721 (fts_lfree): Likewise.
14722 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14723 (_IO_file_xsgetn): Likewise.
14724 (_IO_file_xsgetn_mmap): Likewise.
14725 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14726 (_IO_cookie_write): Likewise.
14727 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14728 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14729 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14730 * malloc/obstack.c (_obstack_begin): Likewise.
14731 (_obstack_begin_1): Likewise.
14732 (_obstack_newchunk): Likewise.
14733 (_obstack_allocated_p): Likewise.
14734 (obstack_free): Likewise.
14735 (_obstack_memory_used): Likewise.
14736 * misc/getttyent.c (getttynam): Likewise.
14737 (getttyent): Likewise.
14738 (skip): Likewise.
14739 (value): Likewise.
14740 * misc/getusershell.c (initshells): Likewise.
14741 * misc/syslog.c (__vsyslog_chk): Likewise.
14742 * misc/ttyslot.c (ttyslot): Likewise.
14743 * nis/nis_hash.c (__nis_hash): Likewise.
14744 * posix/fnmatch_loop.c (FCT): Likewise.
14745 * posix/getconf.c (print_all): Likewise.
14746 (main): Likewise.
14747 * posix/getopt.c (exchange): Likewise.
14748 * posix/glob.c (globfree): Likewise.
14749 (prefix_array): Likewise.
14750 (__glob_pattern_type): Likewise.
14751 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14752 (NS_GET32): Likewise.
14753 (NS_PUT16): Likewise.
14754 (NS_PUT32): Likewise.
14755 * resolv/gethnamaddr.c (getanswer): Likewise.
14756 (gethostbyname2): Likewise.
14757 (gethostbyaddr): Likewise.
14758 (_gethtent): Likewise.
14759 (_gethtbyname2): Likewise.
14760 (_gethtbyaddr): Likewise.
14761 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14762 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14763 * resolv/res_init.c (__res_vinit): Likewise.
14764 (net_mask): Likewise.
14765 * resolv/res_mkquery.c (outchar): Likewise.
14766 (PRINT): Likewise.
14767 * stdio-common/printf_fp.c (outchar): Likewise.
14768 (PRINT): Likewise.
14769 * stdio-common/printf_fphex.c (outchar): Likewise.
14770 (PRINT): Likewise.
14771 * stdio-common/printf_size.c (outchar): Likewise.
14772 (PRINT): Likewise.
14773 * stdio-common/test_rdwr.c (main): Likewise.
14774 * stdio-common/tfformat.c (matches): Likewise.
14775 * stdio-common/vfprintf.c (outchar): Likewise.
14776 (printf_unknown): Likewise.
14777 (buffered_vfprintf): Likewise.
14778 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14779 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14780 (ReadFile): Likewise.
14781 * stdlib/qsort.c (SWAP): Likewise.
14782 (_quicksort): Likewise.
14783 * stdlib/setenv.c (__add_to_environ): Likewise.
14784 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14785 * stdlib/strtol_l.c (__strtol_l): Likewise.
14786 * stdlib/tst-strtod.c (main): Likewise.
14787 * stdlib/tst-strtol.c (main): Likewise.
14788 * stdlib/tst-strtoll.c (main): Likewise.
14789 * string/bits/string2.h (__strcmp_cc): Likewise.
14790 (__strcmp_cg): Likewise.
14791 (__strcspn_c1): Likewise.
14792 (__strcspn_c2): Likewise.
14793 (__strcspn_c3): Likewise.
14794 (__strspn_c1): Likewise.
14795 (__strspn_c2): Likewise.
14796 (__strspn_c3): Likewise.
14797 (__strsep_1c): Likewise.
14798 (__strsep_2c): Likewise.
14799 (__strsep_3c): Likewise.
14800 * string/memccpy.c (__memccpy): Likewise.
14801 * string/stpcpy.c (__stpcpy): Likewise.
14802 * string/strcmp.c (strcmp): Likewise.
14803 * string/strrchr.c (strrchr): Likewise.
14804 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14805 Likewise.
14806 * sysdeps/mach/hurd/getcwd.c
14807 (_hurd_canonicalize_directory_name_internal): Likewise.
14808 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14809 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14810 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14811 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14812 Likewise, in both definitions.
14813 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14814 definitions.
14815 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14816 64] (__bswap_64): Likewise.
14817 * time/test_time.c (main): Likewise.
14818 * time/tzfile.c (__tzfile_read): Likewise.
14819 (__tzfile_compute): Likewise.
14820 * time/tzset.c (__tzset_parse_tz): Likewise.
14821 (tzset_internal): Likewise.
14822 (compute_change): Likewise.
14823 * wcsmbs/wcscat.c (__wcscat): Likewise.
14824 * wcsmbs/wcschr.c (wcschr): Likewise.
14825 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14826 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14827 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14828 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14829 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14830 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14831 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14832 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14833 * wcsmbs/wmemset.c (wmemset): Likewise.
14834
9e54314b
JM
148352013-06-06 Joseph Myers <joseph@codesourcery.com>
14836
14837 * scripts/config.guess: Update to version 2013-05-16.
14838 * scripts/config.sub: Update to version 2013-04-24.
14839 * scripts/install-sh: Update to version 2011-11-20.07.
14840 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14841 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14842
350635a5
OB
148432013-06-06 Ondřej Bílka <neleai@seznam.cz>
14844
14845 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14846 * elf/sln.c: Likewise.
14847 * hurd/hurd/ioctl.h: Likewise.
14848 * hurd/hurdmalloc.c: Likewise.
14849 * hurd/xattr.c: Likewise.
14850 * include/shlib-compat.h: Likewise.
14851 * inet/ruserpass.c: Likewise.
14852 * libio/iofgets_u.c: Likewise.
14853 * libio/iofgetws_u.c: Likewise.
14854 * locale/programs/ld-identification.c: Likewise.
14855 * locale/programs/ld-time.c: Likewise.
14856 * mach/msg-destroy.c: Likewise.
14857 * nss/nss_files/files-netgrp.c: Likewise.
14858 * resolv/res_data.c: Likewise.
14859 * soft-fp/op-1.h: Likewise.
14860 * soft-fp/op-2.h: Likewise.
14861 * soft-fp/op-4.h: Likewise.
14862 * soft-fp/op-common.h: Likewise.
14863 * stdio-common/printf_fphex.c: Likewise.
14864 * stdlib/strtod_l.c: Likewise.
14865 * sunrpc/rpc/clnt.h: Likewise.
14866 * sysdeps/generic/framestate.c: Likewise.
14867 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14868 * sysdeps/i386/bsd-setjmp.S: Likewise.
14869 * sysdeps/i386/__longjmp.S: Likewise.
14870 * sysdeps/i386/setjmp.S: Likewise.
14871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14872 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14873 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14881 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14883 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14884 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14887 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14889 * sysdeps/ieee754/support.c: Likewise.
14890 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14891 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14892 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14893 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14894 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14895 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14896 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14897 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14898 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14899 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14900 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14901 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14902 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14903 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14904 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14905 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14906 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14908
44a988af
OB
149092013-06-05 Ondřej Bílka <neleai@seznam.cz>
14910
25506f09 14911 * posix/transbug.c: Remove executable mode.
44a988af 14912
9c84384c
JM
149132013-06-05 Joseph Myers <joseph@codesourcery.com>
14914
14915 * crypt/speeds.c: Remove trailing whitespace.
14916 * dlfcn/default.c: Likewise.
14917 * elf/ifuncdep2.c: Likewise.
14918 * elf/ifuncmain1.c: Likewise.
14919 * elf/ifuncmain1vis.c: Likewise.
14920 * elf/testobj.h: Likewise.
14921 * elf/tst-stackguard1.c: Likewise.
14922 * gmon/sys/gmon.h: Likewise.
14923 * hurd/hurdmsg.c: Likewise.
14924 * hurd/new-fd.c: Likewise.
14925 * hurd/ports-get.c: Likewise.
14926 * iconvdata/ibm1008_420.c: Likewise.
14927 * inet/tst-getni1.c: Likewise.
14928 * inet/tst-getni2.c: Likewise.
14929 * libio/ioungetc.c: Likewise.
14930 * libio/wfiledoalloc.c: Likewise.
14931 * manual/libm-err-tab.pl: Likewise.
14932 * math/w_dremf.c: Likewise.
14933 * misc/ftruncate.c: Likewise.
14934 * posix/bug-glob2.c: Likewise.
14935 * posix/tst-pcre.c: Likewise.
14936 * posix/wait4.c: Likewise.
14937 * resolv/README: Likewise.
14938 * resolv/res_debug.h: Likewise.
14939 * resolv/tst-inet_ntop.c: Likewise.
14940 * setjmp/bug269-setjmp.c: Likewise.
14941 * soft-fp/extended.h: Likewise.
14942 * soft-fp/op-1.h: Likewise.
14943 * soft-fp/op-2.h: Likewise.
14944 * soft-fp/op-4.h: Likewise.
14945 * soft-fp/op-8.h: Likewise.
14946 * soft-fp/testit.c: Likewise.
14947 * stdio-common/bug16.c: Likewise.
14948 * stdlib/random.c: Likewise.
14949 * sunrpc/rpcsvc/rquota.x: Likewise.
14950 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14951 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14952 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14953 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14954 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14955 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14956 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14957 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14958 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14959 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14960 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14979 * sysdeps/ieee754/s_lib_version.c: Likewise.
14980 * sysdeps/mach/hurd/check_fds.c: Likewise.
14981 * sysdeps/mach/hurd/getsockname.c: Likewise.
14982 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14983 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14984 * sysdeps/powerpc/bits/link.h: Likewise.
14985 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14986 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14987 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14988 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14989 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14990 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14991 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14992 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14993 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14994 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14995 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14996 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14997 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14998 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14999 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15000 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15001 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15002 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15003 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15004 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15005 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15006 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15007 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15008 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15009 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15010 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15011 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15012 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15013 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15014 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15015 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15016 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15017 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15018 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15019 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15020 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15021 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15022 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15023 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15024 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15025 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15026 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15027 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15028 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15029 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15030 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15031 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15032 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15033 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15034 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15037 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15038 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15039 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15040 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15041 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15042 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15043 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15044 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15045 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15046 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15047 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15048 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15049 * sysdeps/powerpc/sysdep.h: Likewise.
15050 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15051 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15052 * sysdeps/sh/dl-trampoline.S: Likewise.
15053 * sysdeps/sh/memset.S: Likewise.
15054 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15055 * sysdeps/sh/strlen.S: Likewise.
15056 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15057 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15058 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15059 * sysdeps/sparc/sparc32/rem.S: Likewise.
15060 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15061 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15062 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15063 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15064 * sysdeps/sparc/sparc32/urem.S: Likewise.
15065 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15066 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15067 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15068 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15069 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15070 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15071 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15072 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15073 * sysdeps/unix/bsd/times.c: Likewise.
15074 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15075 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15079 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15080 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15081 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15082 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15083 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15084 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15085 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15086 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15087 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15088 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15089 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15090 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15091 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15092 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15093 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15094 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15095 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15096 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15097 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15098 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15099 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15100 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15101 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15102 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15103 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15104 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15105 * sysdeps/x86_64/strcspn.S: Likewise.
15106
869378a5
RA
151072013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15108
15109 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15110 generated file. Regenerate properly from gen-translit.pl.
15111 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15112 locale/C-translit.h.
15113
840e2943
AS
151142013-06-05 Andreas Schwab <schwab@suse.de>
15115
15116 [BZ #15100]
15117 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15118 week as 6 instead of -1.
15119 * time/tst-strptime.c (day_tests): Add test case.
15120
4c60cb0c
SP
151212013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15122
15123 * sysdeps/generic/math_private.h
15124 (libc_feholdexcept_setround_53bit): Replace with
15125 libc_feholdsetround_53bit.
15126 (libc_feupdateenv_53bit): Replace with
15127 libc_feresetround_53bit.
15128 (SET_RESTORE_ROUND_53BIT): Adjust.
15129
d180203e
SP
151302013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15131
96df079a
SP
15132 * string/test-strchrnul.c: Add copyright header.
15133
d180203e
SP
15134 * posix/tst-getaddrinfo4.c: Increase test timeout.
15135
8b0ccb2d
CD
151362013-06-03 Carlos O'Donell <carlos@redhat.com>
15137
15138 [BZ #15536]
15139 * math/libm-test.inc (MAX_EXP): Remove
15140 (MIN_EXP): Define.
15141 (ulp): Use MIN_EXP - MANT_DIG.
15142 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15143
3b3c4d40
CD
151442013-05-31 Carlos O'Donell <carlos@redhat.com>
15145
15146 * po/be.po: Revert last change.
15147 * po/zh_CN.po: Likewise.
15148 * po/header.pot: Likewise.
15149
fab7ce3f
JM
151502013-05-31 Joseph Myers <joseph@codesourcery.com>
15151
15152 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15153 link-libc-deps to empty as target-specific variable.
15154 * Makerules (link-libc-args): New variable.
15155 (libc-for-link): Likewise.
15156 (link-libc-deps): Likewise.
15157 (lib%.so): Depend on $(link-libc-deps). Link with
15158 $(link-libc-args).
15159 (build-module): Link with $(link-libc-args).
15160 (build-module-asneeded): Likewise.
15161 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15162 list of objects.
15163 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15164 target-specific variable.
15165 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15166 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15167 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15168 libc.
15169 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15170 libc and ld.so.
15171 ($(objpfx)libpcprofile.so): Likewise.
15172 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15173 libc_nonshared.a.
15174 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15175 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15176 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15177 $(link-libc-deps).
15178 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15179 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15180 * login/Makefile ($(objpfx)libutil.so): Likewise.
15181 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15182 * math/Makefile ($(objpfx)libm.so): Likewise.
15183 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15184 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15185 variable instead of depending directly on libc.
15186 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15187 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15188 $(link-libc-deps).
15189 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15190 libc.
15191 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15192 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15193 ($(objpfx)libanl.so): Likewise.
15194 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15195 ld.so.
15196 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15197 $(link-libc-deps).
15198 * sysdeps/i386/fpu/Makefile: Remove file.
15199 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15200 ($(objpfx)libm.so): Remove dependency on ld.so.
15201
eca5920c
PF
152022013-05-30 Patsy Franklin <pfrankli@redhat.com>
15203
15204 [BZ # 15553]
15205 * nis/yp_xdr.c (XDRMAXNAME): Define.
15206 (XDRMAXRECORD): Define.
15207 (xdr_domainname): Use XDRMAXNAME.
15208 (xdr_mapname): Likewise.
15209 (xdr_peername): Likewise.
15210 (xdr_keydat): Use XDRMAXRECORD.
15211 (xdr_valdat): Likewise.
15212
152132013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15214
15215 [BZ #14256]
15216 * manual/errno.texi (ESTALE): Update to account for more than
15217 just NFS file systems.
15218 * sysdeps/gnu/errlist.c: Regenerated.
15219
b9375348
SP
152202013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15221
15222 [BZ #15465]
15223 * elf/Makefile (tests): Add tst-null-argv.
15224 (modules-names): Add tst-null-argv-lib.
15225 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15226 (tst-null-argv-ENV): Set environment for tst-null-argv.
15227 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15228 (RTLD_PROGNAME): New macro.
15229 * elf/tst-null-argv.c: New test case.
15230 * elf/tst-null-argv-lib.c: Library for test case.
15231 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15232 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15233 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15234 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15235 * elf/dl-init.c (call_init): Likewise.
15236 (_dl_init): Likewise.
15237 * elf/dl-load.c (print_search_path): Likewise.
15238 (_dl_map_object): Likewise.
15239 * elf/dl-lookup.c (do_lookup_x): Likewise.
15240 (add_dependency): Likewise.
15241 (_dl_lookup_symbol_x): Likewise.
15242 (_dl_debug_bindings): Likewise.
15243 * elf/dl-open.c (_dl_show_scope): Likewise.
15244 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15245 * elf/dl-version.c (match_symbol): Likewise.
15246 (_dl_check_map_versions): Likewise.
15247 * elf/rtld.c (dl_main): Likewise.
15248 (print_unresolved): Use RTLD_PROGNAME.
15249 (print_missing_version): Likewise.
15250 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15251 (elf_machine_rela): Likewise.
15252 * sysdeps/powerpc/powerpc32/dl-machine.c
15253 (__process_machine_rela): Likewise.
15254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15255 Likewise.
15256 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15257 Likewise.
15258 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15259 Likewise.
15260 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15261 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15262 Likewise.
15263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15264 Likewise.
15265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15266
8a9f20c8
CD
152672013-05-28 Carlos O'Donell <carlos@redhat.com>
15268
15269 * po/be.po: Add descriptive title.
15270 * po/zh_CN.po: Likewise.
15271 * po/header.pot: Likewise.
15272
0e60d68e
MF
152732013-05-28 Mike Frysinger <vapier@gentoo.org>
15274
15275 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15276 error message.
15277 (enlarge_archive): Likewise.
15278
56b672e9
BN
152792013-05-28 Ben North <ben@redfrontdoor.org>
15280
15281 * manual/arith.texi (frexp): It is the magnitude of the return
15282 value which lies in [0.5, 1), not the return value itself.
15283
5e056687
AZ
152842013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15285
15286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15287
2b66ef5d
TS
152882013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15289
528c2405
TS
15290 * stdio-common/bug26.c (main): Correct fscanf template.
15291
07b4c13d
TS
15292 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15293 declare _dl_skip_args.
15294
ec9dd97c
TS
15295 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15296 Don't declare.
15297
2b66ef5d
TS
15298 * manual/platform.texi: Add missing @end deftypefun.
15299
4f8dfe27
JM
153002013-05-24 Joseph Myers <joseph@codesourcery.com>
15301
0323d086
JM
15302 [BZ #15529]
15303 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15304 bit of mantissa of 2^16382.
15305 * math/libm-test.inc (hypot_test_data): Add more tests.
15306
dd4259b9
JM
15307 * math/libm-test.inc: Add drem and pow10 to list of tested
15308 functions.
15309 (pow10_test): New function.
15310 (drem_test): Likewise.
15311 (drem_test_tonearest): Likewise.
15312 (drem_test_towardzero): Likewise.
15313 (drem_test_downward): Likewise.
15314 (drem_test_upward): Likewise.
15315 (main): Call the new functions.
15316
4f8dfe27
JM
15317 * math/libm-test.inc (finite_test_data): Remove.
15318 (finite_test): Run tests from isfinite_test_data.
15319 (gamma_test_data): Remove.
15320 (gamma_test): Run tests from lgamma_test_data.
15321 * sysdeps/i386/fpu/libm-test-ulps: Update.
15322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15323
d116b7c4
AZ
153242013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15325
15326 * manual/platform.texi: Add PowerPC PPR function set documentation.
15327 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15328 implementation.
15329
e96e3767
CD
153302013-05-24 Carlos O'Donell <carlos@redhat.com>
15331
15332 * math/libm-test.inc (MAX_EXP): Define.
15333 (ULPDIFF): Define.
15334 (ulp): New function.
15335 (check_float_internal): Use ULPDIFF.
15336 (cpow_test): Disable failing test.
15337 (check_ulp): Test ulp() implemetnation.
15338 (main): Call check_ulp before starting tests.
15339
b679a606
JM
153402013-05-24 Joseph Myers <joseph@codesourcery.com>
15341
e8bdba36
JM
15342 * math/gen-libm-test.pl (generate_testfile): Do not handle
15343 START_DATA and END_DATA.
15344 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15345 END_DATA.
15346 (acos_tonearest_test_data): Likewise.
15347 (acos_towardzero_test_data): Likewise.
15348 (acos_downward_test_data): Likewise.
15349 (acos_upward_test_data): Likewise.
15350 (acosh_test_data): Likewise.
15351 (asin_test_data): Likewise.
15352 (asin_tonearest_test_data): Likewise.
15353 (asin_towardzero_test_data): Likewise.
15354 (asin_downward_test_data): Likewise.
15355 (asin_upward_test_data): Likewise.
15356 (asinh_test_data): Likewise.
15357 (atan_test_data): Likewise.
15358 (atanh_test_data): Likewise.
15359 (atan2_test_data): Likewise.
15360 (cabs_test_data): Likewise.
15361 (cacos_test_data): Likewise.
15362 (cacosh_test_data): Likewise.
15363 (carg_test_data): Likewise.
15364 (casin_test_data): Likewise.
15365 (casinh_test_data): Likewise.
15366 (catan_test_data): Likewise.
15367 (catanh_test_data): Likewise.
15368 (cbrt_test_data): Likewise.
15369 (ccos_test_data): Likewise.
15370 (ccosh_test_data): Likewise.
15371 (ceil_test_data): Likewise.
15372 (cexp_test_data): Likewise.
15373 (cimag_test_data): Likewise.
15374 (clog_test_data): Likewise.
15375 (clog10_test_data): Likewise.
15376 (conj_test_data): Likewise.
15377 (copysign_test_data): Likewise.
15378 (cos_test_data): Likewise.
15379 (cos_tonearest_test_data): Likewise.
15380 (cos_towardzero_test_data): Likewise.
15381 (cos_downward_test_data): Likewise.
15382 (cos_upward_test_data): Likewise.
15383 (cosh_test_data): Likewise.
15384 (cosh_tonearest_test_data): Likewise.
15385 (cosh_towardzero_test_data): Likewise.
15386 (cosh_downward_test_data): Likewise.
15387 (cosh_upward_test_data): Likewise.
15388 (cpow_test_data): Likewise.
15389 (cproj_test_data): Likewise.
15390 (creal_test_data): Likewise.
15391 (csin_test_data): Likewise.
15392 (csinh_test_data): Likewise.
15393 (csqrt_test_data): Likewise.
15394 (ctan_test_data): Likewise.
15395 (ctan_tonearest_test_data): Likewise.
15396 (ctan_towardzero_test_data): Likewise.
15397 (ctan_downward_test_data): Likewise.
15398 (ctan_upward_test_data): Likewise.
15399 (ctanh_test_data): Likewise.
15400 (ctanh_tonearest_test_data): Likewise.
15401 (ctanh_towardzero_test_data): Likewise.
15402 (ctanh_downward_test_data): Likewise.
15403 (ctanh_upward_test_data): Likewise.
15404 (erf_test_data): Likewise.
15405 (erfc_test_data): Likewise.
15406 (exp_test_data): Likewise.
15407 (exp_tonearest_test_data): Likewise.
15408 (exp_towardzero_test_data): Likewise.
15409 (exp_downward_test_data): Likewise.
15410 (exp_upward_test_data): Likewise.
15411 (exp10_test_data): Likewise.
15412 (exp2_test_data): Likewise.
15413 (expm1_test_data): Likewise.
15414 (fabs_test_data): Likewise.
15415 (fdim_test_data): Likewise.
15416 (finite_test_data): Likewise.
15417 (floor_test_data): Likewise.
15418 (fma_test_data): Likewise.
15419 (fma_towardzero_test_data): Likewise.
15420 (fma_downward_test_data): Likewise.
15421 (fma_upward_test_data): Likewise.
15422 (fmax_test_data): Likewise.
15423 (fmin_test_data): Likewise.
15424 (fmod_test_data): Likewise.
15425 (fpclassify_test_data): Likewise.
15426 (frexp_test_data): Likewise.
15427 (gamma_test_data): Likewise.
15428 (hypot_test_data): Likewise.
15429 (ilogb_test_data): Likewise.
15430 (isfinite_test_data): Likewise.
15431 (isgreater_test_data): Likewise.
15432 (isgreaterequal_test_data): Likewise.
15433 (isinf_test_data): Likewise.
15434 (isless_test_data): Likewise.
15435 (islessequal_test_data): Likewise.
15436 (islessgreater_test_data): Likewise.
15437 (isnan_test_data): Likewise.
15438 (isnormal_test_data): Likewise.
15439 (issignaling_test_data): Likewise.
15440 (isunordered_test_data): Likewise.
15441 (j0_test_data): Likewise.
15442 (j1_test_data): Likewise.
15443 (jn_test_data): Likewise.
15444 (ldexp_test_data): Likewise.
15445 (lgamma_test_data): Likewise.
15446 (lrint_test_data): Likewise.
15447 (lrint_tonearest_test_data): Likewise.
15448 (lrint_towardzero_test_data): Likewise.
15449 (lrint_downward_test_data): Likewise.
15450 (lrint_upward_test_data): Likewise.
15451 (llrint_test_data): Likewise.
15452 (llrint_tonearest_test_data): Likewise.
15453 (llrint_towardzero_test_data): Likewise.
15454 (llrint_downward_test_data): Likewise.
15455 (llrint_upward_test_data): Likewise.
15456 (log_test_data): Likewise.
15457 (log10_test_data): Likewise.
15458 (log1p_test_data): Likewise.
15459 (log2_test_data): Likewise.
15460 (logb_test_data): Likewise.
15461 (logb_downward_test_data): Likewise.
15462 (lround_test_data): Likewise.
15463 (llround_test_data): Likewise.
15464 (modf_test_data): Likewise.
15465 (nearbyint_test_data): Likewise.
15466 (nextafter_test_data): Likewise.
15467 (nexttoward_test_data): Likewise.
15468 (pow_test_data): Likewise.
15469 (pow_tonearest_test_data): Likewise.
15470 (pow_towardzero_test_data): Likewise.
15471 (pow_downward_test_data): Likewise.
15472 (pow_upward_test_data): Likewise.
15473 (remainder_test_data): Likewise.
15474 (remainder_tonearest_test_data): Likewise.
15475 (remainder_towardzero_test_data): Likewise.
15476 (remainder_downward_test_data): Likewise.
15477 (remainder_upward_test_data): Likewise.
15478 (remquo_test_data): Likewise.
15479 (rint_test_data): Likewise.
15480 (rint_tonearest_test_data): Likewise.
15481 (rint_towardzero_test_data): Likewise.
15482 (rint_downward_test_data): Likewise.
15483 (rint_upward_test_data): Likewise.
15484 (round_test_data): Likewise.
15485 (scalb_test_data): Likewise.
15486 (scalbn_test_data): Likewise.
15487 (scalbln_test_data): Likewise.
15488 (signbit_test_data): Likewise.
15489 (sin_test_data): Likewise.
15490 (sin_tonearest_test_data): Likewise.
15491 (sin_towardzero_test_data): Likewise.
15492 (sin_downward_test_data): Likewise.
15493 (sin_upward_test_data): Likewise.
15494 (sincos_test_data): Likewise.
15495 (sinh_test_data): Likewise.
15496 (sinh_tonearest_test_data): Likewise.
15497 (sinh_towardzero_test_data): Likewise.
15498 (sinh_downward_test_data): Likewise.
15499 (sinh_upward_test_data): Likewise.
15500 (sqrt_test_data): Likewise.
15501 (tan_test_data): Likewise.
15502 (tan_tonearest_test_data): Likewise.
15503 (tan_towardzero_test_data): Likewise.
15504 (tan_downward_test_data): Likewise.
15505 (tan_upward_test_data): Likewise.
15506 (tanh_test_data): Likewise.
15507 (tgamma_test_data): Likewise.
15508 (trunc_test_data): Likewise.
15509 (y0_test_data): Likewise.
15510 (y1_test_data): Likewise.
15511 (yn_test_data): Likewise.
15512 (significand_test_data): Likewise.
15513
b679a606
JM
15514 * math/gen-libm-test.pl (@functions): Remove variable.
15515 (generate_testfile): Don't handle START and END lines.
15516 * math/libm-test.inc (START): New macro.
15517 (END): Likewise.
15518 (END_COMPLEX): Likewise.
15519 (acos_test): Use END macro without arguments.
15520 (acos_test_tonearest): Likewise.
15521 (acos_test_towardzero): Likewise.
15522 (acos_test_downward): Likewise.
15523 (acos_test_upward): Likewise.
15524 (acosh_test): Likewise.
15525 (asin_test): Likewise.
15526 (asin_test_tonearest): Likewise.
15527 (asin_test_towardzero): Likewise.
15528 (asin_test_downward): Likewise.
15529 (asin_test_upward): Likewise.
15530 (asinh_test): Likewise.
15531 (atan_test): Likewise.
15532 (atanh_test): Likewise.
15533 (atan2_test): Likewise.
15534 (cabs_test): Likewise.
15535 (cacos_test): Use END_COMPLEX macro without arguments.
15536 (cacosh_test): Likewise.
15537 (carg_test): Use END macro without arguments.
15538 (casin_test): Use END_COMPLEX macro without arguments.
15539 (casinh_test): Likewise.
15540 (catan_test): Likewise.
15541 (catanh_test): Likewise.
15542 (cbrt_test): Use END macro without arguments.
15543 (ccos_test): Use END_COMPLEX macro without arguments.
15544 (ccosh_test): Likewise.
15545 (ceil_test): Use END macro without arguments.
15546 (cexp_test): Use END_COMPLEX macro without arguments.
15547 (cimag_test): Use END macro without arguments.
15548 (clog_test): Use END_COMPLEX macro without arguments.
15549 (clog10_test): Likewise.
15550 (conj_test): Likewise.
15551 (copysign_test): Use END macro without arguments.
15552 (cos_test): Likewise.
15553 (cos_test_tonearest): Likewise.
15554 (cos_test_towardzero): Likewise.
15555 (cos_test_downward): Likewise.
15556 (cos_test_upward): Likewise.
15557 (cosh_test): Likewise.
15558 (cosh_test_tonearest): Likewise.
15559 (cosh_test_towardzero): Likewise.
15560 (cosh_test_downward): Likewise.
15561 (cosh_test_upward): Likewise.
15562 (cpow_test): Use END_COMPLEX macro without arguments.
15563 (cproj_test): Likewise.
15564 (creal_test): Use END macro without arguments.
15565 (csin_test): Use END_COMPLEX macro without arguments.
15566 (csinh_test): Likewise.
15567 (csqrt_test): Likewise.
15568 (ctan_test): Likewise.
15569 (ctan_test_tonearest): Likewise.
15570 (ctan_test_towardzero): Likewise.
15571 (ctan_test_downward): Likewise.
15572 (ctan_test_upward): Likewise.
15573 (ctanh_test): Likewise.
15574 (ctanh_test_tonearest): Likewise.
15575 (ctanh_test_towardzero): Likewise.
15576 (ctanh_test_downward): Likewise.
15577 (ctanh_test_upward): Likewise.
15578 (erf_test): Use END macro without arguments.
15579 (erfc_test): Likewise.
15580 (exp_test): Likewise.
15581 (exp_test_tonearest): Likewise.
15582 (exp_test_towardzero): Likewise.
15583 (exp_test_downward): Likewise.
15584 (exp_test_upward): Likewise.
15585 (exp10_test): Likewise.
15586 (exp2_test): Likewise.
15587 (expm1_test): Likewise.
15588 (fabs_test): Likewise.
15589 (fdim_test): Likewise.
15590 (finite_test): Likewise.
15591 (floor_test): Likewise.
15592 (fma_test): Likewise.
15593 (fma_test_towardzero): Likewise.
15594 (fma_test_downward): Likewise.
15595 (fma_test_upward): Likewise.
15596 (fmax_test): Likewise.
15597 (fmin_test): Likewise.
15598 (fmod_test): Likewise.
15599 (fpclassify_test): Likewise.
15600 (frexp_test): Likewise.
15601 (gamma_test): Likewise.
15602 (hypot_test): Likewise.
15603 (ilogb_test): Likewise.
15604 (isfinite_test): Likewise.
15605 (isgreater_test): Likewise.
15606 (isgreaterequal_test): Likewise.
15607 (isinf_test): Likewise.
15608 (isless_test): Likewise.
15609 (islessequal_test): Likewise.
15610 (islessgreater_test): Likewise.
15611 (isnan_test): Likewise.
15612 (isnormal_test): Likewise.
15613 (issignaling_test): Likewise.
15614 (isunordered_test): Likewise.
15615 (j0_test): Likewise.
15616 (j1_test): Likewise.
15617 (jn_test): Likewise.
15618 (ldexp_test): Likewise.
15619 (lgamma_test): Likewise.
15620 (lrint_test): Likewise.
15621 (lrint_test_tonearest): Likewise.
15622 (lrint_test_towardzero): Likewise.
15623 (lrint_test_downward): Likewise.
15624 (lrint_test_upward): Likewise.
15625 (llrint_test): Likewise.
15626 (llrint_test_tonearest): Likewise.
15627 (llrint_test_towardzero): Likewise.
15628 (llrint_test_downward): Likewise.
15629 (llrint_test_upward): Likewise.
15630 (log_test): Likewise.
15631 (log10_test): Likewise.
15632 (log1p_test): Likewise.
15633 (log2_test): Likewise.
15634 (logb_test): Likewise.
15635 (logb_test_downward): Likewise.
15636 (lround_test): Likewise.
15637 (llround_test): Likewise.
15638 (modf_test): Likewise.
15639 (nearbyint_test): Likewise.
15640 (nextafter_test): Likewise.
15641 (nexttoward_test): Likewise.
15642 (pow_test): Likewise.
15643 (pow_test_tonearest): Likewise.
15644 (pow_test_towardzero): Likewise.
15645 (pow_test_downward): Likewise.
15646 (pow_test_upward): Likewise.
15647 (remainder_test): Likewise.
15648 (remainder_test_tonearest): Likewise.
15649 (remainder_test_towardzero): Likewise.
15650 (remainder_test_downward): Likewise.
15651 (remainder_test_upward): Likewise.
15652 (remquo_test): Likewise.
15653 (rint_test): Likewise.
15654 (rint_test_tonearest): Likewise.
15655 (rint_test_towardzero): Likewise.
15656 (rint_test_downward): Likewise.
15657 (rint_test_upward): Likewise.
15658 (round_test): Likewise.
15659 (scalb_test): Likewise.
15660 (scalbn_test): Likewise.
15661 (scalbln_test): Likewise.
15662 (signbit_test): Likewise.
15663 (sin_test): Likewise.
15664 (sin_test_tonearest): Likewise.
15665 (sin_test_towardzero): Likewise.
15666 (sin_test_downward): Likewise.
15667 (sin_test_upward): Likewise.
15668 (sincos_test): Likewise.
15669 (sinh_test): Likewise.
15670 (sinh_test_tonearest): Likewise.
15671 (sinh_test_towardzero): Likewise.
15672 (sinh_test_downward): Likewise.
15673 (sinh_test_upward): Likewise.
15674 (sqrt_test): Likewise.
15675 (tan_test): Likewise.
15676 (tan_test_tonearest): Likewise.
15677 (tan_test_towardzero): Likewise.
15678 (tan_test_downward): Likewise.
15679 (tan_test_upward): Likewise.
15680 (tanh_test): Likewise.
15681 (tgamma_test): Likewise.
15682 (trunc_test): Likewise.
15683 (y0_test): Likewise.
15684 (y1_test): Likewise.
15685 (yn_test): Likewise.
15686 (significand_test): Likewise.
15687
bae143d2
OB
156882013-05-24 Ondřej Bílka <neleai@seznam.cz>
15689
15690 [BZ #15381]
15691 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15692
9323d39b
EM
156932013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15694
d4ea44a0 15695 [BZ #14894]
9323d39b
EM
15696 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15697 __ppc_mdoio and __ppc_mdoom.
15698 * manual/platform.texi: Document new functions __ppc_yield,
15699 __ppc_mdoio and __ppc_mdoom.
15700
13e23af7
CD
157012013-05-22 Carlos O'Donell <carlos@redhat.com>
15702
15703 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15704 (main): Mention "tls" pseudo-hwcap is legacy.
15705 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15706
351fe550
JM
157072013-05-22 Joseph Myers <joseph@codesourcery.com>
15708
15709 * math/gen-libm-test.pl (parse_args): Output only string of
15710 arguments as text for test name, not full call or descriptions of
15711 tests for extra outputs.
15712 (generate_testfile): Do not pass function name to parse_args.
15713 Generate this_func variable from START.
15714 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15715 field to arg_str.
15716 (struct test_ff_f_data): Likewise.
15717 (test_ff_f_data_nexttoward): Likewise.
15718 (struct test_fi_f_data): Likewise.
15719 (struct test_fl_f_data): Likewise.
15720 (struct test_if_f_data): Likewise.
15721 (struct test_fff_f_data): Likewise.
15722 (struct test_c_f_data): Likewise.
15723 (struct test_f_f1_data): Likewise. Remove field extra_name.
15724 (struct test_fF_f1_data): Likewise.
15725 (struct test_ffI_f1_data): Likewise.
15726 (struct test_c_c_data): Rename test_name field to arg_str.
15727 (struct test_cc_c_data): Likewise.
15728 (struct test_f_i_data): Likewise.
15729 (struct test_ff_i_data): Likewise.
15730 (struct test_f_l_data): Likewise.
15731 (struct test_f_L_data): Likewise.
15732 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15733 and extra2_name.
15734 (COMMON_TEST_SETUP): New macro.
15735 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15736 (COMMON_TEST_CLEANUP): Likewise.
15737 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15738 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15739 macros.
15740 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15741 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15742 macros.
15743 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15744 (RUN_TEST_fff_f): Take argument string. Call new setup and
15745 cleanup macros.
15746 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15747 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15748 macros.
15749 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15750 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15751 macros.
15752 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15753 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15754 cleanup macros.
15755 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15756 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15757 cleanup macros.
15758 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15759 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15760 cleanup macros.
15761 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15762 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15763 macros.
15764 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15765 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15766 macros.
15767 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15768 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15769 macros.
15770 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15771 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15772 cleanup macros.
15773 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15774 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15775 cleanup macros.
15776 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15777 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15778 macros.
15779 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15780 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15781 cleanup macros.
15782 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15783 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15784 macros.
15785 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15786 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15787 macros.
15788 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15789 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15790 cleanup macros.
15791 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15792
85118d4d
EBM
157932013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15794
15795 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15796 to _sifields.sigfault.
15797 (si_addr_lsb): Define new macro.
15798 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15800 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15801
7a44c18f
CD
158022013-05-03 Carlos O'Donell <carlos at redhat.com>
15803
15804 [BZ #15441]
15805 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15806 returns -1.
15807 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15808 null return -1.
15809 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15810 loading the domain.
15811
b50a7181
JM
158122013-05-22 Joseph Myers <joseph@codesourcery.com>
15813
15814 * math/gen-libm-test.pl (parse_args): Do not include expected
15815 result in test name.
15816 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15818 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15819 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15820 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15822
051063c8
SP
158232013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15824
3ce9e010
SP
15825 * benchtests/Makefile: Sort function entries.
15826
051063c8
SP
15827 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15828 tanh, asinh, acosh, atanh.
15829 * benchtests/acos-inputs: New file.
15830 * benchtests/acosh-inputs: New file.
15831 * benchtests/asin-inputs: New file.
15832 * benchtests/asinh-inputs: New file.
15833 * benchtests/atanh-inputs: New file.
15834 * benchtests/cosh-inputs: New file.
15835 * benchtests/log-inputs: New file.
15836 * benchtests/sinh-inputs: New file.
15837 * benchtests/tanh-inputs: New file.
15838
47c22455
DL
158392013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15840
15841 [BZ #15339]
15842 * posix/tst-getaddrinfo4.c: New test.
15843 * posix/Makefile (tests): Add it.
15844
3d04f5db
SP
158452013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15846
15847 [BZ #15339]
15848 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15849 when no services were used.
15850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15851 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15852
d5dd6189
AS
158532013-05-21 Andreas Schwab <schwab@suse.de>
15854
15855 [BZ #15014]
15856 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15857 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15858 successful.
15859 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15860 redundant variable declarations and reallocation of buffer when
15861 parsing as IPv6 address. Always set NSS status when called from
15862 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15863 buffer too small. Correct computation of needed size.
15864 * nss/Makefile (tests): Add test-digits-dots.
15865 * nss/test-digits-dots.c: New test.
15866
fef94eab
SP
158672013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15868
15869 * benchtests/Makefile: Remove instructions for adding
15870 benchmark tests.
15871 * benchtests/README: New file to explain how to execute and
15872 enhance the benchmark tests.
15873
e39adf43
AS
158742013-05-21 Andreas Schwab <schwab@suse.de>
15875
15876 [BZ #15493]
15877 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15878 * setjmp/tst-sigsetjmp.c: New test.
15879
b2b671b6
OB
158802013-05-20 Ondřej Bílka <neleai@seznam.cz>
15881
15882 * sysdeps/x86_64/memset.S (memset): New implementation.
15883 (__bzero): Likewise.
15884 (__memset_tail): New function.
15885
2d48b41c
OB
158862013-05-20 Ondřej Bílka <neleai@seznam.cz>
15887
15888 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15889 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15890 __memcpy_sse2_unaligned ifunc selection.
15891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15892 Add memcpy-sse2-unaligned.S.
15893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15894 Add: __memcpy_sse2_unaligned.
15895
f16cc3eb
JM
158962013-05-19 Joseph Myers <joseph@codesourcery.com>
15897
3e694268
JM
15898 [BZ #15490]
15899 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15900 math_force_eval before restoring floating-point envrionment.
15901 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15903 Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15905 <math_private.h>.
15906 (__nearbyintl): Use math_force_eval before restoring
15907 floating-point environment.
15908 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15909
db62a907
JM
15910 * math/gen-libm-test.pl (special_functions): Remove.
15911 (parse_args): Don't handle TEST_extra. Handle functions with no
15912 return value.
15913 * math/libm-test.inc (struct test_sincos_data): Replace with
15914 struct test_fFF_11_data.
15915 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15916 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15917 (sincos_test_data): Change element type to struct
15918 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15919 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15920 RUN_TEST_LOOP_sincos.
15921 * math/README.libm-test: Don't mention special handling of
15922 individual functions.
15923 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15924 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15925 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15926 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15927 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15929
f16cc3eb
JM
15930 * math/gen-libm-test.pl (get_variable): Remove function.
15931 (parse_args): Don't show pointer parameters to call in test
15932 names. Use "extra output N" in test names for extra outputs
15933 rather than naming variables.
15934
3779b5b6
JM
159352013-05-18 Joseph Myers <joseph@codesourcery.com>
15936
2ee094ff
JM
15937 [BZ #15488]
15938 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15939 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15940 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15941 double tests.
15942 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15943 disable.
15944 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15945 check_long_double.
15946
3779b5b6
JM
15947 * math/gen-libm-test.pl (@tests): Remove variable.
15948 ($count): Likewise.
15949 (new_test): Remove function.
15950 (show_exceptions): New function.
15951 (special_functions): Use show_exceptions instead of new_test.
15952 (parse_args): Likewise.
15953 (generate_testfile): Pass only function name in generated call to
15954 print_max_error or print_complex_max_error.
15955 (get_ulps): Do not handle complex tests specially.
15956 (output_test): Rename to ...
15957 (get_all_ulps_for_test): ... this. Return a string rather than
15958 printing to a file. Require ulps to be present.
15959 (output_ulps): Generate arrays rather than #defines.
15960 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15961 (struct ulp_data): New type.
15962 (BUILD_COMPLEX_ULP): Remove macro.
15963 (compare_ulp_data): New function.
15964 (find_ulps): Likewise.
15965 (find_test_ulps): Likewise.
15966 (find_function_ulps): Likewise.
15967 (find_complex_function_ulps): Likewise.
15968 (print_max_error): Determine allowed ulps using
15969 find_function_ulps.
15970 (print_complex_max_error): Determine allowed ulps using
15971 find_complex_function_ulps.
15972 (check_float_internal): Determine max ulps using find_test_ulps.
15973 (check_float): Do not take max_ulp parameter. Update call to
15974 check_float_internal.
15975 (check_complex): Likewise.
15976 (check_int): Do not take max_ulp parameter.
15977 (check_long): Likewise.
15978 (check_bool): Likewise.
15979 (check_longlong): Likewise.
15980 (struct test_f_f_data): Remove max_ulp field.
15981 (struct test_ff_f_data): Likewise.
15982 (struct test_ff_f_data_nexttoward): Likewise.
15983 (struct test_fi_f_data): Likewise.
15984 (struct test_fl_f_data): Likewise.
15985 (struct test_if_f_data): Likewise.
15986 (struct test_fff_f_data): Likewise.
15987 (struct test_c_f_data): Likewise.
15988 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15989 (struct test_fF_f1_data): Likewise.
15990 (struct test_ffI_f1_data): Likewise.
15991 (struct test_c_c_data): Remove max_ulp field.
15992 (struct test_cc_c_data): Likewise.
15993 (struct test_f_i_data): Likewise.
15994 (struct test_ff_i_data): Likewise.
15995 (struct test_f_l_data): Likewise.
15996 (struct test_f_L_data): Likewise.
15997 (struct test_sincos_data): Likewise.
15998 (RUN_TEST_f_f): Do not handle ulps.
15999 (RUN_TEST_LOOP_f_f): Likewise.
16000 (RUN_TEST_2_f): Likewise.
16001 (RUN_TEST_LOOP_2_f): Likewise.
16002 (RUN_TEST_fff_f): Likewise.
16003 (RUN_TEST_LOOP_fff_f): Likewise.
16004 (RUN_TEST_c_f): Likewise.
16005 (RUN_TEST_LOOP_c_f): Likewise.
16006 (RUN_TEST_f_f1): Likewise.
16007 (RUN_TEST_LOOP_f_f1): Likewise.
16008 (RUN_TEST_fF_f1): Likewise.
16009 (RUN_TEST_LOOP_fF_f1): Likewise.
16010 (RUN_TEST_fI_f1): Likewise.
16011 (RUN_TEST_LOOP_fI_f1): Likewise.
16012 (RUN_TEST_ffI_f1): Likewise.
16013 (RUN_TEST_LOOP_ffI_f1): Likewise.
16014 (RUN_TEST_c_c): Likewise.
16015 (RUN_TEST_LOOP_c_c): Likewise.
16016 (RUN_TEST_cc_c): Likewise.
16017 (RUN_TEST_LOOP_cc_c): Likewise.
16018 (RUN_TEST_f_i): Likewise.
16019 (RUN_TEST_LOOP_f_i): Likewise.
16020 (RUN_TEST_f_i_tg): Likewise.
16021 (RUN_TEST_LOOP_f_i_tg): Likewise.
16022 (RUN_TEST_ff_i_tg): Likewise.
16023 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16024 (RUN_TEST_f_b): Likewise.
16025 (RUN_TEST_LOOP_f_b): Likewise.
16026 (RUN_TEST_f_b_tg): Likewise.
16027 (RUN_TEST_LOOP_f_b_tg): Likewise.
16028 (RUN_TEST_f_l): Likewise.
16029 (RUN_TEST_LOOP_f_l): Likewise.
16030 (RUN_TEST_f_L): Likewise.
16031 (RUN_TEST_LOOP_f_L): Likewise.
16032 (RUN_TEST_sincos): Likewise.
16033 (RUN_TEST_LOOP_sincos): Likewise.
16034
8269107f
JM
160352013-05-17 Joseph Myers <joseph@codesourcery.com>
16036
bb38759d
JM
16037 [BZ #15480]
16038 [BZ #15485]
16039 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16040 main case of finite arguments, set rounding mode to FE_TONEAREST
16041 and discard exceptions.
16042 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16043 exceptions.
16044 (remainder_tonearest_test_data): New variable.
16045 (remainder_test_tonearest): New function.
16046 (remainder_towardzero_test_data): New variable.
16047 (remainder_test_towardzero): New function.
16048 (remainder_downward_test_data): New variable.
16049 (remainder_test_downward): New function.
16050 (remainder_upward_test_data): New variable.
16051 (remainder_test_upward): New function.
16052 (main): Call the new test functions.
16053
a00bdcf0
JM
16054 * math/libm-test.inc (struct test_f_f1_data): Remove field
16055 extra_init.
16056 (struct test_fF_f1_data): Likewise.
16057 (struct test_ffI_f1_data): Likewise.
16058 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16059 based on value of EXTRA_EXPECTED.
16060 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16061 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16062 EXTRA_VAR based on value of EXTRA_EXPECTED.
16063 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16064 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16065 EXTRA_VAR based on value of EXTRA_EXPECTED.
16066 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16067 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16068 EXTRA_VAR based on value of EXTRA_EXPECTED.
16069 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16070 * math/gen-libm-test.pl (parse_args): Don't output initializers
16071 for extra output values.
16072
de407f79
JM
16073 * math/libm-test.inc (check_int): Expect result to be exactly
16074 equal to expected value and do not handle ulps.
16075 (check_long): Likewise.
16076 (check_longlong): Likewise.
16077
8269107f
JM
16078 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16079 exceptions.
16080 (cimag_test_data): Likewise.
16081 (conj_test_data): Likewise.
16082 (copysign_test_data): Likewise.
16083 (cproj_test_data): Likewise.
16084 (creal_test_data): Likewise.
16085 (fabs_test_data): Likewise.
16086 (fdim_test_data): Likewise.
16087 (finite_test_data): Likewise.
16088 (floor_test_data): Likewise.
16089 (fmax_test_data): Likewise.
16090 (fmin_test_data): Likewise.
16091 (fmod_test_data): Likewise.
16092 (fpclassify_test_data): Likewise.
16093 (frexp_test_data): Likewise.
16094 (ilogb_test_data): Likewise.
16095 (isfinite_test_data): Likewise.
16096 (isgreater_test_data): Likewise.
16097 (isgreaterequal_test_data): Likewise.
16098 (isinf_test_data): Likewise.
16099 (isless_test_data): Likewise.
16100 (islessequal_test_data): Likewise.
16101 (islessgreater_test_data): Likewise.
16102 (isnan_test_data): Likewise.
16103 (isnormal_test_data): Likewise.
16104 (issignaling_test_data): Likewise.
16105 (isunordered_test_data): Likewise.
16106 (ldexp_test_data): Likewise.
16107 (lrint_test_data): Likewise.
16108 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16109 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16110 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16111 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16112 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16113 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16114 test input.
16115 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16116 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16117 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16118 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16119 that test input.
16120 (lrint_downward_test_data): Test for "inexact" exceptions.
16121 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16122 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16123 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16124 test input.
16125 (lrint_upward_test_data): Test for "inexact" exceptions.
16126 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16127 test input.
16128 (llrint_test_data): Test for "inexact" exceptions.
16129 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16130 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16131 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16132 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16133 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16134 (llrint_downward_test_data): Test for "inexact" exceptions.
16135 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16136 (llrint_upward_test_data): Test for "inexact" exceptions.
16137 (logb_test_data): Likewise.
16138 (logb_downward_test_data): Likewise.
16139 (nextafter_test_data): Likewise.
16140 (nexttoward_test_data): Likewise.
16141 (remainder_test_data): Likewise.
16142 (remquo_test_data): Likewise.
16143 (scalbn_test_data): Likewise.
16144 (scalbln_test_data): Likewise.
16145 (signbit_test_data): Likewise.
16146 (sqrt_test_data): Likewise.
16147 (significand_test_data): Likewise.
16148
48a18de1
SP
161492013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16150
16151 [BZ #15424]
16152 * benchtests/bench-modf.c (struct args): Mark arg0 as
16153 volatile.
16154 * scripts/bench.pl: Mark members of struct args as volatile.
16155
13d3b41a
AZ
161562013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16157
68191c1d 16158 [BZ # 15497]
13d3b41a
AZ
16159 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16160 negative infinity on POWER6 or lower.
16161 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16162
2848b105
MR
161632013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16164
16165 [BZ #15442]
16166 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16167 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16168 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16169 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16170 (_FP_SETQNAN): New macro.
16171 (_FP_SETQNAN_SEMIRAW): Likewise.
16172 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16173 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16174 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16175 (FP_EXTEND): Use _FP_FRAC_SNANP.
16176 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16177 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16178 into account.
16179 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16180 New macro.
16181 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16182 Likewise.
16183
323e5cb7
JM
161842013-05-16 Joseph Myers <joseph@codesourcery.com>
16185
c58b274f
JM
16186 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16187 with DIVIDE_BY_ZERO_EXCEPTION.
16188 (gamma_test_data): Likewise.
16189 (lgamma_test_data): Likewise.
16190 (log_test_data): Likewise.
16191 (log10_test_data): Likewise.
16192 (log2_test_data): Likewise.
16193 (tgamma_test_data): Likewise.
16194
0ab34904
JM
16195 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16196 (acos_test_tonearest): Likewise.
16197 (acos_test_towardzero): Likewise.
16198 (acos_test_downward): Likewise.
16199 (acos_test_upward): Likewise.
16200 (acosh_test): Likewise.
16201 (asin_test): Likewise.
16202 (asin_test_tonearest): Likewise.
16203 (asin_test_towardzero): Likewise.
16204 (asin_test_downward): Likewise.
16205 (asin_test_upward): Likewise.
16206 (asinh_test): Likewise.
16207 (atan_test): Likewise.
16208 (atanh_test): Likewise.
16209 (atan2_test): Likewise.
16210 (cabs_test): Likewise.
16211 (cacos_test): Likewise.
16212 (cacosh_test): Likewise.
16213 (casin_test): Likewise.
16214 (casinh_test): Likewise.
16215 (catan_test): Likewise.
16216 (catanh_test): Likewise.
16217 (cbrt_test): Likewise.
16218 (ccos_test): Likewise.
16219 (ccosh_test): Likewise.
16220 (cexp_test): Likewise.
16221 (clog_test): Likewise.
16222 (clog10_test): Likewise.
16223 (cos_test): Likewise.
16224 (cos_test_tonearest): Likewise.
16225 (cos_test_towardzero): Likewise.
16226 (cos_test_downward): Likewise.
16227 (cos_test_upward): Likewise.
16228 (cosh_test): Likewise.
16229 (cosh_test_tonearest): Likewise.
16230 (cosh_test_towardzero): Likewise.
16231 (cosh_test_downward): Likewise.
16232 (cosh_test_upward): Likewise.
16233 (cpow_test): Likewise.
16234 (csin_test): Likewise.
16235 (csinh_test): Likewise.
16236 (csqrt_test): Likewise.
16237 (ctan_test): Likewise.
16238 (ctan_test_tonearest): Likewise.
16239 (ctan_test_towardzero): Likewise.
16240 (ctan_test_downward): Likewise.
16241 (ctan_test_upward): Likewise.
16242 (ctanh_test): Likewise.
16243 (ctanh_test_tonearest): Likewise.
16244 (ctanh_test_towardzero): Likewise.
16245 (ctanh_test_downward): Likewise.
16246 (ctanh_test_upward): Likewise.
16247 (erf_test): Likewise.
16248 (erfc_test): Likewise.
16249 (exp_test): Likewise.
16250 (exp_test_tonearest): Likewise.
16251 (exp_test_towardzero): Likewise.
16252 (exp_test_downward): Likewise.
16253 (exp_test_upward): Likewise.
16254 (exp10_test): Likewise.
16255 (exp2_test): Likewise.
16256 (expm1_test): Likewise.
16257 (fmod_test): Likewise.
16258 (gamma_test): Likewise.
16259 (hypot_test): Likewise.
16260 (j0_test): Likewise.
16261 (j1_test): Likewise.
16262 (jn_test): Likewise.
16263 (lgamma_test): Likewise.
16264 (log_test): Likewise.
16265 (log10_test): Likewise.
16266 (log1p_test): Likewise.
16267 (log2_test): Likewise.
16268 (logb_test_downward): Likewise.
16269 (pow_test): Likewise.
16270 (pow_test_tonearest): Likewise.
16271 (pow_test_towardzero): Likewise.
16272 (pow_test_downward): Likewise.
16273 (pow_test_upward): Likewise.
16274 (remainder_test): Likewise.
16275 (remquo_test): Likewise.
16276 (sin_test): Likewise.
16277 (sin_test_tonearest): Likewise.
16278 (sin_test_towardzero): Likewise.
16279 (sin_test_downward): Likewise.
16280 (sin_test_upward): Likewise.
16281 (sincos_test): Likewise.
16282 (sinh_test): Likewise.
16283 (sinh_test_tonearest): Likewise.
16284 (sinh_test_towardzero): Likewise.
16285 (sinh_test_downward): Likewise.
16286 (sinh_test_upward): Likewise.
16287 (sqrt_test): Likewise.
16288 (tan_test): Likewise.
16289 (tan_test_tonearest): Likewise.
16290 (tan_test_towardzero): Likewise.
16291 (tan_test_downward): Likewise.
16292 (tan_test_upward): Likewise.
16293 (tanh_test): Likewise.
16294 (tgamma_test): Likewise.
16295 (y0_test): Likewise.
16296 (y1_test): Likewise.
16297 (yn_test): Likewise.
16298
323e5cb7
JM
16299 * math/gen-libm-test.pl (adjust_arg): Remove function.
16300 (special_function): Remove argument $in_func. Only handle
16301 generating output for tables of tests, not inside functions.
16302 (parse_args): Likewise.
16303 (generate_testfile): Remove variable $in_func. Update call to
16304 parse_args.
16305 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16306 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16307 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16308 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16309 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16310 (MAX_VALUE_INIT): Rename macro to max_value.
16311 (MIN_VALUE_INIT): Rename macro to min_value.
16312 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16313 (plus_zero): Remove variable.
16314 (minus_zero): Likewise.
16315 (plus_infty): Likewise.
16316 (minus_infty): Likewise.
16317 (qnan_value): Likewise.
16318 (max_value): Likewise.
16319 (min_value): Likewise.
16320 (min_subnorm_value): Likewise.
16321
e054f494
RA
163222013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16323
16324 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16325 uint64_t or uint32_t usage.
16326 * crypt/sha256-block.c: Likewise.
16327 * crypt/sha256-crypt.c: Likewise.
16328 * crypt/sha256.c: Likewise.
16329 * crypt/sha512-block.c: Likewise.
16330 * crypt/sha512-crypt.c: Likewise.
16331 * crypt/sha512.c: Likewise.
16332 * debug/backtrace-tst.c: Likewise.
16333 * debug/pcprofiledump.c: Likewise.
16334 * elf/cache.c: Likewise.
16335 * elf/dl-cache.c: Likewise.
16336 * elf/dl-misc.c: Likewise.
16337 * elf/dl-profile.c: Likewise.
16338 * elf/dl-support.c: Likewise.
16339 * elf/ldconfig.c: Likewise.
16340 * elf/sprof.c: Likewise.
16341 * iconv/dummy-repertoire.c: Likewise.
16342 * iconv/iconv_charmap.c: Likewise.
16343 * iconv/skeleton.c: Likewise.
16344 * iconvdata/8bit-generic.c: Likewise.
16345 * iconvdata/cp737.h: Likewise.
16346 * iconvdata/cp775.h: Likewise.
16347 * iconvdata/ibm1008.h: Likewise.
16348 * iconvdata/ibm1025.h: Likewise.
16349 * iconvdata/ibm1046.h: Likewise.
16350 * iconvdata/ibm1097.h: Likewise.
16351 * iconvdata/ibm1112.h: Likewise.
16352 * iconvdata/ibm1122.h: Likewise.
16353 * iconvdata/ibm1123.h: Likewise.
16354 * iconvdata/ibm1124.h: Likewise.
16355 * iconvdata/ibm1129.h: Likewise.
16356 * iconvdata/ibm1130.h: Likewise.
16357 * iconvdata/ibm1132.h: Likewise.
16358 * iconvdata/ibm1133.h: Likewise.
16359 * iconvdata/ibm1137.h: Likewise.
16360 * iconvdata/ibm1140.h: Likewise.
16361 * iconvdata/ibm1141.h: Likewise.
16362 * iconvdata/ibm1142.h: Likewise.
16363 * iconvdata/ibm1143.h: Likewise.
16364 * iconvdata/ibm1144.h: Likewise.
16365 * iconvdata/ibm1145.h: Likewise.
16366 * iconvdata/ibm1146.h: Likewise.
16367 * iconvdata/ibm1147.h: Likewise.
16368 * iconvdata/ibm1148.h: Likewise.
16369 * iconvdata/ibm1149.h: Likewise.
16370 * iconvdata/ibm1153.h: Likewise.
16371 * iconvdata/ibm1154.h: Likewise.
16372 * iconvdata/ibm1155.h: Likewise.
16373 * iconvdata/ibm1156.h: Likewise.
16374 * iconvdata/ibm1157.h: Likewise.
16375 * iconvdata/ibm1158.h: Likewise.
16376 * iconvdata/ibm1160.h: Likewise.
16377 * iconvdata/ibm1161.h: Likewise.
16378 * iconvdata/ibm1162.h: Likewise.
16379 * iconvdata/ibm1163.h: Likewise.
16380 * iconvdata/ibm1164.h: Likewise.
16381 * iconvdata/ibm1166.h: Likewise.
16382 * iconvdata/ibm1167.h: Likewise.
16383 * iconvdata/ibm12712.h: Likewise.
16384 * iconvdata/ibm1390.h: Likewise.
16385 * iconvdata/ibm1399.h: Likewise.
16386 * iconvdata/ibm16804.h: Likewise.
16387 * iconvdata/ibm4517.h: Likewise.
16388 * iconvdata/ibm4899.h: Likewise.
16389 * iconvdata/ibm4909.h: Likewise.
16390 * iconvdata/ibm4971.h: Likewise.
16391 * iconvdata/ibm5347.h: Likewise.
16392 * iconvdata/ibm803.h: Likewise.
16393 * iconvdata/ibm856.h: Likewise.
16394 * iconvdata/ibm901.h: Likewise.
16395 * iconvdata/ibm902.h: Likewise.
16396 * iconvdata/ibm9030.h: Likewise.
16397 * iconvdata/ibm9066.h: Likewise.
16398 * iconvdata/ibm921.h: Likewise.
16399 * iconvdata/ibm922.h: Likewise.
16400 * iconvdata/ibm9448.h: Likewise.
16401 * iconvdata/isiri-3342.h: Likewise.
16402 * iconvdata/jis0201.h: Likewise.
16403 * include/link.h: Likewise.
16404 * include/netdb.h: Likewise.
16405 * inet/check_native.c: Likewise.
16406 * inet/check_pf.c: Likewise.
16407 * inet/getipv4sourcefilter.c: Likewise.
16408 * inet/getnameinfo.c: Likewise.
16409 * inet/getsourcefilter.c: Likewise.
16410 * inet/htonl.c: Likewise.
16411 * inet/setipv4sourcefilter.c: Likewise.
16412 * inet/setsourcefilter.c: Likewise.
16413 * inet/test-inet6_opt.c: Likewise.
16414 * inet/tst-network.c: Likewise.
16415 * locale/C-collate.c: Likewise.
16416 * locale/C-ctype.c: Likewise.
16417 * locale/C-time.c: Likewise.
16418 * locale/C-translit.h: Likewise.
16419 * locale/loadarchive.c: Likewise.
16420 * locale/programs/3level.h: Likewise.
16421 * locale/programs/charmap.c: Likewise.
16422 * locale/programs/charmap.h: Likewise.
16423 * locale/programs/ld-address.c: Likewise.
16424 * locale/programs/ld-collate.c: Likewise.
16425 * locale/programs/ld-ctype.c: Likewise.
16426 * locale/programs/ld-identification.c: Likewise.
16427 * locale/programs/ld-measurement.c: Likewise.
16428 * locale/programs/ld-messages.c: Likewise.
16429 * locale/programs/ld-monetary.c: Likewise.
16430 * locale/programs/ld-name.c: Likewise.
16431 * locale/programs/ld-numeric.c: Likewise.
16432 * locale/programs/ld-paper.c: Likewise.
16433 * locale/programs/ld-telephone.c: Likewise.
16434 * locale/programs/ld-time.c: Likewise.
16435 * locale/programs/linereader.c: Likewise.
16436 * locale/programs/locale.c: Likewise.
16437 * locale/programs/locarchive.c: Likewise.
16438 * locale/programs/locfile.h: Likewise.
16439 * locale/programs/repertoire.c: Likewise.
16440 * locale/programs/simple-hash.c: Likewise.
16441 * locale/programs/simple-hash.h: Likewise.
16442 * malloc/memusage.c: Likewise.
16443 * malloc/memusagestat.c: Likewise.
16444 * nis/nis_defaults.c: Likewise.
16445 * nis/nis_hash.c: Likewise.
16446 * nis/nis_print.c: Likewise.
16447 * nis/nis_xdr.c: Likewise.
16448 * nscd/connections.c: Likewise.
16449 * nscd/hstcache.c: Likewise.
16450 * nscd/nscd_gethst_r.c: Likewise.
16451 * nscd/nscd_getserv_r.c: Likewise.
16452 * nscd/nscd_helper.c: Likewise.
16453 * nscd/servicescache.c: Likewise.
16454 * nss/makedb.c: Likewise.
16455 * nss/nss_db/db-XXX.c: Likewise.
16456 * nss/nss_db/db-initgroups.c: Likewise.
16457 * nss/nss_db/db-netgrp.c: Likewise.
16458 * nss/nss_files/files-network.c: Likewise.
16459 * nss/nss_files/files-parse.c: Likewise.
16460 * posix/bug-regex5.c: Likewise.
16461 * posix/fnmatch_loop.c: Likewise.
16462 * posix/regcomp.c: Likewise.
16463 * posix/regexec.c: Likewise.
16464 * posix/tst-rfc3484-2.c: Likewise.
16465 * posix/tst-rfc3484-3.c: Likewise.
16466 * posix/tst-rfc3484.c: Likewise.
16467 * resolv/nss_dns/dns-canon.c: Likewise.
16468 * resolv/nss_dns/dns-network.c: Likewise.
16469 * resolv/res_init.c: Likewise.
16470 * resolv/res_mkquery.c: Likewise.
16471 * resolv/tst-aton.c: Likewise.
16472 * stdlib/cxa_atexit.c: Likewise.
16473 * stdlib/cxa_finalize.c: Likewise.
16474 * stdlib/gen-fpioconst.c: Likewise.
16475 * stdlib/strtol_l.c: Likewise.
16476 * string/tst-endian.c: Likewise.
16477 * sunrpc/auth_des.c: Likewise.
16478 * sunrpc/clnt_udp.c: Likewise.
16479 * sunrpc/rtime.c: Likewise.
16480 * sunrpc/svcauth_des.c: Likewise.
16481 * sunrpc/xdr.c: Likewise.
16482 * sunrpc/xdr_intXX_t.c: Likewise.
16483 * sunrpc/xdr_rec.c: Likewise.
16484 * sysdeps/generic/ldconfig.h: Likewise.
16485 * sysdeps/generic/ldsodefs.h: Likewise.
16486 * sysdeps/generic/memusage.h: Likewise.
16487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16488 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16489 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16490 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16491 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16493 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16494 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16495 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16497 * sysdeps/posix/getaddrinfo.c: Likewise.
16498 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16499 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16500 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16501 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16502 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16503 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16504 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16505 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16506 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16507 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16508 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16509 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16510 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16511 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16512 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16513 * sysdeps/x86_64/dl-tls.h: Likewise.
16514 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16515 * time/alt_digit.c: Likewise.
16516 * time/era.c: Likewise.
16517 * wcsmbs/tst-c16c32-1.c: Likewise.
16518
8c75f674
JM
165192013-05-16 Joseph Myers <joseph@codesourcery.com>
16520
16521 * math/libm-test.inc (struct test_sincos_data): New type.
16522 (RUN_TEST_LOOP_sincos): New macro.
16523 (sincos_test_data): New variable.
16524 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16525
e6e49e59
RH
165262013-05-16 Richard Henderson <rth@redhat.com>
16527
16528 * math/atest-exp2.c (LIMB64): New macro.
16529 (CONSTSZ): New macro.
16530 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16531 (hexdig): Move ...
16532 (print_mpn_fp): ... to function scope.
16533 (read_mpn_hex): Remove.
16534 (get_log2): Remove.
16535 (exp2_mpn): Use mp_log2.
16536 (main): Use mp_exp1.
16537
15c7c18d
JM
165382013-05-16 Joseph Myers <joseph@codesourcery.com>
16539
105a07df
JM
16540 * math/libm-test.inc: Remove comment about not testing "inexact"
16541 exceptions.
16542 (INEXACT_EXCEPTION): New macro.
16543 (NO_INEXACT_EXCEPTION): Likewise.
16544 (INVALID_EXCEPTION_OK): Update value.
16545 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16546 (OVERFLOW_EXCEPTION_OK): Likewise.
16547 (UNDERFLOW_EXCEPTION_OK): Likewise.
16548 (IGNORE_ZERO_INF_SIGN): Likewise.
16549 (ERRNO_UNCHANGED): Likewise.
16550 (ERRNO_EDOM): Likewise.
16551 (ERRNO_ERANGE): Likewise.
16552 (test_exceptions): Handle testing "inexact" exceptions.
16553 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16554 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16555 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16556 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16557 INEXACT_EXCEPTION.
16558 (rint_towardzero_test_data): Likewise.
16559 (rint_downward_test_data): Likewise.
16560 (rint_upward_test_data): Likewise.
16561
e9eee333
JM
16562 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16563 with OVERFLOW_EXCEPTION.
16564 (exp10_test_data): Likewise.
16565 (exp2_test_data): Likewise.
16566 (expm1_test_data): Likewise.
16567 (lgamma_test_data): Likewise.
16568 (pow_test_data): Likewise.
16569 (tgamma_test_data): Likewise.
16570 (yn_test_data): Remove duplicate test of overflow.
16571
1c38ff73
JM
16572 * math/libm-test.inc (struct test_cc_c_data): New type.
16573 (RUN_TEST_LOOP_cc_c): New macro.
16574 (cpow_test_data): New variable.
16575 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16576
15c7c18d
JM
16577 * math/libm-test.inc (struct test_f_L_data): New type.
16578 (RUN_TEST_LOOP_f_L): New macro.
16579 (llrint_test_data): New variable.
16580 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16581 (llrint_tonearest_test_data): New variable.
16582 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16583 (llrint_towardzero_test_data): New variable.
16584 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16585 (llrint_downward_test_data): New variable.
16586 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16587 (llrint_upward_test_data): New variable.
16588 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16589 (llround_test_data): New variable.
16590 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16591
f137ff13
PC
165922013-05-13 Peter Collingbourne <pcc@google.com>
16593
16594 * math/atest-exp2.c (get_log2): Remove const attribute.
16595
3608cb24
JM
165962013-05-15 Joseph Myers <joseph@codesourcery.com>
16597
16598 * math/libm-test.inc (struct test_f_l_data): New type.
16599 (RUN_TEST_LOOP_f_l): New macro.
16600 (lrint_test_data): New variable.
16601 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16602 (lrint_tonearest_test_data): New variable.
16603 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16604 (lrint_towardzero_test_data): New variable.
16605 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16606 (lrint_downward_test_data): New variable.
16607 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16608 (lrint_upward_test_data): New variable.
16609 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16610 (lround_test_data): New variable.
16611 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16612
39b1f617
PC
166132013-05-15 Peter Collingbourne <pcc@google.com>
16614
1deff3dc
PC
16615 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16616 (EXTRACT_WORDS64) Use where appropriate.
16617 (INSERT_WORDS64) Likewise.
16618
791f3ba0
PC
16619 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16620 constraints with x constraints.
16621 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16622
39b1f617
PC
16623 * malloc/obstack.c (_obstack_compat): Add initializer.
16624
12fba011
EM
166252013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16626
16627 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16628 si_trapno and add si_addr_lsb to _sifields.sigfault.
16629 (si_trapno): Remove macro.
16630 (si_addr_lsb): Define new macro.
16631 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16632
d369f531
JM
166332013-05-15 Joseph Myers <joseph@codesourcery.com>
16634
b861c6c4
JM
16635 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16636 instead of TEST_f_l.
16637 (llrint_test_tonearest): Likewise.
16638 (llrint_test_towardzero): Likewise.
16639 (llrint_test_downward): Likewise.
16640 (llrint_test_upward): Likewise.
16641 (llround_test): Likewise.
16642
7abeee12
JM
16643 * math/libm-test.inc (struct test_f_i_data): Add comment.
16644 (RUN_TEST_LOOP_f_b): New macro.
16645 (RUN_TEST_LOOP_f_b_tg): Likewise.
16646 (finite_test_data): New variable.
16647 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16648 (isfinite_test_data): New variable.
16649 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16650 (isinf_test_data): New variable.
16651 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16652 (isnan_test_data): New variable.
16653 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16654 (isnormal_test_data): New variable.
16655 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16656 (issignaling_test_data): New variable.
16657 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16658 (signbit_test_data): New variable.
16659 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16660
cbe8c4d3
JM
16661 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16662 with INVALID_EXCEPTION.
16663 (acosh_test_data): Likewise.
16664 (asin_test_data): Likewise.
16665 (atanh_test_data): Likewise.
16666 (fmod_test_data): Likewise.
16667 (log_test_data): Likewise.
16668 (log10_test_data): Likewise.
16669 (log2_test_data): Likewise.
16670 (pow_test_data): Likewise.
16671 (sqrt_test_data): Likewise.
16672 (y0_test_data): Likewise.
16673 (y1_test_data): Likewise.
16674 (yn_test_data): Likewise.
16675
5575c0e5
JM
16676 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16677 function contents.
16678
d369f531
JM
16679 * math/libm-test.inc (struct test_ff_i_data): New type.
16680 (RUN_TEST_LOOP_ff_i_tg): New macro.
16681 (isgreater_test_data): New variable.
16682 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16683 (isgreaterequal_test_data): New variable.
16684 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16685 (isless_test_data): New variable.
16686 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16687 (islessequal_test_data): New variable.
16688 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16689 (islessgreater_test_data): New variable.
16690 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16691 (isunordered_test_data): New variable.
16692 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16693
781fd748
DM
166942013-05-14 David S. Miller <davem@davemloft.net>
16695
16696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16697
87aa21df
JM
166982013-05-14 Joseph Myers <joseph@codesourcery.com>
16699
5e908270
JM
16700 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16701
f71172e5
JM
16702 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16703 extra_test to int.
16704 (struct test_f_i_data): Change type of max_ulp to int.
16705
8cfa635a
JM
16706 * math/libm-test.inc (test_ffI_f1_data): New type.
16707 (RUN_TEST_LOOP_ffI_f1): New macro.
16708 (remquo_test_data): New variable.
16709 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16710
2bcb36b2
JM
16711 * setjmp/tst-setjmp-fp.c: New file.
16712 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16713 (link-libm): New variable.
16714 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16715
acbd839a
JM
16716 * math/libm-test.inc (struct test_f_i_data): New type.
16717 (RUN_TEST_LOOP_f_i): New macro.
16718 (RUN_TEST_LOOP_f_i_tg): Likewise.
16719 (fpclassify_test_data): New variable.
16720 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16721 (ilogb_test_data): New variable.
16722 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16723
e414d745
JM
16724 * math/libm-test.inc (scalbln_test): Correct function name in END
16725 call.
16726
d9c2a0fd
JM
16727 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16728 (RUN_TEST_LOOP_fI_f1): New macro.
16729 (frexp_test_data): New variable.
16730 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16731
9dc9095d
JM
16732 * math/libm-test.inc (struct test_fF_f1_data): New type.
16733 (RUN_TEST_LOOP_fF_f1): New macro.
16734 (modf_test_data): New variable.
16735 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16736
87aa21df
JM
16737 * math/libm-test.inc (struct test_f_f1_data): New type.
16738 (RUN_TEST_LOOP_f_f1): New macro.
16739 (gamma_test_data): New variable.
16740 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16741 (lgamma_test_data): New variable.
16742 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16743
141af660
CD
167442013-05-13 Carlos O'Donell <carlos@redhat.com>
16745
16746 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16747 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16748 (main): Comment "tls" pseudo-hwcap.
16749
6d33265c
JM
167502013-05-13 Joseph Myers <joseph@codesourcery.com>
16751
68fc074c
JM
16752 * math/libm-test.inc (struct test_fl_f_data): New type.
16753 (RUN_TEST_LOOP_fl_f): New variable.
16754 (scalbln_test_data): New variable.
16755 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16756
243216e1
JM
16757 * math/libm-test.inc (struct test_fi_f_data): New type.
16758 (RUN_TEST_LOOP_fi_f): New macro.
16759 (ldexp_test_data): New variable.
16760 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16761 (scalbn_test_data): New variable.
16762 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16763
6a1992e2
JM
16764 * math/libm-test.inc (struct test_c_f_data): New type.
16765 (RUN_TEST_LOOP_c_f): New macro.
16766 (cabs_test_data): New variable.
16767 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16768 (carg_test_data): New variable.
16769 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16770 (cimag_test_data): New variable.
16771 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16772 (creal_test_data): New variable.
16773 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16774
0e400df5
JM
16775 * math/libm-test.inc (struct test_if_f_data): New type.
16776 (RUN_TEST_LOOP_if_f): New macro.
16777 (jn_test_data): New variable.
16778 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16779 (yn_test_data): New variable.
16780 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16781
6d33265c
JM
16782 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16783
f98ece5f
AZ
167842013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16785
16786 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16787 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16788
0f7d347b
SP
167892013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16790
43fe811b
SP
16791 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16792 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16793 (bench-deps): Add bench-timing.h.
16794 * benchtests-bench-skeleton.c: Include bench-timing.h.
16795 (main): Use TIMING_* macros instead of clock_gettime.
16796 * benchtests/bench-timing.h: New file.
16797
0f7d347b
SP
16798 [BZ #14582]
16799 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16800 Renamed from _LIB_VERSION.
16801 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16802
601a3a5f
JM
168032013-05-12 Joseph Myers <joseph@codesourcery.com>
16804
4f184d30
JM
16805 * math/libm-test.inc (struct test_fff_f_data): New type.
16806 (RUN_TEST_LOOP_fff_f): New macro.
16807 (fma_test_data): New variable.
16808 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16809 (fma_towardzero_test_data): New variable.
16810 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16811 (fma_downward_test_data): New variable.
16812 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16813 (fma_upward_test_data): New variable.
16814 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16815
08198877
JM
16816 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16817 (struct test_c_c_data): New type.
16818 (RUN_TEST_LOOP_c_c): New macro.
16819 (cacos_test_data): New variable.
16820 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16821 (cacosh_test_data): New variable.
16822 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16823 (casin_test_data): New variable.
16824 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16825 (casinh_test_data): New variable.
16826 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16827 (catan_test_data): New variable.
16828 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16829 (catanh_test_data): New variable.
16830 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16831 (ccos_test_data): New variable.
16832 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16833 (ccosh_test_data): New variable.
16834 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16835 (cexp_test_data): New variable.
16836 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16837 (clog_test_data): New variable.
16838 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16839 (clog10_test_data): New variable.
16840 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16841 (conj_test_data): New variable.
16842 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16843 (cproj_test_data): New variable.
16844 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16845 (csin_test_data): New variable.
16846 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16847 (csinh_test_data): New variable.
16848 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16849 (csqrt_test_data): New variable.
16850 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16851 (ctan_test_data): New variable.
16852 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16853 (ctan_tonearest_test_data): New variable.
16854 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16855 (ctan_towardzero_test_data): New variable.
16856 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16857 (ctan_downward_test_data): New variable.
16858 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16859 (ctan_upward_test_data): New variable.
16860 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16861 (ctanh_test_data): New variable.
16862 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16863 (ctanh_tonearest_test_data): New variable.
16864 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16865 (ctanh_towardzero_test_data): New variable.
16866 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16867 (ctanh_downward_test_data): New variable.
16868 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16869 (ctanh_upward_test_data): New variable.
16870 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16871 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16872 of BUILD_COMPLEX.
16873
601a3a5f
JM
16874 * math/libm-test.inc (struct test_ff_f_data): New type.
16875 (struct test_ff_f_data_nexttoward): Likewise.
16876 (RUN_TEST_LOOP_2_f): New macro.
16877 (RUN_TEST_LOOP_ff_f): Likewise.
16878 (atan2_test_data): New variable.
16879 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16880 (copysign_test_data): New variable.
16881 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16882 (fdim_test_data): New variable.
16883 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16884 (fmax_test_data): New variable.
16885 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16886 (fmin_test_data): New variable.
16887 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16888 (fmod_test_data): New variable.
16889 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16890 (hypot_test_data): New variable.
16891 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16892 (nextafter_test_data): New variable.
16893 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16894 (nexttoward_test_data): New variable.
16895 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16896 (pow_test_data): New variable.
16897 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16898 (pow_tonearest_test_data): New variable.
16899 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16900 (pow_towardzero_test_data): New variable.
16901 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16902 (pow_downward_test_data): New variable.
16903 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16904 (pow_upward_test_data): New variable.
16905 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16906 (remainder_test_data): New variable.
16907 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16908 (scalb_test_data): New variable.
16909 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16910 * sysdeps/i386/fpu/libm-test-ulps: Update.
16911
74c57478
JM
169122013-05-11 Joseph Myers <joseph@codesourcery.com>
16913
8329e4da
JM
16914 * math/libm-test.inc (fma_test): Use max_value instead of local
16915 variable fltmax.
16916 (nextafter_test): Likewise.
16917
74c57478
JM
16918 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16919 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16920 (acos_downward_test_data): New variable.
16921 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16922 (acos_upward_test_data): New variable.
16923 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16924 (acosh_test_data): New variable.
16925 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16926 (asin_test_data): New variable.
16927 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16928 (asin_tonearest_test_data): New variable.
16929 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16930 (asin_towardzero_test_data): New variable.
16931 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16932 (asin_downward_test_data): New variable.
16933 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16934 (asin_upward_test_data): New variable.
16935 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16936 (asinh_test_data): New variable.
16937 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16938 (atan_test_data): New variable.
16939 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16940 (atanh_test_data): New variable.
16941 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16942 (cbrt_test_data): New variable.
16943 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16944 (ceil_test_data): New variable.
16945 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16946 (cos_test_data): New variable.
16947 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16948 (cos_tonearest_test_data): New variable.
16949 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16950 (cos_towardzero_test_data): New variable.
16951 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16952 (cos_downward_test_data): New variable.
16953 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16954 (cos_upward_test_data): New variable.
16955 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16956 (cosh_test_data): New variable.
16957 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16958 (cosh_tonearest_test_data): New variable.
16959 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16960 (cosh_towardzero_test_data): New variable.
16961 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16962 (cosh_downward_test_data): New variable.
16963 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16964 (cosh_upward_test_data): New variable.
16965 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16966 (erf_test_data): New variable.
16967 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16968 (erfc_test_data): New variable.
16969 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16970 (exp_test_data): New variable.
16971 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16972 (exp_tonearest_test_data): New variable.
16973 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16974 (exp_towardzero_test_data): New variable.
16975 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16976 (exp_downward_test_data): New variable.
16977 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16978 (exp_upward_test_data): New variable.
16979 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16980 (exp10_test_data): New variable.
16981 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16982 (exp2_test_data): New variable.
16983 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16984 (expm1_test_data): New variable.
16985 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16986 (fabs_test_data): New variable.
16987 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16988 (floor_test_data): New variable.
16989 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16990 (j0_test_data): New variable.
16991 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16992 (j1_test_data): New variable.
16993 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16994 (log_test_data): New variable.
16995 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16996 (log10_test_data): New variable.
16997 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16998 (log1p_test_data): New variable.
16999 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17000 (log2_test_data): New variable.
17001 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17002 (logb_test_data): New variable.
17003 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17004 (logb_downward_test_data): New variable.
17005 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17006 (nearbyint_test_data): New variable.
17007 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17008 (rint_test_data): New variable.
17009 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17010 (rint_tonearest_test_data): New variable.
17011 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17012 (rint_towardzero_test_data): New variable.
17013 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17014 (rint_downward_test_data): New variable.
17015 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17016 (rint_upward_test_data): New variable.
17017 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17018 (round_test_data): New variable.
17019 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17020 (sin_test_data): New variable.
17021 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17022 (sin_tonearest_test_data): New variable.
17023 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17024 (sin_towardzero_test_data): New variable.
17025 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17026 (sin_downward_test_data): New variable.
17027 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17028 (sin_upward_test_data): New variable.
17029 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17030 (sinh_test_data): New variable.
17031 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17032 (sinh_tonearest_test_data): New variable.
17033 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17034 (sinh_towardzero_test_data): New variable.
17035 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17036 (sinh_downward_test_data): New variable.
17037 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17038 (sinh_upward_test_data): New variable.
17039 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17040 (sqrt_test_data): New variable.
17041 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17042 (tan_test_data): New variable.
17043 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17044 (tan_tonearest_test_data): New variable.
17045 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17046 (tan_towardzero_test_data): New variable.
17047 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17048 (tan_downward_test_data): New variable.
17049 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17050 (tan_upward_test_data): New variable.
17051 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17052 (tanh_test_data): New variable.
17053 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17054 (tgamma_test_data): New variable.
17055 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17056 (trunc_test_data): New variable.
17057 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17058 (y0_test_data): New variable.
17059 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17060 (y1_test_data): New variable.
17061 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17062 (significand_test_data): New variable.
17063 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17064
7187d844
CG
170652013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17066
17067 [BZ #12387]
17068 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17069
f63fae73
PT
170702013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17071
17072 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17073
8a67a4b3
AJ
170742013-05-10 Andreas Jaeger <aj@suse.de>
17075
17076 [BZ #15448]
17077 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17078 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17079
51df539d
JM
170802013-05-10 Joseph Myers <joseph@codesourcery.com>
17081
17082 * math/gen-libm-test.pl (adjust_arg): New function.
17083 (special_functions): Handle generating output in both functions
17084 and arrays.
17085 (parse_args): Likewise.
17086 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17087 $in_func argument to parse_args.
17088 * math/libm-test.inc (struct test_f_f_data): New type.
17089 (IF_ROUND_INIT_): New macro.
17090 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17091 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17092 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17093 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17094 (ROUND_RESTORE_): Likewise.
17095 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17096 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17097 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17098 (ROUND_RESTORE_FE_UPWARD): Likewise.
17099 (RUN_TEST_LOOP_f_f): New macro.
17100 (acos_test_data): New variable.
17101 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17102 (acos_tonearest_test_data): New variable.
17103 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17104
5c637fe5
SP
171052013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17106
17107 * benchtests/bench-skeleton.c (startup): Fix coding style.
17108
ab2b9461
JM
171092013-05-10 Joseph Myers <joseph@codesourcery.com>
17110
17111 [BZ #6809]
17112 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17113 negative infinity argument.
17114 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17115 negative infinity argument.
17116 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17117 negative infinity argument.
17118 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17119 domain errors.
17120
4c0fe6fe
FW
171212013-05-10 Florian Weimer <fweimer@redhat.com>
17122
17123 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17124 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17125 * iconv/iconv_prog.c (main): Likewise.
17126 * locale/programs/charmap-dir.c (charmap_readdir)
17127 (fopen_uncompressed): Likewise.
17128 * locale/programs/locfile.c (siblings_uncached)
17129 (write_locale_data): Use lstat64 instead of lstat.
17130 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17131 stat.
17132
a3375d29
AJ
171332013-05-10 Andreas Jaeger <aj@suse.de>
17134
17135 [BZ #15395]
17136 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17137 localization.
17138 Include <locale.h>.
17139
36129722
CD
171402013-05-09 Carlos O'Donell <carlos@redhat.com>
17141
17142 * elf/dl-close.c (_dl_close_worker): Add comments.
17143
faa7f811
JM
171442013-05-09 Joseph Myers <joseph@codesourcery.com>
17145
ed41ffef
JM
17146 [BZ #15359]
17147 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17148 high part of pi/2.
17149 (__ieee754_rem_pio2l): Update comments.
17150
d0213cd0
JM
17151 [BZ #15429]
17152 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17153 high part of pi/2.
17154 (__ieee754_rem_pio2l): Update comments.
17155
0d3e777a
JM
17156 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17157 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17158
24f56066
JM
17159 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17160 M_PI_4l.
17161
faa7f811
JM
17162 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17163 (M_PI_34_LOG10El): Likewise.
17164 (M_PI2_LOG10El): Likewise.
17165 (M_PI4_LOG10El): Likewise.
17166 (M_PI_LOG10El): Likewise.
17167
e9a5e0fd
AZ
171682013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17169
17170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17171
d8cd06db
JM
171722013-05-08 Joseph Myers <joseph@codesourcery.com>
17173
a0d9f9d7
JM
17174 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17175 (MINUS_ZERO_INIT): Likewise.
17176 (PLUS_INFTY_INIT): Likewise.
17177 (MINUS_INFTY_INIT): Likewise.
17178 (QNAN_VALUE_INIT): Likewise.
17179 (MAX_VALUE_INIT): Likewise.
17180 (MIN_VALUE_INIT): Likewise.
17181 (MIN_SUBNORM_VALUE_INIT): Likewise.
17182 (plus_zero): Initialize with PLUS_ZERO_INIT.
17183 (minus_zero): Initialize with MINUS_ZERO_INIT.
17184 (plus_infty): Initialize with PLUS_INFTY_INIT.
17185 (minus_infty): Initialize with MINUS_INFTY_INIT.
17186 (qnan_value): Initialize with QNAN_VALUE_INIT.
17187 (max_value): Initialize with MAX_VALUE_INIT.
17188 (min_value): Initialize with MIN_VALUE_INIT.
17189 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17190
ae08db3b
JM
17191 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17192 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17193 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17194 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17195
f44bf14a
JM
17196 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17197 (RUN_TEST_2_f): Likewise.
17198 (RUN_TEST_ff_f): Likewise.
17199 (RUN_TEST_fi_f): Likewise.
17200 (RUN_TEST_fl_f): Likewise.
17201 (RUN_TEST_fff_f): Likewise.
17202 (RUN_TEST_c_f): Likewise.
17203 (RUN_TEST_f_f1): Likewise.
17204 (RUN_TEST_fF_f1): Likewise.
17205 (RUN_TEST_fI_f1): Likewise.
17206 (RUN_TEST_ffI_f1): Likewise.
17207 (RUN_TEST_c_c): Likewise.
17208 (RUN_TEST_cc_c): Likewise.
17209 (RUN_TEST_f_i): Likewise.
17210 (RUN_TEST_f_i_tg): Likewise.
17211 (RUN_TEST_ff_i_tg): Likewise.
17212 (RUN_TEST_f_b): Likewise.
17213 (RUN_TEST_f_b_tg): Likewise.
17214 (RUN_TEST_f_l): Likewise.
17215 (RUN_TEST_f_L): Likewise.
17216 (RUN_TEST_sincos): Likewise.
17217 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17218 whether to show exceptions. Do not include ");\n" in return
17219 value.
17220 (special_functions): Output call to RUN_TEST_sincos instead of
17221 check_float calls. Update calls to new_test.
17222 (parse_args): Output call to single RUN_TEST_* macro instead of
17223 check_* calls and other assignments. Update calls to new_test.
17224
d8cd06db
JM
17225 [BZ #2546]
17226 [BZ #2560]
17227 [BZ #5159]
17228 [BZ #15426]
17229 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17230 input to result for tgamma overflow.
17231 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17232 (gamma_coeff): New variable.
17233 (NCOEFF): New macro.
17234 (gamma_positive): New function.
17235 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17236 underflow here. Use gamma_positive instead of exp (lgamma) for
17237 other arguments.
17238 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17239 (gamma_coeff): New variable.
17240 (NCOEFF): New macro.
17241 (gammaf_positive): New function.
17242 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17243 underflow here. Use gamma_positive instead of exp (lgamma) for
17244 other arguments.
17245 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17246 (gamma_coeff): New variable.
17247 (NCOEFF): New macro.
17248 (gammal_positive): New function.
17249 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17250 underflow here. Use gamma_positive instead of exp (lgamma) for
17251 other arguments.
17252 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17253 (gamma_coeff): New variable.
17254 (NCOEFF): New macro.
17255 (gammal_positive): New function.
17256 (__ieee754_gammal_r): Handle positive infinity, overflow and
17257 underflow here. Handle NaN the same as positive infinity. Remove
17258 check x < 0xffffffff for negative integers. Use gamma_positive
17259 instead of exp (lgamma) for other arguments.
17260 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17261 (gamma_coeff): New variable.
17262 (NCOEFF): New macro.
17263 (gammal_positive): New function.
17264 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17265 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17269 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17270 * sysdeps/generic/math_private.h (__gamma_productf): New
17271 prototype.
17272 (__gamma_product): Likewise.
17273 (__gamma_productl): Likewise.
17274 * math/Makefile (libm-calls): Add gamma_product.
17275 * math/libm-test.inc (tgamma_test): Add more tests.
17276 * sysdeps/i386/fpu/libm-test-ulps: Update.
17277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17278
bb7cf681
OB
172792013-05-08 Ondřej Bílka <neleai@seznam.cz>
17280
17281 * benchtests/bench-skeleton.c (main): Preheat CPU.
17282
ba853947
AJ
172832013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17284
17285 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17286
8347c74c
RM
172872013-05-07 Roland McGrath <roland@hack.frob.com>
17288
17289 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17290 and _dl_skip_args_internal.
17291
e8dd4791
CD
172922013-05-07 Carlos O'Donell <carlos@redhat.com>
17293
17294 * manual/message.texi (Message Translation): Talk about users.
17295 Message to key mapping impacts design.
17296
c7405830
RM
172972013-05-06 Roland McGrath <roland@hack.frob.com>
17298
a9173057
RM
17299 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17300
976e2f03
RM
17301 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17302
9723ffc5
RM
17303 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17304 * sysdeps/wordsize-64/glob64.c: ... here.
17305
962e6658
RM
17306 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17307 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17308 New macros.
17309
ee586a6d
RM
17310 * debug/getlogin_r_chk.c: Moved to ...
17311 * login/getlogin_r_chk.c: ... here.
17312 * debug/Makefile (routines): Move getlogin_r_chk to ...
17313 * login/Makefile (routines): ... here.
17314 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17315 * login/Versions (libc: GLIBC_2.4): ... here.
17316
355f9165
RM
17317 * io/poll.c (__poll): Renamed from poll.
17318 Add libc_hidden_def.
17319 (poll): Define as weak alias.
17320
bd9ffde6
RM
17321 * debug/ptsname_r_chk.c: Moved to ...
17322 * login/ptsname_r_chk.c: ... here.
17323 * debug/Makefile (routines): Move ptsname_r_chk to ...
17324 * login/Makefile (routines): ... here.
17325 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17326 * login/Versions (libc: GLIBC_2.4): ... here.
17327
8fb16a04
RM
17328 * posix/getlogin.c: Moved to ...
17329 * login/getlogin.c: ... here.
17330 * posix/getlogin_r.c: Moved to ...
17331 * login/getlogin_r.c: ... here.
17332 * posix/getlogin_r.c: Moved to ...
17333 * login/getlogin_r.c: ... here.
17334 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17335 * login/Makefile (routines): ... here.
17336 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17337 * login/Versions (libc: GLIBC_2.0): ... here.
17338
b99b892f
RM
17339 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17340 (setrlimit): Define as weak alias.
17341
c7405830
RM
17342 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17343 Call __ names for open, ftruncate, and close.
17344 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17345 (truncate): Define as weak alias.
17346
5bf96de5
JM
173472013-05-06 Joseph Myers <joseph@codesourcery.com>
17348
9ea3513c
JM
17349 * math/gen-libm-test.pl (parse_args): Initialize x before each
17350 test of frexp, modf and remquo.
17351
5bf96de5
JM
17352 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17353 test signgam value.
17354
16e616a7
AZ
173552013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17356
17357 [BZ #15418]
17358 [BZ #15419]
17359 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17360 internal tests.
17361 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17362
d5e82754
RM
173632013-05-06 Roland McGrath <roland@hack.frob.com>
17364
17365 * elf/dl-writev.h: New file.
17366 * elf/dl-misc.c: Include it.
17367 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17368 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17369
a7548d41
JM
173702013-05-04 Joseph Myers <joseph@codesourcery.com>
17371
b7dab1e4
JM
17372 * math/libm-test.inc (noXFails): Remove variable.
17373 (noXPasses): Likewise.
17374 (BUILD_COMPLEX_INT): Remove macro.
17375 (print_screen): Remove xfail argument.
17376 (print_screen_max_error): Likewise.
17377 (update_stats): Likewise.
17378 (print_max_error): Likewise. Update calls to other affected
17379 functions.
17380 (print_complex_max_error): Likewise.
17381 (test_single_exception): Update calls to print_screen.
17382 (test_single_errno): Likewise.
17383 (check_float_internal): Remove xfail argument. Update calls to
17384 other affected functions.
17385 (check_float): Likewise.
17386 (check_complex): Likewise.
17387 (check_int): Likewise.
17388 (check_long): Likewise.
17389 (check_bool): Likewise.
17390 (check_longlong): Likewise.
17391 (main): Don't print noXFails and noXPasses.
17392 * math/gen-libm-test.pl (top level): Don't mention expected
17393 failure handling in comment.
17394 (new_test): Don't handle expected failures.
17395 (parse_args): Don't mention expected failure handling in comment.
17396 (generate_testfile): Don't handle expected failures.
17397 (parse_ulps): Likewise.
17398 (print_ulps_file): Likewise.
17399 (get_failure): Remove function.
17400 (output_test): Don't handle expected failures.
17401 * make/README.libm-test: Don't mention expected failure handling.
17402
a7548d41
JM
17403 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17404 (minus_zero): Likewise.
17405 (plus_infty): Likewise.
17406 (minus_infty): Likewise.
17407 (qnan_value): Likewise.
17408 (max_value): Likewise.
17409 (min_value): Likewise.
17410 (min_subnorm_value): Likewise.
17411 (initialize): Do not initialize those variables dynamically.
17412
60bfd54c
RM
174132013-05-03 Roland McGrath <roland@hack.frob.com>
17414
cc0e6ed8
RM
17415 * io/open.c (__open_2): Moved to ...
17416 * io/open_2.c: ... this new file.
17417 * io/open64.c (__open64_2): Moved to ...
17418 * io/open64_2.c: ... this new file.
17419 * io/openat.c (__openat_2): Moved to ...
17420 * io/openat_2.c: ... this new file.
17421 * io/openat64.c (__openat64_2): Moved to ...
17422 * io/openat64_2.c: ... this new file.
17423 * io/Makefile (routines): Add them.
17424 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17425 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17426 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17427 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17428 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17429 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17430 (__openat64): Add hidden_ver.
17431 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17432 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17433
60bfd54c
RM
17434 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17435 Separately conditionalize setting of GLRO(dl_sysinfo) so
17436 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17437 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17438
83e7640f
AZ
174392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17440
17441 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17442 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17443 definition.
17444 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17445 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17446 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17447 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17448 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17449
d5dc2af3
JM
174502013-05-03 Joseph Myers <joseph@codesourcery.com>
17451
c31a5b1e
JM
17452 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17453 test signgam value.
17454
d5dc2af3
JM
17455 * math/libm-test.inc (hypot_test): Do not use
17456 IGNORE_ZERO_INF_SIGN.
17457
164fd39d
AJ
174582013-05-03 Andreas Jaeger <aj@suse.de>
17459
17460 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17461 Linux 3.9.
17462 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17463 (PF_MAX): Adjust for VSOCK change.
17464
8237f48c
AZ
174652013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17466
17467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17468
9df02941
CD
174692013-05-02 Carlos O'Donell <carlos@redhat.com>
17470
17471 [BZ #15264]
17472 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17473 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17474 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17475
d422395e
DM
174762013-05-02 David S. Miller <davem@davemloft.net>
17477
17478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17479
a07c5731
OB
174802013-05-01 Ondřej Bílka <neleai@seznam.cz>
17481
17482 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17483
1324e37f
RM
174842013-05-01 Roland McGrath <roland@hack.frob.com>
17485
17486 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17487
0695940b
RS
174882013-05-01 Richard Smith <richard@metafoo.co.uk>
17489
bb5f27ad 17490 [BZ #14952]
0695940b
RS
17491 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17492 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17493 Use __attribute__ ((__gnu_inline__)).
17494 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17495 Don't use __attribute__ ((__gnu_inline__)).
17496
10de07f5
JM
174972013-05-01 Joseph Myers <joseph@codesourcery.com>
17498
17499 [BZ #15423]
17500 * math/s_catan.c (__catan): Handle small real or imaginary part of
17501 input specially to avoid spurious underflow.
17502 * math/s_catanf.c (__catanf): Likewise.
17503 * math/s_catanh.c (__catanh): Likewise.
17504 * math/s_catanhf.c (__catanhf): Likewise.
17505 * math/s_catanhl.c (__catanhl): Likewise.
17506 * math/s_catanl.c (__catanl): Likewise.
17507 * math/libm-test.inc (catan_test): Add more tests.
17508 (catanh_test): Likewise.
17509 * sysdeps/i386/fpu/libm-test-ulps: Update.
17510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17511
cb4d5414
AZ
175122013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17513
17514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17515
caf84319
JM
175162013-04-30 Joseph Myers <joseph@codesourcery.com>
17517
17518 [BZ #15416]
17519 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17520 accurately for denominator in atan2.
17521 * math/s_catanf.c (__catanf): Likewise.
17522 * math/s_catanh.c (__catanh): Likewise.
17523 * math/s_catanhf.c (__catanhf): Likewise.
17524 * math/s_catanhl.c (__catanhl): Likewise.
17525 * math/s_catanl.c (__catanl): Likewise.
17526 * math/libm-test.inc (catan_test): Add more tests.
17527 (catanh_test): Likewise.
17528 * sysdeps/i386/fpu/libm-test-ulps: Update.
17529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17530
d569c6ee
SP
175312013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17532
6dbe713d
SP
17533 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17534
f0ee064b
SP
17535 * benchtests/Makefile (bench): Remove slow benchmarks.
17536 * benchtests/atan-inputs: Add slow benchmark inputs.
17537 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17538 (BENCH_FUNC): Accept variant offset.
17539 (VARIANT): Define.
17540 * benchtests/bench-skeleton.c (main): Run benchmark for each
17541 variant.
17542 * benchtests/cos-inputs: Add slow benchmark inputs.
17543 * benchtests/exp-inputs: Likewise.
17544 * benchtests/pow-inputs: Likewise.
17545 * benchtests/sin-inputs: Likewise.
17546 * benchtests/slowatan-inputs: Remove.
17547 * benchtests/slowatan.c: Remove.
17548 * benchtests/slowcos-inputs: Remove.
17549 * benchtests/slowcos.c: Remove.
17550 * benchtests/slowexp-inputs: Remove.
17551 * benchtests/slowexp.c: Remove.
17552 * benchtests/slowpow-inputs: Remove.
17553 * benchtests/slowpow.c: Remove.
17554 * benchtests/slowsin-inputs: Remove.
17555 * benchtests/slowsin.c: Remove.
17556 * benchtests/slowtan-inputs: Remove.
17557 * benchtests/slowtan.c: Remove.
17558 * benchtests/tan-inputs: Add slow benchmark inputs.
17559 * scripts/bench.pl: Parse comments and directives.
17560
d569c6ee
SP
17561 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17562 in CPPFLAGS.
17563 ($(objpfx)bench-%.c): Remove *-ITER.
17564 * benchtests/bench-modf.c: Remove definition of ITER.
17565 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17566 (main): Loop for DURATION seconds instead of fixed number of
17567 iterations.
17568 * scripts/bench.pl: Don't expect iterations in parameters.
17569
a6a242fe
RM
175702013-04-29 Roland McGrath <roland@hack.frob.com>
17571
17572 * io/fchdir.c (__fchdir): Renamed from fchdir.
17573 (fchdir): Define as weak alias.
17574
f2da7793
JM
175752013-04-29 Joseph Myers <joseph@codesourcery.com>
17576
17577 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17578 (ERRNO_EDOM): Likewise.
17579 (ERRNO_ERANGE): Likewise.
17580 (noErrnoTests): New variable.
17581 (init_max_error): Set errno to 0.
17582 (test_single_errno): New function.
17583 (test_errno): Likewise.
17584 (check_float_internal): Call test_errno. Set errno to 0.
17585 (check_complex): Refer to errno tests in comment.
17586 (check_int): Call test_errno. Set errno to 0.
17587 (check_long): Likewise.
17588 (check_bool): Likewise.
17589 (check_longlong): Likewise.
17590 (cos_test): Use ERRNO_* flags for errno tests instead of
17591 check_int.
17592 (expm1_test): Likewise.
17593 (fmod_test): Likewise.
17594 (ilogb_test): Likewise.
17595 (lgamma_test): Likewise.
17596 (pow_test): Likewise.
17597 (remainder_test): Likewise.
17598 (sin_test): Likewise.
17599 (tan_test): Likewise.
17600 (yn_test): Likewise.
17601 (initialize): Set errno to 0.
17602 (main): Print number of errno tests.
17603 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17604
b1a36ceb
AJ
176052013-04-29 Andreas Jaeger <aj@suse.de>
17606
c3ed8088
AJ
17607 [BZ #15084]
17608 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17609 and RES_USEVC.
17610
f1a24198
AJ
17611 [BZ #15085]
17612 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17613 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17614 unimplemented.
17615
9ce3b2cb
AJ
17616 [BZ #15380]
17617 * stdlib/random.c (__initstate): Return NULL if
17618 __initstate fails.
17619
f1a24198 17620 [BZ #15086]
b1a36ceb
AJ
17621 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17622 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17623 RES_SNGLKUPREOP.
17624
7e7b6f36
AZ
176252013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17626
17627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17628
4d14f449
JM
176292013-04-29 Joseph Myers <joseph@codesourcery.com>
17630
17631 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17632 of individual tests.
17633 (casin_test): Likewise.
17634 (casinh_test): Likewise.
17635
5b4217d7
JM
176362013-04-27 Joseph Myers <joseph@codesourcery.com>
17637
17638 [BZ #15409]
17639 * math/s_catan.c (__catan): Handle arguments with large real or
17640 imaginary part separately without squaring.
17641 * math/s_catanf.c (__catanf): Likewise.
17642 * math/s_catanh.c (__catanh): Likewise.
17643 * math/s_catanhf.c (__catanhf): Likewise.
17644 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17645 and redefine.
17646 (__catanhl): Handle arguments with large real or imaginary part
17647 separately without squaring.
17648 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17649 and redefine.
17650 (__catanl): Handle arguments with large real or imaginary part
17651 separately without squaring.
17652 * math/libm-test.inc (catan_test): Add more tests.
17653 (catanh_test): Likewise.
17654 * sysdeps/i386/fpu/libm-test-ulps: Update.
17655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17656
4220c3ef
AJ
176572013-04-27 Andreas Jaeger <aj@suse.de>
17658
17659 [BZ #15007]
17660 * stdlib/stdlib.h: Update guards for qecvt.
17661 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17662 <stdlib.h>.
17663
4721b2d1
AM
176642013-04-27 Allan McRae <allan@archlinux.org>
17665
17666 * sysdeps/i386/fpu/libm-test-ulps: Update.
17667
f0302940
JM
176682013-04-26 Joseph Myers <joseph@codesourcery.com>
17669
9457fd95
JM
17670 [BZ #15406]
17671 * math/s_catan.c: Include <float.h>.
17672 (__catan): Ensure underflow exception occurs for underflowed
17673 result.
17674 * math/s_catanf.c: Include <float.h>.
17675 (__catanf): Ensure underflow exception occurs for underflowed
17676 result.
17677 * math/s_catanh.c: Include <float.h>.
17678 (__catanh): Ensure underflow exception occurs for underflowed
17679 result.
17680 * math/s_catanhf.c: Include <float.h>.
17681 (__catanhf): Ensure underflow exception occurs for underflowed
17682 result.
17683 * math/s_catanhl.c: Include <float.h>.
17684 (__catanhl): Ensure underflow exception occurs for underflowed
17685 result.
17686 * math/s_catanl.c: Include <float.h>.
17687 (__catanl): Ensure underflow exception occurs for underflowed
17688 result.
17689 * math/libm-test.inc (catan_test): Add more tests.
17690 (catanh_test): Likewise.
17691
f0302940
JM
17692 [BZ #15405]
17693 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17694 underflowed result.
17695 * math/s_ccoshf.c (__ccoshf): Likewise.
17696 * math/s_ccoshl.c (__ccoshl): Likewise.
17697 * math/s_csin.c (__csin): Likewise.
17698 * math/s_csinf.c (__csinf): Likewise.
17699 * math/s_csinh.c (__csinh): Likewise.
17700 * math/s_csinhf.c (__csinhf): Likewise.
17701 * math/s_csinhl.c (__csinhl): Likewise.
17702 * math/s_csinl.c (__csinl): Likewise.
17703 * math/libm-test.inc (ccos_test): Add more tests.
17704 (ccosh_test): Likewise.
17705 (csin_test): Likewise.
17706 (csinh_test): Likewise.
17707
aa630f59
AZ
177082013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17709
17710 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17711 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17712 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17713 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17714 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17715 powerpc/power5+/fpu folders.
17716 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17717
17718
1b835983
MT
177192013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17720
17721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17722
73709b26
JM
177232013-04-25 Joseph Myers <joseph@codesourcery.com>
17724
17725 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17726 additions to variable.
17727 [$(config-machine) = x86_64] (modules-names): Likewise.
17728 ($(objpfx)tst-audit3): Remove dependency.
17729 ($(objpfx)tst-audit3.out): Likewise.
17730 ($(objpfx)tst-audit4): Likewise.
17731 ($(objpfx)tst-audit4.out): Likewise.
17732 ($(objpfx)tst-audit5): Likewise.
17733 ($(objpfx)tst-audit5.out): Likewise.
17734 ($(objpfx)tst-audit6): Likewise.
17735 ($(objpfx)tst-audit6.out): Likewise.
17736 ($(objpfx)tst-audit7): Likewise.
17737 ($(objpfx)tst-audit7.out): Likewise.
17738 (tst-audit3-ENV): Remove variable.
17739 (tst-audit4-ENV): Likewise.
17740 (tst-audit5-ENV): Likewise.
17741 (tst-audit6-ENV): Likewise.
17742 (tst-audit7-ENV): Likewise.
17743 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17744 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17745 addition to variable.
17746 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17747 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17748 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17749 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17750 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17751 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17752 tst-audit3, tst-audit4 and tst-audit5.
17753 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17754 tst-audit6 and tst-audit7.
17755 [$(subdir) = elf] (modules-names): Add audit modules for those
17756 tests.
17757 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17758 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17759 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17760 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17761 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17762 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17763 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17764 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17765 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17766 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17767 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17768 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17769 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17770 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17771 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17772 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17773 Likewise.
17774 [$(subdir) = elf && $(config-cflags-avx) = yes]
17775 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17776 [$(subdir) = elf && $(config-cflags-avx) = yes]
17777 (CFLAGS-tst-auditmod4a.c): Likewise.
17778 [$(subdir) = elf && $(config-cflags-avx) = yes]
17779 (CFLAGS-tst-auditmod4b.c): Likewise.
17780 [$(subdir) = elf && $(config-cflags-avx) = yes]
17781 (CFLAGS-tst-auditmod6b.c): Likewise.
17782 [$(subdir) = elf && $(config-cflags-avx) = yes]
17783 (CFLAGS-tst-auditmod6c.c): Likewise.
17784 [$(subdir) = elf && $(config-cflags-avx) = yes]
17785 (CFLAGS-tst-auditmod7b.c): Likewise.
17786 * elf/tst-audit3.c: Move to ...
17787 * sysdeps/x86_64/tst-audit3.c: ... here.
17788 * elf/tst-audit4.c: Move to ...
17789 * sysdeps/x86_64/tst-audit4.c: ... here.
17790 * elf/tst-audit5.c: Move to ...
17791 * sysdeps/x86_64/tst-audit5.c: ... here.
17792 * elf/tst-audit6.c: Move to ...
17793 * sysdeps/x86_64/tst-audit6.c: ... here.
17794 * elf/tst-audit7.c: Move to ...
17795 * sysdeps/x86_64/tst-audit7.c: ... here.
17796 * elf/tst-auditmod3a.c: Move to ...
17797 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17798 * elf/tst-auditmod3b.c: Move to ...
17799 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17800 * elf/tst-auditmod4a.c: Move to ...
17801 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17802 * elf/tst-auditmod4b.c: Move to ...
17803 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17804 * elf/tst-auditmod5a.c: Move to ...
17805 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17806 * elf/tst-auditmod5b.c: Move to ...
17807 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17808 * elf/tst-auditmod6a.c: Move to ...
17809 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17810 * elf/tst-auditmod6b.c: Move to ...
17811 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17812 * elf/tst-auditmod6c.c: Move to ...
17813 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17814 * elf/tst-auditmod7a.c: Move to ...
17815 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17816 * elf/tst-auditmod7b.c: Move to ...
17817 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17818
1ef74943
PP
178192013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17820
17821 [BZ #15366]
17822 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17823 define unconditionally.
17824 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17825 define unconditionally.
17826 (INT8_C, INT16_C, etc.): Likewise.
17827
93fd48c5
MR
178282013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17829
ae9552cf
MR
17830 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17831 __ehdr_start with hidden visibility.
17832
93fd48c5
MR
17833 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17834
418601aa
CD
178352013-04-24 Carlos O'Donell <carlos@redhat.com>
17836
17837 * math/libm-test.inc (cos_test): Use accurate hex constants.
17838 (sincost_test): Likewise.
17839
2f38fbfe
JM
178402013-04-24 Joseph Myers <joseph@codesourcery.com>
17841
5e221800
JM
17842 * math/libm-test.inc (catan_test): Add more tests.
17843 (catanh_test): Likewise.
17844
77f143fd
JM
17845 * math/s_catanf.c (__catanf): Use suffixed floating-point
17846 constants.
17847 * math/s_catanhf.c (__catanhf): Likewise.
17848 * math/s_catanhl.c (__catanhl): Likewise.
17849 * math/s_catanl.c (__catanl): Likewise.
17850
2f38fbfe
JM
17851 [BZ #15394]
17852 * math/s_catan.c (__catan): Calculate imaginary part of result
17853 with log1p not log unless computing log of number close to 0.
17854 * math/s_catanf.c (__catanf): Likewise.
17855 * math/s_catanl.c (__catanl): Likewise.
17856 * math/s_catanh.c (__catanh): Calculate real part of result with
17857 log1p not log unless computing log of number close to 0.
17858 * math/s_catanhf.c (__catanhf): Likewise.
17859 * math/s_catanhl.c (__catanhl): Likewise.
17860 * math/libm-test.inc (catan_test): Add more tests.
17861 (catanh_test): Likewise.
17862 * sysdeps/i386/fpu/libm-test-ulps: Update.
17863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17864
45d69176
SP
178652013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17866
17867 * benchtests/Makefile: Mention files in which fast and slow
17868 paths of math functions are implemented.
17869
87f51853
RM
178702013-04-23 Roland McGrath <roland@hack.frob.com>
17871
17872 * sysdeps/posix/timespec_get.c: New file.
17873
3c026539
AZ
178742013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17875
17876 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17877 POWER.
17878 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17879 for POWER.
17880 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17881 powerpc/power5/fpu folders.
17882 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17883 * benchtests/Makefile: Add modf testcase.
17884 * benchtests/bench-modf.c: New file: Benchmark test for mo
17885
ff491d14
SP
178862013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17887
17888 [BZ #14888]
17889 * time/Makefile (tests): Add tst-strptime-whitespace.
17890 * time/strptime_l.c (get_number): Use ISSPACE.
17891 (__strptime_internal): Likewise.
17892 * time/tst-strptime-whitespace.c: New test case.
17893
7ed3f4e8
AS
178942013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17895
17896 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17897 member.
17898 (_nss_files_init): Set it here.
17899
5c95f7b6
HC
179002013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17901
17902 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17903 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17904 unsigned.
17905
d34c9158
JBG
179062013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17907
17908 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17909
2169712d
SP
179102013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17911
17912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17913 size just once.
17914
29c5de99
DM
179152013-04-21 David S. Miller <davem@davemloft.net>
17916
17917 * po/ru.po: Update Russion translation from translation project.
17918
ccdad15d
AC
179192013-04-17 Adam Conrad <adconrad@0c3.net>
17920
17921 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17922 and setfsgid.
17923
0f122b8d
CD
179242013-04-17 Carlos O'Donell <carlos@redhat.com>
17925
5c5b07da 17926 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17927 * configure: Regenerate.
5c5b07da 17928 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17929 Add example to error message.
17930 * sysdeps/i386/configure: Regenerate.
17931
037714dd
SP
179322013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17933
17934 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17935 slowtan.
17936 * benchtests/cos-inputs: New file.
17937 * benchtests/slowcos-inputs: New file.
17938 * benchtests/slowcos.c: New file.
17939 * benchtests/slowtan-inputs: New file.
17940 * benchtests/slowtan.c: New file.
17941 * benchtests/tan-inputs: New file.
17942
e913141d
RM
179432013-04-16 Roland McGrath <roland@hack.frob.com>
17944
17945 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17946 considered kosher.
17947
a2964074
SP
179482013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17949
4856bcd2
SP
17950 * benchtests/Makefile: Include cppflags-iterator.mk to add
17951 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17952
a2964074
SP
17953 * Makefile.in (bench-clean): New target.
17954 * benchtests/Makefile (bench-clean): Likewise.
17955
9fbf9aca
DH
179562013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17957
17958 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17959
207d1e2a
TS
179602013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17961
17962 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17963
306dfba9
AS
179642013-04-15 Andreas Schwab <schwab@suse.de>
17965
17966 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17968 * nscd/pwdcache.c (cache_addpw): Likewise.
17969 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17970 more than recsize.
17971
206a6699
SP
179722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17973
17974 * benchtests/Makefile (bench): Write all output to
17975 bench-out.tmp together.
17976
0582f6b3
AS
179772013-04-15 Andreas Schwab <schwab@suse.de>
17978
17979 * nscd/nscd.c (main): Don't fork again after closing files.
17980
acb4325f
SP
179812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17982
5cb26d0a
SP
17983 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17984
acb4325f
SP
17985 * benchtests/Rules (bench-deps): Collect dependencies into a
17986 single variable. Add Makefile to dependencies.
17987 ($(objpfx)bench-%.c): Depend on bench-deps.
17988
47792506
RM
179892013-04-12 Roland McGrath <roland@hack.frob.com>
17990 Xavier Roche <roche+kml2@exalead.com>
17991
17992 [BZ #15361]
17993 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17994 just that it's a file descriptor.
17995 * manual/llio.texi (Synchronizing AIO Operations): Update description
17996 for EBADF error from aio_fsync.
17997
8fc1bee5
SP
179982013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17999
18000 * Rules (bench): Move target definition...
18001 * benchtests/Makefile: ... here.
18002
aba5e333
CD
180032013-04-11 Carlos O'Donell <carlos@redhat.com>
18004
18005 * math/libm-test.inc (cos_test): Fix PI/2 test.
18006 (sincos_test): Likewise.
18007 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18008 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18009
273cdee8
AS
180102013-04-11 Andreas Schwab <schwab@suse.de>
18011
6ecec3b6
AS
18012 [BZ #13988]
18013 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18014 accept exponent character only when digits were seen.
18015 * stdio-common/Makefile (tests): Add bug26.
18016 * stdio-common/bug26.c: New file.
18017
273cdee8
AS
18018 [BZ #14293]
18019 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18020 non-freeable.
18021
8da491f5
SP
180222013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18023
01dc6df9
SP
18024 * Makeconfig (rtld-prefix): Define built linker prefix.
18025 * Rules (run-bench): Use it.
18026 * math/Makefile (run-regen-ulps): Likewise.
18027
8da491f5
SP
18028 * Rules (bench): Remove eval.
18029
abe7f530
SP
180302013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18031 Roland McGrath <roland@hack.frob.com>
18032 Ondrej Bilka <neleai@seznam.cz>
18033
18034 [BZ #15346]
18035 * time/getdate.c: Include ctype.h and alloca.h.
18036 (__getdate_r): Trim leading and trailing spaces of input.
18037 * time/tst-getdate.c (tests): Add tests with leading and
18038 trailing spaces.
18039
61c23e62
RM
180402013-04-08 Roland McGrath <roland@hack.frob.com>
18041
18042 [BZ #14280]
18043 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18044 when computing value.
18045
7208a313
CD
180462013-04-06 Carlos O'Donell <carlos@redhat.com>
18047
085b2d41
CD
18048 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18049 Use testrun.sh to run libm tests.
18050
7208a313
CD
18051 [BZ #15309]
18052 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18053
872c0acd
MM
180542013-04-06 Marko Myllynen <myllynen@redhat.com>
18055
18056 [BZ #15264]
18057 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18058
26510bdd
CD
180592013-04-06 Carlos O'Donell <carlos@redhat.com>
18060
18061 * Makefile.in (regen-ulps): New target.
18062 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18063 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18064 [ifneq (no,$(PERL)] (regen-ulps): New target.
18065 [ifeq (no,$(PERL)] (regen-ulps): New target.
18066 * math/libm-test.inc (ulps_file_name): Define.
18067 (output_dir): New variable.
18068 (options): Add "output-dir" option.
18069 (parse_opt): Handle 'o' case.
18070 (main): If output_dir is non-NULL use it as a prefix
18071 otherwise use "".
18072 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18073
a01f19c8
CD
180742013-04-06 Carlos O'Donell <carlos@redhat.com>
18075
18076 [BZ #10060, #10062]
18077 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18078 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18079 fail configure if __sync_val_compare_and_swap is not inlined.
18080 * sysdeps/i386/configure: Regenerate.
18081 * configure.in: Build for i686 when configured for i386.
18082 * configure: Regenerate.
18083 * README: Remove i386 reference.
18084
b7a329a5
CD
180852013-04-06 Carlos O'Donell <carlos@redhat.com>
18086
18087 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18088 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18089
bf0f50df
TS
180902013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18091
ee091edf
TS
18092 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18093 (lmsnanval): New variables.
18094 (F): Add conversion tests.
18095 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18096 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18097
a8b792d6
TS
18098 * stdio-common/tstdiomisc.c (F): Properly collect individual
18099 tests' results.
18100
a1cbf437
TS
18101 [BZ #14686, #15336]
18102 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18103 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18104 Instead, use input NaN values or generate a qNaN by arithmetic
18105 operation. Also fix bugs to comply with the standard.
18106 * math/libm-test.inc (remainder_test): Add more tests.
18107
8b43a0c9
TS
18108 [BZ #15335, #15342]
18109 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18110 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18111 input NaN values or generate a qNaN by arithmetic operation.
18112
d91da4ce
TS
18113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18114 unreachable code.
18115
bf0f50df
TS
18116 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18117 definitions.
18118
05e166c8
JM
181192013-04-03 Joseph Myers <joseph@codesourcery.com>
18120
18121 [BZ #14478]
18122 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18123 underflowed result.
18124 * math/s_cexpf.c (__cexpf): Likewise.
18125 * math/s_cexpl.c (__cexpl): Likewise.
18126 * math/libm-test.inc (cexp_test): Add more tests.
18127
1cef1b19
AS
181282013-04-03 Andreas Schwab <schwab@suse.de>
18129
18130 [BZ #15330]
18131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18132 order arrays from heap if bigger than alloca cutoff.
18133
74d87055
TS
181342013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18135
18136 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18137 (SNAN_TESTS_double): Refer to GCC PR56831.
18138 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18139 GCC PR56828.
18140
d755bba4
SP
181412013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18142
90d5d5bb
SP
18143 * Rules (bench): Move bench.out after the run is complete.
18144
73e0cd5d
SP
18145 * Rules (bench): Echo currently running benchmark.
18146
64aabd4b
SP
18147 * benchtests/Makefile (bench): Add atan and slowatan.
18148 * benchtests/atan-inputs: New file.
18149 * benchtests/slowatan-inputs: New file.
18150 * benchtests/slowatan.c: New file.
18151
c871eccd
SP
18152 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18153 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18154 its value.
18155
d755bba4
SP
18156 [BZ #15305]
18157 * sysdeps/unix/sysv/linux/kernel-features.h
18158 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18159 __ASSUME_XFS_RESTRICTED_CHOWN.
18160 * sysdeps/unix/sysv/linux/pathconf.c
18161 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18162 Save and restore errno.
18163
52ce4860
JM
181642013-04-02 Joseph Myers <joseph@codesourcery.com>
18165
18166 [BZ #15327]
18167 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18168 arguments using __kernel_casinh.
18169 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18170 arguments using __kernel_casinhf.
18171 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18172 arguments using __kernel_casinhl.
18173 * math/libm-test.inc (cacosh_test): Add more tests.
18174 * sysdeps/i386/fpu/libm-test-ulps: Update.
18175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18176
81f311c2
SP
181772013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18178
e7906a47
SP
18179 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18181
92e3664b
SP
18182 * bench/Makefile (bench): Add sin and slowsin.
18183 * benchtests/sin-inputs: New file.
18184 * benchtests/slowsin-inputs: New file.
18185 * benchtests/slowsin.c: New file.
18186
81f311c2
SP
18187 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18188 (bench): Add slowexp and slowpow.
18189 (exp-ITER): Increase iterations.
18190 (pow-ITER): Likewise.
18191 * benchtests/exp-inputs: Change input.
18192 * benchtests/pow-inputs: Likewise.
18193 * benchtests/slowexp-inputs: New file.
18194 * benchtests/slowexp.c: New file.
18195 * benchtests/slowpow-inputs: New file.
18196 * benchtests/slowpow.c: New file.
18197
ab0f1aa9
AZ
181982013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18199
18200 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18201 instructions.
18202 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18203 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18204 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18205 * benchtests/Makefile: Add rint benchtest.
18206 * benchtests/rint-inputs: Input for rint benchtest.
18207
57267616
TS
182082013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18209
18210 * Versions.def (libm): Add GLIBC_2.18.
18211 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18212 hidden libm prototypes.
18213 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18214 * math/Makefile (libm-calls): Add s_issignaling.
18215 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18216 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18217 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18218 declaration.
18219 * math/math.h [__USE_GNU] (issignaling): New macro.
18220 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18221 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18223 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18226 * manual/arith.texi (issignaling): New section.
18227 * manual/libm-err-tab.pl (@all_functions): Update comment.
18228 * math/gen-libm-test.pl (parse_args): Apply special handling for
18229 issignaling.
18230 * math/libm-test.inc (print_float, issignaling_test): New
18231 functions.
18232 (check_float_internal): Add issignaling checks.
18233 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18234 default definition.
18235 * sysdeps/powerpc/math-tests.h: New file.
18236 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18237 tests.
18238 * math/test-snan.c (TEST_FUNC): Likewise.
18239
6142896d
DM
182402013-03-30 David S. Miller <davem@davemloft.net>
18241
18242 * po/de.po: Update from translation team.
18243
ccc8cadf
JM
182442013-03-30 Joseph Myers <joseph@codesourcery.com>
18245
18246 [BZ #10357]
18247 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18248 imaginary part less than 1.0 and real part less than 0.5
18249 specially.
18250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18252 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18253 (cacos_test): Add more tests.
18254 (casin_test): Likewise.
18255 (casinh_test): Likewise.
18256 * sysdeps/i386/fpu/libm-test-ulps: Update.
18257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18258
0f6a8d4b
SP
182592013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18260
0d1029de
SP
18261 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18262 ONE with its value.
18263
c2d94018
SP
18264 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18265 (__pow_mp): Replace ONE and MONE with their values.
18266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18268 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18269 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18270 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18271 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18272
27ec37f1
SP
18273 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18274
a64d7e0e
SP
18275 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18276 (__pow_mp): Replace ZERO and MZERO with their values.
18277 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18278 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18279 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18280 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18281 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18282 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18283 (__sqr): Likewise.
18284
d26dd3eb
SP
18285 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18286
0f6a8d4b
SP
18287 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18288
e57b0c61
RM
182892013-03-28 Roland McGrath <roland@hack.frob.com>
18290
18291 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18292 Declare with __attribute__ ((weak)).
18293 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18294 Call __call_tls_dtors only if it's not NULL.
18295
356b3480
RM
182962013-03-28 Roland McGrath <roland@hack.frob.com>
18297
288f7d79
RM
18298 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18299 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18300 magic __ehdr_start linker symbol if it's defined.
18301 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18302 them up here if it was already done.
18303
dc0a0263
RM
18304 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18305 (_dl_aux_init): Use const in cast when setting it.
18306 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18307 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18308 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18309
3d3436ae
RM
18310 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18311 Declare them here.
18312 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18313 * csu/libc-tls.c: Nor here.
18314 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18315
356b3480
RM
18316 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18317 (__libc_message): Never call vsyslog.
18318
b0f1246a
AM
183192013-03-28 Alan Modra <amodra@gmail.com>
18320
18321 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18322 Define as empty.
18323 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18324 Likewise.
18325
fbbe2b9a
AZ
183262013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18327
18328 [BZ #15214]
18329 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18330 underflow.
18331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18332
1728ab37
SP
183332013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18334
7a86be6e
SP
18335 [BZ #15304]
18336 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18337 Don't add gid passed as argument.
18338
1728ab37
SP
18339 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18340
3a7182a1
JM
183412013-03-27 Joseph Myers <joseph@codesourcery.com>
18342
18343 [BZ #15307]
18344 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18345 imaginary part between 1.0 and 1.5 and real part less than 0.5
18346 specially.
18347 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18348 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18349 * math/libm-test.inc (cacos_test): Add more tests.
18350 (casin_test): Likewise.
18351 (casinh_test): Likewise.
18352 * sysdeps/i386/fpu/libm-test-ulps: Update.
18353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18354
6f2e90e7
SP
183552013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18356
5739f705
SP
18357 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18358 constants.
18359 (norm): Likewise.
18360 (denorm): Likewise.
18361 (__dbl_mp): Likewise.
18362 (add_magnitudes): Likewise.
18363 (sub_magnitudes): Likewise.
18364 (__add): Likewise.
18365 (__sub): Likewise.
18366 (__mul): Likewise.
18367 (__sqr): Likewise.
18368 (__inv): Likewise.
18369 (__dvd): Likewise.
18370
e375e83d
SP
18371 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18372 commented code.
18373 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18374 (__dubcos): Likewise.
18375 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18376 (__ieee754_acos): Likewise.
18377 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18378 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18379 (__exp1): Likewise.
18380 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18382 (log1): Likewise.
18383 (my_log2): Likewise.
18384 (checkint): Likewise.
18385 * sysdeps/ieee754/dbl-64/e_remainder.c
18386 (__ieee754_remainder): Likewise.
18387 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18388 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18389 (bsloww): Likewise.
18390 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18391
6f2e90e7
SP
18392 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18393 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18394 MANTISSA_STORE_T to store computations on mantissa. Use
18395 macros for rounding and division.
18396 (denorm): Likewise.
18397 (__dbl_mp): Likewise.
18398 (add_magnitudes): Likewise.
18399 (sub_magnitudes): Likewise.
18400 (__mul): Likewise.
18401 (__sqr): Likewise.
18402 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18403 powers of two in terms of TWOPOW macro.
18404 (mp_no): Make type of mantissa as MANTISSA_T.
18405 [!RADIXI]: Define RADIXI.
18406 [!TWO52]: Define TWO52.
18407 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18408
fce14d4e
AZ
184092013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18410
18411 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18412 llroundl symbol when building for PPC32.
18413
9ad027fb
MW
184142013-03-24 Mark H Weaver <mhw@netris.org>
18415
18416 * manual/arith.texi (Normalization Functions): Fix prototypes for
18417 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18418
e42a38dd
AZ
184192013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18420
18421 [BZ #13889]
18422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18423 high value to check if expl overflow.
18424 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18425 to check for underflow and overflow.
18426 * math/libm-test.inc: Add exp test.
18427
2e0fb521
DL
184282013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18429
18430 [BZ #11120]
18431 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18432 with NOT_IN_libc.
18433
b5784d95
AZ
184342013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18435
18436 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18437 symbol.
18438
5aa4a1a1
TS
184392013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18440
bdef0be7
TS
18441 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18442 wrap blocks consisting of several statements.
18443
5aa4a1a1
TS
18444 * sysdeps/generic/math-tests.h: New file.
18445 * sysdeps/i386/fpu/math-tests.h: Likewise.
18446 * math/test-snan.c: Include it.
18447 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18448
98c48fe5
JM
184492013-03-21 Joseph Myers <joseph@codesourcery.com>
18450
18451 [BZ #15285]
18452 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18453 (__ieee754_j0l): Do not improve calculations using cos of twice
18454 input for inputs above LDBL_MAX / 2.0L.
18455 (__ieee754_y0l): Likewise.
18456 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18457 (__ieee754_j1l): Do not improve calculations using cos of twice
18458 input for inputs above LDBL_MAX / 2.0L.
18459 (__ieee754_y1l): Likewise.
18460 * math/libm-test.inc (j0_test): Add another test.
18461 (j1_test): Likewise.
18462 (y0_test): Likewise.
18463 (y1_test): Likewise.
18464 * sysdeps/i386/fpu/libm-test-ulps: Update.
18465
3775a8bc
SP
184662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18467
18468 * Rules ($(objpfx)bench-%.c): Include code from a C source
18469 file.
18470
0a1b2ae6
JM
184712013-03-21 Joseph Myers <joseph@codesourcery.com>
18472
18473 [BZ #15287]
18474 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18475 imaginary part 1.0 and real part less than 0.5 specially.
18476 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18477 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18478 * math/libm-test.inc (cacos_test): Add more tests.
18479 (casin_test): Likewise.
18480 (casinh_test): Likewise.
18481 * sysdeps/i386/fpu/libm-test-ulps: Update.
18482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18483
b33d4ce4
SP
184842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18485
18486 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18487 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18488
bef0b507
JM
184892013-03-20 Joseph Myers <joseph@codesourcery.com>
18490
18491 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18492 * config.make.in (config-cflags-sse4): Remove variable.
18493 (config-cflags-avx): Likewise.
18494 (config-cflags-sse2avx): Likewise.
18495 (config-cflags-novzeroupper): Likewise.
18496 (config-asflags-i686): Likewise.
18497 (have-mfma4): Likewise.
18498 (have-as-vis3): Likewise.
18499 (MIG): Likewise.
18500 * configure.in (MIG): Do not AC_SUBST.
18501 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18502 (libc_cv_cc_sse4): Do not AC_SUBST.
18503 (libc_cv_cc_avx): Likewise.
18504 (libc_cv_cc_sse2avx): Likewise.
18505 (libc_cv_cc_novzeroupper): Likewise.
18506 (libc_cv_cc_fma4): Likewise.
18507 (libc_cv_as_i686): Likewise.
18508 (libc_cv_sparc_as_vis3): Likewise.
18509 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18510 LIBC_CONFIG_VAR.
18511 (config-asflags-i686): Likewise.
18512 (config-cflags-avx): Likewise.
18513 (config-cflags-sse2avx): Likewise.
18514 (have-mfma4): Likewise.
18515 (config-cflags-novzeroupper): Likewise.
18516 * sysdeps/mach/configure.in (MIG): Likewise.
18517 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18518 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18519 LIBC_CONFIG_VAR.
18520 (config-cflags-avx): Likewise.
18521 (config-cflags-sse2avx): Likewise.
18522 (have-mfma4): Likewise.
18523 (config-cflags-novzeroupper): Likewise.
18524 * configure: Regenerated.
18525 * sysdeps/i386/configure: Likewise.
18526 * sysdeps/mach/configure: Likewise.
18527 * sysdeps/sparc/configure: Likewise.
18528 * sysdeps/x86_64/configure: Likewise.
18529
912cc4b3
RM
185302013-03-20 Roland McGrath <roland@hack.frob.com>
18531
18532 [BZ #14812]
18533 * locale/programs/localedef.c (options): Put N_ translation marker
18534 on argument names, not just descriptions.
18535
04eed2b0
MS
185362013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18537
18538 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18539
a065ceff
OB
185402013-03-20 Ondřej Bílka <neleai@seznam.cz>
18541
9bb2a810 18542 [BZ #14176]
a065ceff
OB
18543 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18544
a600e5ce
RM
185452013-03-19 Roland McGrath <roland@hack.frob.com>
18546
18547 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18548 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18549 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18550 [!BEFORE_ABORT] (before_abort): New function.
18551 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18552 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18553 (writev_for_fatal): New function.
18554 (WRITEV_FOR_FATAL): New macro; call that.
18555 (backtrace_and_maps): New function.
18556 (BEFORE_ABORT): New macro; call that.
18557 (struct str_list): Type removed.
18558 (__libc_message, __libc_fatal): Functions removed.
18559 Include <sysdeps/posix/libc_fatal.c> instead.
18560
6b18bea6
JM
185612013-03-19 Joseph Myers <joseph@codesourcery.com>
18562
18563 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18564 constants.
18565 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18566 double constants.
18567
aaa8cb4b
AS
185682013-03-19 Andreas Schwab <schwab@suse.de>
18569
44673770
AS
18570 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18571 * sysdeps/gnu/configure: Regenerate.
18572
aaa8cb4b
AS
18573 * configure.in: Substitute libc_cv_rtlddir.
18574 * configure: Regenerate.
18575 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18576 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18577 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18578 * elf/Makefile (install-others, CFLAGS-interp.c)
18579 (ldso_install, common-ldd-rewrite): Likewise.
18580 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18581 $(inst_slibdir)/$(rtld-installed-name).
18582 * scripts/rellns-sh: Add -p option.
18583 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18584 for source.
18585
d3cfc668
SP
185862013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18587
18588 * manual/nptl.texi: Renamed to ...
18589 * manual/threads.texi: ... this.
18590 * manual/Makefile (chapters): Update.
18591
0e2b9cdd
RM
185922013-03-18 Roland McGrath <roland@hack.frob.com>
18593
18594 [BZ #14812]
18595 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18596 on argument names, not just descriptions.
0e2b9cdd
RM
18597 * malloc/memusagestat.c (options): Likewise.
18598 * nss/getent.c (options): Likewise.
63270c24
RM
18599
186002013-03-18 Benno Schulenberg <bensberg@justemail.net>
18601
18602 [BZ #14812]
18603 * iconv/iconv_prog.c (options): Put N_ translation marker
18604 on argument names, not just descriptions.
18605 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18606
b2e1393c
OB
186072013-03-18 Ondrej Bilka <neleai@seznam.cz>
18608
18609 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18610 implementation which is faster on all x86_64 architectures.
18611 Tested on AMD, Intel Nehalem, SNB, IVB.
18612 * sysdeps/x86_64/strnlen.S: Likewise.
18613
18614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18615 Remove all multiarch strlen and strnlen versions.
18616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18617 Remove strlen and strnlen related parts.
18618
18619 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18620 Inline strlen part.
18621 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18622
18623 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18624 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18625 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18626 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18627 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18628 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18629
ec4ff04d
CD
186302013-03-17 Carlos O'Donell <carlos@redhat.com>
18631
18632 * manual/memory.texi (Malloc Tunable Parameters):
18633 Sort parameters alphabetically. Add comments for missing entries.
18634
cd18e90a
DM
186352013-03-17 David S. Miller <davem@davemloft.net>
18636
18637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18638
2a185d32
JM
186392013-03-16 Joseph Myers <joseph@codesourcery.com>
18640
d2f9799e
JM
18641 [BZ #15283]
18642 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18643 for arguments at most half maximum finite value.
18644 * math/libm-test.inc (j0_test): Add more tests.
18645 (j1_test): Likewise.
18646 (y0_test): Likewise.
18647 (y1_test): Likewise.
18648 * sysdeps/i386/fpu/libm-test-ulps: Update.
18649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18650
2a185d32
JM
18651 [BZ #14155]
18652 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18653 1 / x and functions P and Q for arguments above 0x1p256L.
18654 (__ieee754_y0l): Likewise.
18655 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18656 (__ieee754_y1l): Likewise.
18657 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18658 (j1_test): Likewise.
18659 (y0_test): Likewise.
18660 (y1_test): Likewise.
18661
6cbec759
TS
186622013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18663
18664 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18665 variable.
18666
bc16e260
RM
186672013-03-15 Roland McGrath <roland@hack.frob.com>
18668
aefc9b8c
RM
18669 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18670 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18671 zero since it's initialized to EXEC_PAGESIZE.
18672
bc16e260
RM
18673 * sysdeps/unix/sysv/linux/ldsodefs.h
18674 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18675 * sysdeps/generic/ldsodefs.h: ... here.
18676
a57da955
TS
186772013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18678
af00a34d
TS
18679 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18680
495ded2c
TS
18681 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18682 math/test-snan.c.
18683 * math/test-snan.c: Renamed from
18684 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18685 * math/Makefile (tests): Add test-snan.
18686 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18687 test-powerpc-snan.
18688
777b0332
TS
18689 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18690 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18691 functions.
18692 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18693 __builtin_nan family of functions.
18694 * math/libm-test.inc (initialize): Initialize qnan_value with
18695 __builtin_nan family of functions.
18696 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18697 Remove variables.
18698 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18699 Remove functions.
18700 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18701 storage class. Initialize qNaN_var and sNaN_var with
18702 __builtin_nan and __builtin_nans families of functions,
18703 respectively.
18704
64d063b8
TS
18705 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18706 (sqrt_test): Remove duplicate test with qNaN input.
18707 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18708 (round_test, signbit_test, significand_test): Note missing +/-Inf
18709 as well as qNaN tests.
18710
67e971f1
TS
18711 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18712 qNaN_var. Fix a few strings, too.
18713 * math/libm-test.inc (nan_value): Rename to qnan_value.
18714 * math/gen-libm-test.pl (%beautify): Adjust to that.
18715 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18716 * math/test-misc.c (main): Likewise.
18717 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18718 to __qnan_bytes, and __qnan_union, respectively.
18719 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18720 Likewise.
18721 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18722 and lqnanval, respectively.
18723 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18724 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18725 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18726 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18727
64487e12
TS
18728 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18729 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18730 doubles.
18731
e015e27b
TS
18732 * math/test-misc.c (main): Fix copy'n'pastos.
18733 * misc/tst-efgcvt.c (special): Likewise.
18734
a57da955
TS
18735 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18736 Remove declarations.
18737
1e380345
SP
187382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18739
18740 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18741 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18742 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18743 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18744
ef26eece
AZ
187452013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18746
18747 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18748 macro to return vdso values correctly in IFUNC implementations.
18749 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18750 Optimization by using IFUNC.
18751
8cfdb7e0
SP
187522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18753 Richard Henderson <rth@redhat.com>
18754 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18755
18756 * Makefile.in (bench): New target.
18757 * NEWS: Mention the benchmark framework.
18758 * Rules (bench): Likewise.
18759 (binaries-bench): Generate binaries for functions to
18760 benchmark.
18761 * benchtests/Makefile: New makefile for benchmark tests.
18762 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18763 programs.
18764 * benchtests/exp-inputs: New input file for EXP function.
18765 * benchtests/pow-inputs: New input file for POW function.
18766 * scripts/bench.pl: New script to generate source files for
18767 benchmark programs.
18768
bcda9880
SP
187692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18770
d22ca8cd
SP
18771 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18772 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18773 computations on mantissa. Use macros for rounding and
18774 division.
18775 (denorm): Likewise.
18776 (__dbl_mp): Likewise.
18777 (add_magnitudes): Likewise.
18778 (sub_magnitudes): Likewise.
18779 (__mul): Likewise.
18780 (__sqr): Likewise.
18781 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18782 powers of two in terms of TWOPOW macro.
18783 (mp_no): Make type of mantissa as MANTISSA_T.
18784 [!RADIXI]: Define RADIXI.
18785 [!TWO52]: Define TWO52.
18786 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18787
bcda9880
SP
18788 * manual/nptl.texi (cindex): Modify threads to pthreads.
18789
06d5adfb
JM
187902013-03-15 Joseph Myers <joseph@codesourcery.com>
18791
18792 * sysdeps/x86_64/preconfigure: Regenerated.
18793
41c7328e
JM
187942013-03-14 Joseph Myers <joseph@codesourcery.com>
18795
18796 [BZ #14155]
18797 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18798 0x1p28 and above.
18799 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18800 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18801 0x1p28 and above.
18802 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18803 * math/libm-test.inc (j0_test): Do not allow one spurious
18804 underflow exception.
18805 (y1_test): Likewise.
18806
e25cfa60
SP
188072013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18808
0409959c
SP
18809 * manual/Makefile (chapters): Add nptl.
18810 * manual/debug.texi (Debugging Support): Add link to Threads
18811 chapter.
18812 * manual/nptl.texi: New file.
18813
e25cfa60
SP
18814 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18815
58a1335e
PB
188162013-03-14 Petr Baudis <pasky@ucw.cz>
18817
18818 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18819 for non-NULL pointer before the memory validity test. Pointed
18820 out by Holger Brunck <holger.brunck@keymile.com>.
18821
9dc7c64f
AS
188222013-03-13 Andreas Schwab <schwab@suse.de>
18823
18824 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18825 instead of .os.
18826
54206aa6
JM
188272013-03-13 Joseph Myers <joseph@codesourcery.com>
18828
18829 * timezone/zic.c: Update from tzcode 2013b.
18830
e98cdb38
CD
188312013-03-12 Carlos O'Donell <carlos@redhat.com>
18832
18833 * manual/install.texi (Configuring and compiling):
18834 Mention i686 and i586.
18835 * INSTALL: Regenerate.
18836
9967e003
RM
188372013-03-12 Roland McGrath <roland@hack.frob.com>
18838
18839 * sysdeps/init_array/elf-init.c: New file.
18840 * csu/elf-init.c
18841 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18842 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18843
18844 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18845 __gmon_start__ as global, but as static with a .preinit_array pointer.
18846 * sysdeps/init_array/gmon-start.c: New file. Use that.
18847 * sysdeps/init_array/crti.S: New file, empty except for comments.
18848 * sysdeps/init_array/crtn.S: Likewise.
18849
e6b5a293 188502013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18851
18852 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18853 definining bcopy.
80f844c9
OB
18854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18855 Remove Prefer_SSE_for_memop.
18856 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18857 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18858 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18860 memset-x86-64.
80f844c9 18861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18862 Remove bzero, memset ifunc support.
80f844c9
OB
18863 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18864 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18865 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18866 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18867
fb6b0fcb
AS
188682013-03-11 Andreas Schwab <schwab@suse.de>
18869
18870 [BZ #15234]
18871 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18872 by SHLIB_COMPAT.
18873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18874 (GLIBC_2.16): Remove pthread_atfork.
18875
3e6bd4b1
PP
188762013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18877
18878 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18879 (ptestcases.h): Likewise.
18880
222d7f00
RM
188812013-03-08 Roland McGrath <roland@hack.frob.com>
18882
18883 * Makeconfig ($(common-objpfx)config.status): Depend on
18884 sysdeps/*/preconfigure{,.in} too.
18885
1ba4f030
JM
188862013-03-08 Joseph Myers <joseph@codesourcery.com>
18887
a222d91a
JM
18888 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18889 (__free_hook): Use void * instead of __malloc_ptr_t.
18890 (__malloc_hook): Likewise.
18891 (__realloc_hook): Likewise.
18892 (__memalign_hook): Likewise.
18893 (__after_morecore_hook): Likewise.
18894 * malloc/arena.c (save_malloc_hook): Likewise.
18895 (save_free_hook): Likewise.
18896 * malloc/hooks.c (malloc_hook_ini): Likewise.
18897 (realloc_hook_ini): Likewise.
18898 (memalign_hook_ini): Likewise.
18899 * malloc/malloc.c (malloc_hook_ini): Likewise.
18900 (realloc_hook_ini): Likewise.
18901 (memalign_hook_ini): Likewise.
18902 (__free_hook): Likewise.
18903 (__malloc_hook): Likewise.
18904 (__realloc_hook): Likewise.
18905 (__memalign_hook): Likewise.
18906 (__libc_malloc): Likewise.
18907 (__libc_free): Likewise.
18908 (__libc_realloc): Likewise.
18909 (__libc_memalign): Likewise.
18910 (__libc_valloc): Likewise.
18911 (__libc_pvalloc): Likewise.
18912 (__libc_calloc): Likewise.
18913 (__posix_memalign): Likewise.
18914 * malloc/morecore.c (__sbrk): Likewise.
18915 (__default_morecore): Likewise.
18916
5cc45e10
JM
18917 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18918
dd54b864
JM
18919 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18920 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18921 __malloc_ptrdiff_t.
18922
1ba4f030
JM
18923 * malloc/malloc.h (__malloc_size_t): Remove macro.
18924 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18925 __malloc_size_t.
18926 (old_memalign_hook): Likewise.
18927 (old_realloc_hook): Likewise.
18928 (struct hdr): Likewise.
18929 (flood): Likewise.
18930 (mallochook): Likewise.
18931 (memalignhook): Likewise.
18932 (reallochook): Likewise.
18933 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18934 (tr_old_realloc_hook): Likewise.
18935 (tr_old_memalign_hook): Likewise.
18936 (tr_mallochook): Likewise.
18937 (tr_reallochook): Likewise.
18938 (tr_memalignhook): Likewise.
18939
edf66e57
AZ
189402013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18941
18942 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18943 default_ldbl_pack and using as default implementation.
18944 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18945 implementation.
18946 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18947 redundant definition.
18948 (ldbl_insert_mantissa): Likewise.
18949 (ldbl_canonicalize): Likewise.
18950 (ldbl_nearbyint): Likewise.
18951 (ldbl_pack): Rename to ldbl_pack_ppc.
18952 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18953 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18954 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18955
6d9145d8
SP
189562013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18957
18958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18959 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18960 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18961 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18963 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18964 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18965 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18966
4dd4e157
AJ
189672013-03-07 Andreas Jaeger <aj@suse.de>
18968
18969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18970 bits/mman-linux.h.
18971
adbb8027
SP
189722013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18973
ce544b5b
SP
18974 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18975 Include mpa.h and declare __MPEXP.
18976 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18977 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18978 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18979 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18980 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18981 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18982 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18983
4cc149fd
SP
18984 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18985 (__slowpow): Use long double EXPL and LOGL functions to
18986 compute POW.
18987 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18988 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18989 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18990 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18991 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18992 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18993
e6ebd4a7
SP
18994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18995 intermediate variable to calculate exponent.
18996 (__sqr): Likewise.
18997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18998 Likewise.
18999 (__sqr): Likewise.
19000
82a9811d
SP
19001 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19002 [!NO__SQR]: Define __sqr.
19003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19004 and NO__SQR. Remove all code except __mul and __sqr. Include
19005 sysdeps/ieee754/dbl-64/mpa.c.
19006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19007
adbb8027
SP
19008 [BZ #12723]
19009 * posix/Makefile (tests): Add tst-pathconf.
19010 * posix/tst-pathconf.c: New test case.
19011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19012 _PC_PIPE_BUF.
19013 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19014
39120df9
PF
190152013-03-06 Patsy Franklin <pfrankli@redhat.com>
19016
19017 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19018
67525cb8
AJ
190192013-03-06 Andreas Jaeger <aj@suse.de>
19020
664a9ce4
AJ
19021 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19022 definition via __MAP_ANONYMOUS.
19023
8e39047d
AJ
19024 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19025 it's not part of Linux headers.
19026
67525cb8
AJ
19027 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19028 (MAP_HUGE_MASK): Define.
19029
19030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19031 Define.
19032 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19034 Define.
19035 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19036 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19037 Define.
19038 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19040 Define.
19041 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19042
19043 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19044 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19045 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19046 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19047 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19048 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19049
19050 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19051 Handle f2fs.
19052
19053 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19054 Handle f2fs and efivarfs.
19055
19056 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19057 f2fs.
19058
19059 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19060 (EFIVARFS_MAGIC): Add.
19061 (F2FS_LINK_MAX): Add.
19062
e1b42695
PP
190632013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19064
19065 * stdio-common/vfprintf.c: Replace __builtin_expect with
19066 __glibc_unlikely.
19067
2d67d91a
JM
190682013-03-06 Joseph Myers <joseph@codesourcery.com>
19069
19070 [BZ #13550]
19071 * sysdeps/generic/bp-sym.h: Remove file.
19072 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19073 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19074 <bp-sym.h> and <bp-asm.h>.
19075 (__longjmp): Don't use BP_SYM.
19076 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19077 and <bp-asm.h>.
19078 (memcpy): Don't use BP_SYM.
19079 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19080 <bp-sym.h> and <bp-asm.h>.
19081 (memcpy): Don't use BP_SYM.
19082 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19083 <bp-asm.h>.
19084 (memcpy): Don't use BP_SYM.
19085 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19086 <bp-asm.h>.
19087 (memset): Don't use BP_SYM.
19088 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19089 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19090 (__bzero): Don't use BP_SYM.
19091 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19092 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19093 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19094 <bp-sym.h> and <bp-asm.h>.
19095 (memcmp): Don't use BP_SYM. Remove comment about bounded
19096 pointers.
19097 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19098 <bp-sym.h> and <bp-asm.h>.
19099 (memcpy): Don't use BP_SYM.
19100 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19101 <bp-sym.h> and <bp-asm.h>.
19102 (memset): Don't use BP_SYM.
19103 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19104 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19105 (__bzero): Don't use BP_SYM.
19106 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19107 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19108 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19109 <bp-sym.h> and <bp-asm.h>.
19110 (strncmp): Don't use BP_SYM. Remove comment about bounded
19111 pointers.
19112 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19113 <bp-sym.h> and <bp-asm.h>.
19114 (memcpy): Don't use BP_SYM.
19115 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19116 <bp-sym.h> and <bp-asm.h>.
19117 (memset): Don't use BP_SYM.
19118 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19119 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19120 (__bzero): Don't use BP_SYM.
19121 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19122 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19123 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19124 <bp-sym.h> and <bp-asm.h>.
19125 (__memchr): Don't use BP_SYM.
19126 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19127 <bp-sym.h> and <bp-asm.h>.
19128 (memcmp): Don't use BP_SYM. Remove comment about bounded
19129 pointers.
19130 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19131 <bp-sym.h> and <bp-asm.h>.
19132 (memcpy): Don't use BP_SYM.
19133 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19134 <bp-sym.h> and <bp-asm.h>.
19135 (__mempcpy): Don't use BP_SYM.
19136 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19137 <bp-sym.h> and <bp-asm.h>.
19138 (__memrchr): Don't use BP_SYM.
19139 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19140 <bp-sym.h> and <bp-asm.h>.
19141 (memset): Don't use BP_SYM.
19142 (__bzero): Likewise.
19143 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19144 <bp-sym.h> and <bp-asm.h>.
19145 (__rawmemchr): Don't use BP_SYM.
19146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19147 <bp-sym.h> and <bp-asm.h>.
19148 (__STRCMP): Don't use BP_SYM.
19149 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19150 <bp-sym.h> and <bp-asm.h>.
19151 (strchr): Don't use BP_SYM.
19152 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19153 <bp-sym.h> and <bp-asm.h>.
19154 (__strchrnul): Don't use BP_SYM.
19155 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19156 <bp-sym.h> and <bp-asm.h>.
19157 (strlen): Don't use BP_SYM.
19158 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19159 <bp-sym.h> and <bp-asm.h>.
19160 (strncmp): Don't use BP_SYM. Remove comment about bounded
19161 pointers.
19162 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19163 <bp-sym.h> and <bp-asm.h>.
19164 (__strnlen): Don't use BP_SYM.
19165 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19166 <bp-sym.h> and <bp-asm.h>.
19167 (__GI__setjmp): Don't use BP_SYM.
19168 (_setjmp): Likewise.
19169 (__sigsetjmp): Likewise.
19170 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19171 (L(start_addresses)): Don't use BP_SYM.
19172 (_start): Likewise.
19173 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19174 <bp-asm.h>.
19175 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19176 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19177 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19178 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19179 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19180 <bp-asm.h>.
19181 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19182 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19183 about bounded pointers.
19184 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19185 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19186 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19187 <bp-asm.h>.
19188 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19189 about bounded pointers. Remove GKM FIXME comments.
19190 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19191 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19192 <bp-asm.h>.
19193 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19194 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19195 Remove GKM FIXME comments.
19196 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19197 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19198 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19199 <bp-asm.h>.
19200 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19201 about bounded pointers. Remove GKM FIXME comment.
19202 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19203 and <bp-asm.h>.
19204 (strncmp): Don't use BP_SYM. Remove comment about bounded
19205 pointers.
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19207 <bp-sym.h> and <bp-asm.h>.
19208 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19210 <bp-sym.h> and <bp-asm.h>.
19211 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19212 comment.
19213
cdcf361f
PP
192142013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19215
19216 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19217 call free(NULL).
19218
3c4a2b15
DM
192192013-03-05 David S. Miller <davem@davemloft.net>
19220
19221 * po/es.po: Update from translation team.
19222
cdcf361f 192232013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19224
19225 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19226 <bits/mman-linux.h>.
19227 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19228 is fine.
19229 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19230 <bits/mman-linux.h> to end of file.
19231 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19232 is fine.
19233 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19234 <bits/mman-linux.h> to end of file.
19235 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19236 is fine.
19237 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19238 <bits/mman-linux.h> to end of file.
19239
19240 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19241 (MCL_CURRENT, MCL_FUTURE): Define here.
19242
5f67c04f
AK
192432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19244
8a4473cc 19245 [BZ #15232]
5f67c04f
AK
19246 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19247 attribute_hidden.
19248 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19249
c3e94a95
AK
192502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19251
19252 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19253 fourth parameter needed for rt_sigprocmask syscall.
19254 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19255 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19256 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19257 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19258 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19259 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19260
cfb6382a
JM
192612013-03-04 Joseph Myers <joseph@codesourcery.com>
19262
19263 [BZ #13550]
19264 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19265 comment about bounded pointers.
19266 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19267 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19268
539d8e01
AJ
192692013-03-04 Andreas Jaeger <aj@suse.de>
19270
19271 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19272 common definitions.
19273
19274 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19275 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19276 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19277 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19279 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19280
2e167a70 192812013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19282
19283 [BZ #15055]
19284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19285 __ieee754_sqrl instead of __sqrl.
19286
68508633
JM
192872013-03-01 Joseph Myers <joseph@codesourcery.com>
19288
19289 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19290 * sysdeps/powerpc/fpu_control.h: ... here.
19291 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19292 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19293 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19294 * sysdeps/powerpc/bits/mathinline.h: ... here.
19295
7775448e
RM
192962013-03-01 Roland McGrath <roland@hack.frob.com>
19297
19298 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19299 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19300 to just [NEED_DL_SYSINFO_DSO].
19301 * elf/dl-support.c: Likewise.
19302 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19303 * elf/rtld.c (dl_main): Likewise.
19304 * elf/setup-vdso.h (setup_vdso): Likewise.
19305 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19306 * sysdeps/unix/sysv/linux/dl-sysdep.c
19307 (_dl_discover_osversion): Likewise.
19308
4e9b5995
CD
193092013-03-01 Carlos O'Donell <carlos@redhat.com>
19310
19311 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19312 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19313
e23872c8
SP
193142013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19315
e5c74c63
SP
19316 * NEWS: Mention libm performance improvements and non-x86 PI
19317 futex support.
19318
e23872c8
SP
19319 * csu/libc-start.c (__pthread_initialize_minimal): Change
19320 function arguments.
19321 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19322
b5510883
JM
193232013-02-28 Joseph Myers <joseph@codesourcery.com>
19324
19325 [BZ #13550]
19326 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19327 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19328 <bp-sym.h> and <bp-asm.h>.
19329 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19330 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19331 and <bp-asm.h>.
19332 (memcpy): Don't use BP_SYM.
19333 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19334 <bp-asm.h>.
19335 (__mpn_add_n): Don't use BP_SYM.
19336 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19337 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19338 and <bp-asm.h>.
19339 (__mpn_addmul_1): Don't use BP_SYM.
19340 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19341 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19342 <bp-sym.h>.
19343 (_setjmp): Don't use BP_SYM.
19344 (__novmx_setjmp): Likewise.
19345 (__GI__setjmp): Likewise.
19346 (__vmx_setjmp): Likewise.
19347 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19348 <bp-sym.h>.
19349 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19350 (__bzero): Don't use BP_SYM.
19351 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19352 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19353 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19354 <bp-sym.h> and <bp-asm.h>.
19355 (memcpy): Don't use BP_SYM.
19356 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19357 <bp-sym.h> and <bp-asm.h>.
19358 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19359 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19360 <bp-sym.h> and <bp-asm.h>.
19361 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19362 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19363 <bp-asm.h>.
19364 (__mpn_lshift): Don't use BP_SYM.
19365 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19366 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19367 <bp-asm.h>.
19368 (memset): Don't use BP_SYM.
19369 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19370 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19371 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19372 <bp-asm.h>.
19373 (__mpn_mul_1): Don't use BP_SYM.
19374 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19375 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19376 <bp-sym.h> and <bp-asm.h>.
19377 (memcmp): Don't use BP_SYM.
19378 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19379 <bp-sym.h> and <bp-asm.h>.
19380 (memcpy): Don't use BP_SYM.
19381 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19382 <bp-sym.h> and <bp-asm.h>.
19383 (memset): Don't use BP_SYM.
19384 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19385 <bp-sym.h> and <bp-asm.h>.
19386 (strncmp): Don't use BP_SYM.
19387 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19388 <bp-sym.h> and <bp-asm.h>.
19389 (memcpy): Don't use BP_SYM.
19390 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19391 <bp-sym.h> and <bp-asm.h>.
19392 (memset): Don't use BP_SYM.
19393 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19394 <bp-sym.h> and <bp-asm.h>.
19395 (__memchr): Don't use BP_SYM.
19396 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19397 <bp-sym.h> and <bp-asm.h>.
19398 (memcmp): Don't use BP_SYM.
19399 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19400 <bp-sym.h> and <bp-asm.h>.
19401 (memcpy): Don't use BP_SYM.
19402 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19403 <bp-sym.h> and <bp-asm.h>.
19404 (__mempcpy): Don't use BP_SYM.
19405 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19406 <bp-sym.h> and <bp-asm.h>.
19407 (__memrchr): Don't use BP_SYM.
19408 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19409 <bp-sym.h> and <bp-asm.h>.
19410 (memset): Don't use BP_SYM.
19411 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19412 <bp-sym.h> and <bp-asm.h>.
19413 (__rawmemchr): Don't use BP_SYM.
19414 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19415 <bp-sym.h> and <bp-asm.h>.
19416 (__STRCMP): Don't use BP_SYM.
19417 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19418 <bp-sym.h> and <bp-asm.h>.
19419 (strchr): Don't use BP_SYM.
19420 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19421 <bp-sym.h> and <bp-asm.h>.
19422 (__strchrnul): Don't use BP_SYM.
19423 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19424 <bp-sym.h> and <bp-asm.h>.
19425 (strlen): Don't use BP_SYM.
19426 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19427 <bp-sym.h> and <bp-asm.h>.
19428 (strncmp): Don't use BP_SYM.
19429 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19430 <bp-sym.h> and <bp-asm.h>.
19431 (__strnlen): Don't use BP_SYM.
19432 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19433 <bp-asm.h>.
19434 (__mpn_rshift): Don't use BP_SYM.
19435 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19436 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19437 <bp-sym.h> and <bp-asm.h>.
19438 (__sigsetjmp): Don't use BP_SYM.
19439 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19440 (L(start_addresses)): Don't use BP_SYM.
19441 (_start): Likewise.
19442 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19443 <bp-asm.h>.
19444 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19445 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19446 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19447 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19448 <bp-asm.h>.
19449 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19450 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19451 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19452 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19453 <bp-asm.h>.
19454 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19455 comments.
19456 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19457 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19458 <bp-asm.h>.
19459 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19460 FIXME comments.
19461 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19462 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19463 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19464 <bp-asm.h>.
19465 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19466 comment.
19467 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19468 and <bp-asm.h>.
19469 (strncmp): Don't use BP_SYM,
19470 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19471 <bp-asm.h>.
19472 (__mpn_sub_n): Don't use BP_SYM.
19473 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19474 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19475 and <bp-asm.h>.
19476 (__mpn_submul_1): Don't use BP_SYM.
19477 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19479 <bp-sym.h> and <bp-asm.h>.
19480 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19482 <bp-sym.h> and <bp-asm.h>.
19483 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19484 comment.
19485
8d19fe64
SP
194862013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19487
19488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19489 Use ZK to minimize writes to Z.
19490 (sub_magnitudes): Simplify code a bit.
19491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19492 Use ZK to minimize writes to Z.
19493 (sub_magnitudes): Simplify code a bit.
19494
85bd816a
RM
194952013-02-27 Roland McGrath <roland@hack.frob.com>
19496
19497 * csu/gmon-start.c: Add special exception to license text.
19498
b5977bf2
RH
194992013-02-27 Richard Henderson <rth@redhat.com>
19500
19501 * scripts/config.guess: Update from config.git.
19502 * scripts/config.sub: Likewise.
19503
11d6e2f2
SP
195042013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19505
09c14ed2
SP
19506 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19507
a688864e
SP
19508 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19509
6295157a
SP
19510 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19511
b8de2202
SP
19512 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19513
11d6e2f2
SP
19514 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19515
7e80ddb8
RM
195162013-02-26 Roland McGrath <roland@hack.frob.com>
19517
19518 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19519 [$(build-shared = yes].
7e80ddb8 19520
7da6d9ed
SP
195212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19522
45f05884
SP
19523 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19524 (__mul): Reduce iterations for calculating mantissa.
19525
2236d359
SP
19526 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19527 MPTWO.
19528 (__mpranred): Likewise.
19529
7da6d9ed
SP
19530 [BZ #15160]
19531 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19532 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19533
b7688c42
PE
195342013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19535
19536 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19537 Define __attribute__.
19538
53a5c423
SP
195392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19540
19541 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19542 unused.
19543 * posix/regex_internal.h (__attribute): Remove.
19544 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19545 (re_string_context_at): Likewise.
19546 (bitset_not): Use __attribute__ and mark function as possibly
19547 unused.
19548 (bitset_merge): Likewise.
19549 (bitset_mask): Likewise.
19550 (re_string_char_size_at): Likewise.
19551 (re_string_wchar_at): Likewise.
19552 (re_string_elem_size_at): Likewise.
19553
60f5a8b5
SP
195542013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19555
2a983a2e
SP
19556 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19557 code.
19558 (cc32): Likewise.
19559
e69804d1
SP
19560 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19561 (__acr): Likewise.
19562 (__cpy): Likewise.
19563 (norm): Likewise.
19564 (denorm): Likewise.
19565 (__dbl_mp): Likewise.
19566 (add_magnitudes): Likewise.
19567 (sub_magnitudes): Likewise.
19568 (__mul): Likewise.
19569 (__inv): Likewise.
19570
2f22a1e8
SP
19571 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19572 style.
19573
8930ddc7
SP
19574 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19575 style.
19576
dc60cb11
SP
19577 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19578 code.
19579
60f5a8b5
SP
19580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19581 up changes with default code.
19582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19583 Likewise.
19584
b4d1fd33
AM
195852013-02-24 Allan McRae <allan@archlinux.org>
19586
faf6f8bc
AM
19587 * manual/socket.texi (The Internet Namespace): Order menu items
19588 to match that in the file.
19589
b4d1fd33
AM
19590 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19591 node listing of the info page menu.
19592
2366713d
JM
195932013-02-21 Joseph Myers <joseph@codesourcery.com>
19594
19595 [BZ #13550]
19596 * sysdeps/i386/bp-asm.h: Remove file.
19597 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19598 (PARMS): Do not use macros from bp-asm.h.
19599 (S1): Likewise.
19600 (S2): Likewise.
19601 (SIZE): Likewise.
19602 (__mpn_add_n): Do not use BP_SYM
19603 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19604 "bp-asm.h".
19605 (PARMS): Do not use macros from bp-asm.h.
19606 (S1): Likewise.
19607 (SIZE): Likewise.
19608 (__mpn_addmul_1): Do not use BP_SYM
19609 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19610 "bp-asm.h".
19611 (PARMS): Do not use macros from bp-asm.h.
19612 (SIGMSK): Likewise.
19613 (_setjmp): Likewise. Do not use BP_SYM.
19614 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19615 "bp-asm.h".
19616 (PARMS): Do not use macros from bp-asm.h.
19617 (SIGMSK): Likewise.
19618 (setjmp): Likewise. Do not use BP_SYM.
19619 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19620 "bp-asm.h".
19621 (PARMS): Do not use macros from bp-asm.h.
19622 (__frexp): Do not use BP_SYM.
19623 (frexp): Likewise.
19624 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19625 "bp-asm.h".
19626 (PARMS): Do not use macros from bp-asm.h.
19627 (__frexpf): Do not use BP_SYM.
19628 (frexpf): Likewise.
19629 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19630 "bp-asm.h".
19631 (PARMS): Do not use macros from bp-asm.h.
19632 (__frexpl): Do not use BP_SYM.
19633 (frexpl): Likewise.
19634 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19635 "bp-asm.h".
19636 (PARMS): Do not use macros from bp-asm.h.
19637 (__remquo): Do not use BP_SYM.
19638 (remquo): Likewise.
19639 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19640 "bp-asm.h".
19641 (PARMS): Do not use macros from bp-asm.h.
19642 (__remquof): Do not use BP_SYM.
19643 (remquof): Likewise.
19644 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19645 "bp-asm.h".
19646 (PARMS): Do not use macros from bp-asm.h.
19647 (__remquol): Do not use BP_SYM.
19648 (remquol): Likewise.
19649 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19650 "bp-asm.h".
19651 (PARMS): Do not use macros from bp-asm.h.
19652 (DEST): Likewise.
19653 (SRC): Likewise.
19654 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19655 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19656 "bp-asm.h".
19657 (PARMS): Do not use macros from bp-asm.h.
19658 (strlen): Do not use BP_SYM.
19659 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19660 "bp-asm.h".
19661 (PARMS): Do not use macros from bp-asm.h.
19662 (S1): Likewise.
19663 (S2): Likewise.
19664 (SIZE): Likewise.
19665 (__mpn_add_n): Do not use BP_SYM.
19666 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19667 "bp-asm.h".
19668 (PARMS): Do not use macros from bp-asm.h.
19669 (S1): Likewise.
19670 (SIZE): Likewise.
19671 (__mpn_addmul_1): Do not use BP_SYM.
19672 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19673 weak_alias.
19674 (bzero): Likewise.
19675 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19676 "bp-asm.h".
19677 (PARMS): Do not use macros from bp-asm.h.
19678 (S): Likewise.
19679 (SIZE): Likewise.
19680 (__mpn_lshift): Do not use BP_SYM.
19681 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19682 "bp-asm.h".
19683 (PARMS): Do not use macros from bp-asm.h.
19684 (DEST): Likewise.
19685 (SRC): Likewise.
19686 (LEN): Likewise.
19687 (memcpy): Likewise. Do not use BP_SYM.
19688 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19689 libc_hidden_def and weak_alias.
19690 (mempcpy): Do not use BP_SYM in weak_alias.
19691 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19692 "bp-asm.h".
19693 (PARMS): Do not use macros from bp-asm.h.
19694 (DEST): Likewise.
19695 (LEN): Likewise.
19696 [!BZERO_P] (CHR): Likewise.
19697 (memset): Likewise. Do not use BP_SYM.
19698 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19699 "bp-asm.h".
19700 (PARMS): Do not use macros from bp-asm.h.
19701 (S1): Likewise.
19702 (SIZE): Likewise.
19703 (__mpn_mul_1): Do not use BP_SYM.
19704 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19705 "bp-asm.h".
19706 (PARMS): Do not use macros from bp-asm.h.
19707 (S): Likewise.
19708 (SIZE): Likewise.
19709 (__mpn_rshift): Do not use BP_SYM.
19710 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19711 "bp-asm.h".
19712 (PARMS): Do not use macros from bp-asm.h.
19713 (STR): Likewise.
19714 (CHR): Likewise.
19715 (strchr): Likewise. Do not use BP_SYM.
19716 (index): Do not use BP_SYM in weak_alias.
19717 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19718 "bp-asm.h".
19719 (PARMS): Do not use macros from bp-asm.h.
19720 (DEST): Likewise.
19721 (SRC): Likewise.
19722 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19723 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19724 "bp-asm.h".
19725 (PARMS): Do not use macros from bp-asm.h.
19726 (strlen): Do not use BP_SYM.
19727 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19728 "bp-asm.h".
19729 (PARMS): Do not use macros from bp-asm.h.
19730 (S1): Likewise.
19731 (S2): Likewise.
19732 (SIZE): Likewise.
19733 (__mpn_sub_n): Do not use BP_SYM.
19734 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19735 "bp-asm.h".
19736 (PARMS): Do not use macros from bp-asm.h.
19737 (S1): Likewise.
19738 (SIZE): Likewise.
19739 (__mpn_submul_1): Do not use BP_SYM.
19740 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19741 "bp-asm.h".
19742 (PARMS): Do not use macros from bp-asm.h.
19743 (S1): Likewise.
19744 (S2): Likewise.
19745 (SIZE): Likewise.
19746 (__mpn_add_n): Do not use BP_SYM.
19747 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19748 weak_alias.
19749 (bzero): Likewise.
19750 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19751 "bp-asm.h".
19752 (PARMS): Do not use macros from bp-asm.h.
19753 (BLK2): Likewise.
19754 (LEN): Likewise.
19755 (memcmp): Do not use BP_SYM.
19756 (bcmp): Do not use BP_SYM in weak_alias.
19757 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19758 "bp-asm.h".
19759 (PARMS): Do not use macros from bp-asm.h.
19760 (DEST): Likewise.
19761 (SRC): Likewise.
19762 (LEN): Likewise.
19763 (memcpy): Likewise. Do not use BP_SYM.
19764 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19765 "bp-asm.h".
19766 (PARMS): Do not use macros from bp-asm.h.
19767 (DEST): Likewise.
19768 (SRC): Likewise.
19769 (LEN): Likewise.
19770 (memmove): Likewise. Do not use BP_SYM.
19771 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19772 "bp-asm.h".
19773 (PARMS): Do not use macros from bp-asm.h.
19774 (DEST): Likewise.
19775 (SRC): Likewise.
19776 (LEN): Likewise.
19777 (__mempcpy): Likewise. Do not use BP_SYM.
19778 (mempcpy): Do not use BP_SYM in weak_alias.
19779 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19780 "bp-asm.h".
19781 (PARMS): Do not use macros from bp-asm.h.
19782 (DEST): Likewise.
19783 (LEN): Likewise.
19784 [!BZERO_P] (CHR): Likewise.
19785 (memset): Likewise. Do not use BP_SYM.
19786 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19787 "bp-asm.h".
19788 (PARMS): Do not use macros from bp-asm.h.
19789 (STR2): Likewise.
19790 (strcmp): Do not use BP_SYM.
19791 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19792 "bp-asm.h".
19793 (PARMS): Do not use macros from bp-asm.h.
19794 (STR): Likewise.
19795 (DELIM): Likewise.
19796 [USE_AS_STRTOK_R] (SAVE): Likewise.
19797 (FUNCTION): Likewise. Do not use BP_SYM.
19798 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19799 aliases.
19800 (strtok_r): Likewise.
19801 (__GI___strtok_r): Likewise.
19802 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19803 (PARMS): Do not use macros from bp-asm.h.
19804 (S): Likewise.
19805 (SIZE): Likewise.
19806 (__mpn_lshift): Do not use BP_SYM.
19807 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19808 (PARMS): Do not use macros from bp-asm.h.
19809 (STR): Likewise.
19810 (CHR): Likewise.
19811 (__memchr): Do not use BP_SYM.
19812 (memchr): Do not use BP_SYM in weak_alias.
19813 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19814 (PARMS): Do not use macros from bp-asm.h.
19815 (BLK2): Likewise.
19816 (LEN): Likewise.
19817 (memcmp): Do not use BP_SYM.
19818 (bcmp): Do not use BP_SYM in weak_alias.
19819 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19820 (PARMS): Do not use macros from bp-asm.h.
19821 (S1): Likewise.
19822 (SIZE): Likewise.
19823 (__mpn_mul_1): Do not use BP_SYM.
19824 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19825 "bp-asm.h".
19826 (PARMS): Do not use macros from bp-asm.h.
19827 (STR): Likewise.
19828 (CHR): Likewise.
19829 (__rawmemchr): Do not use BP_SYM.
19830 (rawmemchr): Do not use BP_SYM in weak_alias.
19831 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19832 (PARMS): Do not use macros from bp-asm.h.
19833 (S): Likewise.
19834 (SIZE): Likewise.
19835 (__mpn_rshift): Do not use BP_SYM.
19836 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19837 (PARMS): Do not use macros from bp-asm.h.
19838 (SIGMSK): Likewise.
19839 (__sigsetjmp): Likewise. Do not use BP_SYM.
19840 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19841 (_start): Do not use BP_SYM.
19842 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19843 (PARMS): Do not use macros from bp-asm.h.
19844 (DEST): Likewise.
19845 (SRC): Likewise.
19846 (__stpcpy): Likewise. Do not use BP_SYM.
19847 (stpcpy): Do not use BP_SYM in weak_alias.
19848 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19849 "bp-asm.h".
19850 (PARMS): Do not use macros from bp-asm.h.
19851 (DEST): Likewise.
19852 (SRC): Likewise.
19853 (LEN): Likewise.
19854 (__stpncpy): Likewise. Do not use BP_SYM.
19855 (stpncpy): Do not use BP_SYM in weak_alias.
19856 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19857 (PARMS): Do not use macros from bp-asm.h.
19858 (STR): Likewise.
19859 (CHR): Likewise.
19860 (strchr): Likewise. Do not use BP_SYM.
19861 * sysdeps/i386/strchrnul.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 (__strchrnul): Likewise. Do not use BP_SYM.
19867 (strchrnul): Do not use BP_SYM in weak_alias.
19868 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19869 "bp-asm.h".
19870 (PARMS): Do not use macros from bp-asm.h.
19871 (STOP): Likewise.
19872 (strcspn): Do not use BP_SYM.
19873 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19874 "bp-asm.h".
19875 (PARMS): Do not use macros from bp-asm.h.
19876 (STR): Likewise.
19877 (STOP): Likewise.
19878 (strpbrk): Likewise. Do not use BP_SYM.
19879 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19880 "bp-asm.h".
19881 (PARMS): Do not use macros from bp-asm.h.
19882 (STR): Likewise.
19883 (CHR): Likewise.
19884 (strrchr): Likewise. Do not use BP_SYM.
19885 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19886 (PARMS): Do not use macros from bp-asm.h.
19887 (SKIP): Likewise.
19888 (strspn): Do not use BP_SYM.
19889 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19890 (PARMS): Do not use macros from bp-asm.h.
19891 (STR): Likewise.
19892 (DELIM): Likewise.
19893 (SAVE): Likewise.
19894 (FUNCTION): Likewise. Do not use BP_SYM.
19895 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19896 aliases.
19897 (strtok_r): Likewise.
19898 (__GI___strtok_r): Likewise.
19899 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19900 (PARMS): Do not use macros from bp-asm.h.
19901 (S1): Likewise.
19902 (S2): Likewise.
19903 (SIZE): Likewise.
19904 (__mpn_sub_n): Do not use BP_SYM.
19905 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19906 "bp-asm.h".
19907 (PARMS): Do not use macros from bp-asm.h.
19908 (S1): Likewise.
19909 (SIZE): Likewise.
19910 (__mpn_submul_1): Do not use BP_SYM.
19911 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19912 <bp-sym.h>.
19913 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19914 and <bp-asm.h>.
19915 (PARMS): Do not use macros from bp-asm.h.
19916 (FLAGS): Likewise.
19917 (PTID): Likewise.
19918 (TLS): Likewise.
19919 (CTID): Likewise.
19920 (__clone): Do not use BP_SYM.
19921 (clone): Do not use BP_SYM in weak_alias.
19922 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19923 and <bp-asm.h>.
19924 (PARMS): Do not use macros from bp-asm.h.
19925 (LEN): Likewise.
19926 (__mmap64): Do not use BP_SYM.
19927 (mmap64): Do not use BP_SYM in weak_alias.
19928 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19929 <bp-sym.h> and <bp-asm.h>.
19930 (PARMS): Do not use macros from bp-asm.h.
19931 (__posix_fadvise64_l64): Do not use BP_SYM.
19932 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19933 (PARMS): Do not use macros from bp-asm.h.
19934 (NSOPS): Likewise.
19935 (semtimedop): Do not use BP_SYM.
19936 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19937 and <bp-asm.h>.
19938
582a3cff
AM
199392013-02-21 Allan McRae <allan@archlinux.org>
19940
19941 * manual/message.texi (Charset conversion in gettext):
19942 Move @end statement to beginning of line.
19943
bab8a695
SP
199442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19945
80945231
SP
19946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19947 static.
19948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19949 Likewise.
19950
bab8a695
SP
19951 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19952 (denorm): Likewise.
19953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19955
e21d7aa7
AK
199562013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19957
19958 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19959 tail-call to the resolved function if pltexit isn't needed.
19960
4c7a4263
SP
199612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19962
19963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19964 or Y being zero as being unlikely.
19965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19966 Likewise.
19967
41f49342
CD
199682013-02-20 Carlos O'Donell <carlos@redhat.com>
19969
19970 * manual/nss.texi (System Databases and Name Service Switch):
19971 Remove frobnicate @pxref.
19972
50022a93
TS
199732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19974
19975 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19976 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19977
08cbd996
PM
199782013-02-20 Petr Machata <pmachata@redhat.com>
19979
19980 * elf/elf.h (R_ARM_TARGET1): New macro.
19981 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19982 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19983 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19984 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19985 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19986 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19987 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19988 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19989 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19990 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19991 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19992 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19993 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19994 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19995 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19996 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19997 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19998 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19999 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20000 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20001 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20002 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20003 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20004 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20005 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20006 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20007 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20008 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20009 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20010 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20011 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20012 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20013 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20014 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20015 (R_ARM_THM_GOT_BREL12): Likewise.
20016 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20017 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20018 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20019 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20020 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20021 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20022 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20023 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20024 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20025
c7b275d6
TS
200262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20027
20028 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20029 __attribute_used__ to __attribute__ ((unused)).
20030
20cd7fb3
SP
200312013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20032
20033 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20034 powerpc mpa.c.
20035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20036 comment formatting.
20037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20038
92945b52
JM
200392013-02-19 Joseph Myers <joseph@codesourcery.com>
20040
20041 [BZ #13550]
20042 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20043 Remove macro.
20044 (ENTER): Remove both macro definitions.
20045 (LEAVE): Likewise.
20046 (CHECK_BOUNDS_LOW): Likewise.
20047 (CHECK_BOUNDS_HIGH): Likewise.
20048 (CHECK_BOUNDS_BOTH): Likewise.
20049 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20050 (RETURN_BOUNDED_POINTER): Likewise.
20051 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20052 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20053 (POP_ERRNO_LOCATION_RETURN): Likewise.
20054 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20055 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20056 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20057 macros.
20058 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20059 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20060 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20061 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20062 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20063 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20064 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20065 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20066 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20067 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20068 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20069 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20070 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20071 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20072 removed macros.
20073 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20074 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20075 macros.
20076 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20077 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20078 * sysdeps/i386/i586/memset.S (memset): Likewise.
20079 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20080 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20081 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20082 macros.
20083 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20084 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20085 Change uses of L(2) to L(out).
20086 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20087 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20088 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20089 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20090 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20091 removed macros.
20092 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20093 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20094 macros.
20095 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20096 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20097 (RETURN): Do not use macro LEAVE.
20098 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20099 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20100 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20101 * sysdeps/i386/i686/memset.S (memset): Likewise.
20102 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20103 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20104 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20105 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20106 Likewise.
20107 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20108 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20109 L(1_2) and L(1_3) into L(1).
20110 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20111 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20112 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20113 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20114 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20115 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20116 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20117 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20118 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20119 macros.
20120 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20121 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20122 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20123 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20124 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20125 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20126 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20127 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20128 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20129 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20130 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20131 * sysdeps/i386/strspn.S (strspn): Likewise.
20132 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20133 conditional code.
20134 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20135 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20136 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20137 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20138 L(1_3) into L(1_1).
20139 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20140 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20141 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20142 macros.
20143 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20144
2389741a
JJ
201452013-02-19 Jakub Jelinek <jakub@redhat.com>
20146
20147 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20148 macro.
20149
2016b3cd
SP
201502013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20151
e4f22324
SP
20152 * math/atest-exp.c (exp_mpn): Remove ROUND.
20153 * math/atest-exp2.c (exp_mpn): Likewise.
20154 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20155
2016b3cd
SP
20156 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20157 * stdlib/tst-tls-atexit-lib.c: Likewise.
20158 * stdlib/tst-tls-atexit.c: Likewise.
20159
4be9b544
MF
201602013-02-18 Mike Frysinger <vapier@gentoo.org>
20161
20162 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20163 and __attribute_alloc_size__.
20164
2f62b9ee
MF
201652013-02-18 Mike Frysinger <vapier@gentoo.org>
20166
20167 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20168 __attribute_alloc_size__.
20169 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20170 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20171
6ff444c4
MF
201722013-02-18 Mike Frysinger <vapier@gentoo.org>
20173
20174 * include/programs/xmalloc.h: New file.
20175 * catgets/gencat.c: Include it.
20176 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20177 * elf/pldd.c: Likewise.
20178 * iconv/iconv_charmap.c: Likewise.
20179 * iconv/iconvconfig.c: Likewise.
20180 * iconv/strtab.c: Likewise.
20181 * locale/programs/locale.c: Likewise.
20182 * locale/programs/localedef.h: Likewise.
20183 * locale/programs/simple-hash.c: Likewise.
20184 * nscd/nscd.h: Likewise.
20185 * nss/makedb.c: Likewise.
20186 * sysdeps/generic/ldconfig.h: Likewise.
20187
be179c8a
SP
201882013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20189
ba384f6e
SP
20190 * Versions.def: Add GLIBC_2.18.
20191 * include/link.h (struct link_map): New member l_tls_dtor_count.
20192 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20193 (__call_tls_dtors): Likewise.
20194 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20195 __cxa_thread_atexit_impl.
20196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20197 Likewise.
20198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20199 Likewise.
20200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20201 Likewise.
20202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20203 Likewise.
20204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20206 Likewise.
20207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20208 Likewise.
20209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20211 Likewise.
20212 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20213 (tests): Add test case tst-tls-atexit.
20214 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20215 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20216 (GLIBC_PRIVATE): Add __call_tls_dtors.
20217 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20218 for libstdc++.
20219 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20220 * stdlib/tst-tls-atexit.c: New test case.
20221 * stdlib/tst-tls-atexit-lib.c: New test case.
20222
ffaa74cf 20223 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20224
be179c8a
SP
20225 * elf/Versions (ld): Add _dl_find_dso_for_object.
20226 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20227 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20228 (dl_open_worker): Use _dl_find_dso_for_object.
20229 * elf/dl-sym.c (do_sym): Likewise.
20230 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20231
f78b5caa
AK
202322013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20233
20234 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20235 Syntactic changes only.
20236 (_dl_runtime_profile): Do a tail-call to the resolved function.
20237
29691210
JM
202382013-02-17 Joseph Myers <joseph@codesourcery.com>
20239
20240 [BZ #13550]
20241 * sysdeps/x86_64/bp-asm.h: Remove file.
20242 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20243 <bp-sym.h> and <bp-asm.h>.
20244 (__clone): Do not use BP_SYM.
20245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20246 <bp-sym.h> and <bp-asm.h>.
20247 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20248 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20249 "bp-asm.h".
20250 (_setjmp): Do not use BP_SYM.
20251 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20252 "bp-asm.h".
20253 (setjmp): Do not use BP_SYM.
20254 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20255 libc_hidden_def.
20256 (mempcpy): Do not use BP_SYM in weak_alias.
20257 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20258 "bp-asm.h".
20259 (strchr): Do not use BP_SYM.
20260 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20261 "bp-asm.h".
20262 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20263 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20264 (_start): Do not use BP_SYM.
20265 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20266 "bp-asm.h".
20267 (strcat): Do not use BP_SYM.
20268 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20269 "bp-asm.h".
20270 (STRCMP): Do not use BP_SYM.
20271 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20272 "bp-asm.h".
20273 (STRCPY): Do not use BP_SYM.
20274 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20275 "bp-asm.h".
20276 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20277 "bp-asm.h".
20278 (FUNCTION): Do not use BP_SYM.
20279 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20280 weak_alias.
20281 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20282
f238fd19
AJ
202832013-02-17 Andreas Jaeger <aj@suse.de>
20284
20285 * time/Versions: Sort entries.
20286 * string/Versions: Likewise.
20287 * resolv/Versions: Likewise.
20288 * posix/Versions: Likewise.
20289 * iconv/Versions: Likewise.
20290 * elf/Versions: Likewise.
20291 * wcsmbs/Versions: Likewise.
20292
bd07f23c 202932013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20294
22af19f9
SP
20295 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20296 loop termination condition.
20297
4709fe76
SP
20298 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20299 variable to calculate EZ.
20300 (__sqr): Likewise.
2d0e0f29
SP
20301
20302 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20303 the lower precision input.
20304
daaa7713
JM
203052013-02-15 Joseph Myers <joseph@codesourcery.com>
20306
20307 [BZ #13550]
20308 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20309 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20310 (run-via-rtld-prefix): Do not handle %-bp tests.
20311 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20312 (all-object-suffixes): Remove .ob.
20313 (bppfx): Remove variable.
20314 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20315 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20316 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20317 [$(build-bounded) = yes] (libtype.ob): Likewise.
20318 * Makerules (elide-routines.ob): Remove variable.
20319 (do-tests-clean): Do not handle *-bp.out.
20320 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20321 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20322 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20323 (tests): Do not include $(tests-bp.out).
20324 (xtests): Do not include $(xtests-bp.out).
20325 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20326 [$(build-bounded) = yes] ($(addprefix
20327 $(objpfx),$(binaries-bounded))): Remove rule.
20328 ($(objpfx)%-bp.out): Remove rule.
20329 * config.make.in (build-bounded): Remove variable.
20330 * crypt/Makefile [$(build-bounded) = yes]
20331 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20332 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20333 append to variable.
20334 [$(build-bounded) = yes] (install-lib): Likewise.
20335 [$(build-bounded) = yes] (generated): Likewise.
20336 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20337 Remove rule.
20338 * intl/Makefile [$(build-bounded) = yes]
20339 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20340 * math/Makefile [$(build-bounded) = yes]
20341 ($(tests:%=$(objpfx)%-bp): Likewise.
20342 * misc/Makefile [$(build-bounded) = yes]
20343 ($(objpfx)tst-tsearch-bp): Likewise.
20344 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20345 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20346 Remove dependency.
20347 * string/Makefile (o-objects.ob): Remove variable.
20348 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20349 (CFLAGS-.ob): Remove variable.
20350 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20351 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20352 both definitions of variable.
20353 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20354 (ASFLAGS-.ob): Remove variable.
20355
e97ed6dd
JM
203562013-02-14 Joseph Myers <joseph@codesourcery.com>
20357
2bdd4ca6
JM
20358 [BZ #13550]
20359 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20360 Remove __BOUNDED_POINTERS__ from condition.
20361 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20362 * string/bits/string2.h [!__NO_STRING_INLINES &&
20363 !__BOUNDED_POINTERS__]: Likewise.
20364 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20365 Likewise.
20366 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20367 Remove conditional code.
20368 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20369 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20370 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20371 condition.
20372
e97ed6dd
JM
20373 [BZ #13550]
20374 * csu/libc-start.c: Do not include <bp-sym.h>.
20375 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20376 * elf/dl-open.c: Do not include <bp-sym.h>.
20377 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20378 * math/fegetenv.c: Do not include <bp-sym.h>.
20379 (fegetenv): Do not use BP_SYM in versioned symbols.
20380 * nptl/sysdeps/pthread/bits/libc-lockP.h
20381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20382 <bp-sym.h>.
20383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20384 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20386 (__pthread_mutex_destroy): Likewise.
20387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20388 (__pthread_mutex_lock): Likewise.
20389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20390 (__pthread_mutex_trylock): Likewise.
20391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20392 (__pthread_mutex_unlock): Likewise.
20393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20394 (__pthread_mutexattr_init): Likewise.
20395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20396 (__pthread_mutexattr_destroy): Likewise.
20397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20398 (__pthread_mutexattr_settype): Likewise.
20399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20400 (__pthread_rwlock_init): Likewise.
20401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20402 (__pthread_rwlock_destroy): Likewise.
20403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20404 (__pthread_rwlock_rdlock): Likewise.
20405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20406 (__pthread_rwlock_tryrdlock): Likewise.
20407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20408 (__pthread_rwlock_wrlock): Likewise.
20409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20410 (__pthread_rwlock_trywrlock): Likewise.
20411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20412 (__pthread_rwlock_unlock): Likewise.
20413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20414 (__pthread_key_create): Likewise.
20415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20416 (__pthread_setspecific): Likewise.
20417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20418 (__pthread_getspecific): Likewise.
20419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20420 Likewise.
20421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20422 (_pthread_cleanup_push_defer): Likewise.
20423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20424 (_pthread_cleanup_pop_restore): Likewise.
20425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20426 (pthread_setcancelstate): Likewise.
20427 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20428 <bp-sym.h>.
20429 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20430 (memchr): Do not use BP_SYM in weak_alias.
20431 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20432 (fegetenv): Do not use BP_SYM in versioned symbols.
20433 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20434 (fesetenv): Do not use BP_SYM in versioned symbols.
20435 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20436 (feupdateenv): Do not use BP_SYM in versioned symbols.
20437 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20438 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20439 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20440 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20441 (open64): Do not use BP_SYM in weak_alias.
20442 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20443 (fegetenv): Do not use BP_SYM in versioned symbols.
20444 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20445 (fesetenv): Do not use BP_SYM in versioned symbols.
20446 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20447 (feupdateenv): Do not use BP_SYM in versioned symbols.
20448 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20449 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20450 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20451 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20452 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20453 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20454 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20455 <bp-sym.h>.
20456 (__libc_start_main): Do not use BP_SYM.
20457
d6752ccd
SP
204582013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20459
cb57ce60
SP
20460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20461 redundant return line.
20462 (norm): Likewise.
20463 (denorm): Likewise.
20464 (dbl_mp): Likewise.
20465 (sub_magnitudes): Likewise.
20466 (__add): Likewise.
20467 (__sub): Likewise.
20468 (__mul): Likewise.
20469 (__inv): Likewise.
20470 (__dvd): Likewise.
20471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20472 (norm): Likewise.
20473 (denorm): Likewise.
20474 (dbl_mp): Likewise.
20475 (sub_magnitudes): Likewise.
20476 (__add): Likewise.
20477 (__sub): Likewise.
20478 (__mul): Likewise.
20479 (__inv): Likewise.
20480 (__dvd): Likewise.
20481
f414520d
SP
20482 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20483 instead of __mul.
20484 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20485 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20486 (cc32): Likewise.
20487
d6752ccd
SP
20488 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20489 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20490 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20491 of __mul for squares.
20492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20493 function
20494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20495 Likewise.
20496 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20497 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20498
70d9946a
JM
204992013-02-13 Joseph Myers <joseph@codesourcery.com>
20500
20501 [BZ #13550]
20502 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20503 code.
20504 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20505 prototype or function definition. Rename ubp_* variables and
20506 parameters. Remove argv definitions conditional on
20507 [__BOUNDED_POINTERS__].
20508 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20509 * elf/dl-runtime.c (_dl_fixup): Likewise.
20510 * include/set-hooks.h (RUN_HOOK): Likewise.
20511 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20512 definition.
20513 * string/strcpy.c (strcpy): Do not use __unbounded.
20514 * sysdeps/generic/frame.h (struct layout): Likewise.
20515 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20516 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20517 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20518 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20519 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20520 (__backtrace): Likewise.
20521 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20522 use __ptrvalue.
20523 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20524 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20525 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20526 Likewise.
20527 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20528 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20529 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20530 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20531 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20532 Do not use __unbounded.
20533 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20534 Rename __unboundedrlimits parameter to rlimits in prototype.
20535 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20536 Do not use __unbounded.
20537 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20538 not use __ptrvalue.
20539 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20540 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20541 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20542 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20543 __ptrvalue or __unbounded.
20544 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20545 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20546 use __unbounded.
20547 (__new_msgctl): Do not use __ptrvalue.
20548 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20549 __unbounded.
20550 (__libc_msgrcv): Do not use __ptrvalue.
20551 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20552 startup_info): Do not use __unbounded.
20553 (__libc_start_main): Likewise. Rename ubp_* variables and
20554 parameters. Remove argv definitions conditional on
20555 [__BOUNDED_POINTERS__].
20556 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20557 __ptrvalue.
20558 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20559 use __unbounded.
20560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20561 or __ptrvalue.
20562 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20563 use __unbounded.
20564 (__new_shmctl): Do not use __ptrvalue.
20565 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20566 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20567 Likewise.
20568 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20569 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20570 (__libc_sigaction): Likewise.
20571 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20572 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20573 Likewise.
20574 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20575
cc7834d6
OB
205762013-02-13 Ondřej Bílka <neleai@seznam.cz>
20577
ffb1ec7b 20578 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20579
20580 * string/mempcpy.c: Implement by calling memcpy.
20581
bdf02814
SP
205822013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20583
c2af38aa
SP
20584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20585
4e92d59e
SP
20586 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20587 evaluation.
20588
909279a5
SP
20589 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20590 values in the mantissa.
20591
bdf02814
SP
20592 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20593 minimize writes to Z.
20594 (sub_magnitudes): Simplify code a bit.
20595
cd525923
RM
205962013-02-12 Roland McGrath <roland@hack.frob.com>
20597
20598 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20599 from the message. The linker prefixes all warnings with that already.
20600
7e2f0d2d
AS
206012013-02-12 Andreas Schwab <schwab@suse.de>
20602
a445af0b
AS
20603 [BZ #15078]
20604 * posix/regexec.c (extend_buffers): Add parameter min_len.
20605 (check_matching): Pass minimum needed length.
20606 (clean_state_log_if_needed): Likewise.
20607 (get_subexp): Likewise.
20608 * posix/Makefile (tests): Add bug-regex34.
20609 (bug-regex34-ENV): Define.
20610 * posix/bug-regex34.c: New file.
20611
7e2f0d2d
AS
20612 [BZ #11561]
20613 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20614 elements compare against the byte sequence of it, not its name.
20615 * posix/Makefile (tests): Add bug-regex35.
20616 (bug-regex35-ENV): Define.
20617 * posix/bug-regex35.c: New file.
20618
a175b684
TV
206192013-02-11 Tom de Vries <tom@codesourcery.com>
20620
20621 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20622 comment.
20623 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20624 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20625 (CHECK_EOL): Add undef.
20626
310998fe 206272013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20628
20629 * bits/stdlib-bsearch.h: New file.
20630 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20631 * stdlib/stdlib.h: Likewise.
41eda41d 20632
8ded91fb
RM
206332013-02-11 Roland McGrath <roland@hack.frob.com>
20634
20635 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20636 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20637 declaration.
20638 * manual/search.texi (Array Search Function): Add missing const in
20639 lfind prototype.
20640 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20641 declaration to use rlim_t.
20642 (Basic Scheduling Functions): Remove erroneous const from
20643 sched_getparam prototype. Remove erroneous * from
20644 sched_get_priority_max and sched_get_priority_min prototypes.
20645 (Resource Usage): Fix summary @comment on vtimes to refer to
20646 sys/vtimes.h rather than vtimes.h.
20647 Add missing *s in vtimes prototype.
20648 (Limits on Resources): Fix ulimit prototype to return long int.
20649 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20650 prototypes to use long int rather than double.
20651 (BSD Random): Fix initstate and setstate to use char *, not void *.
20652 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20653 prototype to make second argument 'struct aiocb64 *const[]'.
20654 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20655 (Status of AIO Operations): Remove erroneous const in aio_return and
20656 aio_return64 prototypes.
20657 (Synchronizing I/O): Fix sync prototype to return void.
20658 * manual/startup.texi (Suboptions): Remove an erroneous const in
20659 getsubopt prototype.
20660 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20661 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20662 use size_t rather than int.
20663 (Scanning All Users): Likewise for getpwent_r.
20664 (Setting Groups): Add missing const to setgroups prototype.
20665 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20666 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20667 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20668 'const void *' rather than 'const char *'.
20669 (Host Address Functions): Likewise for inet_ntop.
20670 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20671 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20672 ssize_t for return value.
20673 (Sending Data): Likewise for send, sendto, sendmsg.
20674 (Socket Option Functions): Add a missing const in setsockopt prototype.
20675 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20676 use wchar_t for the argument.
20677 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20678 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20679 take no arguments.
20680 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20681 double/float/long double for second argument.
20682 Fix return types of significand, significandf, significandl.
20683 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20684 argument in fchmod prototype.
20685 (File Owner): Use uid_t and gid_t in fchown prototype.
20686 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20687 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20688 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20689 use 'const struct dirent **' as argument types to CMP function pointer
20690 argument.
20691 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20692 (File Times): Fix summary magic @comment for struct utimbuf and utime
20693 to refer to utime.h, not time.h.
20694 * manual/string.texi (Argz Functions): Add missing const in
20695 argz_extract and argz_next prototypes.
20696 (Finding Tokens in a String): Likewise for basename.
20697 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20698 (Copying and Concatenation): Fix typo in wmemmove prototype.
20699 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20700 (Signal Stack): Remove erroneous const in sigstack prototype.
20701 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20702 prototype.
20703 (Simple Calendar Time): Likewise for stime.
20704 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20705 prototype.
20706 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20707 say sys/sysctl.h instead.
20708 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20709 and vsyslog prototypes.
20710
fe77fe6d
TV
207112013-02-11 Tom de Vries <tom@codesourcery.com>
20712
20713 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20714 Remove.
20715
3a09b620
RM
207162013-02-11 Roland McGrath <roland@hack.frob.com>
20717
20718 * misc/sys/mman.h: Fix typo in mremap comment.
20719
550a0b89
RM
207202013-02-08 Roland McGrath <roland@hack.frob.com>
20721
20722 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20723 the '\0' terminator.
20724
a2da1673
JM
207252013-02-08 Joseph Myers <joseph@codesourcery.com>
20726
20727 [BZ #13550]
20728 * debug/segfault.c: Don't include <bp-checks.h>.
20729 * sysdeps/generic/bp-checks.h: Remove file.
20730 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20731 (__GETDENTS): Don't use CHECK_N.
20732 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20733 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20734 (__getgroups): Don't use CHECK_N.
20735 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20736 (setgroups): Don't use CHECK_N.
20737 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20738 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20739 (__libc_msgrcv): Don't use CHECK_N.
20740 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20741 (__libc_msgsnd): Don't use CHECK_N.
20742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20743 <bp-checks.h>.
20744 (__libc_pread): Don't use CHECK_N.
20745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20746 include <bp-checks.h>.
20747 (__libc_pread64): Don't use CHECK_N.
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20749 include <bp-checks.h>.
20750 (__libc_pwrite): Don't use CHECK_N.
20751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20752 include <bp-checks.h>.
20753 (__libc_pwrite64): Don't use CHECK_N.
20754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20755 <bp-checks.h>.
20756 (__libc_pread): Don't use CHECK_N.
20757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20758 include <bp-checks.h>.
20759 (__libc_pread64): Don't use CHECK_N.
20760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20761 include <bp-checks.h>.
20762 (__libc_pwrite): Don't use CHECK_N.
20763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20764 include <bp-checks.h>.
20765 (__libc_pwrite64): Don't use CHECK_N.
20766 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20767 (do_pread): Don't use CHECK_N.
20768 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20769 (do_pread64): Don't use CHECK_N.
20770 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20771 (do_pwrite): Don't use CHECK_N.
20772 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20773 (do_pwrite64): Don't use CHECK_N.
20774 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20775 (__libc_readv): Don't use CHECK_N.
20776 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20777 (semop): Don't use CHECK_N.
20778 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20779 <bp-checks.h>.
20780 (semtimedop): Don't use CHECK_N.
20781 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20782 (__libc_pread): Don't use CHECK_N.
20783 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20784 <bp-checks.h>.
20785 (__libc_pread64): Don't use CHECK_N.
20786 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20787 <bp-checks.h>.
20788 (__libc_pwrite): Don't use CHECK_N.
20789 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20790 <bp-checks.h>.
20791 (__libc_pwrite64): Don't use CHECK_N.
20792 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20793 <bp-checks.h>.
20794 (__libc_msgrcv): Don't use CHECK_N.
20795 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20796 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20797 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20798 (__libc_writev): Don't use CHECK_N.
20799
b84660a8
RM
208002013-02-08 Roland McGrath <roland@hack.frob.com>
20801
7f3e75f8
RM
20802 * string/strcpy.c: Removed unused variable.
20803
b84660a8
RM
20804 * Makeconfig (+sysdep-includes): Define with := rather than =.
20805 Use an existing include/ subdir of each sysdeps dir before it.
20806
471514d3
CD
208072013-02-08 Carlos O'Donell <carlos@redhat.com>
20808
20809 * nscd/connection.c (register_traced_file): Comment function.
20810 [HAVE_INOTIFY] (union __inev): Define.
20811 [HAVE_INOTIFY] (inotify_check_files): New function.
20812 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20813 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20814 clear_db_cache.
20815 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20816
b2d3c3be
CD
208172013-02-08 Carlos O'Donell <carlos@redhat.com>
20818
20819 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20820 loaded if not already and that a failure is permanent.
20821
b39949d2
CD
208222013-02-08 Carlos O'Donell <carlos@redhat.com>
20823
ddacd1db 20824 [BZ #15006]
b39949d2
CD
20825 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20826 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20827
b2c9eff4
JM
208282013-02-08 Joseph Myers <joseph@codesourcery.com>
20829
f3aae3f3
JM
20830 [BZ #13550]
20831 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20832 (CHECK_1_NULL_OK): Likewise.
20833 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20834 (__fxstat): Do not use CHECK_1.
20835 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20836 <bp-checks.h>.
20837 (___fxstat64): Do not use CHECK_1.
20838 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20839 <bp-checks.h>.
20840 (__fxstatat): Do not use CHECK_1.
20841 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20842 <bp-checks.h>.
20843 (__fxstatat64): Do not use CHECK_1.
20844 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20845 <bp-checks.h>.
20846 (__fxstat): Do not use CHECK_1.
20847 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20848 <bp-checks.h>.
20849 (__fxstatat): Do not use CHECK_1.
20850 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20851 <bp-checks.h>.
20852 (__getresgid): Do not use CHECK_1.
20853 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20854 <bp-checks.h>.
20855 (__getresuid): Do not use CHECK_1.
20856 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20857 <bp-checks.h>.
20858 (__lxstat): Do not use CHECK_1.
20859 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20860 <bp-checks.h>.
20861 (__old_msgctl): Do not use CHECK_1.
20862 (__new_msgctl): Likewise.
20863 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20864 <bp-checks.h>.
20865 (__new_setrlimit): Do not use CHECK_1.
20866 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20867 <bp-checks.h>.
20868 (__old_shmctl): Do not use CHECK_1.
20869 (__new_shmctl): Likewise.
20870 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20871 <bp-checks.h>.
20872 (__xstat): Do not use CHECK_1.
20873 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20874 (__lxstat): Do not use CHECK_1.
20875 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20876 <bp-checks.h>.
20877 (___lxstat64): Do not use CHECK_1.
20878 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20879 (__old_msgctl): Do not use CHECK_1.
20880 (__new_msgctl): Likewise.
20881 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20882 <bp-checks.h>.
20883 (__gettimeofday): Do not use CHECK_1.
20884 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20885 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20886 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20887 <bp-checks.h>.
20888 (__gettimeofday): Do not use CHECK_1.
20889 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20890 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20891 (__new_shmctl): Do not use CHECK_1.
20892 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20893 <bp-checks.h>.
20894 (do_sigtimedwait): Do not use CHECK_1.
20895 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20896 <bp-checks.h>.
20897 (do_sigwaitinfo): Do not use CHECK_1.
20898 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20899 <bp-checks.h>.
20900 (msgctl): Do not use CHECK_1.
20901 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20902 <bp-checks.h>.
20903 (shmctl): Do not use CHECK_1.
20904 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20905 (ustat): Do not use CHECK_1.
20906 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20907 <bp-checks.h>.
20908 (__fxstat): Do not use CHECK_1.
20909 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20910 <bp-checks.h>.
20911 (__fxstatat): Do not use CHECK_1.
20912 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20913 <bp-checks.h>.
20914 (__lxstat): Do not use CHECK_1.
20915 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20916 <bp-checks.h>.
20917 (__xstat): Do not use CHECK_1.
20918 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20919 (__xstat): Do not use CHECK_1.
20920 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20921 (___xstat64): Do not use CHECK_1.
20922
b2c9eff4
JM
20923 [BZ #13550]
20924 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20925 definitions.
20926 (CHECK_BOUNDS_HIGH): Likewise.
20927 * string/strcpy.c: Do not include <bp-checks.h>.
20928 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20929
f1d70dad
RM
209302013-02-07 Roland McGrath <roland@hack.frob.com>
20931
20932 * nscd/nscd-client.h (__nscd_drop_map_ref):
20933 Add __attribute__ ((unused)).
20934 * nis/nss-nisplus.h (niserr2nss): Likewise.
20935
20936 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20937 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20938
20939 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20940 Remove inline keyword.
20941 * include/rounding-mode.h (round_away): Likewise.
20942 * libio/wfileops.c (adjust_wide_data): Likewise.
20943 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20944 (__m128i_strloadu_tolower): Likewise.
20945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20946 (__m128i_strloadu_tolower): Likewise.
20947 * time/mktime.c (ydhms_diff): Likewise.
20948 * locale/elem-hash.h (elem_hash): Likewise.
20949 * locale/setlocale.c (setdata): Likewise.
20950 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20951 (re_string_wchar_at): Likewise.
20952 (bitset_not, bitset_merge, bitset_mask): Likewise.
20953 [!(__GNUC__ > 3)] (inline): Remove macro.
20954 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20955 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20956 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20957 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20958 * string/memcmp.c (memcmp_bytes): Likewise.
20959 * locale/programs/locarchive.c (compute_hashval): Likewise.
20960 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20961 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20962 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20963 * nss/getent.c (print_rpc, print_protocols): Likewise.
20964 (print_passwd, print_group, print_aliases): Likewise.
20965 * nis/nss-nisplus.h (niserr2nss): Likewise.
20966 * nscd/connections.c (restart_p): Likewise.
20967 Change return type to bool.
20968
eab55bfb
RM
209692013-02-05 Roland McGrath <roland@hack.frob.com>
20970
7bd642f5
RM
20971 * Makeconfig (all-Depend-files): Add existing
20972 $(sorted-subdirs:=/Depend) files.
20973 (all-subdirs): Remove nss.
20974 * sysdeps/unix/inet/Subdirs: Add it here instead.
20975 * hesiod/Depend: New file.
20976
573c29b2
RM
20977 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20978 instead of calling alloca.
20979
b2e25af0
RM
20980 * io/lseek.c (__lseek): Rename to __libc_lseek.
20981 Define __lseek as an alias.
20982
eab55bfb
RM
20983 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20984
9a0d1941
CD
209852013-02-04 Carlos O'Donell <carlos@redhat.com>
20986
20987 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20988 else clause and remove check for non-standard endianness.
20989
b83bbec4
DM
209902013-02-04 David S. Miller <davem@davemloft.net>
20991
20992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20993
6277fdab
JM
209942013-02-04 Joseph Myers <joseph@codesourcery.com>
20995
20996 [BZ #13550]
20997 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20998 (__ubp_memchr): Remove prototype.
20999 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21000 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21001 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21002 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21003 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21004 Remove alias.
21005 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21006 (__ubp_memchr): Likewise.
21007 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21008 (__ubp_memchr): Likewise.
21009 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21010 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21011 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21012 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21013 CHECK_STRING.
21014 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21015 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21016 (__getcwd): Do not use CHECK_STRING.
21017 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21018 <bp-checks.h>.
21019 (__real_chown): Do not use CHECK_STRING.
21020 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21021 <bp-checks.h>.
21022 (fchownat): Do not use CHECK_STRING.
21023 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21024 CHECK_STRING.
21025 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21026 <bp-checks.h>.
21027 (__lchown): Do not use CHECK_STRING.
21028 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21029 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21030 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21031 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21033 include <bp-checks.h>.
21034 (truncate64): Do not use CHECK_STRING.
21035 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21036 <bp-checks.h>.
21037 (__real_chown): Do not use CHECK_STRING.
21038 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21039 <bp-checks.h>.
21040 (__lchown): Do not use CHECK_STRING.
21041 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21042 <bp-checks.h>.
21043 (__chown): Do not use CHECK_STRING.
21044 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21045 <bp-checks.h>.
21046 (truncate64): Do not use CHECK_STRING.
21047 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21048 Likewise.
21049 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21050 (__xmknod): Do not use CHECK_STRING.
21051 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21052 <bp-checks.h>.
21053 (__xmknodat): Do not use CHECK_STRING.
21054 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21055 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21056
903ae060
AS
210572013-02-04 Andreas Schwab <schwab@suse.de>
21058
21059 [BZ #14142]
21060 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21061 * include/netdb.h: Likewise for h_errno.
21062 * elf/tst-stackguard1.c: Include <tls.h>.
21063
542f9466
JK
210642013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21065
21066 * elf/link.h (struct link_map): Extend the l_addr comment.
21067 * include/link.h (struct link_map): Likewise.
21068
e782a927
JM
210692013-02-01 Joseph Myers <joseph@codesourcery.com>
21070
21071 [BZ #13550]
21072 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21073 (BOUNDED_1): Remove macro.
21074 * debug/backtrace.c: Don't include <bp-checks.h>.
21075 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21076 (__backtrace): Likewise.
21077 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21078 <bp-checks.h>.
21079 (__backtrace): Don't use BOUNDED_1.
21080 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21081 <bp-checks.h>.
21082 (__backtrace): Don't use BOUNDED_1.
21083 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21084 (__backtrace): Don't use BOUNDED_1.
21085 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21086 (shmat): Don't use BOUNDED_N.
21087
8cf28c5e
JM
210882013-01-31 Joseph Myers <joseph@codesourcery.com>
21089
3a7ac8a0
JM
21090 [BZ #13550]
21091 * sysdeps/generic/bp-start.h: Remove file.
21092 * csu/libc-start.c: Don't include <bp-start.h>.
21093 (LIBC_START_MAIN): Set up __environ directly instead of using
21094 INIT_ARGV_and_ENVIRON.
21095 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21096 <bp-start.h>.
21097
f3499f95
JM
21098 [BZ #13550]
21099 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21100 definitions.
21101 (CHECK_FCNTL): Likewise.
21102 (CHECK_N_PAGES): Likewise.
21103
32a45bea
JM
21104 [BZ #13550]
21105 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21106 definitions.
21107 (CHECK_SIGSET_NULL_OK): Likewise.
21108 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21109 <bp-checks.h>.
21110 (sigpending): Don't use CHECK_SIGSET.
21111 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21112 <bp-checks.h>.
21113 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21114 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21115 <bp-checks.h>.
21116 (do_sigsuspend): Don't use CHECK_SIGSET.
21117 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21118 use CHECK_SIGSET.
21119 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21120 (do_sigwait): Don't use CHECK_SIGSET.
21121 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21122 use CHECK_SIGSET.
21123 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21124 include <bp-checks.h>.
21125 (sigpending): Don't use CHECK_SIGSET.
21126 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21127 include <bp-checks.h>.
21128 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21129 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21130 <bp-checks.h>.
21131 (sigpending): Don't use CHECK_SIGSET.
21132 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21133 <bp-checks.h>.
21134 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21135
2e8a5c8c
JM
21136 [BZ #13550]
21137 * sysdeps/generic/bp-semctl.h: Remove file.
21138 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21139 <bp-checks.h> and <bp-semctl.h>.
21140 (__old_semctl): Don't use CHECK_SEMCTL.
21141 (__new_semctl): Likewise.
21142 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21143 and <bp-semctl.h>.
21144 (__old_semctl): Don't use CHECK_SEMCTL.
21145 (__new_semctl): Likewise.
21146 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21147 <bp-checks.h> and <bp-semctl.h>.
21148 (__old_semctl): Don't use CHECK_SEMCTL.
21149 (__new_semctl): Likewise.
21150 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21151 <bp-checks.h> and <bp-semctl.h>.
21152 (semctl): Don't use CHECK_SEMCTL.
21153
c2d54929
JM
21154 [BZ #13550]
21155 * Makerules (elide-bp-thunks): Remove variable.
21156 (elide-routines.oS): Don't use $(elide-bp-thunks).
21157 (elide-routines.os): Likewise.
21158 (elide-routines.o): Likewise.
21159 (elide-routines.op): Likewise.
21160 (elide-routines.og): Likewise.
21161 (objects): Don't use $(bp-thunks).
21162 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21163 include.
21164 (common-generated): Do not add s-proto-bp.d.
21165 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21166 (int): Likewise.
21167 (typ): Likewise.
21168 Do not generate makefile rules for bounded-pointer thunks.
21169 * sysdeps/generic/bp-thunks.h: Remove file.
21170 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21171 * sysdeps/unix/s-proto-bp.S: Likewise.
21172
8cf28c5e
JM
21173 [BZ #15062]
21174 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21175 parts of result separately when argument is not close to line from
21176 -i to i and one part of argument is small.
21177 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21178 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21179 * math/libm-test.inc (cacos_test): Add more tests.
21180 (casin_test): Likewise.
21181 (casinh_test): Likewise.
21182 * sysdeps/i386/fpu/libm-test-ulps: Update.
21183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21184
c4e33b8d
DM
211852013-01-31 David S. Miller <davem@davemloft.net>
21186
21187 * po/de.po: Update from translation team.
21188
3b60b421
MK
211892013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21190
21191 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21192
bb931195
TS
211932013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21194
b5a5da23
TS
21195 * configure.in (_AC_PROG_CC_C89): New definition.
21196 * configure: Regenerate.
21197
bb931195
TS
21198 * configure.in (AC_PROG_CPP): New definition.
21199 * configure: Regenerate.
21200
8c53a12c
JM
212012013-01-23 Joseph Myers <joseph@codesourcery.com>
21202
21203 * debug/tst-backtrace.h: New file.
21204 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21205 (ret): Remove variable.
21206 (x): Likewise.
21207 (FAIL): Remove macro.
21208 (NO_INLINE): Likewise.
21209 (fn1): Use match function instead of strstr.
21210 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21211 (ret): Remove variable.
21212 (x): Likewise.
21213 (FAIL): Remove macro.
21214 (NO_INLINE): Likewise.
21215 (fn): Use match function instead of strstr.
21216 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21217 (ret): Remove variable.
21218 (x): Likewise.
21219 (FAIL): Remove macro.
21220 (NO_INLINE): Likewise.
21221 (handle_signal): Use match function instead of strstr.
21222 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21223 (ret): Remove variable.
21224 (x): Likewise.
21225 (FAIL): Remove macro.
21226 (NO_INLINE): Likewise.
21227 (handle_signal): Use match function instead of strstr.
21228
4858fa2a
RM
212292013-01-23 Roland McGrath <roland@hack.frob.com>
21230
21231 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21232
bae8e7f5
DM
212332013-01-23 David S. Miller <davem@davemloft.net>
21234
21235 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21236 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21237 argument of CAS if possible.
21238 * sysdeps/sparc/sparc64/bits/atomic.h
21239 (__arch_compare_and_exchange_val_32_acq): Likewise.
21240 (__arch_compare_and_exchange_val_64_acq): Likewise.
21241
9cbbc4ae
PT
212422013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21243
21244 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21245 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21246 Include <limits.h>.
67b3f58c 21247 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21248
5655a0b5
AC
212492013-01-23 Adam Conrad <adconrad@0c3.net>
21250
21251 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21252 (LDFLAGS-tst-array5): Likewise.
21253
052aff95
JM
212542013-01-23 Joseph Myers <joseph@codesourcery.com>
21255
21256 [BZ #15036]
21257 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21258 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21259 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21260 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21261
7c1e01aa
DM
212622013-01-21 David S. Miller <davem@davemloft.net>
21263
21264 * sysdeps/sparc/backtrace.c: New file.
21265 * sysdeps/sparc/sparc32/backtrace.h: New file.
21266 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21267 * sysdeps/sparc/sparc64/backtrace.h: New file.
21268 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21269 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21270 -funwind-tables.
21271
ab087e0a
AS
212722013-01-21 Andreas Schwab <schwab@suse.de>
21273
21274 [BZ #15020]
21275 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21276 closed its stdout.
21277
ed689c2f
AS
212782013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21279
21280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21281 "mpa2.h".
21282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21283
31d470ac
JM
212842013-01-18 Joseph Myers <joseph@codesourcery.com>
21285 Mark Mitchell <mark@codesourcery.com>
21286 Tom de Vries <tom@codesourcery.com>
21287 Paul Pluzhnikov <ppluzhnikov@google.com>
21288
21289 * debug/tst-backtrace2.c: New file.
21290 * debug/tst-backtrace3.c: Likewise.
21291 * debug/tst-backtrace4.c: Likewise.
21292 * debug/tst-backtrace5.c: Likewise.
21293 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21294 (CFLAGS-tst-backtrace3.c): Likewise.
21295 (CFLAGS-tst-backtrace4.c): Likewise.
21296 (CFLAGS-tst-backtrace5.c): Likewise.
21297 (LDFLAGS-tst-backtrace2): Likewise.
21298 (LDFLAGS-tst-backtrace3): Likewise.
21299 (LDFLAGS-tst-backtrace4): Likewise.
21300 (LDFLAGS-tst-backtrace5): Likewise.
21301 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21302 tst-backtrace4 and tst-backtrace5.
21303
90567f30 213042013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21305 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21306
21307 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21308 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21309 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21310 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21312 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21313 "+r" and remove output regs list as redundant. Add explicit inline
21314 asm to specify register of return val to work around compiler codegen
21315 bug. Remove (int) cast on return value. Add return type parameter to
21316 use in macro so that this macro does not truncate return value for
21317 64-bit values.
21318 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21319 pass to INTERNAL_VSYSCALL_NCS.
21320 (INLINE_VSYSCALL): Add 'long int' as return type to
21321 INTERNAL_VSYSCALL_NCS macro invocation.
21322 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21323 INTERNAL_VSYSCALL_NCS macro invocation.
21324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21325
d3b9ea61
SP
213262013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21327
0b57daeb
SP
21328 [BZ #14496]
21329 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21330 Fix application of SIMD FP exception mask.
21331
caa99d06
SP
21332 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21333 mp_no from a power of two.
21334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21335 __mpexp_twomm1. Use __pow_mp.
21336
d3b9ea61
SP
21337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21338 multiplication.
21339
1dbaee3c
DM
213402013-01-17 David S. Miller <davem@davemloft.net>
21341
21342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21343
728d7b43
JM
213442013-01-17 Joseph Myers <joseph@codesourcery.com>
21345
21346 [BZ #15023]
21347 * include/complex.h: Condition contents on [!_COMPLEX_H].
21348 (__kernel_casinhf): New prototype.
21349 (__kernel_casinh): Likewise.
21350 (__kernel_casinhl): Likewise.
21351 * math/Makefile (libm_calls): Add k_casinh.
21352 * math/k_casinh.c: New file.
21353 * math/k_casinhf.c: Likewise.
21354 * math/k_casinhl.c: Likewise.
21355 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21356 finite nonzero arguments.
21357 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21358 finite nonzero arguments.
21359 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21360 finite nonzero arguments.
21361 * math/s_casinh.c: Do not include <float.h>.
21362 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21363 * math/s_casinhf.c: Do not include <float.h>.
21364 (__casinhf): Move code for finite nonzero arguments to
21365 k_casinhf.c.
21366 * math/s_casinhl.c: Do not include <float.h>.
21367 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21368 redefine.
21369 (__casinhl): Move code for finite nonzero arguments to
21370 k_casinhl.c.
21371 * math/libm-test.inc (cacos_test): Add more tests.
21372 * sysdeps/i386/fpu/libm-test-ulps: Update.
21373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21374
2a26ef3a
PT
213752013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21376
21377 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21378 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21379 [!HAVE_MREMAP]: Remove [defined linux] case.
21380 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21381
a897655d
SP
213822013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21383
21384 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21385
881ebe89 213862013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21387
21388 * elf/elf.h (R_386_SIZE32): New relocation.
21389 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21390 R_386_SIZE32.
21391 (elf_machine_rela): Likewise.
21392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21393 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21394
59981e9b
JM
213952013-01-17 Joseph Myers <joseph@codesourcery.com>
21396
21397 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21398 (FP_FAST_FMA): Do not define.
21399 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21400 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21401 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21402 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21403 !_SOFT_FLOAT]: Likewise.
21404 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21405 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21406 value.
21407 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21408 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21409 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21410 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21411 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21412 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21413 file.
21414
cfa8054f
AS
214152013-01-16 Andreas Schwab <schwab@suse.de>
21416
21417 [BZ #14327]
21418 * include/stdlib.h (__mktemp): Add declaration.
21419 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21420 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21421
dd930cc5
SP
214222013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21423
881ebe89
SP
21424 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21425 definitions.
21426 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21427 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21428 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21429 definitions here.
21430 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21431 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21432 definitions.
21433 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21434 and ONE.
21435 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21436 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21437 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21438 definitions.
21439 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21440 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21441 definitions.
21442 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21443
dd930cc5
SP
21444 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21445
c19a9f89
DM
214462013-01-15 David S. Miller <davem@davemloft.net>
21447
1aa61767
DM
21448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21449 trunc{,f} to libm-sysdep_routes.
21450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21452 file.
21453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21455 file.
21456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21457 file.
21458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21460 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21461 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21462 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21463 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21464 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21465 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21466
c42d5e98
DM
21467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21468 nearbyint{,f} to libm-sysdep_routes.
21469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21471 New file.
21472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21473 file.
21474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21475 New file.
21476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21477 file.
21478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21480 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21481 file.
21482 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21483 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21484 file.
21485 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21486 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21487 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21488
c19a9f89
DM
21489 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21490 libc_feholdexcept and libc_fesetenv.
21491
357679d2
MF
214922013-01-15 Mike Frysinger <vapier@gentoo.org>
21493
21494 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21495
65a82e3d
DM
214962013-01-14 David S. Miller <davem@davemloft.net>
21497
8b954ab9
DM
21498 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21499 (SPARC_ASM_VIS2_IFUNC): Likewise.
21500 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21502 use of 'siam' instruction.
21503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21504 Likewise.
21505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21506 Likewise.
21507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21508 Likewise.
21509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21514 file.
21515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21516 file.
21517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21518 file.
21519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21520 file.
21521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21526 new VIS2 routines.
21527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21530 Likewise.
21531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21536 routines to libm-sysdep_routines.
21537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21538
65a82e3d
DM
21539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21540 fdim/fdimf to libm-sysdep_routines.
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21542 file.
21543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21545 file.
21546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21549 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21550 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21551 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21552 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21553
e34ab705
SP
215542013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21555
2a91b573
SP
21556 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21557 to optimize copies.
21558
1066a534
SP
21559 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21562
e34ab705
SP
21563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21564 local variable MPTWO.
21565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21566 Likewise.
21567
aba5e596
MF
215682013-01-13 Mike Frysinger <vapier@gentoo.org>
21569
21570 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21571 GLOB_NOESCAPE.
21572
e557e9e5
MF
215732013-01-13 Mike Frysinger <vapier@gentoo.org>
21574
21575 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21576
0428cec9
MF
215772013-01-13 Mike Frysinger <vapier@gentoo.org>
21578
21579 * manual/pattern.texi (glob_t): Document gl_flags.
21580 (glob64_t): Likewise.
21581
8794a964
DM
215822013-01-11 David S. Miller <davem@davemloft.net>
21583
66438c3f
RM
21584 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21585 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21586 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21587 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21588 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21589 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21590 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21591 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21592 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21593 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21594 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21595 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21596 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21597
4ae4244d
DM
21598 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21599 sparc V9 rather than using V8 code.
21600 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21601 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21602
8794a964
DM
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21604 Move to...
21605 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21606 Here.
21607
6270516e
RM
216082013-01-11 Roland McGrath <roland@hack.frob.com>
21609
21610 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21611 not in the main loop.
21612 * configure: Regenerated.
21613
6a57d931
JM
216142013-01-11 Joseph Myers <joseph@codesourcery.com>
21615
21616 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21617 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21618 to just #else.
21619 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21620 [!__GLIBC_HAVE_LONG_LONG] case.
21621 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21622 condition to just #else.
21623 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21624 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21625 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21626 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21627 unconditional.
21628 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21629 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21630 #elif condition to just #else.
21631 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21632 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21633 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21634 #elif condition to just #else.
21635
0e8529e9
SE
216362013-01-11 Steve Ellcey <sellcey@mips.com>
21637
21638 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21639 (EF_MIPS_ARCH_64): Fix value.
21640 (EF_MIPS_ARCH_32R2): New.
21641 (EF_MIPS_ARCH_64R2): New.
21642
740b3dbe
L
216432013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21644
21645 * Makeconfig (+link-pie-before-libc): New.
21646 (+link-pie-after-libc): Likewise.
21647 (+link-pie-tests): Likewise.
21648 (+link-pie): Rewritten.
21649 (link-before-libc): Remove $(config-LDFLAGS).
21650 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21651 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21652 (config-LDFLAGS): Renamed to ...
21653 (rtld-LDFLAGS): This.
21654 (rtld-tests-LDFLAGS): New macro.
21655 (link-libc-rpath-link): Likewise.
21656 (link-libc-tests-rpath-link): Likewise.
21657 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21658 (link-libc): Prepand $(link-libc-rpath-link).
21659 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21660 (test-program-prefix): New macro.
21661 (test-via-rtld-prefix): Likewise.
21662 (test-program-cmd): Likewise.
21663 (host-test-program-cmd): Likewise.
21664 * Makefile ($(common-objpfx)testrun.sh): Replace
21665 $(run-program-prefix) with $(test-program-prefix).
21666 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21667 $(rtld-LDFLAGS).
21668 ($(common-objpfx)shlib.lds): Likewise.
21669 (build-module-helper): Likewise.
21670 ($(common-objpfx)format.lds): Likewise.
21671 * Rules (binaries-pie-tests): New.
21672 (binaries-pie-notests): Likewise.
21673 (binaries-pie): Rewritten.
21674 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21675 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21676 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21677 (make-test-out): Replace $(host-built-program-cmd) with
21678 $(host-test-program-cmd).
21679 * config.make.in (build-hardcoded-path-in-tests): New variable.
21680 * configure.in (--enable-hardcoded-path-in-tests): New configure
21681 option.
21682 (hardcoded_path_in_tests): New AC_SUBST.
21683 * configure: Regenerated.
21684 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21685 $(built-program-cmd) with $(test-program-cmd).
21686 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21687 (test_program_cmd): This.
21688 * elf/Makefile ($(objpfx)order.out): Run test with
21689 $(test-program-prefix).
21690 ($(objpfx)order2.out): Likewise.
21691 ($(objpfx)tst-initorder.out): Likewise.
21692 ($(objpfx)tst-initorder2.out): Likewise.
21693 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21694 $(test-program-cmd).
21695 ($(objpfx)tst-array1-static.out): Likewise.
21696 ($(objpfx)tst-array2.out): Likewise.
21697 ($(objpfx)tst-array3.out): Likewise.
21698 ($(objpfx)tst-array4.out): Likewise.
21699 ($(objpfx)tst-array5.out): Likewise.
21700 ($(objpfx)tst-array5-static.out): Likewise.
21701 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21702 $(test-program-cmd).
21703 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21704 $(run-program-prefix) with $(test-program-prefix).
21705 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21706 (test_program_prefix): This.
21707 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21708 $(run-program-prefix) with $(test-program-prefix).
21709 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21710 (test_program_prefix): This.
21711 * iconvdata/tst-tables.sh: Likewise.
21712 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21713 $(run-program-prefix) with $(test-program-prefix).
21714 ($(objpfx)tst-translit.out): Likewise.
21715 ($(objpfx)tst-gettext2.out): Likewise.
21716 ($(objpfx)tst-gettext4.out): Likewise.
21717 ($(objpfx)tst-gettext6.out): Likewise.
21718 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21719 (test_program_prefix): This.
21720 * intl/tst-gettext2.sh: Likewise.
21721 * intl/tst-gettext4.sh Likewise.
21722 * intl/tst-gettext6.sh: Likewise.
21723 * intl/tst-translit.sh: Likewise.
21724 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21725 with $(test-program-cmd).
21726 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21727 $(run-program-prefix) with $(test-program-prefix).
21728 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21729 (test_program_prefix): This.
21730 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21731 $(run-program-prefix) with $(test-program-prefix).
21732 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21733 (test_program_prefix): This.
21734 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21735 * posix/Makefile ($(objpfx)globtest.out): Replace
21736 $(run-via-rtld-prefix) and $(test-wrapper) with
21737 $(test-program-prefix) and $(test-via-rtld-prefix).
21738 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21739 $(test-program-prefix).
21740 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21741 $(host-test-program-cmd).
21742 (tst-spawn-ARGS): Likewise.
21743 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21744 $(test-program-prefix).
21745 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21746 (test_via_rtld_prefix): This.
21747 (test_wrapper): Renamed to ...
21748 (test_program_prefix): This.
21749 (run_program_prefix): Replaced by test_program_prefix.
21750 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21751 (test_program_prefix): This.
21752 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21753 with $(host-test-program-cmd).
21754 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21755 $(run-program-prefix) with $(test-program-prefix).
21756 ($(objpfx)tst-printf.out): Likewise.
21757 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21758 $(test-program-cmd).
21759 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21760 (test_program_prefix): This.
21761 * stdio-common/tst-unbputc.sh: Likewise.
21762 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21763 $(run-program-prefix) with $(test-program-prefix).
21764 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21765 (test_program_prefix): This.
21766 * string/Makefile ($(objpfx)tst-svc.out): Replace
21767 $(built-program-cmd) with $(test-program-cmd).
21768
c6fe55cf
AJ
217692013-01-11 Andreas Jaeger <aj@suse.de>
21770
21771 [BZ #15003]
21772 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21773 value. Sync with Linux 3.7.
21774
9e6919c8
DM
217752013-01-10 David S. Miller <davem@davemloft.net>
21776
21777 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21778 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21779 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21780
1c9f1a02
RM
217812013-01-10 Roland McGrath <roland@hack.frob.com>
21782
21783 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21784 never set.
21785 * configure: Regenerated.
21786
b9de2dde
DM
217872013-01-10 David S. Miller <davem@davemloft.net>
21788
21789 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21790 sparc V9 rather than using V8 code.
21791 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21792 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21793
e7f68ef4
RM
217942013-01-10 Roland McGrath <roland@hack.frob.com>
21795
21796 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21797 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21798 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21799 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21800 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21801 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21802 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21803 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21804 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21805 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21806 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21807 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21808 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21809 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21810 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21811 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21812 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21813 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21814 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21815 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21816 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21817 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21818 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21819 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21820 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21821 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21822 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21823
5a47cc9c
DM
218242013-01-10 David S. Miller <davem@davemloft.net>
21825
21826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21827
4cf8f209
L
218282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21829
21830 * posix/Makefile (tests-static): New variable.
21831 (tests): Add $(tests-static).
21832 (tst-exec-static-ARGS): New variable.
21833 (tst-spawn-static-ARGS): Likewise.
21834 * posix/tst-exec-static.c: New file.
21835 * posix/tst-spawn-static.c: Likewise.
21836 * posix/tst-exec.c: Support run directly.
21837 * posix/tst-spawn.c: Likewise.
21838
fed0faa1
JM
218392013-01-10 Joseph Myers <joseph@codesourcery.com>
21840
828beb13
JM
21841 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21842 long.
21843 * math/bits/mathcalls.h (llrint): Likewise.
21844 (llround): Likewise.
21845 * stdlib/stdlib.h (struct drand48_data): Likewise.
21846 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21847 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21848 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21849 Likewise.
21850 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21851 Likewise.
21852 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21853 (elf_greg_t): Likewise.
21854 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21855 (__jmp_buf): Likewise.
21856 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21857 definitions.
21858 (llrint): Likewise, for all definitions.
21859 (llrintl): Likewise.
21860
fed0faa1
JM
21861 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21862 Remove [__GNUC__] condition.
21863 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21864 condition to just [__USE_ISOC99].
21865 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21866
1a20cb20
L
218672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21868
21869 [BZ #14200]
21870 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21871 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21872 defined.
21873 (_POSIX_V6_ILP32_OFF32): Likewise.
21874 (_XBS5_ILP32_OFF32): Likewise.
21875 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21876 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21877
751b85f7
SP
218782013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21879
7490eb81
SP
21880 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21881
751b85f7
SP
21882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21883 doubles __mpexp_twomm1. Adjust usage.
21884 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21885 Remove.
21886
988197f0
AS
218872013-01-10 Andreas Schwab <schwab@suse.de>
21888
21889 [BZ #14964]
21890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21891 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21892
e83d7298
DM
218932013-01-09 David S. Miller <davem@davemloft.net>
21894
034ed64b 21895 [BZ #15003]
57f41c40
AS
21896 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21897 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21898 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21899 (TCP_FASTOPEN): Define.
e83d7298
DM
21900 (tcp_repair_opt): New structure.
21901 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21902 enum values.
57f41c40
AS
21903 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21904 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21905 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21906 (tcp_cookie_transactions): New structure.
21907
d5e0b9bd
AB
219082013-01-09 Anton Blanchard <anton@samba.org>
21909
21910 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21911 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21913 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21914
0c07e3ea
JM
219152013-01-09 Joseph Myers <joseph@codesourcery.com>
21916
21917 * include/features.h (__USE_ANSI): Remove.
21918
232f7002
RM
219192013-01-09 Roland McGrath <roland@hack.frob.com>
21920
ad98e30c
RM
21921 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21922
232f7002
RM
21923 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21924
950c99ca
SP
219252013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21926
b5792741
SP
21927 * sysdeps/s390/fpu/libm-test-ulps: Update.
21928
47cf2278
SP
21929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21930
950c99ca
SP
21931 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21932 (__acr): Likewise.
21933 (__cpy): Likewise.
21934 (norm): Likewise.
21935 (denorm): Likewise.
21936 (__mp_dbl): Likewise.
21937 (__dbl_mp): Likewise.
21938 (add_magnitudes): Likewise.
21939 (sub_magnitudes): Likewise.
21940 (__add): Likewise.
21941 (__sub): Likewise.
21942 (__mul): Likewise.
21943 (__inv): Likewise.
21944 (__dvd): Likewise.
21945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21946 (__acr): Likewise.
21947 (__cpy): Likewise.
21948 (norm): Likewise.
21949 (denorm): Likewise.
21950 (__mp_dbl): Likewise.
21951 (__dbl_mp): Likewise.
21952 (add_magnitudes): Likewise.
21953 (sub_magnitudes): Likewise.
21954 (__add): Likewise.
21955 (__sub): Likewise.
21956 (__mul): Likewise.
21957 (__inv): Likewise.
21958 (__dvd): Likewise.
21959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21960 (__acr): Likewise.
21961 (__cpy): Likewise.
21962 (norm): Likewise.
21963 (denorm): Likewise.
21964 (__mp_dbl): Likewise.
21965 (__dbl_mp): Likewise.
21966 (add_magnitudes): Likewise.
21967 (sub_magnitudes): Likewise.
21968 (__add): Likewise.
21969 (__sub): Likewise.
21970 (__mul): Likewise.
21971 (__inv): Likewise.
21972 (__dvd): Likewise.
21973
eede9df9
JM
219742013-01-08 Joseph Myers <joseph@codesourcery.com>
21975
21976 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21977 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21978 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21979 2 && __USE_EXTERN_INLINES]: Likewise.
21980
c40ea3d9
AJ
219812013-01-08 Andreas Jaeger <aj@suse.de>
21982
21983 [BZ# 14985]
21984 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21985 Remove.
21986 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21987 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21988
2ccdea26
AB
219892013-01-07 Anton Blanchard <anton@samba.org>
21990
21991 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21992 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21993 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21994 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21995 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21996 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21997 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21998 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22000 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22001 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22002 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22003 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22004 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22005 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22006 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22007 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22008 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22009 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22010 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22011 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22012 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22013 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22014 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22015 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22016 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22017 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22018 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22019 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22020 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22021 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22023 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22024 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22025 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22026 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22027 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22028 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22029 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22030 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22031 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22033 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22034
a9708fed
JM
220352013-01-07 Joseph Myers <joseph@codesourcery.com>
22036
375607b9
JM
22037 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22038 (__MALLOC_PMT): Likewise.
22039 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22040 [__GNUC__], only on [_LIBC].
22041 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22042 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22043 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22044 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22045 forward declaration.
22046 (realloc_hook_ini): Likewise.
22047 (memalign_hook_ini): Likewise.
22048 (__libc_memalign): Do not use __MALLOC_PMT in variable
22049 declaration.
22050 (__libc_valloc): Likewise.
22051 (__libc_pvalloc): Likewise.
22052 (__libc_calloc): Likewise.
22053 (__posix_memalign): Likewise.
22054
a9708fed
JM
22055 [BZ #14996]
22056 * math/s_casinh.c: Include <float.h>.
22057 (__casinh): Do not do computation with squaring and square root
22058 for large arguments.
22059 * math/s_casinhf.c: Include <float.h>.
22060 (__casinhf): Do not do computation with squaring and square root
22061 for large arguments.
22062 * math/s_casinhl.c: Include <float.h>.
22063 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22064 (__casinhl): Do not do computation with squaring and square root
22065 for large arguments.
22066 * math/libm-test.inc (casin_test): Add more tests.
22067 (casinh_test): Likewise.
22068 * sysdeps/i386/fpu/libm-test-ulps: Update.
22069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070
afec409a
L
220712013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22072
22073 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22074 (__x86_64_raw_data_cache_size): Likewise.
22075 (__x86_64_data_cache_size_half): Likewise.
22076 (__x86_64_raw_data_cache_size_half): Likewise.
22077 (__x86_64_shared_cache_size): Likewise.
22078 (__x86_64_raw_shared_cache_size): Likewise.
22079 (__x86_64_shared_cache_size_half): Likewise.
22080 (__x86_64_raw_shared_cache_size_half): Likewise.
22081 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22082 to ...
22083 (__x86_data_cache_size): This.
22084 (__x86_64_raw_data_cache_size): Renamed to ...
22085 (__x86_raw_data_cache_size): This.
22086 (__x86_64_data_cache_size_half): Renamed to ...
22087 (__x86_data_cache_size_half): This.
22088 (__x86_64_raw_data_cache_size_half): Renamed to ...
22089 (__x86_raw_data_cache_size_half): This.
22090 (__x86_64_shared_cache_size): Renamed to ...
22091 (__x86_shared_cache_size): This.
22092 (__x86_64_raw_shared_cache_size): Renamed to ...
22093 (__x86_raw_shared_cache_size): This.
22094 (__x86_64_shared_cache_size_half): Renamed to ...
22095 (__x86_shared_cache_size_half): This.
22096 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22097 (__x86_raw_shared_cache_size_half): This.
22098 * sysdeps/x86_64/memcpy.S: Updated.
22099 * sysdeps/x86_64/memset.S: Likewise.
22100 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22103
0b3986d0
DM
221042013-01-04 David S. Miller <davem@davemloft.net>
22105
22106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22107
e47686e9
AS
221082013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22109
d643bac1
AS
22110 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22111 1 to avoid redefinition warning.
22112 (__USE_GNU): Don't define.
22113 (init_signaling_nan): Protoize.
22114
e47686e9
AS
22115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22116
b18decba
SP
221172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22118
fffb407f
SP
22119 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22121 (__cpymn): Likewise.
22122 (norm): Remove commented code.
22123 (denorm): Likewise.
22124 (__mp_dbl): Likewise.
22125 (__inv): Likewise.
22126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22127 (__cpymn): Likewise.
22128 (norm): Remove commented code.
22129 (denorm): Likewise.
22130 (__mp_dbl): Likewise.
22131 (__inv): Likewise.
22132
b18decba
SP
22133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22134 mp_no value for 1.0 and 2.0.
22135 (norm): Use RADIXI instead of radixi.d.
22136 (denorm): Likewise.
22137 (__mul): Use 0.0 instead of zero.d.
22138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22139 mp_no value for 1.0 and 2.0.
22140 (norm): Use RADIXI instead of radixi.d.
22141 (denorm): Likewise.
22142 (__mul): Use 0.0 instead of zero.d.
22143
cdc1c96f
JM
221442013-01-04 Joseph Myers <joseph@codesourcery.com>
22145
22146 [BZ #14994]
22147 * math/s_casinh.c (__casinh): Reduce finite argument to first
22148 quadrant then set signs of results at the end.
22149 * math/s_casinhf.c (__casinhf): Likewise.
22150 * math/s_casinhl.c (__casinhl): Likewise.
22151 * math/libm-test.inc (casin_test): Add more tests.
22152 (casinh_test): Likewise.
22153 * sysdeps/i386/fpu/libm-test-ulps: Update.
22154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22155
302913e1
SP
221562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22157
6420d207
SP
22158 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22159
a9e48ab4
SP
22160 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22161
b7837264
SP
22162 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22163 declarations.
22164 (denorm): Likewise.
22165 (__mp_dbl): Likewise.
22166 (__inv): Likewise.
22167
f8af25d2
SP
22168 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22169 and adjust the header comment.
22170
302913e1
SP
22171 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22172 variable name from declaration.
22173
5d7dd1ca
L
221742013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22175
22176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22177 Initialize COMMON_CPUID_INDEX_7 element.
22178 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22179 (CPUID_RTM): Likewise.
22180 (HAS_RTM): Likewise.
22181 (COMMON_CPUID_INDEX_7): New enum.
22182
2f5f40f4
AS
221832013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22184
22185 [BZ #14981]
22186 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22187 size is zero, record memory as freed.
22188
4056f4a0
AJ
221892013-01-03 Andreas Jaeger <aj@suse.de>
22190
22191 * po/ia.po: Add new Interlingua translation.
22192
ab15736f 221932012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22194
22195 * locale/programs/localedef.c: Fix description of '--posix' flag.
22196
568035b7
JM
221972013-01-02 Joseph Myers <joseph@codesourcery.com>
22198
e6898b8d
JM
22199 * NEWS: Update dates in second copyright notice.
22200 * README: Update copyright dates in example.
22201 * manual/libc.texinfo: Update copyright dates.
22202 * scripts/test-installation.pl: Update copyright date in --version
22203 output.
22204
0e2f9562
JM
22205 * hurd/ctty-input.c: Fix copyright notice formatting.
22206 * hurd/ctty-output.c: Likewise.
22207 * hurd/dtable.c: Likewise.
22208 * hurd/hurd-raise.c: Likewise.
22209 * hurd/hurdprio.c: Likewise.
22210 * hurd/msgportdemux.c: Likewise.
22211 * misc/sys/file.h: Likewise.
22212 * misc/sys/ioctl.h: Likewise.
22213 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22214 * sysdeps/mach/hurd/chdir.c: Likewise.
22215 * sysdeps/mach/hurd/fchdir.c: Likewise.
22216 * sysdeps/mach/hurd/rename.c: Likewise.
22217 * sysdeps/mach/hurd/rmdir.c: Likewise.
22218 * sysdeps/mach/hurd/seekdir.c: Likewise.
22219 * sysdeps/mach/hurd/setsid.c: Likewise.
22220 * sysdeps/posix/wait3.c: Likewise.
22221
568035b7
JM
22222 * All files with FSF copyright notices: Update copyright dates
22223 using scripts/update-copyrights.
22224 * intl/plural.c: Regenerated.
22225 * locale/programs/charmap-kw.h: Likewise.
22226 * locale/programs/locfile-kw.h: Likewise.
22227
da08f647
SP
222282013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22229
0f5477af
SP
22230 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22231 four values.
22232
44e0d4c2
SP
22233 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22234 calculation loop and add branch prediction.
22235
4d55b4e5
SP
22236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22237 check access beyond bounds of m1np.
22238
da08f647
SP
22239 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22240 MPTWO.
22241 (__inv): Remove local variable MPTWO to use the global
22242 constant.
22243 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22244 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22245 variable MPTWO.
22246 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22247 MP3HALFS static const.
22248
8e051029
DM
222492013-01-01 David S. Miller <davem@davemloft.net>
22250
22251 * po/ca.po: Update from translation team.
22252
f4cf5f2d
JM
222532013-01-01 Joseph Myers <joseph@codesourcery.com>
22254
22255 * scripts/update-copyrights: New file.
22256 * Makeconfig: Reformat copyright notice.
22257 * ctype/ctype.h: Likewise.
22258 * debug/swprintf_chk.c: Likewise.
22259 * elf/dl-cache.c: Likewise.
22260 * elf/dl-debug.c: Likewise.
22261 * elf/dl-object.c: Likewise.
22262 * grp/initgroups.c: Likewise.
22263 * hurd/Makefile: Likewise.
22264 * hurd/hurd/signal.h: Likewise.
22265 * hurd/hurdfault.c: Likewise.
22266 * hurd/hurdioctl.c: Likewise.
22267 * hurd/hurdlookup.c: Likewise.
22268 * hurd/intr-msg.c: Likewise.
22269 * iconv/gconv_open.c: Likewise.
22270 * libio/swprintf.c: Likewise.
22271 * locale/lc-ctype.c: Likewise.
22272 * locale/nl_langinfo.c: Likewise.
22273 * mach/Machrules: Likewise.
22274 * mach/Makefile: Likewise.
22275 * malloc/obstack.h: Likewise.
22276 * manual/Makefile: Likewise.
22277 * manual/tsort.awk: Likewise.
22278 * misc/bits/stab.def: Likewise.
22279 * nis/nis_print_group_entry.c: Likewise.
22280 * nis/nis_table.c: Likewise.
22281 * nis/nss_compat/compat-pwd.c: Likewise.
22282 * nis/nss_compat/compat-spwd.c: Likewise.
22283 * po/Makefile: Likewise.
22284 * posix/fnmatch.c: Likewise.
22285 * posix/regex.h: Likewise.
22286 * resolv/Makefile: Likewise.
22287 * resolv/nss_dns/dns-network.c: Likewise.
22288 * resolv/res_hconf.c: Likewise.
22289 * scripts/gen-sorted.awk: Likewise.
22290 * soft-fp/soft-fp.h: Likewise.
22291 * stdio-common/printf.h: Likewise.
22292 * stdlib/monetary.h: Likewise.
22293 * stdlib/random.c: Likewise.
22294 * stdlib/random_r.c: Likewise.
22295 * sysdeps/generic/Makefile: Likewise.
22296 * sysdeps/gnu/Makefile: Likewise.
22297 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22299 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22304 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22305 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22307 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22308 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22309 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22310 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22311 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22312 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22313 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22320 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22321 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22322 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22323 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22324 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22325 * sysdeps/mach/hurd/errnos.awk: Likewise.
22326 * sysdeps/mach/hurd/fork.c: Likewise.
22327 * sysdeps/mach/hurd/getcwd.c: Likewise.
22328 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22329 * sysdeps/mach/hurd/mmap.c: Likewise.
22330 * sysdeps/mach/hurd/utimes.c: Likewise.
22331 * sysdeps/mach/hurd/xmknod.c: Likewise.
22332 * sysdeps/posix/profil.c: Likewise.
22333 * sysdeps/posix/readdir_r.c: Likewise.
22334 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22335 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22336 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22337 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22339 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22340 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22341 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22343 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22344 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22345 * sysdeps/pthread/lio_listio.c: Likewise.
22346 * sysdeps/sparc/dl-procinfo.h: Likewise.
22347 * sysdeps/unix/i386/sysdep.S: Likewise.
22348 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22349 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22350 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22351 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22353 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22354 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22355 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22356 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22357 * sysdeps/wordsize-32/divdi3.c: Likewise.
22358 * time/sys/time.h: Likewise.
22359 * wcsmbs/Makefile: Likewise.
22360
0549fbba
DM
223612013-01-01 David S. Miller <davem@davemloft.net>
22362
a141f1a7
DM
22363 * po/fr.po: Update from translation team.
22364
0549fbba
DM
22365 * catgets/gencat.c: Update copyright year.
22366 * csu/version.c: Likewise.
22367 * debug/catchsegv.sh: Likewise.
22368 * debug/pcprofiledump.c: Likewise.
22369 * debug/xtrace.sh: Likewise.
22370 * elf/ldconfig.c: Likewise.
22371 * elf/ldd.bash.in: Likewise.
22372 * elf/pldd.c: Likewise.
22373 * elf/sotruss.ksh: Likewise.
22374 * elf/sprof.c: Likewise.
22375 * iconv/iconv_prog.c: Likewise.
22376 * iconv/iconvconfig.c: Likewise.
22377 * locale/programs/locale.c: Likewise.
22378 * locale/programs/localedef.c: Likewise.
22379 * login/programs/pt_chown.c: Likewise.
22380 * malloc/memusage.sh: Likewise.
22381 * malloc/memusagestat.c: Likewise.
22382 * malloc/mtrace.pl: Likewise.
22383 * nscd/nscd.c: Likewise.
22384 * nss/getent.c: Likewise.
22385 * nss/makedb.c: Likewise.
22386 * posix/getconf.c: Likewise.
22387
18ea052c
SP
223882012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22389
22390 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22391 numbers.
22392
9c89fca6
MF
223932012-12-30 Mike Frysinger <vapier@gentoo.org>
22394
22395 * math/bits/mathcalls.h (modf): Use __nonnull.
22396
085ec079
SP
223972012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22398
22399 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22400 (split): Use macro CN instead of the bare value.
22401 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22402 could be used.
22403 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22404 instead of the bare value.
22405 (power1): Likewise.
22406
6d9f97e1
SP
224072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22408
d63f73be
SP
22409 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22410 __ATAN_TWOM.
22411 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22412
6d9f97e1
SP
22413 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22414 their values.
22415 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22417 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22418 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22419
4c4febf5
AJ
224202012-12-28 Andreas Jaeger <aj@suse.de>
22421
af5843ef
AJ
22422 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22423 values are from Linux 3.7.
22424
4c4febf5
AJ
22425 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22426 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22427
99136f82
SP
224282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22429
2f216c3c 22430 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22431 TRUE case.
22432
99136f82
SP
22433 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22434 (norm): Likewise.
22435 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22436 variables with preprocessor constants.
22437 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22438 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22439 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22440
7fffbdff
BH
224412012-12-27 Bruno Haible <bruno@clisp.org>
22442
22443 [BZ #14317]
22444 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22445 only if needed.
22446
b76eb5f0
SP
224472012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22448
31a7fe5c
SP
22449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22450 and use variable directly.
22451 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22452
b76eb5f0
SP
22453 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22454 MPONE.
22455 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22456 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22457 variable MPONE.
22458 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22460 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22461 include directive. Remove local variable MPONE.
22462 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22463 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22464 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22465
2c8bfe7d
DM
224662012-12-25 David S. Miller <davem@davemloft.net>
22467
22468 * version.h (RELEASE): Set to "development".
22469 (VERSION): Set to "2.17.90".
22470 * NEWS: Add 2.18 section.
22471
147d03b0
DM
224722012-12-21 David S. Miller <davem@davemloft.net>
22473
22474 * po/hr.po: Update from translation team.
22475
a8ebb2b9
AK
224762012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22477
22478 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22479
95b4f1b6
SE
224802012-12-19 Steve Ellcey <sellcey@mips.com>
22481
b2d94007 22482 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22483
cedb2a90
MS
224842012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22485
22486 * manual/contrib.texi (Contributors): Spelling correction.
22487
bbf527d6
DM
224882012-12-15 David S. Miller <davem@davemloft.net>
22489
22490 * po/ru.po: Update from translation team.
22491
bc38c906
DM
224922012-12-13 David S. Miller <davem@davemloft.net>
22493
85429b1a
DM
22494 * NEWS: Mention IFUNC testsuite enhancements.
22495
d283e353
DM
22496 * po/pl.po: Update from translation team.
22497 * po/bg.po: Likewise.
22498
bc38c906
DM
22499 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22500 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22501
a181b0d7
DM
225022012-12-11 David S. Miller <davem@davemloft.net>
22503
4641d57e
DM
22504 * po/sv.po: Update from translation team.
22505
f7bc6495
DM
22506 * po/vi.po: Update from translation team.
22507
6fc9048f
DM
22508 * po/cs.po: Update from translation team.
22509
a181b0d7
DM
22510 * po/de.po: Update from translation team.
22511 * po/eo.po: Likewise.
22512 * po/nl.po: Likewise.
22513
f70bfe80
SP
225142012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22515
3c8b4190
SP
22516 [BZ #14246]
22517 * manual/argp.texi (Argp Helper Functions): Move node to follow
22518 Argp Parsing State.
22519
f70bfe80
SP
22520 [BZ #14872]
22521 * manual/conf.texi (Limits on File System Capacity): Mention if
22522 terminating null is included in the max size.
22523
188f0adf
AJ
225242012-12-10 Andreas Jaeger <aj@suse.de>
22525
22526 * po/cs.po: Update from translation team.
22527
56e7d3ad
SP
225282012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22529
22530 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22531 void pointer and cast to uintptr_t.
22532 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22533 path.
22534 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22535 * sysdeps/s390/s390-64/memset.S: Likewise.
22536
76f2d2ea 225372012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22538
22539 [BZ #14833]
22540 * menual/message.texi (Message Translation): Fix typos.
22541 (Helper programs for gettext): Likewise.
22542
67cbf9a2
AS
225432012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22544
22545 [BZ #14898]
22546 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22547 Change to -1.
22548
682d0e9a
DM
225492012-12-07 David S. Miller <davem@davemloft.net>
22550
22551 * po/libc.pot: Update.
22552
573cd484
RH
225532012-12-07 Richard Henderson <rth@redhat.com>
22554
7e9da188 22555 [BZ #10114]
573cd484
RH
22556 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22557 normal/normal case to before the switch.
22558 (_FP_DIV): Likewise.
22559
e933a943
MF
225602012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22561 Mike Frysinger <vapier@gentoo.org>
22562
22563 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22564 check for __NR_fadvise64_64.
22565
82123268
CM
225662012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22567
22568 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22569 0, not just to plain "0" as a statement.
22570 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22571 with cw.
22572
d9814526
JM
225732012-12-06 Joseph Myers <joseph@codesourcery.com>
22574
22575 * NEWS: Use sourceware.org in Bugzilla URL.
22576
7728c574
SP
225772012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22578
f16946dd
SP
22579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22580 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22581
5704bbcb
SP
22582 * stdio-common/tst-put-error.c (do_test): Add newline to the
22583 padded test to ensure flush.
22584
17aa0516
JL
225852012-12-05 Jeff Law <law@redhat.com>
22586
22587 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22588
363313b5
JM
225892012-12-05 Joseph Myers <joseph@codesourcery.com>
22590
effbd42a
JM
22591 * README: Don't refer to ports add-on as distributed separately.
22592 Mention AArch64 in list of systems supported in the ports add-on.
22593
87600365
JM
22594 * LICENSES: Add more non-FSF copyright and license notices.
22595
a0d7066a
JM
22596 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22597 ((unused)).
22598
66ca5a5b
JM
22599 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22600
363313b5
JM
22601 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22602 10000 as width of padded output.
22603
b37984ad
JM
226042012-12-04 Joseph Myers <joseph@codesourcery.com>
22605
9003570a
JM
22606 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22607
b37984ad
JM
22608 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22609 variable LX with __attribute__ ((unused)).
22610 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22611 Likewise.
22612 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22613 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22615 with __attribute__ ((unused)).
22616
c8df52ec
DM
226172012-12-04 David S. Miller <davem@abraco.davemloft.net>
22618
22619 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22620
b3b099af
JM
226212012-12-04 Joseph Myers <joseph@codesourcery.com>
22622
c33aa6e3
JM
22623 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22624 (CFLAGS-nldbl-acos.c): New variable.
22625 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22626 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22627 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22628 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22629 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22630 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22631 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22632 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22633 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22634 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22635 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22636 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22637 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22638 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22639 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22640 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22641 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22642 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22643 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22644 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22645 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22646 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22647 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22648 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22649 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22650 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22651 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22652 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22653 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22654 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22655 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22656 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22657 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22658 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22659 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22660 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22661 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22662 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22663 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22664 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22665 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22666 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22667 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22668 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22669 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22670 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22671 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22672 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22673 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22674 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22675 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22676 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22677 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22678 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22679 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22680 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22681 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22682 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22683 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22684 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22685 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22686 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22687 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22688 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22689 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22690 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22691 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22692 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22693 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22694 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22695 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22696 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22697 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22698 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22699 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22700 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22701 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22702 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22703 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22704 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22705 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22706 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22707 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22708 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22709 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22710 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22711 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22712 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22713 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22714 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22715 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22716 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22717 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22718 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22719 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22720 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22721 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22722
20f0018d
JM
22723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22724 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22725
b3b099af
JM
22726 [BZ #14914]
22727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22728 whole low double instead of just low 47 bits when splitting values
22729 into two parts.
22730
029264d1
AM
227312012-12-03 Allan McRae <allan@archlinux.org>
22732
22733 * manual/stdio.texi (Predefined Printf Handlers): Remove
22734 @hsep and @vsep usage.
22735
c9d6789e
MF
227362012-12-03 Mike Frysinger <vapier@gentoo.org>
22737
22738 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22739 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22740
4b7634a5
JL
227412012-12-03 Jeff Law <law@redhat.com>
22742
22743 * time/sys/time.h (settimeofday): Do not mark TV argument
22744 as __nonnull.
22745
eb6cbd24
MF
227462012-12-01 Mike Frysinger <vapier@gentoo.org>
22747
22748 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22749 when currently writing and seek to current position when not.
22750 * libio/Makefile (tests): Remove bug-fclose1.
22751 * libio/bug-fclose1.c: Delete.
22752
f638872a
JM
227532012-12-01 Joseph Myers <joseph@codesourcery.com>
22754
22755 * manual/arith.texi (feenableexcept): Fix typo.
22756 (fedisableexcept): Likewise.
22757
48085d14
RM
227582012-11-30 Roland McGrath <roland@hack.frob.com>
22759
22760 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22761 second, differently-typed declaration, rather than a cast.
22762
1a538b9f
SP
227632012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22764
22765 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22766 * include/rpc/svc.h: ... here.
22767
d07f2ff1 227682012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22769
22770 [BZ #13013]
22771 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22772 depending n and resplen2 to catch cases where answer
22773 equals answerp2.
22774
c93ec1f0
CD
227752012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22776
22777 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22778 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22779
37db69de
MF
227802012-11-29 Mike Frysinger <vapier@gentoo.org>
22781
22782 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22783
e10c4e4f
RM
227842012-11-29 Roland McGrath <roland@hack.frob.com>
22785
22786 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22787
2af1b328
JL
227882012-11-28 Jeff Law <law@redhat.com>
22789
22790 [BZ #13761]
22791 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22792 dataset_temporary. Track alloca usage into alloca_used.
22793 If dataset is large allocate and release it via malloc/free.
22794
111db5b1
FW
227952012-06-04 Florian Weimer <fweimer@redhat.com>
22796
f06cc227 22797 [BZ #14197]
111db5b1
FW
22798 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22799
dd694abd
DM
228002012-11-28 David S. Miller <davem@davemloft.net>
22801
22802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22803
9984dd01
JM
228042012-11-28 Joseph Myers <joseph@codesourcery.com>
22805
22806 [BZ #14803]
22807 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22808 of pi/2 rounded to nearest to 64 bits.
22809 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22810 nearest to 64 bits.
22811 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22812 bits.
22813
14bc93a9
JL
228142012-11-28 Jeff Law <law@redhat.com>
22815 Martin Osvald <mosvald@redhat.com>
22816
22817 [BZ #14889]
22818 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22819 * sunrpc/svc.c: Include time.h.
22820 (__svc_accept_failed): New function.
22821 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22822 any reason other than EINTR, call __svc_accept_failed.
22823 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22824 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22825
e3c6aa3a
AS
228262012-11-28 Andreas Schwab <schwab@suse.de>
22827
22828 * scripts/abilist.awk: Also handle indirect functions in .opd
22829 section.
22830
1bead169
JM
228312012-11-28 Joseph Myers <joseph@codesourcery.com>
22832
22833 [BZ #13881]
22834 * sysdeps/x86/fpu/powl_helper.c: New file.
22835 * sysdeps/x86/fpu/Makefile: Likewise.
22836 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22837 (p3): New object.
22838 (__ieee754_powl): Use __powl_helper for finite arguments except
22839 integer exponents below 8.
22840 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22841 (p3): New object.
22842 (__ieee754_powl): Use __powl_helper for finite arguments except
22843 integer exponents below 8.
22844 * math/libm-test.inc (pow_test): Add more tests and enable some
22845 previously disabled tests.
22846 * sysdeps/i386/fpu/libm-test-ulps: Update.
22847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22848
0817d63d
SP
228492012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22850 Carlos O'Donell <carlos_odonell@mentor.com>
22851
22852 * nss/makedb.c (is_prime): Assert that input is odd and greater
22853 than 4. Note that fact in a comment too.
22854 (next_prime): Add 4 to input.
22855
de2fd463
SP
228562012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22857
22858 [BZ #11741]
22859 * libio/Makefile (tests): Add test case tst-fwrite-error.
22860 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22861 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22862 * libio/tst-fwrite-error.c: New test case.
22863
c515fb51
L
228642012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22865
22866 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22867 before casting to void *.
22868 * include/libc-internal.h (__pointer_type): New macro.
22869 (__integer_if_pointer_type_sub): Likewise.
22870 (__integer_if_pointer_type): Likewise.
22871 (cast_to_integer): Likewise.
22872 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22873 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22874 before casting to atomic64_t.
22875 (atomic_exchange_acq): Likewise.
22876 (__arch_exchange_and_add_body): Likewise.
22877 (__arch_add_body): Likewise.
22878 (atomic_add_negative): Likewise.
22879 (atomic_add_zero): Likewise.
22880
4cf77aa9
JM
228812012-11-26 Joseph Myers <joseph@codesourcery.com>
22882
22883 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22884 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22885 (add_fdes): Likewise.
22886 (linear_search_fdes): Likewise.
22887 (binary_search_unencoded_fdes): Likewise.
22888
d260b3b4
AS
228892012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22890
22891 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22892
67060746
AC
228932012-11-24 Adam Conrad <adconrad@0c3.net>
22894
22895 * configure.in: Autodetect C++ header directories.
22896 * configure: Regenerated.
22897
800938a1
MF
228982012-11-23 Mike Frysinger <vapier@gentoo.org>
22899
22900 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22901
4e6e34e6
AS
229022012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22903
22904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22905
7c7feb47
JM
229062012-11-22 Joseph Myers <joseph@codesourcery.com>
22907
7184dcdf
JM
22908 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22909 LDBL_MANT_DIG == 106]: Disable some tests.
22910 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22911 Likewise.
22912 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22913 Likewise.
22914
0a42601f
JM
22915 [BZ #14871]
22916 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22917 input for small inputs. Return +/- pi/2 for large inputs.
22918 * math/libm-test.inc (atan_test): Add more tests.
22919
79c9b9fe
JM
22920 * sysdeps/generic/unwind-dw2-fde-glibc.c
22921 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22922 __attribute__ ((unused)).
22923
c60d3bf2
JM
22924 [BZ #14645]
22925 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22926 x * y if x and y are nonzero and z is zero.
22927
ef1e0867
JM
22928 [BZ #14811]
22929 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22930 nonzero exponents with absolute value below 0x1p-117 to +/-
22931 0x1p-117.
22932
1468ded3
JM
22933 [BZ #14869]
22934 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22935 up arguments below 2**-450, not just those below 2**-500.
22936 * math/libm-test.inc (hypot_test): Add another test.
22937
8e27e3cc
JM
22938 [BZ #14868]
22939 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22940 Return a+b for ratio over 2**120, not 2**60.
22941 * math/libm-test.inc (hypot_test): Add another test.
22942
c9c0279b
JM
22943 * math/libm-test.inc (clog_test): Use
22944 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22945 (clog10_test): Likewise.
22946
7c7feb47
JM
22947 [BZ #6778]
22948 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22949
fff1530e
AS
229502012-11-22 Andreas Schwab <schwab@suse.de>
22951
22952 * sysdeps/i386/fpu/libm-test-ulps: Update.
22953
94558d30
PT
229542012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22955
22956 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22957 printf output with newline.
22958
7e1be741
L
229592012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22960
6bfea974
L
22961 [BZ #14865]
22962 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22963 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22964 -z nodlopen, -z initfirst and -z execstack support.
22965 * configure: Regenerated.
22966
7e1be741
L
22967 * elf/elf.h (DF_1_NODIRECT): New macro.
22968 (DF_1_IGNMULDEF): Likewise.
22969 (DF_1_NOKSYMS): Likewise.
22970 (DF_1_NOHDR): Likewise.
22971 (DF_1_EDITED): Likewise.
22972 (DF_1_NORELOC): Likewise.
22973 (DF_1_SYMINTPOSE): Likewise.
22974 (DF_1_GLOBAUDIT): Likewise.
22975 (DF_1_SINGLETON): Likewise.
22976 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22977 DT_1_SUPPORTED_MASK bits.
22978 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22979
105ce2ce
CD
229802012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22981
22982 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22983
123be9de
TS
229842012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22985
d072f3f7
TS
22986 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22987 macro.
22988
123be9de
TS
22989 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22990 (sendmmsg): Move declarations...
22991 * socket/sys/socket.h: ... here.
22992 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22993 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22994 include it from...
22995 * socket/recvmmsg.c: ... this new file.
22996 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22997 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22998 definition of __sendmmsg hidden.
22999 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23000 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23001 Move ENOSYS stub into and include it from...
23002 * socket/sendmmsg.c: ... this new file.
23003 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23004 (sysdep_routines): Move recvmmsg and sendmmsg...
23005 * socket/Makefile (routines): ... here.
23006 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23007 (GLIBC_PRIVATE): Add __sendmmsg.
23008 * include/sys/socket.h (__sendmmsg): Add declarations.
23009 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23010 sendmmsg.
23011
cf9a5d18
JM
230122012-11-20 Joseph Myers <joseph@codesourcery.com>
23013
23014 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23015 variable I1 with __attribute__ ((unused)).
23016 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23017
ecd4caf9
JM
230182012-11-19 Joseph Myers <joseph@codesourcery.com>
23019
be14d48f
JM
23020 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23021 DUMMY variables with __attribute__ ((unused)).
23022
ecd4caf9
JM
23023 * bits/byteswap.h: Include <bits/types.h>.
23024 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23025
986cab95
PT
230262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23027
23028 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23029 string_t. Do not manually set errno.
23030 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23031 length with __strnlen. Make sure to both set errno and return it on
23032 failure.
23033
6d33cc9d
DM
230342012-11-19 David S. Miller <davem@davemloft.net>
23035
23036 With help from Joseph Myers.
23037 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23038 very large arguments properly.
23039 * math/libm-test.inc (atan_test): New tests.
23040 (atan2_test): New tests.
23041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23043
ee663277
JM
230442012-11-19 Joseph Myers <joseph@codesourcery.com>
23045
877f2d8e
JM
23046 [BZ #14856]
23047 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23048 Define to 3.
23049
116fc08a
JM
23050 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23051 [POSIX] (EADDRNOTAVAIL): Likewise.
23052 [POSIX] (EAFNOSUPPORT): Likewise.
23053 [POSIX] (EALREADY): Likewise.
23054 [POSIX] (ECONNABORTED): Likewise.
23055 [POSIX] (ECONNREFUSED): Likewise.
23056 [POSIX] (ECONNRESET): Likewise.
23057 [POSIX] (EDESTADDRREQ): Likewise.
23058 [POSIX] (EDQUOT): Likewise.
23059 [POSIX] (EHOSTUNREACH): Likewise.
23060 [POSIX] (EIDRM): Likewise.
23061 [POSIX] (EISCONN): Likewise.
23062 [POSIX] (ELOOP): Likewise.
23063 [POSIX] (EMULTIHOP): Likewise.
23064 [POSIX] (ENETDOWN): Likewise.
23065 [POSIX] (ENETUNREACH): Likewise.
23066 [POSIX] (ENOBUFS): Likewise.
23067 [POSIX] (ENODATA): Likewise.
23068 [POSIX] (ENOLINK): Likewise.
23069 [POSIX] (ENOMSG): Likewise.
23070 [POSIX] (ENOPROTOOPT): Likewise.
23071 [POSIX] (ENOSR): Likewise.
23072 [POSIX] (ENOSTR): Likewise.
23073 [POSIX] (ENOTCONN): Likewise.
23074 [POSIX] (ENOTSOCK): Likewise.
23075 [POSIX] (EOPNOTSUPP): Likewise.
23076 [POSIX] (EOVERFLOW): Likewise.
23077 [POSIX] (EPROTO): Likewise.
23078 [POSIX] (EPROTONOSUPPORT): Likewise.
23079 [POSIX] (EPROTOTYPE): Likewise.
23080 [POSIX] (ESTALE): Likewise.
23081 [POSIX] (ETIME): Likewise.
23082 [POSIX] (ETXTBSY): Likewise.
23083 [POSIX] (EWOULDBLOCK): Likewise.
23084 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23085 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23086 [POSIX] (SEEK_CUR): Likewise.
23087 [POSIX] (SEEK_END): Likewise.
23088 [POSIX || UNIX98] (mode_t): Do not require.
23089 [POSIX] (off_t): Likewise.
23090 [POSIX] (pid_t): Likewise.
23091 [POSIX] (sys/stat.h): Do not allow header.
23092 [POSIX] (unistd.h): Likewise.
23093 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23094 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23095 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23096 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23097 require.
23098 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23099 sigevent): Specify elements.
23100 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23101 entry.
23102 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23103 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23104
a483863f
JM
23105 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23106 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23107 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23108 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23109 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23110 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23111 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23112 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23113 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23114 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23115 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23116 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23117 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23118 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23119 Likewise.
23120 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23121 Likewise.
23122 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23123 Likewise.
23124 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23125 Likewise.
23126 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23127 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23128 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23129 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23130 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23131 Specify lower bound on value.
23132 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23133 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23134 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23135 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23136 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23137 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23138 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23139 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23140 value.
23141 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23142 as optional.
23143 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23144 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23145 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23146 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23147 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23148 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23149 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23150 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23151 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23152 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23153 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23154 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23155 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23156 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23157 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23158 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23159 entry.
23160 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23161 optional.
23162 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23163 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23164 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23165 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23166 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23167 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23168 Likewise.
23169 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23170 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23171 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23172 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23173 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23174 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23175 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23176 as optional.
23177 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23178 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23179 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23180 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23181 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23182 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23183 specify as optional.
23184 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23185 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23186 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23187 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23188 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23189 [XPG3] (NL_LANGMAX): Likewise.
23190 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23191 [POSIX || XPG3] (NL_NMAX): Likewise.
23192 [POSIX || XPG3] (NL_SETMAX): Likewise.
23193 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23194 [XPG3] (NZERO): Likewise.
23195 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23196 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23197 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23198 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23199 (REG_ERANGE): Expect.
23200 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23201 optional-constant.
23202 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23203 Use (void) in prototype.
23204 [POSIX] (*_t): Allow.
23205 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23206 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23207 (WRDE_BADVAL): Expect.
23208
5ba924e3
JM
23209 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23210 expect.
23211 [XPG3 || XPG4] (O_RSYNC): Likewise.
23212 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23213 Likewise.
23214 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23215 [XPG3 || XPG4] (sigqueue): Likewise.
23216 [XPG3 || XPG4] (sigtimedwait): Likewise.
23217 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23218 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23219 [XPG3 || XPG4] (vsnprintf): Likewise.
23220 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23221 Likewise.
23222 [XPG3 || XPG4] (blksize_t): Likewise.
23223 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23224 Likewise.
23225 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23226 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23227 [XPG3 || XPG4] (struct itimerspec): Likewise.
23228 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23229 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23230 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23231 [XPG3 || XPG4] (clockid_t): Likewise.
23232 [XPG3 || XPG4] (timer_t): Likewise.
23233 [XPG3 || XPG4] (clock_getres): Likewise.
23234 [XPG3 || XPG4] (clock_gettime): Likewise.
23235 [XPG3 || XPG4] (clock_settime): Likewise.
23236 [XPG3 || XPG4] (nanosleep): Likewise.
23237 [XPG3 || XPG4] (timer_create): Likewise.
23238 [XPG3 || XPG4] (timer_delete): Likewise.
23239 [XPG3 || XPG4] (timer_gettime): Likewise.
23240 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23241 [XPG3 || XPG4] (timer_settime): Likewise.
23242 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23243 [XPG3 || XPG4] (getlogin_r): Likewise.
23244 [XPG3 || XPG4] (pread): Likewise.
23245 [XPG3 || XPG4] (pthread_atfork): Likewise.
23246 [XPG3 || XPG4] (pwrite): Likewise.
23247
ee663277
JM
23248 [BZ #14835]
23249 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23250 <bits/siginfo.h>.
23251
942caa16
PT
232522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23253
e19af380
PT
23254 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23255 finalizing MALLSTREAM.
23256
942caa16
PT
23257 * sysdeps/mach/hurd/syncfs.c: New file.
23258
cfde9b46
SP
232592012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23260
23261 [BZ #14719]
23262 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23263 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23264 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23265 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23266 (_nss_dns_gethostbyname4_r): Likewise.
23267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23268 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23269
f6da27e5
PH
232702012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23271
23272 [BZ #13763]
23273 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23274
6665d4a2
SM
232752012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23276
1f51ee92
SM
23277 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23278 * elf/cache.c (print_entry): Print ",AArch64" for
23279 FLAG_AARCH64_LIB64
23280
6665d4a2
SM
23281 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23282 * elf/cache.c (print_entry): Print ",hard-float" for
23283 FLAG_ARM_LIBHF.
23284
05b227bd
DM
232852012-11-18 David S. Miller <davem@davemloft.net>
23286
23287 With help from Joseph Myers.
23288 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23289 cutoff to 2**-13.
23290 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23291 cutoff to 2**-25.
23292 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23293 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23294 small.
23295 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23296 * math/libm-test.inc (y0_test): New tests.
23297 (y1_test): New tests.
23298 * sysdeps/i386/fpu/libm-test-ulps: Update.
23299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23301
786b0b67
AS
233022012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23303
23304 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23305 64-bit targets.
23306 * configure: Regenerated.
23307
8e18b86d
DM
233082012-11-17 David S. Miller <davem@davemloft.net>
23309
23310 [BZ #14811]
23311 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23312 nonzero exponents with absolute value below 0x1p-128 to +/-
23313 0x1p-128.
23314
531f1ae0
JM
233152012-11-17 Joseph Myers <joseph@codesourcery.com>
23316
12df29e2
JM
23317 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23318
150dc1a0
JM
23319 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23320
531f1ae0
JM
23321 * posix/getconf-speclist.c: New file.
23322 * posix/posix-envs.def: Likewise.
23323 * posix/confstr.c (START_ENV_GROUP): New macro.
23324 (END_ENV_GROUP): Likewise.
23325 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23326 (KNOWN_PRESENT_ENV_STRING): Likewise.
23327 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23328 (UNKNOWN_ENVIRONMENT): Likewise.
23329 (confstr): Include posix-envs.def instead of handling
23330 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23331 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23332 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23333 (END_ENV_GROUP): Likewise.
23334 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23335 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23336 (UNKNOWN_ENVIRONMENT): Likewise.
23337 (__sysconf): Include posix-envs.def instead of handling associated
23338 cases directly here.
23339 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23340 preprocessing getconf-speclist.c rather than running getconf or
23341 generating empty file.
23342
a93f9cbc
PT
233432012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23344
23345 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23346
d64d9f87
AL
233472012-11-16 Andrej Lajovic <natrij@gmail.com>
23348
23349 [BZ #14672]
23350 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23351
447885eb
DM
233522012-11-16 David S. Miller <davem@davemloft.net>
23353
23354 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23355 smaller than LDBL_EPSILON/2.0L, just return xm1.
23356
bcbf9830
L
233572012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23358
23359 * elf/tst-array1.c (init): Set constructor priority to 1000.
23360 (fini): Set destructor priority to 1000.
23361 * elf/tst-array2dep.c: Likewise.
23362
2b766585
SP
233632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23364
23365 [BZ #11741]
23366 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23367 (_IO_new_file_xsputn): Also return EOF if none of the input
23368 data was written when overflow failed.
23369 * libio/iopadn.c (_IO_padn): Likewise.
23370 * libio/iowpadn.c (_IO_wpadn): Likewise.
23371 * stdio-common/tst-put-error.c: Add copyright notice.
23372 (do_test): Add case for printing padded string.
23373 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23374 _IO_padn returned error.
23375 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23376 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23377 return EOF.
23378
b1848fde
SP
233792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23380
23381 * libio/libioP.h: Add comment note that the references to C++
23382 bits are now obsolete.
23383
2fd89785
MS
233842012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23385
23386 * math/libm-test.inc (check_complex): Use asprintf.
23387
e3ea5409
JM
233882012-11-14 Joseph Myers <joseph@codesourcery.com>
23389
23390 * debug/pcprofiledump.c (print_version): Update copyright year.
23391 * malloc/memusagestat.c (print_version): Likewise.
23392
2e64d265
L
233932012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23394
23395 [BZ #14831]
23396 * elf/Makefile (tests): Add tst-audit8.
23397 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23398 ($(objpfx)tst-audit8.out): New target.
23399 (tst-audit8-ENV): New variable.
23400 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23401 audit if l_reloc_result is NULL.
23402 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23403 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23404 * elf/tst-audit8.c: New file.
23405
c485e4d2
MS
234062012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23407
23408 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23409 * misc/Makefile (CFLAGS-select.c): Define.
23410 * posix/Makefile (CFLAGS-pause.c): Define.
23411
3a0d900a
DM
234122012-11-13 David S. Miller <davem@davemloft.net>
23413
23414 * crypt/Makefile: Move test targets after toplevel Rules
23415 inclusion. Grab any necessary sysdep routines when linking.
23416 * crypt/md5.c (md5_process_block): Remove define, we will always
23417 name it __md5_process_block.
23418 (md5_finish_ctx): Update md5_process_block call.
23419 (md5_stream): Likewise.
23420 (md5_process_bytes): Likewise.
23421 (md5_process_block): Rename to __md5_process_block and move to ...
23422 * crypt/md5-block.c: ... here.
23423 * crypt/sha256.c (sha256_process_block): Move to ...
23424 * crypt/sha256-block.c: ... here.
23425 * crypt/sha512.c (sha512_process_block): Move to ...
23426 * crypt/sha512-block.c: ... here.
23427 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23428 path.
23429 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23430 * sysdeps/sparc/sparc64/multiarch/Makefile
23431 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23432 crypt subdir.
23433 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23434 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23435 multiarch changes.
23436 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23437 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23438 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23439 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23440 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23441 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23442 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23443 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23444 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23445 file.
23446 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23447 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23448 file.
23449 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23450
8ca89318
JM
234512012-11-13 Joseph Myers <joseph@codesourcery.com>
23452
e27d476a
JM
23453 * timezone/tzselect.ksh: Update from tzcode git revision
23454 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23455 * timezone/zdump.c: Likewise.
23456 * timezone/zic.c: Likewise.
23457 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23458 in TZVERSION setting, not $(PKGVERSION).
23459 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23460 REPORT_BUGS_TO settings.
23461
8ca89318
JM
23462 [BZ #14838]
23463 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23464 macro.
23465
47594329
MS
234662012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23467
23468 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23469 detection to immediately after _FP_ROUND().
23470 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23471 bits are 0.
23472
640ac3f1
DM
234732012-11-11 David S. Miller <davem@davemloft.net>
23474
23475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23476 inttypes.h
23477 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23478 __close rather than their public counterparts.
23479
3d2577bb
JM
234802012-11-10 Joseph Myers <joseph@codesourcery.com>
23481
23482 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23483 file.
23484 [UNIX98] (sem_timedwait): Do not expect.
23485 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23486 [XPG4 || UNIX98] (sockatmark): Do not expect.
23487 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23488 (clock_getcpuclockid): Do not expect.
23489 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23490 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23491 Do not expect.
23492 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23493 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23494 [UNIX98] (vwscanf): Likewise.
23495 [UNIX98] (vswscanf): Likewise.
23496
fb1ae1ee
JM
234972012-11-09 Joseph Myers <joseph@codesourcery.com>
23498
9ec6f8bd
JM
23499 * timezone/version.h: Remove file.
23500 * timezone/README: Do not refer to version.h.
23501 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23502 $(objpfx)version.h.
23503 ($(objpfx)zdump.o): Likewise.
c3f81911 23504 ($(objpfx)version.h): New target.
9ec6f8bd 23505
0aa8f8a1
JM
23506 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23507 2012i.
23508 * timezone/README: Don't mention modification to tzselect.ksh.
23509 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23510 work on unmodified tzselect.ksh. Substitute version numbers in
23511 tzselect.ksh.
23512
4e87147f
JM
23513 * Makefile (format-me): Remove.
23514 (INSTALL): Adjust indentation. Use commands directly instead of
23515 using $(format-me).
23516
8b748aed
JM
23517 * aclocal.m4 (ACX_PKGVERSION): New macro.
23518 (ACX_BUGURL): Likewise.
23519 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23520 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23521 (REPORT_BUGS_TO): Likewise.
23522 * configure: Regenerated.
23523 * config.h.in (PKGVERSION): New macro.
23524 (REPORT_BUGS_TO): Likewise.
23525 * config.make.in (PKGVERSION): New variable.
23526 (PKGVERSION_TEXI): Likewise.
23527 (REPORT_BUGS_TO): Likewise.
23528 (REPORT_BUGS_TEXI): Likewise.
23529 * Makefile (format-me): Use -I$(common-objpfx)manual.
23530 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23531 ($(common-objpfx)manual/%): New target.
23532 (manual/%): Remove target.
23533 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23534 (print_version): Use PKGVERSION.
23535 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23536 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23537 and REPORT_BUGS_TO.
23538 ($(objpfx)xtrace): Likewise.
23539 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23540 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23541 (print_version): Use PKGVERSION.
23542 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23543 (do_version): Use PKGVERSION.
23544 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23545 REPORT_BUGS_TO.
23546 (common-ldd-rewrite): Likewise.
23547 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23548 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23549 (print_version): Use PKGVERSION.
23550 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23551 * elf/pldd.c (argp_program_bug_address): Remove variable.
23552 (more_help): New function.
23553 (argp): Use more_help.
23554 (print_version): Use PKGVERSION.
23555 * elf/sln.c (main): Use PKGVERSION.
23556 (usage): Use REPORT_BUGS_TO.
23557 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23558 (top level): Use PKGVERSION.
23559 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23560 (print_version): Use PKGVERSION.
23561 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23562 (print_version): Use PKGVERSION.
23563 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23564 (print_version): Use PKGVERSION.
23565 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23566 (print_version): Use PKGVERSION.
23567 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23568 (print_version): Use PKGVERSION.
23569 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23570 (print_version): Use PKGVERSION.
23571 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23572 and BUGURL.
23573 ($(objpfx)memusage): Likewise.
23574 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23575 (do_version): Use PKGVERSION.
23576 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23577 (print_version): Use PKGVERSION.
23578 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23579 ($PKGVERSION): New variable.
23580 ($REPORT_BUGS_TO): Likewise.
23581 (usage): Use $REPORT_BUGS_TO.
23582 (top level): Use $PKGVERSION.
23583 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23584 ($(objpfx)pkgvers.texi): New rule.
23585 ($(objpfx)stamp-pkgvers): Likewise.
23586 * manual/install.texi: Include pkgvers.texi.
23587 (--with-pkgversion): Document new configure option.
23588 (--with-bugurl): Likewise.
23589 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23590 than necessarily for this particular distribution. Use
23591 REPORT_BUGS_TO for where to report bugs.
23592 * INSTALL: Regenerated.
23593 * manual/libc.texinfo: Include pkgvers.texi.
23594 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23595 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23596 (print_version): Use PKGVERSION.
23597 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23598 (print_version): Use PKGVERSION.
23599 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23600 (print_version): Use PKGVERSION.
23601 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23602 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23603 macro.
23604 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23605 (print_version): Use PKGVERSION.
23606 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23607 (print_version): Use PKGVERSION.
23608 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23609 and PKGVERSION.
23610
92e4b6a9
JM
23611 * timezone/checktab.awk: Update from tzcode 2012i.
23612 * timezone/ialloc.c: Likewise.
23613 * timezone/private.h: Likewise.
23614 * timezone/scheck.c: Likewise.
23615 * timezone/tzfile.h: Likewise.
23616 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23617 (TZVERSION): Hardcode tzcode version number.
23618 * timezone/zdump.c: Update from tzcode 2012i.
23619 * timezone/zic.c: Likewise.
23620 * timezone/version.h: New file.
23621 * timezone/README: Describe version.h. Update upstream location.
23622
9bde902c
JM
23623 [BZ #14824]
23624 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23625 (mktemp): Enable declaration.
23626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23628 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23629 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23630 Likewise.
23631 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23632 Likewise.
23633 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23634 Likewise.
23635 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23636 Likewise.
23637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23638 Likewise.
23639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23640 Likewise.
23641
fb1ae1ee
JM
23642 [BZ #14821]
23643 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23644 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23645 for copies of such integer values.
23646 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23647 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23648
2c1adbcb
AJ
236492012-11-09 Andreas Jaeger <aj@suse.de>
23650
23651 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23652 definitions and declarations that are provided by
23653 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23654
d0f8457e
AK
236552012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23656
3a235abb 23657 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23658 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23659 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23660 definition.
23661
57241e26
MS
236622012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23663
23664 * elf/elf.h: Update comment before AArch64 relocations.
23665
60e8270d
DM
236662012-11-07 David S. Miller <davem@davemloft.net>
23667
23668 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23669 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23670 (__start_context): Declare.
23671 (__makecontext_ret): Delete.
23672 (__makecontext): Hook up __start_context instead of
23673 __makecontext_ret.
23674 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23675 (sysdep_routines): Add __start_context when in stdlib.
23676
0fbb0fbc
JM
236772012-11-07 Joseph Myers <joseph@codesourcery.com>
23678
23679 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23680 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23681 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23682 hardcoded "nm".
23683 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23684 (READELF): New variable. Use it instead of hardcoded "readelf".
23685
eb48db7e
L
236862012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23687
23688 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23689 * sysdeps/x86/Makefile: Here.
23690 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23691 * sysdeps/x86/tst-xmmymm.sh: This.
23692
05bcf62a
JM
236932012-11-07 Joseph Myers <joseph@codesourcery.com>
23694
c4b6cf53
JM
23695 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23696 expectations.
23697 [UNIX98] (pthread_barrier_t): Do not expect.
23698 [UNIX98] (pthread_barrierattr_t): Likewise.
23699 [UNIX98] (pthread_spinlock_t): Likewise.
23700 [UNIX98] (pthread_barrier_destroy): Likewise.
23701 [UNIX98] (pthread_barrier_init): Likewise.
23702 [UNIX98] (pthread_barrier_wait): Likewise.
23703 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23704 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23705 [UNIX98] (pthread_barrierattr_init): Likewise.
23706 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23707 [UNIX98] (pthread_getcpuclockid): Likewise.
23708 [UNIX98] (pthread_mutex_timedlock): Likewise.
23709 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23710 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23711 [UNIX98] (pthread_sigmask): Likewise.
23712 [UNIX98] (pthread_spin_destroy): Likewise.
23713 [UNIX98] (pthread_spin_init): Likewise.
23714 [UNIX98] (pthread_spin_lock): Likewise.
23715 [UNIX98] (pthread_spin_trylock): Likewise.
23716 [UNIX98] (pthread_spin_unlock): Likewise.
23717 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23718 Do not expect.
23719 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23720 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23721 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23722 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23723 [XPG3 || XPG4] (pthread_key_t): Likewise.
23724 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23725 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23726 [XPG3 || XPG4] (pthread_once_t): Likewise.
23727 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23728 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23729 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23730 [XPG3 || XPG4] (pthread_t): Likewise.
23731
cbe6e120
JM
23732 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23733 not expect.
23734 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23735
1b126443
JM
23736 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23737 Change function return type to int.
23738
b961a573
JM
23739 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23740 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23741 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23742 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23743 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23744 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23745 [!POSIX] (posix_madvise): Likewise.
23746 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23747 && !UNIX98].
23748 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23749 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23750 (mode_t): Likewise.
23751 (posix_mem_offset): Likewise.
23752 (posix_typed_mem_get_info): Likewise.
23753 (posix_typed_mem_open): Likewise.
23754
9e188909
JM
23755 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23756 Change condition to [XOPEN2K8].
23757
05bcf62a
JM
23758 * conform/conformtest.pl: Preprocess allow-header data with -x c
23759 instead of from stdin.
23760 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23761 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23762 [C99-based standards] (cerfc): Likewise.
23763 [C99-based standards] (cexp2): Likewise.
23764 [C99-based standards] (cexpm1): Likewise.
23765 [C99-based standards] (clog10): Likewise.
23766 [C99-based standards] (clog1p): Likewise.
23767 [C99-based standards] (clog2): Likewise.
23768 [C99-based standards] (clgamma): Likewise.
23769 [C99-based standards] (ctgamma): Likewise.
23770 [C99-based standards] (cerff): Likewise.
23771 [C99-based standards] (cerfcf): Likewise.
23772 [C99-based standards] (cexp2f): Likewise.
23773 [C99-based standards] (cexpm1f): Likewise.
23774 [C99-based standards] (clog10f): Likewise.
23775 [C99-based standards] (clog1pf): Likewise.
23776 [C99-based standards] (clog2f): Likewise.
23777 [C99-based standards] (clgammaf): Likewise.
23778 [C99-based standards] (ctgammaf): Likewise.
23779 [C99-based standards] (cerfl): Likewise.
23780 [C99-based standards] (cerfcl): Likewise.
23781 [C99-based standards] (cexp2l): Likewise.
23782 [C99-based standards] (cexpm1l): Likewise.
23783 [C99-based standards] (clog10l): Likewise.
23784 [C99-based standards] (clog1pl): Likewise.
23785 [C99-based standards] (clog2l): Likewise.
23786 [C99-based standards] (clgammal): Likewise.
23787 [C99-based standards] (ctgammal): Likewise.
23788 * conform/data/inttypes.h-data [C99-based standards]: Include
23789 stdint.h-data. Remove all expectations for stdint.h contents.
23790 [C99-based standards] (PRI*): Do not allow.
23791 [C99-based standards] (SCN*): Likewise.
23792 [C99-based standards] (*_t): Likewise.
23793 [C99-based-standards] (PRId8): Expect macro.
23794 [C99-based-standards] (PRIi8): Likewise.
23795 [C99-based-standards] (PRIo8): Likewise.
23796 [C99-based-standards] (PRIu8): Likewise.
23797 [C99-based-standards] (PRIx8): Likewise.
23798 [C99-based-standards] (PRIX8): Likewise.
23799 [C99-based-standards] (SCNd8): Likewise.
23800 [C99-based-standards] (SCNi8): Likewise.
23801 [C99-based-standards] (SCNo8): Likewise.
23802 [C99-based-standards] (SCNu8): Likewise.
23803 [C99-based-standards] (SCNx8): Likewise.
23804 [C99-based-standards] (PRIdLEAST8): Likewise.
23805 [C99-based-standards] (PRIiLEAST8): Likewise.
23806 [C99-based-standards] (PRIoLEAST8): Likewise.
23807 [C99-based-standards] (PRIuLEAST8): Likewise.
23808 [C99-based-standards] (PRIxLEAST8): Likewise.
23809 [C99-based-standards] (PRIXLEAST8): Likewise.
23810 [C99-based-standards] (SCNdLEAST8): Likewise.
23811 [C99-based-standards] (SCNiLEAST8): Likewise.
23812 [C99-based-standards] (SCNoLEAST8): Likewise.
23813 [C99-based-standards] (SCNuLEAST8): Likewise.
23814 [C99-based-standards] (SCNxLEAST8): Likewise.
23815 [C99-based-standards] (PRIdFAST8): Likewise.
23816 [C99-based-standards] (PRIiFAST8): Likewise.
23817 [C99-based-standards] (PRIoFAST8): Likewise.
23818 [C99-based-standards] (PRIuFAST8): Likewise.
23819 [C99-based-standards] (PRIxFAST8): Likewise.
23820 [C99-based-standards] (PRIXFAST8): Likewise.
23821 [C99-based-standards] (SCNdFAST8): Likewise.
23822 [C99-based-standards] (SCNiFAST8): Likewise.
23823 [C99-based-standards] (SCNoFAST8): Likewise.
23824 [C99-based-standards] (SCNuFAST8): Likewise.
23825 [C99-based-standards] (SCNxFAST8): Likewise.
23826 [C99-based-standards] (PRId16): Likewise.
23827 [C99-based-standards] (PRIi16): Likewise.
23828 [C99-based-standards] (PRIo16): Likewise.
23829 [C99-based-standards] (PRIu16): Likewise.
23830 [C99-based-standards] (PRIx16): Likewise.
23831 [C99-based-standards] (PRIX16): Likewise.
23832 [C99-based-standards] (SCNd16): Likewise.
23833 [C99-based-standards] (SCNi16): Likewise.
23834 [C99-based-standards] (SCNo16): Likewise.
23835 [C99-based-standards] (SCNu16): Likewise.
23836 [C99-based-standards] (SCNx16): Likewise.
23837 [C99-based-standards] (PRIdLEAST16): Likewise.
23838 [C99-based-standards] (PRIiLEAST16): Likewise.
23839 [C99-based-standards] (PRIoLEAST16): Likewise.
23840 [C99-based-standards] (PRIuLEAST16): Likewise.
23841 [C99-based-standards] (PRIxLEAST16): Likewise.
23842 [C99-based-standards] (PRIXLEAST16): Likewise.
23843 [C99-based-standards] (SCNdLEAST16): Likewise.
23844 [C99-based-standards] (SCNiLEAST16): Likewise.
23845 [C99-based-standards] (SCNoLEAST16): Likewise.
23846 [C99-based-standards] (SCNuLEAST16): Likewise.
23847 [C99-based-standards] (SCNxLEAST16): Likewise.
23848 [C99-based-standards] (PRIdFAST16): Likewise.
23849 [C99-based-standards] (PRIiFAST16): Likewise.
23850 [C99-based-standards] (PRIoFAST16): Likewise.
23851 [C99-based-standards] (PRIuFAST16): Likewise.
23852 [C99-based-standards] (PRIxFAST16): Likewise.
23853 [C99-based-standards] (PRIXFAST16): Likewise.
23854 [C99-based-standards] (SCNdFAST16): Likewise.
23855 [C99-based-standards] (SCNiFAST16): Likewise.
23856 [C99-based-standards] (SCNoFAST16): Likewise.
23857 [C99-based-standards] (SCNuFAST16): Likewise.
23858 [C99-based-standards] (SCNxFAST16): Likewise.
23859 [C99-based-standards] (PRId32): Likewise.
23860 [C99-based-standards] (PRIi32): Likewise.
23861 [C99-based-standards] (PRIo32): Likewise.
23862 [C99-based-standards] (PRIu32): Likewise.
23863 [C99-based-standards] (PRIx32): Likewise.
23864 [C99-based-standards] (PRIX32): Likewise.
23865 [C99-based-standards] (SCNd32): Likewise.
23866 [C99-based-standards] (SCNi32): Likewise.
23867 [C99-based-standards] (SCNo32): Likewise.
23868 [C99-based-standards] (SCNu32): Likewise.
23869 [C99-based-standards] (SCNx32): Likewise.
23870 [C99-based-standards] (PRIdLEAST32): Likewise.
23871 [C99-based-standards] (PRIiLEAST32): Likewise.
23872 [C99-based-standards] (PRIoLEAST32): Likewise.
23873 [C99-based-standards] (PRIuLEAST32): Likewise.
23874 [C99-based-standards] (PRIxLEAST32): Likewise.
23875 [C99-based-standards] (PRIXLEAST32): Likewise.
23876 [C99-based-standards] (SCNdLEAST32): Likewise.
23877 [C99-based-standards] (SCNiLEAST32): Likewise.
23878 [C99-based-standards] (SCNoLEAST32): Likewise.
23879 [C99-based-standards] (SCNuLEAST32): Likewise.
23880 [C99-based-standards] (SCNxLEAST32): Likewise.
23881 [C99-based-standards] (PRIdFAST32): Likewise.
23882 [C99-based-standards] (PRIiFAST32): Likewise.
23883 [C99-based-standards] (PRIoFAST32): Likewise.
23884 [C99-based-standards] (PRIuFAST32): Likewise.
23885 [C99-based-standards] (PRIxFAST32): Likewise.
23886 [C99-based-standards] (PRIXFAST32): Likewise.
23887 [C99-based-standards] (SCNdFAST32): Likewise.
23888 [C99-based-standards] (SCNiFAST32): Likewise.
23889 [C99-based-standards] (SCNoFAST32): Likewise.
23890 [C99-based-standards] (SCNuFAST32): Likewise.
23891 [C99-based-standards] (SCNxFAST32): Likewise.
23892 [C99-based-standards] (PRId64): Likewise.
23893 [C99-based-standards] (PRIi64): Likewise.
23894 [C99-based-standards] (PRIo64): Likewise.
23895 [C99-based-standards] (PRIu64): Likewise.
23896 [C99-based-standards] (PRIx64): Likewise.
23897 [C99-based-standards] (PRIX64): Likewise.
23898 [C99-based-standards] (SCNd64): Likewise.
23899 [C99-based-standards] (SCNi64): Likewise.
23900 [C99-based-standards] (SCNo64): Likewise.
23901 [C99-based-standards] (SCNu64): Likewise.
23902 [C99-based-standards] (SCNx64): Likewise.
23903 [C99-based-standards] (PRIdLEAST64): Likewise.
23904 [C99-based-standards] (PRIiLEAST64): Likewise.
23905 [C99-based-standards] (PRIoLEAST64): Likewise.
23906 [C99-based-standards] (PRIuLEAST64): Likewise.
23907 [C99-based-standards] (PRIxLEAST64): Likewise.
23908 [C99-based-standards] (PRIXLEAST64): Likewise.
23909 [C99-based-standards] (SCNdLEAST64): Likewise.
23910 [C99-based-standards] (SCNiLEAST64): Likewise.
23911 [C99-based-standards] (SCNoLEAST64): Likewise.
23912 [C99-based-standards] (SCNuLEAST64): Likewise.
23913 [C99-based-standards] (SCNxLEAST64): Likewise.
23914 [C99-based-standards] (PRIdFAST64): Likewise.
23915 [C99-based-standards] (PRIiFAST64): Likewise.
23916 [C99-based-standards] (PRIoFAST64): Likewise.
23917 [C99-based-standards] (PRIuFAST64): Likewise.
23918 [C99-based-standards] (PRIxFAST64): Likewise.
23919 [C99-based-standards] (PRIXFAST64): Likewise.
23920 [C99-based-standards] (SCNdFAST64): Likewise.
23921 [C99-based-standards] (SCNiFAST64): Likewise.
23922 [C99-based-standards] (SCNoFAST64): Likewise.
23923 [C99-based-standards] (SCNuFAST64): Likewise.
23924 [C99-based-standards] (SCNxFAST64): Likewise.
23925 [C99-based-standards] (PRIdMAX): Likewise.
23926 [C99-based-standards] (PRIiMAX): Likewise.
23927 [C99-based-standards] (PRIoMAX): Likewise.
23928 [C99-based-standards] (PRIuMAX): Likewise.
23929 [C99-based-standards] (PRIxMAX): Likewise.
23930 [C99-based-standards] (PRIXMAX): Likewise.
23931 [C99-based-standards] (SCNdMAX): Likewise.
23932 [C99-based-standards] (SCNiMAX): Likewise.
23933 [C99-based-standards] (SCNoMAX): Likewise.
23934 [C99-based-standards] (SCNuMAX): Likewise.
23935 [C99-based-standards] (SCNxMAX): Likewise.
23936 [C99-based-standards] (PRIdPTR): Likewise.
23937 [C99-based-standards] (PRIiPTR): Likewise.
23938 [C99-based-standards] (PRIoPTR): Likewise.
23939 [C99-based-standards] (PRIuPTR): Likewise.
23940 [C99-based-standards] (PRIxPTR): Likewise.
23941 [C99-based-standards] (PRIXPTR): Likewise.
23942 [C99-based-standards] (SCNdPTR): Likewise.
23943 [C99-based-standards] (SCNiPTR): Likewise.
23944 [C99-based-standards] (SCNoPTR): Likewise.
23945 [C99-based-standards] (SCNuPTR): Likewise.
23946 [C99-based-standards] (SCNxPTR): Likewise.
23947 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23948 allow.
23949 * conform/data/stdint.h-data: Update comments to clarify
23950 requirements.
23951 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23952 type.
23953 [C99-based standards] (INT8_MAX): Likewise.
23954 [C99-based standards] (INT16_MIN): Likewise.
23955 [C99-based standards] (INT16_MAX): Likewise.
23956 [C99-based standards] (INT32_MIN): Likewise.
23957 [C99-based standards] (INT32_MAX): Likewise.
23958 [C99-based standards] (INT64_MIN): Likewise.
23959 [C99-based standards] (INT64_MAX): Likewise.
23960 [C99-based standards] (UINT8_MAX): Likewise.
23961 [C99-based standards] (UINT16_MAX): Likewise.
23962 [C99-based standards] (UINT32_MAX): Likewise.
23963 [C99-based standards] (UINT64_MAX): Likewise.
23964 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23965 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23966 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23967 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23968 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23969 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23970 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23971 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23972 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23973 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23974 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23975 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23976 [C99-based standards] (INT_FAST8_MIN): Likewise.
23977 [C99-based standards] (INT_FAST8_MAX): Likewise.
23978 [C99-based standards] (INT_FAST16_MIN): Likewise.
23979 [C99-based standards] (INT_FAST16_MAX): Likewise.
23980 [C99-based standards] (INT_FAST32_MIN): Likewise.
23981 [C99-based standards] (INT_FAST32_MAX): Likewise.
23982 [C99-based standards] (INT_FAST64_MIN): Likewise.
23983 [C99-based standards] (INT_FAST64_MAX): Likewise.
23984 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23985 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23986 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23987 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23988 [C99-based standards] (INTPTR_MIN): Likewise.
23989 [C99-based standards] (INTPTR_MAX): Likewise.
23990 [C99-based standards] (UINTPTR_MAX): Likewise.
23991 [C99-based standards] (INTMAX_MIN): Likewise.
23992 [C99-based standards] (INTMAX_MAX): Likewise.
23993 [C99-based standards] (UINTMAX_MAX): Likewise.
23994 [C99-based standards] (PTRDIFF_MIN): Likewise.
23995 [C99-based standards] (PTRDIFF_MAX): Likewise.
23996 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23997 [C99-based standards] (SIZE_MAX): Likewise.
23998 [C99-based standards] (WCHAR_MAX): Likewise.
23999 [C99-based standards] (WINT_MAX): Likewise.
24000 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24001 constraint on value.
24002 [C99-based standards] (WCHAR_MIN): Likewise.
24003 [C99-based standards] (WINT_MIN): Likewise.
24004 [C99-based standards] (*_t): Allow.
24005 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24006 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24007 Include math.h-data and complex.h-data. Remove all expectations
24008 of math.h and complex.h contents.
24009 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24010 at end of line.
24011 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24012 (struct tm): Expect tag.
24013 [C99-based-standards] (wcstof): Expect function.
24014 [C99-based-standards] (wcstold): Likewise.
24015 [C99-based-standards] (wcstoll): Likewise.
24016 [C99-based-standards] (wcstoull): Likewise.
24017 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24018 macro-int-constant. Specify type.
24019 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24020 constraint on value.
24021 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24022 Specify type.
24023 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24024 Specify value.
24025 [ISO C standards]: Do not allow headers.
24026 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24027 wcs[abcdefghijklmnopqrstuvwxyz]*.
24028 [ISO C standards] (*_t): Do not allow.
24029 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24030 Expect function.
24031 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24032 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24033 Specify type.
24034 [ISO C standards]: Do not allow headers.
24035 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24036 is[abcdefghijklmnopqrstuvwxyz]*.
24037 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24038 to[abcdefghijklmnopqrstuvwxyz]*.
24039 [ISO C standards] (*_t): Do not allow.
24040 * conform/data/stdalign.h-data: New file.
24041 * conform/data/stdbool.h-data: Likewise.
24042 * conform/data/stdnoreturn.h-data: Likewise.
24043
7514feb8
RM
240442012-11-07 Roland McGrath <roland@hack.frob.com>
24045
24046 [BZ #14815]
24047 * manual/filesys.texi (Directory Entries): Typo fix.
24048 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24049
19b2ecfc
MS
240502012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24051
24052 * elf/elf.h (EM_AARCH64): New macro.
24053 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24054 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24055 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24056 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24057 (R_AARCH64_TLSDESC): Likewise.
24058 (NT_ARM_TLS): Likewise.
24059 (NT_ARM_HW_BREAK): Likewise.
24060 (NT_ARM_HW_WATCH): Likewise.
24061
60e235ee
JM
240622012-11-07 Joseph Myers <joseph@codesourcery.com>
24063
24064 [BZ #14811]
24065 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24066 (__ieee754_powl): Saturate nonzero exponents with absolute value
24067 below 0x1p-79 to +/- 0x1p-79.
24068 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24069 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24070 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24071 nonzero exponents with absolute value below 0x1p-32 to +/-
24072 0x1p-32.
24073 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24074 (__ieee754_powl): Saturate nonzero exponents with absolute value
24075 below 0x1p-79 to +/- 0x1p-79.
24076 * math/libm-test.inc (pow_test): Add more tests.
24077
0ab234b7
AK
240782012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24079
24080 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24081 _dl_s390_cap_flags with kernel. Increase string length.
24082 (_dl_s390_platforms): Add z196 and zEC12.
24083
45832f74
JM
240842012-11-07 Joseph Myers <joseph@codesourcery.com>
24085
24086 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24087 Change XOPEN21K to XOPEN2K.
24088
19218757
MK
240892012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24090
24091 * string/memmove.c: Use memcpy when possible.
24092
c5f45721
AJ
240932012-11-06 Andreas Jaeger <aj@suse.de>
24094
24095 * po/eo.po: Update from translation team.
24096
82477c28
JM
240972012-11-06 Joseph Myers <joseph@codesourcery.com>
24098
24099 [BZ #14793]
24100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24101 exponent and small x and y exponents, scale x or y up. Increase
24102 by 2 the exponent used in scaling up.
24103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24105 * math/libm-test.inc (fma_test): Add more tests.
24106 (fma_test_towardzero): Likewise.
24107 (fma_test_downward): Likewise.
24108 (fma_test_upward): Likewise.
24109
99252c8c
JM
241102012-11-05 Joseph Myers <joseph@codesourcery.com>
24111
acfa885f
JM
24112 [BZ #14805]
24113 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24114 fenv_t *.
24115
99252c8c
JM
24116 [BZ #14801]
24117 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24118 namespace for names of struct fields.
24119 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24120 fenv_t fields.
24121 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24122 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24123
d6d98dea
ST
241242012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24125
24126 [BZ #3665]
24127 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24128
e10bb107
TS
241292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24130
24131 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24132 PTR_DEMANGLE.
24133
24134 [BZ #5246]
24135 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24136 PTR_DEMANGLE.
24137
a0c2940d
JM
241382012-11-04 Joseph Myers <joseph@codesourcery.com>
24139
24140 [BZ #14797]
24141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24142 definitely overflow as x * y not x * y + z.
24143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24145 * math/libm-test.inc (fma_test): Add more tests.
24146 (fma_test_towardzero): Likewise.
24147 (fma_test_downward): Likewise.
24148 (fma_test_upward): Likewise.
24149
b830319d
TS
241502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24151
24152 [BZ #157]
24153
24154 * include/stub-tag.h: Remove file.
24155 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24156 '#include' of it.
24157 * manual/maint.texi (Porting): Don't reference it.
24158 * Makerules ($(objpfx)stubs): Likewise.
24159 * dirent/closedir.c: Don't include <stub-tag.h>.
24160 * dirent/dirfd.c: Likewise.
24161 * dirent/fdopendir.c: Likewise.
24162 * dirent/getdents.c: Likewise.
24163 * dirent/getdents64.c: Likewise.
24164 * dirent/opendir.c: Likewise.
24165 * dirent/readdir.c: Likewise.
24166 * dirent/readdir64.c: Likewise.
24167 * dirent/readdir64_r.c: Likewise.
24168 * dirent/readdir_r.c: Likewise.
24169 * dirent/rewinddir.c: Likewise.
24170 * dirent/seekdir.c: Likewise.
24171 * dirent/telldir.c: Likewise.
24172 * gmon/profil.c: Likewise.
24173 * grp/setgroups.c: Likewise.
24174 * inet/if_index.c: Likewise.
24175 * io/access.c: Likewise.
24176 * io/chdir.c: Likewise.
24177 * io/chmod.c: Likewise.
24178 * io/chown.c: Likewise.
24179 * io/close.c: Likewise.
24180 * io/dup.c: Likewise.
24181 * io/dup2.c: Likewise.
24182 * io/dup3.c: Likewise.
24183 * io/euidaccess.c: Likewise.
24184 * io/faccessat.c: Likewise.
24185 * io/fchdir.c: Likewise.
24186 * io/fchmod.c: Likewise.
24187 * io/fchmodat.c: Likewise.
24188 * io/fchown.c: Likewise.
24189 * io/fchownat.c: Likewise.
24190 * io/fcntl.c: Likewise.
24191 * io/flock.c: Likewise.
24192 * io/fstatfs.c: Likewise.
24193 * io/fstatfs64.c: Likewise.
24194 * io/fstatvfs.c: Likewise.
24195 * io/fstatvfs64.c: Likewise.
24196 * io/futimens.c: Likewise.
24197 * io/fxstat.c: Likewise.
24198 * io/fxstat64.c: Likewise.
24199 * io/fxstatat.c: Likewise.
24200 * io/fxstatat64.c: Likewise.
24201 * io/getcwd.c: Likewise.
24202 * io/isatty.c: Likewise.
24203 * io/lchmod.c: Likewise.
24204 * io/lchown.c: Likewise.
24205 * io/link.c: Likewise.
24206 * io/linkat.c: Likewise.
24207 * io/lseek.c: Likewise.
24208 * io/lseek64.c: Likewise.
24209 * io/lxstat64.c: Likewise.
24210 * io/mkdir.c: Likewise.
24211 * io/mkdirat.c: Likewise.
24212 * io/mkfifo.c: Likewise.
24213 * io/mkfifoat.c: Likewise.
24214 * io/open.c: Likewise.
24215 * io/open64.c: Likewise.
24216 * io/openat.c: Likewise.
24217 * io/openat64.c: Likewise.
24218 * io/pipe.c: Likewise.
24219 * io/pipe2.c: Likewise.
24220 * io/poll.c: Likewise.
24221 * io/posix_fadvise.c: Likewise.
24222 * io/posix_fadvise64.c: Likewise.
24223 * io/posix_fallocate.c: Likewise.
24224 * io/posix_fallocate64.c: Likewise.
24225 * io/read.c: Likewise.
24226 * io/readlink.c: Likewise.
24227 * io/readlinkat.c: Likewise.
24228 * io/rmdir.c: Likewise.
24229 * io/sendfile.c: Likewise.
24230 * io/sendfile64.c: Likewise.
24231 * io/statfs.c: Likewise.
24232 * io/statfs64.c: Likewise.
24233 * io/statvfs.c: Likewise.
24234 * io/statvfs64.c: Likewise.
24235 * io/symlink.c: Likewise.
24236 * io/symlinkat.c: Likewise.
24237 * io/ttyname.c: Likewise.
24238 * io/ttyname_r.c: Likewise.
24239 * io/umask.c: Likewise.
24240 * io/unlink.c: Likewise.
24241 * io/unlinkat.c: Likewise.
24242 * io/utime.c: Likewise.
24243 * io/utimensat.c: Likewise.
24244 * io/write.c: Likewise.
24245 * io/xmknod.c: Likewise.
24246 * io/xmknodat.c: Likewise.
24247 * io/xstat.c: Likewise.
24248 * io/xstat64.c: Likewise.
24249 * login/getpt.c: Likewise.
24250 * login/grantpt.c: Likewise.
24251 * login/unlockpt.c: Likewise.
24252 * math/e_acoshl.c: Likewise.
24253 * math/e_acosl.c: Likewise.
24254 * math/e_asinl.c: Likewise.
24255 * math/e_atan2l.c: Likewise.
24256 * math/e_atanhl.c: Likewise.
24257 * math/e_coshl.c: Likewise.
24258 * math/e_expl.c: Likewise.
24259 * math/e_fmodl.c: Likewise.
24260 * math/e_gammal_r.c: Likewise.
24261 * math/e_hypotl.c: Likewise.
24262 * math/e_j0l.c: Likewise.
24263 * math/e_j1l.c: Likewise.
24264 * math/e_jnl.c: Likewise.
24265 * math/e_lgammal_r.c: Likewise.
24266 * math/e_log10l.c: Likewise.
24267 * math/e_log2l.c: Likewise.
24268 * math/e_logl.c: Likewise.
24269 * math/e_powl.c: Likewise.
24270 * math/e_rem_pio2l.c: Likewise.
24271 * math/e_sinhl.c: Likewise.
24272 * math/e_sqrtl.c: Likewise.
24273 * math/fclrexcpt.c: Likewise.
24274 * math/fedisblxcpt.c: Likewise.
24275 * math/feenablxcpt.c: Likewise.
24276 * math/fegetenv.c: Likewise.
24277 * math/fegetexcept.c: Likewise.
24278 * math/fegetround.c: Likewise.
24279 * math/feholdexcpt.c: Likewise.
24280 * math/fesetenv.c: Likewise.
24281 * math/fesetround.c: Likewise.
24282 * math/feupdateenv.c: Likewise.
24283 * math/fgetexcptflg.c: Likewise.
24284 * math/fraiseexcpt.c: Likewise.
24285 * math/fsetexcptflg.c: Likewise.
24286 * math/ftestexcept.c: Likewise.
24287 * math/k_cosl.c: Likewise.
24288 * math/k_rem_pio2l.c: Likewise.
24289 * math/k_sinl.c: Likewise.
24290 * math/k_tanl.c: Likewise.
24291 * math/s_asinhl.c: Likewise.
24292 * math/s_atanl.c: Likewise.
24293 * math/s_cbrtl.c: Likewise.
24294 * math/s_erfl.c: Likewise.
24295 * math/s_expm1l.c: Likewise.
24296 * math/s_log1pl.c: Likewise.
24297 * math/s_tanhl.c: Likewise.
24298 * misc/acct.c: Likewise.
24299 * misc/brk.c: Likewise.
24300 * misc/chflags.c: Likewise.
24301 * misc/chroot.c: Likewise.
24302 * misc/fchflags.c: Likewise.
24303 * misc/fgetxattr.c: Likewise.
24304 * misc/flistxattr.c: Likewise.
24305 * misc/fremovexattr.c: Likewise.
24306 * misc/fsetxattr.c: Likewise.
24307 * misc/fsync.c: Likewise.
24308 * misc/ftruncate.c: Likewise.
24309 * misc/futimes.c: Likewise.
24310 * misc/futimesat.c: Likewise.
24311 * misc/getdomain.c: Likewise.
24312 * misc/getdtsz.c: Likewise.
24313 * misc/gethostid.c: Likewise.
24314 * misc/gethostname.c: Likewise.
24315 * misc/getloadavg.c: Likewise.
24316 * misc/getpagesize.c: Likewise.
24317 * misc/getsysstats.c: Likewise.
24318 * misc/getxattr.c: Likewise.
24319 * misc/gtty.c: Likewise.
24320 * misc/ioctl.c: Likewise.
24321 * misc/lgetxattr.c: Likewise.
24322 * misc/listxattr.c: Likewise.
24323 * misc/llistxattr.c: Likewise.
24324 * misc/lremovexattr.c: Likewise.
24325 * misc/lsetxattr.c: Likewise.
24326 * misc/lutimes.c: Likewise.
24327 * misc/madvise.c: Likewise.
24328 * misc/mincore.c: Likewise.
24329 * misc/mlock.c: Likewise.
24330 * misc/mlockall.c: Likewise.
24331 * misc/mmap.c: Likewise.
24332 * misc/mprotect.c: Likewise.
24333 * misc/msync.c: Likewise.
24334 * misc/munlock.c: Likewise.
24335 * misc/munlockall.c: Likewise.
24336 * misc/munmap.c: Likewise.
24337 * misc/preadv.c: Likewise.
24338 * misc/preadv64.c: Likewise.
24339 * misc/ptrace.c: Likewise.
24340 * misc/pwritev.c: Likewise.
24341 * misc/pwritev64.c: Likewise.
24342 * misc/readv.c: Likewise.
24343 * misc/reboot.c: Likewise.
24344 * misc/remap_file_pages.c: Likewise.
24345 * misc/removexattr.c: Likewise.
24346 * misc/revoke.c: Likewise.
24347 * misc/select.c: Likewise.
24348 * misc/setdomain.c: Likewise.
24349 * misc/setegid.c: Likewise.
24350 * misc/seteuid.c: Likewise.
24351 * misc/sethostid.c: Likewise.
24352 * misc/sethostname.c: Likewise.
24353 * misc/setregid.c: Likewise.
24354 * misc/setreuid.c: Likewise.
24355 * misc/setxattr.c: Likewise.
24356 * misc/sstk.c: Likewise.
24357 * misc/stty.c: Likewise.
24358 * misc/swapoff.c: Likewise.
24359 * misc/swapon.c: Likewise.
24360 * misc/sync.c: Likewise.
24361 * misc/syncfs.c: Likewise.
24362 * misc/syscall.c: Likewise.
24363 * misc/truncate.c: Likewise.
24364 * misc/ualarm.c: Likewise.
24365 * misc/usleep.c: Likewise.
24366 * misc/ustat.c: Likewise.
24367 * misc/utimes.c: Likewise.
24368 * misc/vhangup.c: Likewise.
24369 * misc/writev.c: Likewise.
24370 * posix/_exit.c: Likewise.
24371 * posix/alarm.c: Likewise.
24372 * posix/execve.c: Likewise.
24373 * posix/fexecve.c: Likewise.
24374 * posix/fork.c: Likewise.
24375 * posix/fpathconf.c: Likewise.
24376 * posix/getaddrinfo.c: Likewise.
24377 * posix/getegid.c: Likewise.
24378 * posix/geteuid.c: Likewise.
24379 * posix/getgid.c: Likewise.
24380 * posix/getgroups.c: Likewise.
24381 * posix/getlogin.c: Likewise.
24382 * posix/getlogin_r.c: Likewise.
24383 * posix/getpgid.c: Likewise.
24384 * posix/getpid.c: Likewise.
24385 * posix/getppid.c: Likewise.
24386 * posix/getresgid.c: Likewise.
24387 * posix/getresuid.c: Likewise.
24388 * posix/getsid.c: Likewise.
24389 * posix/getuid.c: Likewise.
24390 * posix/glob64.c: Likewise.
24391 * posix/nanosleep.c: Likewise.
24392 * posix/pathconf.c: Likewise.
24393 * posix/pause.c: Likewise.
24394 * posix/posix_madvise.c: Likewise.
24395 * posix/pread.c: Likewise.
24396 * posix/pread64.c: Likewise.
24397 * posix/pwrite.c: Likewise.
24398 * posix/pwrite64.c: Likewise.
24399 * posix/sched_getaffinity.c: Likewise.
24400 * posix/sched_getp.c: Likewise.
24401 * posix/sched_gets.c: Likewise.
24402 * posix/sched_primax.c: Likewise.
24403 * posix/sched_primin.c: Likewise.
24404 * posix/sched_rr_gi.c: Likewise.
24405 * posix/sched_setaffinity.c: Likewise.
24406 * posix/sched_setp.c: Likewise.
24407 * posix/sched_sets.c: Likewise.
24408 * posix/sched_yield.c: Likewise.
24409 * posix/setgid.c: Likewise.
24410 * posix/setlogin.c: Likewise.
24411 * posix/setpgid.c: Likewise.
24412 * posix/setresgid.c: Likewise.
24413 * posix/setresuid.c: Likewise.
24414 * posix/setsid.c: Likewise.
24415 * posix/setuid.c: Likewise.
24416 * posix/sleep.c: Likewise.
24417 * posix/spawni.c: Likewise.
24418 * posix/sysconf.c: Likewise.
24419 * posix/times.c: Likewise.
24420 * posix/wait.c: Likewise.
24421 * posix/wait3.c: Likewise.
24422 * posix/wait4.c: Likewise.
24423 * posix/waitpid.c: Likewise.
24424 * resolv/gai_sigqueue.c: Likewise.
24425 * resource/getpriority.c: Likewise.
24426 * resource/getrlimit.c: Likewise.
24427 * resource/getrusage.c: Likewise.
24428 * resource/nice.c: Likewise.
24429 * resource/setpriority.c: Likewise.
24430 * resource/setrlimit.c: Likewise.
24431 * resource/ulimit.c: Likewise.
24432 * rt/aio_cancel.c: Likewise.
24433 * rt/aio_fsync.c: Likewise.
24434 * rt/aio_read.c: Likewise.
24435 * rt/aio_sigqueue.c: Likewise.
24436 * rt/aio_suspend.c: Likewise.
24437 * rt/aio_write.c: Likewise.
24438 * rt/clock_getres.c: Likewise.
24439 * rt/clock_gettime.c: Likewise.
24440 * rt/clock_nanosleep.c: Likewise.
24441 * rt/clock_settime.c: Likewise.
24442 * rt/lio_listio.c: Likewise.
24443 * rt/mq_close.c: Likewise.
24444 * rt/mq_getattr.c: Likewise.
24445 * rt/mq_notify.c: Likewise.
24446 * rt/mq_open.c: Likewise.
24447 * rt/mq_receive.c: Likewise.
24448 * rt/mq_send.c: Likewise.
24449 * rt/mq_setattr.c: Likewise.
24450 * rt/mq_timedreceive.c: Likewise.
24451 * rt/mq_timedsend.c: Likewise.
24452 * rt/mq_unlink.c: Likewise.
24453 * rt/shm_open.c: Likewise.
24454 * rt/shm_unlink.c: Likewise.
24455 * rt/timer_create.c: Likewise.
24456 * rt/timer_delete.c: Likewise.
24457 * rt/timer_getoverr.c: Likewise.
24458 * rt/timer_gettime.c: Likewise.
24459 * rt/timer_settime.c: Likewise.
24460 * setjmp/__longjmp.c: Likewise.
24461 * setjmp/setjmp.c: Likewise.
24462 * signal/kill.c: Likewise.
24463 * signal/killpg.c: Likewise.
24464 * signal/raise.c: Likewise.
24465 * signal/sigaction.c: Likewise.
24466 * signal/sigaltstack.c: Likewise.
24467 * signal/sigblock.c: Likewise.
24468 * signal/sigignore.c: Likewise.
24469 * signal/sigintr.c: Likewise.
24470 * signal/signal.c: Likewise.
24471 * signal/sigpause.c: Likewise.
24472 * signal/sigpending.c: Likewise.
24473 * signal/sigqueue.c: Likewise.
24474 * signal/sigreturn.c: Likewise.
24475 * signal/sigset.c: Likewise.
24476 * signal/sigsetmask.c: Likewise.
24477 * signal/sigstack.c: Likewise.
24478 * signal/sigsuspend.c: Likewise.
24479 * signal/sigtimedwait.c: Likewise.
24480 * signal/sigvec.c: Likewise.
24481 * signal/sigwait.c: Likewise.
24482 * signal/sigwaitinfo.c: Likewise.
24483 * signal/sysv_signal.c: Likewise.
24484 * socket/accept.c: Likewise.
24485 * socket/accept4.c: Likewise.
24486 * socket/bind.c: Likewise.
24487 * socket/connect.c: Likewise.
24488 * socket/getpeername.c: Likewise.
24489 * socket/getsockname.c: Likewise.
24490 * socket/getsockopt.c: Likewise.
24491 * socket/isfdtype.c: Likewise.
24492 * socket/listen.c: Likewise.
24493 * socket/recv.c: Likewise.
24494 * socket/recvfrom.c: Likewise.
24495 * socket/recvmsg.c: Likewise.
24496 * socket/send.c: Likewise.
24497 * socket/sendmsg.c: Likewise.
24498 * socket/sendto.c: Likewise.
24499 * socket/setsockopt.c: Likewise.
24500 * socket/shutdown.c: Likewise.
24501 * socket/sockatmark.c: Likewise.
24502 * socket/socket.c: Likewise.
24503 * socket/socketpair.c: Likewise.
24504 * stdio-common/ctermid.c: Likewise.
24505 * stdio-common/cuserid.c: Likewise.
24506 * stdio-common/remove.c: Likewise.
24507 * stdio-common/rename.c: Likewise.
24508 * stdio-common/renameat.c: Likewise.
24509 * stdio-common/tempname.c: Likewise.
24510 * stdlib/getcontext.c: Likewise.
24511 * stdlib/makecontext.c: Likewise.
24512 * stdlib/setcontext.c: Likewise.
24513 * stdlib/swapcontext.c: Likewise.
24514 * stdlib/system.c: Likewise.
24515 * streams/fattach.c: Likewise.
24516 * streams/fdetach.c: Likewise.
24517 * streams/getmsg.c: Likewise.
24518 * streams/getpmsg.c: Likewise.
24519 * streams/putmsg.c: Likewise.
24520 * streams/putpmsg.c: Likewise.
24521 * sysdeps/unix/bsd/getpt.c: Likewise.
24522 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24523 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24524 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24526 Likewise.
24527 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24528 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24529 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24530 * sysvipc/msgctl.c: Likewise.
24531 * sysvipc/msgget.c: Likewise.
24532 * sysvipc/msgrcv.c: Likewise.
24533 * sysvipc/msgsnd.c: Likewise.
24534 * sysvipc/semctl.c: Likewise.
24535 * sysvipc/semget.c: Likewise.
24536 * sysvipc/semop.c: Likewise.
24537 * sysvipc/semtimedop.c: Likewise.
24538 * sysvipc/shmat.c: Likewise.
24539 * sysvipc/shmctl.c: Likewise.
24540 * sysvipc/shmdt.c: Likewise.
24541 * sysvipc/shmget.c: Likewise.
24542 * termios/tcdrain.c: Likewise.
24543 * termios/tcflow.c: Likewise.
24544 * termios/tcflush.c: Likewise.
24545 * termios/tcgetattr.c: Likewise.
24546 * termios/tcgetpgrp.c: Likewise.
24547 * termios/tcsendbrk.c: Likewise.
24548 * termios/tcsetattr.c: Likewise.
24549 * termios/tcsetpgrp.c: Likewise.
24550 * time/adjtime.c: Likewise.
24551 * time/clock.c: Likewise.
24552 * time/getitimer.c: Likewise.
24553 * time/gettimeofday.c: Likewise.
24554 * time/setitimer.c: Likewise.
24555 * time/settimeofday.c: Likewise.
24556 * time/stime.c: Likewise.
24557 * time/time.c: Likewise.
24558
245592012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24560
a20492cf
PT
24561 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24562 /usr/old/bin.
24563
72e182e3
PT
24564 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24565 instead of spaces.
24566 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24567
fbeafede
JM
245682012-11-03 Joseph Myers <joseph@codesourcery.com>
24569
5b5b04d6
JM
24570 [BZ #14796]
24571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24572 FE_TONEAREST before applying Dekker multiplication and Knuth
24573 addition. Clear inexact exceptions and check for exact zero
24574 results afterwards.
24575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24576 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24578 * math/libm-test.inc (fma_test): Add more tests.
24579 (fma_test_towardzero): Likewise.
24580 (fma_test_downward): Likewise.
24581 (fma_test_upward): Likewise.
24582 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24583 function.
24584 (libc_fesetround): New macro.
24585 (libc_fesetroundf): Likewise.
24586 (libc_fesetroundl): Likewise.
24587 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24588 function.
24589 (libc_fesetround_387): Likewise.
24590 (libc_fesetroundf): New macro.
24591 (libc_fesetround): Likewise.
24592 (libc_fesetroundl): Likewise.
24593 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24594 function.
24595 (libc_fesetroundf): New macro.
24596 (libc_fesetround): Likewise.
24597 (libc_fesetroundl): Likewise.
24598 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24599 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24600 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24601 libm_hidden_ver.
24602 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24603 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24604 libm_hidden_def.
24605 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24606 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24607 libm_hidden_ver.
24608 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24609 libm_hidden_def.
24610
fbeafede
JM
24611 [BZ #3439]
24612 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24613 integer constant usable in #if and use that to give value to enum
24614 constant.
24615 (FE_DIVBYZERO): Likewise.
24616 (FE_UNDERFLOW): Likewise.
24617 (FE_OVERFLOW): Likewise.
24618 (FE_INVALID): Likewise.
24619 (FE_INVALID_SNAN): Likewise.
24620 (FE_INVALID_ISI): Likewise.
24621 (FE_INVALID_IDI): Likewise.
24622 (FE_INVALID_ZDZ): Likewise.
24623 (FE_INVALID_IMZ): Likewise.
24624 (FE_INVALID_COMPARE): Likewise.
24625 (FE_INVALID_SOFTWARE): Likewise.
24626 (FE_INVALID_SQRT): Likewise.
24627 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24628 (FE_TONEAREST): Likewise.
24629 (FE_TOWARDZERO): Likewise.
24630 (FE_UPWARD): Likewise.
24631 (FE_DOWNWARD): Likewise.
24632 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24633 (FE_DIVBYZERO): Likewise.
24634 (FE_OVERFLOW): Likewise.
24635 (FE_UNDERFLOW): Likewise.
24636 (FE_INEXACT): Likewise.
24637 (FE_TONEAREST): Likewise.
24638 (FE_DOWNWARD): Likewise.
24639 (FE_UPWARD): Likewise.
24640 (FE_TOWARDZERO): Likewise.
24641 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24642 (FE_UNDERFLOW): Likewise.
24643 (FE_OVERFLOW): Likewise.
24644 (FE_DIVBYZERO): Likewise.
24645 (FE_INVALID): Likewise.
24646 (FE_TONEAREST): Likewise.
24647 (FE_TOWARDZERO): Likewise.
24648 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24649 (FE_OVERFLOW): Likewise.
24650 (FE_UNDERFLOW): Likewise.
24651 (FE_DIVBYZERO): Likewise.
24652 (FE_INEXACT): Likewise.
24653 (FE_TONEAREST): Likewise.
24654 (FE_TOWARDZERO): Likewise.
24655 (FE_UPWARD): Likewise.
24656 (FE_DOWNWARD): Likewise.
24657 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24658 (FE_DIVBYZERO): Likewise.
24659 (FE_OVERFLOW): Likewise.
24660 (FE_UNDERFLOW): Likewise.
24661 (FE_INEXACT): Likewise.
24662 (FE_TONEAREST): Likewise.
24663 (FE_DOWNWARD): Likewise.
24664 (FE_UPWARD): Likewise.
24665 (FE_TOWARDZERO): Likewise.
24666
105ca950
CM
246672012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24668
24669 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24670
a542b389
AS
246712012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24672
24673 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24674 commands. Quote $PWD.
24675 (blacklist_exports): Don't use remove_newlines. Replace "declare
24676 -x" by "export".
24677 (remove_newlines): Remove.
24678
f62c8abc
L
246792012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24680
24681 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24682 * stdlib/stdlib.h (atof): Moved to ...
24683 * include/bits/stdlib-float.h: Here. New file.
24684 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24685 * stdlib/bits/stdlib-float.h: New file.
24686 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24687 -mno-sse -mno-mmx.
24688 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24689 <xmmintrin.h>.
24690
0155d5b2
JM
246912012-11-02 Joseph Myers <joseph@codesourcery.com>
24692
a68d0680
JM
24693 * conform/conformtest.pl (@headers): Add fenv.h.
24694 * conform/data/fenv.h-data: New file.
24695 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24696 include of <math/fenv.h>.
24697
caf7f573
JM
24698 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24699 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24700 && !UNIX98]. Enables tests for XOPEN2K8.
24701 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24702 POSIX2008]: Likewise.
24703
6c073ad6
JM
24704 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24705 (struct rusage): Do not expect type or its members.
24706
0155d5b2
JM
24707 [BZ #3439]
24708 * math/math.h (FP_NAN): Define macro to integer constant usable in
24709 #if and use that to give value to enum constant.
24710 (FP_INFINITE): Likewise.
24711 (FP_ZERO): Likewise.
24712 (FP_SUBNORMAL): Likewise.
24713 (FP_NORMAL): Likewise.
24714
b5dcacb4
AS
247152012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24716
24717 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24718 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24719 arguments.
24720
f7934be8
RM
247212012-11-02 Roland McGrath <roland@hack.frob.com>
24722
24723 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24724 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24725 autoconf-time if not.
24726 * configure.in: Remove AC_PREREQ.
24727
d7d08bde
TMQMF
247282012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24729
24730 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24731 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24732 of the internal implementation.
24733
dcdae19a
JM
247342012-11-02 Joseph Myers <joseph@codesourcery.com>
24735
24736 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24737 except include of <misc/sys/syslog.h>.
24738
d6cffd3e
AS
247392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24740
24741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24742 function returns with a NULL context exit with zero.
24743
b3563932
TMQMF
247442012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24745
24746 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24747
b288a93d
L
247482012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24749
24750 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24751 (run_program_cmd): This.
24752 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24753 (tst_langinfo): New variable. Use it.
24754
a2421a68
SAS
247552012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24756
24757 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24758 floating point opcodes.
24759
6f796e1b
TS
247602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24761
7402596b
TS
24762 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24763 variable.
24764
d0d4f868
TS
24765 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24766
6f796e1b
TS
24767 * sysdeps/mach/hurd/powerpc: Remove directory.
24768 * sysdeps/mach/powerpc: Likewise.
24769
4da224a2
AS
247702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24771
24772 * scripts/check-local-headers.sh: Ignore c++ headers.
24773
341dd673
TS
247742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24775
24776 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24777 __libc_cleanup_region_start argument.
24778
473611b2
JM
247792012-11-01 Joseph Myers <joseph@codesourcery.com>
24780
24781 [BZ #14784]
24782 [BZ #14785]
24783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24784 x * y using scaling, not as x * y + z.
24785 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24786 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24787 * math/libm-test.inc (fma_test): Add more tests.
24788 (fma_test_towardzero): Likewise.
24789 (fma_test_downward): Likewise.
24790 (fma_test_upward): Likewise.
24791
4078da3d
TS
247922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24793
24794 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24795
903252aa
JM
247962012-10-31 Joseph Myers <joseph@codesourcery.com>
24797
24798 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24799 New variable.
24800
cbc818d0
TS
248012012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24802
24803 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24804
5a03cb1e
AS
248052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24806
24807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24808 Fix sort order.
24809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24810 Likewise.
24811
90aff2ff
TMQMF
248122012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24813
24814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24815 Fix the order of the list for glibc 2.17.
24816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24817 Likewise.
24818
1818fcb7
AS
248192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24820
24821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24822
ef82f4da
JM
248232012-10-31 Joseph Myers <joseph@codesourcery.com>
24824
16a0e2ec
JM
24825 [BZ #14610]
24826 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24827 for low part of x being zero before using __atanl (y).
24828 * math/libm-test.inc (atan2_test): Add another test.
24829
0eb69512
JM
24830 * manual/install.texi (Configuring and compiling): Document
24831 general use of test-wrapper and test-wrapper-env.
24832 * INSTALL: Regenerated.
24833
ef82f4da
JM
24834 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24835 (__fma): Do not extract and scale down low bits on after-rounding
24836 systems when result rounded to normal precision would have normal
24837 exponent.
24838 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24839 (__fmal): Do not extract and scale down low bits on after-rounding
24840 systems when result rounded to normal precision would have normal
24841 exponent.
24842 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24843 (__fmal): Do not extract and scale down low bits on after-rounding
24844 systems when result rounded to normal precision would have normal
24845 exponent.
24846 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24847 macro.
24848 (fma_test): Add more tests.
24849 (fma_test_towardzero): Likewise.
24850 (fma_test_downward): Likewise.
24851 (fma_test_upward): Likewise.
24852
954ef0d9
L
248532012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24854
24855 * sysdeps/i386/tininess.h: Renamed to ...
24856 * sysdeps/x86/tininess.h: This.
24857 * sysdeps/x86_64/tininess.h: Removed.
24858
df61ffb2
JM
248592012-10-30 Joseph Myers <joseph@codesourcery.com>
24860
24861 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24862 input. Use $(build-program-cmd).
24863 ($(objpfx)tst-array1-static.out): Likewise.
24864 ($(objpfx)tst-array2.out): Likewise.
24865 ($(objpfx)tst-array3.out): Likewise.
24866 ($(objpfx)tst-array4.out): Likewise.
24867 ($(objpfx)tst-array5.out): Likewise.
24868 ($(objpfx)tst-array5-static.out): Likewise.
24869
01767843
CM
248702012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24871
47cc1490
CM
24872 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24873 if defined.
24874
01767843
CM
24875 * nss/nsswitch.h (nss_interface_function): Provide new
24876 macro for use with NSS functions.
24877 * grp/initgroups.c: Use new macro.
24878 * nss/getXXbyYY.c: Likewise.
24879 * nss/getXXbyYY_r.c: Likewise.
24880 * nss/getXXent.c: Likewise.
24881 * nss/getXXent_r.c: Likewise.
24882 * sysdeps/posix/getaddrinfo.c: Likewise.
24883
8321aa97
AJ
248842012-10-30 Andreas Jaeger <aj@suse.de>
24885
24886 * po/ru.po: Update Russion translation from translation project.
24887
2a27fd6d
JM
248882012-10-30 Joseph Myers <joseph@codesourcery.com>
24889
8627a232
JM
24890 [BZ #14152]
24891 [BZ #14783]
24892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24893 result and shift together with sticky bit instead of replicating
24894 round-to-nearest rounding.
24895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24897 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24898 missing underflow exceptions.
24899 (fma_test_towardzero): Add more tests.
24900 (fma_test_downward): Likewise.
24901 (fma_test_upward): Likewise.
24902
2a27fd6d
JM
24903 [BZ #14047]
24904 * sysdeps/generic/tininess.h: New file.
24905 * sysdeps/i386/tininess.h: Likewise.
24906 * sysdeps/sh/tininess.h: Likewise.
24907 * sysdeps/x86_64/tininess.h: Likewise.
24908 * stdlib/tst-strtod-underflow.c: Likewise.
24909 * stdlib/tst-tininess.c: Likewise.
24910 * stdlib/strtod_l.c: Include <tininess.h>.
24911 (round_and_return): Do not set errno for exact underflow cases.
24912 Force an underflow exception when setting errno for underflow.
24913 Determine underflow based on rounding to normal precision if
24914 TININESS_AFTER_ROUNDING.
24915 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24916 ERANGE for exact underflow cases.
24917 * stdlib/Makefile (tests): Add tst-tininess and
24918 tst-strtod-underflow.
24919 ($(objpfx)tst-tininess): Use $(link-libm).
24920 ($(objpfx)tst-strtod-underflow): Likewise.
24921
e7170363
AJ
249222012-10-30 Andreas Jaeger <aj@suse.de>
24923
e5088dc6
AJ
24924 [BZ#14767]
24925 * elf/Makefile (tests): Remove conditional for have-initfini-array
24926 since this is now always required and the variable does not exist
24927 anymore.
24928 (tests-static): Likewise.
24929 (modules-names): Likewise.
24930
e7170363 24931 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24932
24933 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24934 merged with constructor/destructor.
24935 (init_array): Likewise.
24936 * elf/tst-array2dep.c (fini_array): Likewise.
24937 (init_array): Likewise.
24938
60457d8a
MF
249392012-10-29 Mike Frysinger <vapier@gentoo.org>
24940
24941 * manual/message.texi: Delete @cartouche tags.
24942
8bece752
PT
249432012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24944
94ce799f
PT
24945 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24946 EOPNOTSUPP.
24947 * sysdeps/mach/hurd/fsync.c: Likewise.
24948
8bece752
PT
24949 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24950 [_POSIX_REALTIME_SIGNALS]: Change condition to
24951 [_POSIX_REALTIME_SIGNALS > 0].
24952
86ebe6b1
AJ
249532012-10-27 Andreas Jaeger <aj@suse.de>
24954
24955 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24956 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24958 [__WORDSIZE != 64]: Likewise.
24959
54399c08
L
249602012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24961
24962 * iconvdata/tst-table.sh: Remove ${SHELL}.
24963 * iconvdata/tst-tables.sh: Likewise.
24964
e2211bed
DM
249652012-10-25 David S. Miller <davem@davemloft.net>
24966
24967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24968 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24969 of strtoull.
24970
f303f97c
DM
24971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24972 ifunc-impl-list.c
24973 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24974 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24975 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24976 file.
24977
1e9d84cd
RM
249782012-10-25 Roland McGrath <roland@hack.frob.com>
24979
24980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24981 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24982 __getdirentries.
24983
df381762
JM
249842012-10-25 Joseph Myers <joseph@codesourcery.com>
24985 Jim Blandy <jimb@codesourcery.com>
24986
24987 * scripts/cross-test-ssh.sh: New file.
24988 * manual/install.texi (Configuring and compiling): Document use of
24989 cross-test-ssh.sh.
24990 * INSTALL: Regenerated.
24991
bff64913
PT
249922012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24993
24994 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24995 EOPNOTSUPP.
24996
25fe8932
JM
249972012-10-25 Joseph Myers <joseph@codesourcery.com>
24998
24999 * Makeconfig (run-program-prefix): Fix comment.
25000
cc1290d0
JM
250012012-10-24 Joseph Myers <joseph@codesourcery.com>
25002 Jim Blandy <jimb@codesourcery.com>
25003
25004 * Makeconfig (test-wrapper): New variable,
25005 (test-wrapper-env): Likewise.
25006 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25007 (run-built-tests): Define to yes.
25008 (run-program-prefix): Use $(test-wrapper).
25009 (built-program-cmd): Likewise.
25010 * Rules (make-test-out): Use $(test-wrapper-env) and
25011 $(host-built-program-cmd).
25012 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25013 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25014 tst-pathopt.sh.
25015 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25016 $(test-wrapper-env) to tst-rtld-load-self.sh.
25017 ($(objpfx)order2.out): Use $(test-wrapper).
25018 ($(objpfx)tst-initorder.out): Likewise.
25019 ($(objpfx)tst-initorder2.out): Likewise.
25020 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25021 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25022 (test_wrapper_env): New variable. Use it to run ld.so.
25023 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25024 Use it to run ld.so.
25025 (test_wrapper_env): Likewise.
25026 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25027 $(test-wrapper) to run-iconv-test.sh.
25028 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25029 (ICONV): Use $test_wrapper.
25030 * posix/Makefile ($(objpfx)globtest.out): Pass
25031 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25032 globtest.sh, not $(run-program-prefix).
25033 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25034 (test_wrapper): Likewise.
25035 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25036 set together with run_via_rtld_prefix.
25037 (run_program_prefix): Define in terms of test_wrapper and
25038 run_via_rtld_prefix.
25039
6e6249d0
RM
250402012-10-24 Roland McGrath <roland@hack.frob.com>
25041
25042 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25043 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25044 Targets removed.
25045
25046 [BZ #14743]
25047 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25048 Declare __clock_getres, __clock_gettime, __clock_settime,
25049 __clock_nanosleep, and __clock_getcpuclockid.
25050 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25051 Remove librt_hidden_def (clock_gettime).
25052 * sysdeps/unix/clock_gettime.c: Likewise.
25053 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25054 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25055 * rt/clock_getres.c: Define __clock_getres as an alias.
25056 * sysdeps/posix/clock_getres.c: Likewise.
25057 * rt/clock_settime.c: Define __clock_settime as an alias.
25058 * sysdeps/unix/clock_settime.c: Likewise.
25059 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25060 * sysdeps/unix/clock_nanosleep.c: Likewise.
25061 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25062 * rt/clock-compat.c: New file.
25063 * rt/Makefile (librt-routines): Add clock-compat and move
25064 $(clock-routines) to ...
25065 (routines): ... here, new variable.
25066 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25067 Don't add get_clockfreq here.
25068 * rt/Versions (libc: GLIBC_2.17): New version set.
25069 Add clock_* symbols here.
25070 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25071 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25072 (GLIBC_2.17): Add clock_* symbols.
25073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25075 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25077 Likewise.
25078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25079 Likewise.
25080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25084 * NEWS: Mention the move.
25085
25086 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25087 Use __open, __read, __close rather than their public counterparts.
25088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25089 (__get_clockfreq_via_cpuinfo): Likewise.
25090 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25091 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25092
25093 * config.h.in (HAVE_IFUNC): New #undef.
25094 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25095 was successful.
25096 * configure: Regenerated.
25097
0cae3f4b
MF
250982012-10-24 Mike Frysinger <vapier@gentoo.org>
25099
25100 * configure.in: Move READELF check to start of file.
25101 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25102 libc_cv_asm_gnu_indirect_function in the process.
25103 * configure: Regenerated.
25104
8175a253
MF
251052012-10-24 Mike Frysinger <vapier@gentoo.org>
25106
25107 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25108 send the output to /dev/null.
25109 (libc_cv_cc_with_libunwind): Likewise.
25110 (libc_cv_as_noexecstack): Likewise.
25111 * configure: Regenerate.
25112
0708a7d1
JM
251132012-10-24 Joseph Myers <joseph@codesourcery.com>
25114
10b40d85
JM
25115 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25116
0708a7d1
JM
25117 * posix/globtest.sh (TMPDIR): Do not set.
25118 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25119 (testout): Likewise.
25120
9fddec1a
AJ
251212012-10-24 Andreas Jaeger <aj@suse.de>
25122
3a8db22f
AJ
25123 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25124 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25125 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25126 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25127 posix_fadvise64, posix_fallocate64.
25128
9fddec1a
AJ
25129 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25130 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25131 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25132 Likewise.
25133 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25134 Likewise.
25135 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25136
25137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25138 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25139 <bits/fcntl-linux.h>.
25140 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25141
25142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25143 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25144 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25145 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25146 [__WORDSIZE != 64]: Likewise.
25147
ebfd1bbd
JM
251482012-10-23 Joseph Myers <joseph@codesourcery.com>
25149
03ac099f
JM
25150 * Makeconfig (run-built-tests): New variable.
25151 * Rules [$(cross-compiling) = yes]: Change condition to
25152 [$(run-built-tests) = no].
25153 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25154 to [$(run-built-tests) = yes].
25155 * elf/Makefile [$(cross-compiling) = no]: Likewise
25156 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25157 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25158 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25159 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25160 * io/Makefile [$(cross-compiling) = no]: Likewise.
25161 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25162 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25163 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25164 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25165 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25166 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25167 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25168 * string/Makefile [$(cross-compiling) = no]: Likewise.
25169
ebfd1bbd
JM
25170 * posix/Makefile ($(objpfx)globtest.out): Pass
25171 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25172 $(rtld-installed-name).
25173 * posix/globtest.sh (elf_objpfx): Remove variable.
25174 (rtld_installed_name): Likewise.
25175 (library_path): Likewise.
25176 (run_program_prefix): New variable. Use for running globtest
25177 binary.
25178
166bca24
JB
251792012-10-23 Jim Blandy <jimb@codesourcery.com>
25180 Joseph Myers <joseph@codesourcery.com>
25181
25182 * Makeconfig (host-built-program-cmd): New variable.
25183 * elf/Makefile (tst-stackguard1-ARGS): Use
25184 $(host-built-program-cmd).
25185 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25186 (tst-spawn-ARGS): Likewise.
25187 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25188
88866099
JM
251892012-10-23 Joseph Myers <joseph@codesourcery.com>
25190 Jim Blandy <jimb@codesourcery.com>
25191
25192 * Makeconfig (run-via-rtld-prefix): New variable.
25193 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25194 (built-program-cmd): Likewise.
25195
b4b4c296
AJ
251962012-10-22 Andreas Jaeger <aj@suse.de>
25197
25198 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25199 __O_RSYNC if it exists, otherwise to O_SYNC.
25200
6fb54a22
JB
252012012-10-22 Jim Blandy <jimb@codesourcery.com>
25202 Joseph Myers <joseph@codesourcery.com>
25203
25204 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25205 /dev/null.
25206 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25207 from /dev/null
25208 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25209 /dev/null.
25210
481b90b9
AJ
252112012-10-22 Andreas Jaeger <aj@suse.de>
25212
2a0e2669
AJ
25213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25214 Define always.
25215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25216
76e38f9a
AJ
25217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25218 bits/fcntl-linux.h.
25219
7cd37b43
AJ
25220 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25221 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25222
481b90b9
AJ
25223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25224 to __O_LARGEFILE.
25225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25226 to __O_LARGEFILE.
25227
aba75984
JB
252282012-10-21 Jim Blandy <jimb@codesourcery.com>
25229 Joseph Myers <joseph@codesourcery.com>
25230
25231 * config.make.in (NM): New variable.
25232
88d4247f
AJ
252332012-10-21 Andreas Jaeger <aj@suse.de>
25234
25235 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25236 definitions and declarations that are provided by
25237 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25238
f2eed205
L
252392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25240
25241 [BZ #14683]
25242 * elf/Makefile (tests-static): Add tst-leaks1-static.
25243 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25244 ($(objpfx)tst-leaks1-static): New rule.
25245 ($(objpfx)tst-leaks1-static-mem): Likewise.
25246 (tst-leaks1-static-ENV): New macro.
25247 * elf/dl-open.c (dl_open_worker): Check the main application
25248 only if SHARED is defined.
25249 * elf/tst-leaks1-static.c: New file.
25250
335e6931
AJ
252512012-10-20 Andreas Jaeger <aj@suse.de>
25252
25253 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25254 generic values for Linux.
25255 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25256 and declarations that are provided by <bits/fcntl-linux.h> and
25257 include <bits/fcntl-linux.h>.
25258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25260
ac5c94d3
RM
252612012-10-20 Roland McGrath <roland@hack.frob.com>
25262
25263 * io/fcntl.h: Move include of <bits/types.h> to the top and
25264 include it unconditionally.
25265
de54b33a
L
252662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25267
228cfb01
L
25268 * wcsmbs/Makefile (tests-ifunc): New variable.
25269 (tests): Add $(tests-ifunc).
25270 * wcsmbs/test-wcschr-ifunc.c: New file.
25271 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25272 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25273 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25274 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25275 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25276
69f07e5f
L
25277 * string/Makefile (tests-ifunc): New variable.
25278 (tests): Add $(tests-ifunc).
25279 * string/test-memccpy.c (TEST_NAME): New macro.
25280 * string/test-memchr.c (TEST_NAME): Likewise.
25281 * string/test-memcmp.c (TEST_NAME): Likewise.
25282 * string/test-memcpy.c (TEST_NAME): Likewise.
25283 * string/test-memmem.c (TEST_NAME): Likewise.
25284 * string/test-memmove.c (TEST_NAME): Likewise.
25285 * string/test-memset.c (TEST_NAME): Likewise.
25286 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25287 * string/test-stpcpy.c (TEST_NAME): Likewise.
25288 * string/test-stpncpy.c (TEST_NAME): Likewise.
25289 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25290 * string/test-strcasestr.c (TEST_NAME): Likewise.
25291 * string/test-strcat.c (TEST_NAME): Likewise.
25292 * string/test-strchr.c (TEST_NAME): Likewise.
25293 * string/test-strcmp.c(TEST_NAME): Likewise.
25294 * string/test-strcpy.c (TEST_NAME): Likewise.
25295 * string/test-strcspn.c (TEST_NAME): Likewise.
25296 * string/test-strlen.c (TEST_NAME): Likewise.
25297 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25298 * string/test-strncmp.c (TEST_NAME): Likewise.
25299 * string/test-strncpy.c (TEST_NAME): Likewise.
25300 * string/test-strnlen.c (TEST_NAME): Likewise.
25301 * string/test-strpbrk.c (TEST_NAME): Likewise.
25302 * string/test-strrchr.c (TEST_NAME): Likewise.
25303 * string/test-strspn.c (TEST_NAME): Likewise.
25304 * string/test-strstr.c (TEST_NAME): Likewise.
25305 * string/test-bcopy-ifunc.c: New file.
25306 * string/test-bzero-ifunc.c: Likewise.
25307 * string/test-memccpy-ifunc.c: Likewise.
25308 * string/test-memchr-ifunc.c: Likewise.
25309 * string/test-memcmp-ifunc.c: Likewise.
25310 * string/test-memcpy-ifunc.c: Likewise.
25311 * string/test-memmem-ifunc.c: Likewise.
25312 * string/test-memmove-ifunc.c: Likewise.
25313 * string/test-mempcpy-ifunc.c: Likewise.
25314 * string/test-memset-ifunc.c: Likewise.
25315 * string/test-rawmemchr-ifunc.c: Likewise.
25316 * string/test-stpcpy-ifunc.c: Likewise.
25317 * string/test-stpncpy-ifunc.c: Likewise.
25318 * string/test-strcasecmp-ifunc.c: Likewise.
25319 * string/test-strcasestr-ifunc.c: Likewise.
25320 * string/test-strcat-ifunc.c: Likewise.
25321 * string/test-strchr-ifunc.c: Likewise.
25322 * string/test-strchrnul-ifunc.c: Likewise.
25323 * string/test-strcmp-ifunc.c: Likewise.
25324 * string/test-strcpy-ifunc.c: Likewise.
25325 * string/test-strcspn-ifunc.c: Likewise.
25326 * string/test-strlen-ifunc.c: Likewise.
25327 * string/test-strncasecmp-ifunc.c: Likewise.
25328 * string/test-strncat-ifunc.c: Likewise.
25329 * string/test-strncmp-ifunc.c: Likewise.
25330 * string/test-strncpy-ifunc.c: Likewise.
25331 * string/test-strnlen-ifunc.c: Likewise.
25332 * string/test-strpbrk-ifunc.c: Likewise.
25333 * string/test-strrchr-ifunc.c: Likewise.
25334 * string/test-strspn-ifunc.c: Likewise.
25335 * string/test-strstr-ifunc.c: Likewise.
25336
de54b33a
L
25337 * debug/Makefile (tests-ifunc): New variable.
25338 (tests): Add $(tests-ifunc).
25339 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25340 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25341 * debug/test-stpcpy_chk-ifunc.c: New file.
25342 * debug/test-strcpy_chk-ifunc.c: Likewise.
25343
88481c16
SP
253442012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25345
25346 [BZ #13601]
25347 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25348 header is not read in.
25349
135948bd
JM
253502012-10-19 Joseph Myers <joseph@codesourcery.com>
25351
89f1c388
JM
25352 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25353 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25354 directly. Pass built executable to script as
25355 $(built-program-cmd).
25356 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25357 $testprogram without using LD_LIBRARY_PATH and $ldso.
25358
e40a0d21
JM
25359 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25360 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25361 $(rtld-installed-name).
25362 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25363 (rtld_installed_name): Likewise.
25364 (library_path): Likewise.
25365 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25366 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25367 $(run-program-prefix) to tst-tables.sh.
25368 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25369 it to run tst-table-from and tst-table-to.
25370 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25371 Pass it to tst-table.sh.
25372 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25373 $(run-program-prefix) to tst-gettext.sh.
25374 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25375 tst-translit.sh.
25376 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25377 tst-gettext2.sh.
25378 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25379 to run tst-gettext.
25380 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25381 to run tst-gettext2.
25382 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25383 to run tst-translit.
25384 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25385 $(run-program-prefix) to tst-mtrace.sh.
25386 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25387 to run tst-mtrace.
25388 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25389 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25390 $(rtld-installed-name).
25391 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25392 (rtld_installed_name): Likewise.
25393 (run_program_prefix): New variable. Use it to run wordexp-test.
25394
728e272a
JM
25395 * Makeconfig (ARCH): Remove all definitions.
25396 (machine): Likewise.
25397 [ARCH]: Remove conditional code.
25398 [!objdir]: Give error.
25399 [!objdir] (objpfx): Remove.
25400 [!objdir] (common-objpfx): Likewise.
25401 [!objdir] (common-objdir): Likewise.
25402 * configure.in (config_makefile): Remove. Hardcode Makefile in
25403 AC_CONFIG_FILES call.
25404 * configure: Regenerated.
25405
d528cdcf
JM
25406 [BZ #13888]
25407 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25408 or TMPDIR.
25409 (testout): Likewise.
25410
135948bd
JM
25411 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25412 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25413 $(rtld-installed-name).
25414 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25415 (rtld_installed_name): Likwise.
25416 (runit): Remove function.
25417 (run_getconf): New variable, Use it for running getconf binary.
25418
38c78296
L
254192012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25420
25421 [BZ #14716]
25422 * string/test-memmem.c (check_result): New function.
25423 (do_one_test): Use it.
25424 (check1): New function.
25425 (test_main): Use it.
25426
d077f65f
MT
254272012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25428
25429 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25430
ced52c71
JM
254312012-10-18 Joseph Myers <joseph@codesourcery.com>
25432
25433 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25434 (_G_LSEEK64): Likewise.
25435 (_G_MMAP64): Likewise.
25436 (_G_FSTAT64): Likewise.
25437 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25438 (_G_LSEEK64): Likewise.
25439 (_G_MMAP64): Likewise.
25440 (_G_FSTAT64): Likewise.
25441 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25442 unconditional. Call __mmap64 directly.
25443 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25444 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25445 __lseek64 directly.
25446 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25447 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25448 __mmap64 directly.
25449 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25450 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25451 __lseek64 directly.
25452 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25453 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25454 __lseek64 directly.
25455 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25456 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25457 __lseek64 directly.
25458 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25459 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25460 __fxstat64 directly.
25461 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25462 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25463 unconditional.
25464 (freopen64) [!_G_OPEN64]: Remove conditional code.
25465 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25466 unconditional.
25467 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25468 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25469 unconditional.
25470 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25471 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25472 unconditional.
25473 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25474 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25475 unconditional.
25476 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25477 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25478 unconditional.
25479 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25480 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25481 unconditional.
25482 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25483 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25484 unconditional.
25485 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25486
b741de23
SP
254872012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25488
25489 [BZ #12140]
25490 * manual/memory.texi (Malloc Tunable Parameters): Add note
25491 about free list pointers overwriting some perturb bytes.
25492 Wording suggested by Roland McGrath.
25493
f9b9d9c9
JM
254942012-10-17 Joseph Myers <joseph@codesourcery.com>
25495
25496 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25497 (lgamma_test): Likewise.
25498 (tgamma_test): Likewise.
25499
172a631a
FW
255002012-10-16 Florian Weimer <fweimer@redhat.com>
25501
25502 [BZ #14700]
25503 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25504 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25505
e9f37252
MK
255062012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25507
25508 * NEWS: Mention BZ #14716.
25509 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25510 when removing AVAILABLE1_USES_J macro.
25511
d394eb74
L
255122012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25513
25514 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25515 (__bswap_64): __uint64_t for unsigned 64-bit int.
25516
ca38dc17
AS
255172012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25518
25519 * include/string.h (memmem): Declare libc hidden alias.
25520 * string/memmem.c (memmem): Define libc hidden alias.
25521 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25522 __read, __close instead of open, read, close.
25523
9a387d1f
L
255242012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25525
ac49ecaf
L
25526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25527 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25528 global and hidden.
25529 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25530 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25531 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25532 Likewise.
25533 (__rawmemchr_sse2): Likewise.
25534 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25535 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25536 (__strchr_sse2): Likewise.
25537 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25538 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25539 (__strcasecmp_sse2): Likewise.
25540 (__strncasecmp_sse2): Likewise.
25541 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25542 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25543 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25544 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25545 (__strrchr_sse2): Likewise.
25546 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25547 ifunc-impl-list.c.
25548 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25549 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25550 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25551 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25552 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25553 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25554 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25555 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25556 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25557 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25558 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25559 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25560 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25561 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25562 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25563 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25564 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25565 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25566 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25567 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25568 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25569 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25570 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25571 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25572 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25573 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25574 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25575 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25576 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25577 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25578
b090e8ea
L
25579 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25580 global and hidden.
25581 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25582 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25583 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25584 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25585 Likewise.
25586 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25587 Likewise.
25588 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25589 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25590 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25591 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25592 ifunc-impl-list.c.
25593 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25594 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25595 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25596 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25597 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25598 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25599 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25600 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25601 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25602 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25603 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25604 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25605 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25606 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25607 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25609 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25610 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25611 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25612 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25613 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25614 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25615 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25616 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25617 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25618 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25619 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25620 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25621 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25622 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25623 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25624 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25625 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25626 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25627 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25628 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25629 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25630 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25631 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25632 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25633 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25634
11dd4af6
L
25635 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25636 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25637 * include/ifunc-impl-list.h: New file.
25638 * misc/ifunc-impl-list.c: Likewise.
25639 * misc/Makefile (routines): Add ifunc-impl-list.
25640 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25641 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25642 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25643 TEST_NAME]: New variables.
11dd4af6
L
25644 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25645 are defined.
25646 (test_init): Call __libc_ifunc_impl_list to initialize
25647 func_list if TEST_IFUNC and TEST_NAME are defined.
25648
9a387d1f
L
25649 * string/Makefile (strop-tests): Add bcopy and bzero.
25650 * string/test-bcopy.c: New file.
25651 * string/test-bzero.c: Likewise.
25652 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25653 defined.
25654 * string/test-memset.c: Support bzero test if TEST_BZERO is
25655 defined.
25656 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25657 __libc_memmove.
25658 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25659 __libc_memset.
25660 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25661 of memset.
25662
472371b9
JM
256632012-10-10 Joseph Myers <joseph@codesourcery.com>
25664
1e4a9536
JM
25665 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25666 * configure: Regenerated.
25667
d173d12e
JM
25668 * Makeconfig (+link-static-before-libc): Don't include
25669 $(link-static-libc).
25670
472371b9
JM
25671 * libio/libio.h (_IO_pos_t): Remove.
25672
89a3ad0b
AO
256732012-10-10 Alexandre Oliva <aoliva@redhat.com>
25674
25675 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25676 McGrath.
25677
e7451425
AO
256782012-10-10 Alexandre Oliva <aoliva@redhat.com>
25679
25680 * crypt/crypt-entry.c: Include fips-private.h.
25681 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25682 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25683 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25684 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25685
4ba74a35
AO
256862012-10-10 Alexandre Oliva <aoliva@redhat.com>
25687
25688 * crypt/crypt-private.h: Include stdbool.h.
25689 (_ufc_setup_salt_r): Return bool.
25690 * crypt/crypt-entry.c: Include errno.h.
25691 (__crypt_r): Return NULL with EINVAL for bad salt.
25692 * crypt/crypt_util.c (bad_for_salt): New.
25693 (_ufc_setup_salt_r): Check that salt is long enough and within
25694 the specified alphabet.
25695 * crypt/badsalttest.c: New file.
25696 * crypt/Makefile (tests): Add it.
25697 ($(objpfx)badsalttest): New.
25698
f96f1242
MK
256992012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25700
25701 * NEWS: Add entry for BZ #14602.
25702
0e8e0c1c
JM
257032012-10-09 Joseph Myers <joseph@codesourcery.com>
25704
25705 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25706 type-generic.
25707 * math/libm-test.inc: Update comment listing what functions and
25708 macros are tested.
25709 (isgreater_test): New function.
25710 (isgreaterequal_test): Likewise.
25711 (isless_test): Likewise.
25712 (islessequal_test): Likewise.
25713 (islessgreater_test): Likewise.
25714 (isunordered_test): Likewise.
25715 (main): Call the new functions.
25716
273edc5e
RM
257172012-10-09 Roland McGrath <roland@hack.frob.com>
25718
b8493de0
RM
25719 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25720 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25721 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25722 * sysdeps/i386/configure: Regenerated.
25723 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25724 * sysdeps/mach/configure: Regenerated.
25725 * sysdeps/mach/hurd/configure: Regenerated.
25726 * sysdeps/powerpc/configure: Regenerated.
25727 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25728 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25729 * sysdeps/s390/s390-32/configure: Regenerated.
25730 * sysdeps/s390/s390-64/configure: Regenerated.
25731 * sysdeps/sh/configure: Regenerated.
25732 * sysdeps/sparc/configure: Regenerated.
25733 * sysdeps/unix/sysv/linux/configure: Regenerated.
25734 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25735 * sysdeps/x86_64/configure: Regenerated.
25736
273edc5e
RM
25737 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25738 defined. Don't check if MAP is NULL.
25739
c8450f70
JM
257402012-10-09 Joseph Myers <joseph@codesourcery.com>
25741
25742 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25743 (_G_stat64): Likewise.
25744 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25745 (_G_stat64): Likewise.
25746 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25747 instead of struct _G_stat64.
25748 * libio/fileops.c (mmap_remap_check): Likewise.
25749 (decide_maybe_mmap): Likewise.
25750 (_IO_new_file_seekoff): Likewise.
25751 (_IO_file_stat): Likewise.
25752 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25753 _G_off64_t.
25754 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25755 instead of struct _G_stat64.
25756 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25757
57e605ba
MK
257582012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25759
25760 [BZ #14602]
25761 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25762 Replace with ...
25763 (CHECK_EOL): New macro.
25764 (two_way_short_needle): Check beginning of haystack for EOL. Use
25765 CHECK_EOL.
25766 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25767 Replace with CHECK_EOL.
25768 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25769 Replace with CHECK_EOL.
25770
ef1bb361
JM
257712012-10-08 Joseph Myers <joseph@codesourcery.com>
25772
25773 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25774 type-generic.
25775 * math/libm-test.inc: Update comment listing what functions and
25776 macros are tested.
25777 (finite_test): New function.
25778 (isinf_test): Likewise.
25779 (isnan_test): Likewise.
25780 (fpclassify_test): Test subnormal input.
25781 (isfinite_test): Likewise.
25782 (isnormal_test): Likewise.
25783 (main): Call the new functions.
25784
55f11534
JN
257852012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25786
25787 [BZ #14660]
25788 * Makerules (%.dynsym): Force C locale when running
25789 $(OBJDUMP) --dynamic-syms.
25790
1ab29350
AS
257912012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25792
25793 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25794 <stdint.h>.
25795
f1ecb7ef
DM
257962012-10-06 David S. Miller <davem@davemloft.net>
25797
25798 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25799 upper 32-bits of the length value in %o2 since we use branch-on-register
25800 tests which consider the entire 64-bit register.
25801
5d41d91a
L
258022012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25803
25804 * string/test-strstr.c (check2): Add a test for page boundary.
25805
3baddb72
DM
258062012-10-05 David S. Miller <davem@davemloft.net>
25807
25808 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25809 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25810 file.
25811 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25812 sysdep_routines.
25813 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25814 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25815 and bzero when HWCAP_SPARC_CRYPTO is present.
25816
9cee5585
L
258172012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25818
d7e0dab9
L
25819 [BZ #14602]
25820 * string/test-strstr.c (check2): New function.
25821 (test_main): Call check2.
25822
03759f47
L
25823 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25824 and bug-strchr1.
25825 * string/bug-strcasestr1.c (do_test): Moved to ...
25826 * string/test-strcasestr.c (check1): Here. New function.
25827 (do_one_test): Break out result checking code into ...
25828 (check_result): This. New function.
25829 (do_one_test): Call check_result.
25830 (test_main): Call check1.
25831 * string/bug-strchr1.c (do_test): Moved to ...
25832 * string/test-strchr.c (check1): Here. New function.
25833 (do_one_test): Break out result checking code into ...
25834 (check_result): This. New function.
25835 (do_one_test): Call check_result.
25836 (test_main): Call check1.
25837 * string/bug-strstr1.c (main): Moved to ...
046f153e 25838 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25839 (do_one_test): Break out result checking code into ...
25840 (check_result): This. New function.
25841 (do_one_test): Call check_result.
25842 (test_main): Call check1.
25843 * string/bug-strcasestr1.c: Removed.
25844 * string/bug-strchr1.c: Likewise.
25845 * string/bug-strstr1.c: Likewise.
25846
53cea63e
L
25847 * elf/Makefile (dl-routines): Add hwcaps.
25848 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25849 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25850 (_dl_important_hwcaps): Moved to ...
25851 * elf/dl-hwcaps.c: Here. New file.
25852 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25853
9cee5585 25854 [BZ #14557]
bb859b06
L
25855 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25856 if IS_IN_rtld isn't defined.
25857
9cee5585
L
25858 * elf/dl-support.c (_dl_sysinfo_map): New.
25859 Include "get-dynamic-info.h" and "setup-vdso.h".
25860 (_dl_non_dynamic_init): Call setup_vdso.
25861 * elf/dynamic-link.h: Don't include <assert.h>.
25862 (elf_get_dynamic_info): Moved to ...
25863 * elf/get-dynamic-info.h: Here. New file.
25864 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25865 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25866 * elf/setup-vdso.h: Here. New file.
25867 * elf/rtld.c: Include "setup-vdso.h".
25868 (dl_main): Call setup_vdso.
25869
23c31b76
JM
258702012-10-05 Joseph Myers <joseph@codesourcery.com>
25871
28234b07
JM
25872 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25873 creal in comment listing functions tested. List finite, isinf,
25874 isnan, isless, islessequal, isgreater, isgreaterequal,
25875 islessgreater, isunordered, lgamma_r and pow10 as functions and
25876 macros not tested. Mention which functions not tested are aliases
25877 for other functions. Fix typo. Note that signs of NaNs are not
25878 tested.
25879
23c31b76
JM
25880 * scripts/config.guess: Update from config.git.
25881 * scripts/config.sub: Likewise.
25882
9043e228
RM
258832012-10-04 Roland McGrath <roland@hack.frob.com>
25884
25885 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25886 * misc/madvise.c (madvise): Renamed to __madvise.
25887 Make madvise a weak alias.
25888 * include/sys/mman.h: Declare __madvise.
25889 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25890 * sysdeps/unix/syscalls.list
25891 (madvise): Make __madvise the strong name, and madvise a weak alias.
25892 * sysdeps/unix/sysv/linux/syscalls.list
25893 (madvise, mmap): Remove redundant entries.
25894 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25895 * malloc/malloc.c (mtrim): Likewise.
25896 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25897
f57f8055
RM
258982012-10-03 Roland McGrath <roland@hack.frob.com>
25899
25900 * sysdeps/mach/hurd/dl-cache.c: File removed.
25901 * config.h.in (USE_LDCONFIG): New #undef.
25902 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25903 * configure: Regenerated.
25904 * elf/Makefile (dl-routines): Add dl-cache only under
25905 [$(use-ldconfig) = yes].
25906 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25907 cache on [USE_LDCONFIG].
25908 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25909 [USE_LDCONFIG].
25910 * elf/rtld.c (dl_main): Likewise.
25911
5bb0c10a
PT
259122012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25913
25914 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25915 _SC_LEVEL4_CACHE_LINESIZE.
25916
010188c6
RM
259172012-10-03 Roland McGrath <roland@hack.frob.com>
25918
25919 * sysdeps/unix/bsd/confstr.h: File removed.
25920
b6c5ec07
AO
259212012-10-02 Alexandre Oliva <aoliva@redhat.com>
25922
25923 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25924 sys/sdt-config.h.
25925
408223d4
RM
259262012-10-02 Roland McGrath <roland@hack.frob.com>
25927
25928 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25929 Make 'mapoff' field ElfW(Off) rather than off_t.
25930
bb9510dc
DL
259312012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25932
fc997c6e
DL
25933 * nscd/Makefile: Remove nscd-cflags and all its users.
25934 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25935 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25936
bb9510dc
DL
25937 [BZ #10631]
25938 * malloc.c (malloc_printerr): Clarify error message.
25939
05699367
L
259402012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25941
25942 [BZ #14648]
25943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25944 Set bit_FMA_Usable if FMA is supported.
25945 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25946 macro.
25947 (bit_FMA4_Usable): Updated.
25948 (index_FMA_Usable): New macro.
25949 (CPUID_FMA): Likewise
25950 (HAS_FMA): Defined with bit_FMA_Usable.
25951
51367701
RM
259522012-10-01 Roland McGrath <roland@hack.frob.com>
25953
25954 * bits/types.h (__swblk_t): Type removed.
25955 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25956 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25958 (__SWBLK_T_TYPE): Likewise.
25959 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25960 (__SWBLK_T_TYPE): Likewise.
25961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25962 (__SWBLK_T_TYPE): Likewise.
25963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25964 (__SWBLK_T_TYPE): Likewise.
25965
4d57bf63 259662012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25967 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25968
25969 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25970 (xdr_mapname): Use YPMAXMAP as maxsize.
25971 (xdr_peername): Use YPMAXPEER as maxsize.
25972 (xdr_keydat): Use YPAXRECORD as maxsize.
25973 (xdr_valdat): Use YPMAXRECORD as maxsize.
25974
93c65d43
RM
259752012-10-01 Roland McGrath <roland@hack.frob.com>
25976
497a03d6
RM
25977 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25978
93c65d43
RM
25979 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25980 * csu/init-first.c: ... here.
25981 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25982 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25983 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25984 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25985 * sysdeps/i386/init-first.c: File removed.
25986 * sysdeps/sh/init-first.c: File removed.
25987
bec749fd
JM
259882012-10-01 Joseph Myers <joseph@codesourcery.com>
25989
25990 [BZ #14645]
25991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25992 if x * y might underflow to zero and z is zero.
25993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25995 * math/libm-test.inc (min_subnorm_value): New variable.
25996 (fma_test): Add more tests.
25997 (fma_test_towardzero): Likewise.
25998 (fma_test_downward): Likewise
25999 (fma_test_upward): Likewise.
26000 (initialize): Set min_subnorm_value.
26001
8ec5b013
JM
260022012-09-29 Joseph Myers <joseph@codesourcery.com>
26003
26004 [BZ #14638]
26005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26006 0 + 0.
26007 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26008 mode for addition resulting in exact zero.
26009 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26010 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26011 exact 0 + 0.
26012 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26014 * math/libm-test.inc (fma_test): Add more tests.
26015 (fma_test_towardzero): New function.
26016 (fma_test_downward): Likewise.
26017 (fma_test_upward): Likewise.
26018 (main): Call the new functions.
26019
b1fa802e
DM
260202012-09-28 David S. Miller <davem@davemloft.net>
26021
26022 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26023
d3b9fd9e
RM
260242012-09-28 Roland McGrath <roland@hack.frob.com>
26025
ea4d37b3
RM
26026 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26027 instead of SIGALRM.
26028
ac51c949
RM
26029 * sysdeps/gnu/_G_config.h: Moved to ...
26030 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26031 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26032 * sysdeps/generic/_G_config.h: ... here.
26033
28c195f7
RM
26034 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26035
848917f9
RM
26036 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26037
6bacf05b
RM
26038 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26039 Conditionalize target on [libnss_test1.so-version].
26040
91363dbb
RM
26041 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26042
cc87f7d8
RM
26043 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26044 (elfobjdir): Move out of conditionals.
26045
b1c608fe
RM
26046 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26047 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26048 (__nss_lookup_function): Conditionalize label remove_from_tree on
26049 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26050
1d9a6d96
DM
260512012-09-28 David S. Miller <davem@davemloft.net>
26052
26053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26054 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26055 file.
26056 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26057 sysdep_routines.
26058 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26059 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26060 when HWCAP_SPARC_CRYPTO is present.
26061
72581615
PT
260622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26063
26064 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26065
715a900c
JL
260662012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26067
26068 [BZ #6530]
26069 * stdio-common/vfprintf.c (process_string_arg): Revert
26070 2000-07-22 change.
26071
260722011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26073
26074 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26075 for testcase.
26076 * stdio-common/tst-sprintf.c: Include <locale.h>
26077 (main): Test sprintf's handling of incomplete multibyte
26078 characters.
26079
9bac1d86
L
260802012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26081
26082 * elf/dl-runtime.c (VERSYMIDX): Removed.
26083 * elf/dl-version.c (VERSYMIDX): Likewise.
26084 * elf/do-rel.h (VERSYMIDX): Likewise.
26085 (VALIDX): Likewise.
26086 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26087 * elf/rtld.c (VALIDX): Likewise.
26088 (ADDRIDX): Likewise.
9bac1d86
L
26089 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26090 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26091 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26092 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26093 (VALIDX): Likewise.
26094 (ADDRIDX): Likewise.
9bac1d86 26095
b31606c0
PT
260962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26097
26098 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26099
11541177
JL
261002012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26101
26102 [BZ #11438]
26103 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26104 to global scope.
26105 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26106 addresses are in the same scope as 192.0.2/24.
26107 * posix/gai.conf: Document new scope table defaults.
26108
adb26fae
SP
261092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26110
26111 [BZ #5298]
26112 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26113 for ftell. Compute offsets from write pointers instead.
26114 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26115
4573c6b0
SP
261162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26117
26118 [BZ #14543]
26119 * libio/Makefile (tests): New test case tst-fseek.
26120 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26121 combination works in wide mode.
26122 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26123 state when the external buffer state changes.
26124
aa9bbfe6
DM
261252012-09-27 David S. Miller <davem@davemloft.net>
26126
26127 [BZ #14376]
26128 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26129 pass reloc->r_addend in as the 'high' argument to
26130 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26131
784421e7
DM
26132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26133
c39bc8b8
PT
261342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26135
26136 * rt/tst-aio2.c: Include <pthread.h>.
26137 * rt/tst-aio3.c: Likewise.
26138
1ccc2399
SE
261392012-09-27 Steve Ellcey <sellcey@mips.com>
26140
26141 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26142
31ed4153
L
261432012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26144
25f5f885
L
26145 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26146 contents on [SHARED].
31ed4153 26147
b7bfe116
MP
261482012-09-26 Marek Polacek <polacek@redhat.com>
26149
26150 [BZ #14530]
26151 [BZ #13741]
26152 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26153 for C++ and GCC <4.3 as well as for non GCC compilers.
26154
43c4edba
MT
261552012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26156
26157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26158
6a1bf82f
RM
261592012-09-25 Roland McGrath <roland@hack.frob.com>
26160
26161 * Makefile.in (all, install): Declare with .PHONY.
26162 Reported by Michael Hope <michael.hope@linaro.org>.
26163
8ad11b9a
TMQMF
261642012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26165
26166 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26167 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26168 system header.
26169 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26170 Likewise.
26171 (sydep_routines): Add the new and the internal functions.
26172 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26173 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26175 (GLIBC_2.17): Add the new function.
26176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26177 (GLIBC_2.17): Likewise.
26178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26179 (GLIBC_2.17): Likewise.
26180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26181 (GLIBC_2.17): Likewise.
26182 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26183
7e2fca8d
AM
261842012-09-25 Alan Modra <amodra@gmail.com>
26185
26186 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26187 Add release barrier before setting once_control to say
26188 initialisation is done. Add hints on lwarx. Use macro in
26189 place of isync.
26190 (clear_once_control): Add release barrier.
26191
b87c4b24
JM
261922012-09-25 Joseph Myers <joseph@codesourcery.com>
26193
d032e0d2
JM
26194 [BZ #13629]
26195 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26196 specially.
26197 * math/s_clog10.c (__clog10): Likewise.
26198 * math/s_clog10f.c (__clog10f): Likewise.
26199 * math/s_clog10l.c (__clog10l): Likewise.
26200 * math/s_clogf.c (__clogf): Likewise.
26201 * math/s_clogl.c (__clogl): Likewise.
26202 * math/Makefile (libm-calls): Add x2y2m1.
26203 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26204 (__x2y2m1): Likewise.
26205 (__x2y2m1l): Likewise.
26206 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26207 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26208 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26210 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26211 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26212 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26213 * sysdeps/i386/fpu/libm-test-ulps: Update.
26214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26215
b87c4b24
JM
26216 [BZ #14621]
26217 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26218 int as type of variable DEPTH.
26219 (glob): Use size_t instead of int as type of variables NEWCOUNT
26220 and OLD_PATHC.
26221
6d3bf199
LD
262222012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26223
22bf5c17
LD
26224 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26225 Add s_sincosf-sse2.
26226 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26227 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26228 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26229 macros for using routine as __sincosf_ia32.
26230 Use macro for function declaration and weak_alias.
26231 * sysdeps/i386/fpu/libm-test-ulps: Update.
26232
26233 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26235
26236 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26237 subnormal argument.
26238 * math/s_cexpf.c (__cexpf): Likewise.
26239 * math/s_csinf.c (__csinf): Likewise.
26240 * math/s_csinhf.c (__csinhf): Likewise.
26241 * math/s_ctanf.c (__ctanf): Likewise.
26242 * math/s_ctanhf.c (__ctanhf): Likewise.
26243 * math/s_ccosh.c (__ccoshf): Likewise.
26244 * math/s_cexp.c (__cexpl): Likewise.
26245 * math/s_csin.c (__csin): Likewise.
26246 * math/s_csinh.c (__csinh): Likewise.
26247 * math/s_ctan.c (__ctan): Likewise.
26248 * math/s_ctanh.c (ctanh): Likewise.
26249 * math/s_ccoshl.c (__ccoshl): Likewise.
26250 * math/s_cexpl.c (__cexpl): Likewise.
26251 * math/s_csinl.c (__csinl): Likewise.
26252 * math/s_csinhl.c (__csinhl): Likewise.
26253 * math/s_ctanl.c (__ctanl): Likewise.
26254 * math/s_ctanhl.c (__ctanhl): Likewise.
26255
203e5603
JM
262562012-09-25 Joseph Myers <joseph@codesourcery.com>
26257
26258 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26259 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26260 (_IO_off_t): Define to __off_t, not _G_off_t.
26261 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26262 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26263 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26264 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26265 type of __dummy and __dummy2 fields.
26266 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26267 (_G_ssize_t): Likewise.
26268 (_G_off_t): Likewise.
26269 (_G_pid_t): Likewise.
26270 (_G_uid_t): Likewise.
26271 (_G_wchar_t): Likewise.
26272 (_G_wint_t): Likewise.
26273 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26274 (_G_ssize_t): Likewise.
26275 (_G_off_t): Likewise.
26276 (_G_pid_t): Likewise.
26277 (_G_uid_t): Likewise.
26278 (_G_wchar_t): Likewise.
26279 (_G_wint_t): Likewise.
26280 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26281 (_G_ssize_t): Likewise.
26282 (_G_off_t): Likewise.
26283 (_G_pid_t): Likewise.
26284 (_G_uid_t): Likewise.
26285 (_G_wchar_t): Likewise.
26286 (_G_wint_t): Likewise.
26287
9fab36eb
SP
262882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26289
26290 * malloc/arena.c: Include malloc-sysdep.h.
26291 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26292 is sufficient to shrink the heap or an unmap is needed.
26293 * sysdeps/generic/malloc-sysdep.h: New file. Define
26294 new function check_may_shrink_heap.
26295 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26296 new function check_may_shrink_heap.
26297
2b4f00d1
SP
262982012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26299
26300 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26301 comments.
26302
9a9028b1
DL
263032012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26304
57c69bef
DL
26305 * catgets/test-gencat.sh: Add "set -e".
26306 * elf/tst-pathopt.sh: Likewise.
26307 * grp/tst_fgetgrent.sh: Likewise.
26308 * iconvdata/run-iconv-test.sh: Likewise.
26309 * intl/tst-gettext.sh: Likewise.
26310 * intl/tst-gettext2.sh: Likewise.
26311 * intl/tst-gettext4.sh: Likewise.
26312 * intl/tst-gettext6.sh: Likewise.
26313 * intl/tst-translit.sh: Likewise.
26314 * io/ftwtest-sh: Likewise.
26315 * libio/test-freopen.sh: Likewise.
26316 * malloc/tst-mtrace.sh: Likewise.
26317 * posix/globtest.sh: Likewise.
26318 * posix/tst-getconf.sh: Likewise.
26319 * posix/wordexp-tst.sh: Likewise.
26320 * stdio-common/tst-printf.sh: Likewise.
26321 * stdio-common/tst-unbputc.sh: Likewise.
26322 * stdlib/tst-fmtmsg.sh: Likewise.
26323 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26324 * catgets/Makefile: Do not specify -e option when running
26325 testsuite shell scripts.
26326 * elf/Makefile: Likewise.
26327 * grp/Makefile: Likewise.
26328 * iconvdata/Makefile: Likewise.
26329 * intl/Makefile: Likewise.
26330 * io/Makefile: Likewise.
26331 * libio/Makefile: Likewise.
26332 * malloc/Makefile: Likewise.
26333 * posix/Makefile: Likewise.
26334 * stdio-common/Makefile: Likewise.
26335 * stdlib/Makefile: Likewise.
26336 * sysdeps/x86_64/Makefile: Likewise.
26337
9a9028b1
DL
26338 * io/ftwtest-sh: Add copyright header.
26339 * posix/globtest.sh: Likewise.
26340 * posix/tst-getconf.sh: Likewise.
26341 * posix/wordexp-tst.sh: Likewise.
26342 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26343
ced6f16e
L
263442012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26345
94b32c39
L
26346 [BZ #13679]
26347 * Makeconfig (+link): Defined as $(+link-static) if
26348 $(build-shared) isn't yes.
26349 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26350 isn't yes.
26351 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26352
189e935b
L
26353 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26354
ced6f16e
L
26355 [BZ #14562]
26356 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26357 new chunk size with MALLOC_ALIGN_MASK.
26358
a9f8e53a
JM
263592012-09-24 Joseph Myers <joseph@codesourcery.com>
26360
26361 [BZ #5044]
26362 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26363 <rounding-mode.h>.
26364 (__printf_fphex): Determine rounding using get_rounding_mode and
26365 round_away.
26366 * stdio-common/tst-printf-round.c (struct hex_test): New
26367 structure.
26368 (hex_tests): New variable.
26369 (test_hex_in_one_mode): New function.
26370 (do_test): Also run tests for hex float output.
26371
43153109
JM
263722012-09-21 Joseph Myers <joseph@codesourcery.com>
26373
26374 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26375 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26376 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26377 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26378 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26379 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26380 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26381 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26382
8a26625d
JM
263832012-09-20 Joseph Myers <joseph@codesourcery.com>
26384
26385 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26386 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26387 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26388 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26389
f3fd569c
DL
263902012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26391
26392 [BZ #14579]
26393 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26394 mode only.
26395 * elf/tst-rtld-load-self.sh: New test.
26396 * elf/Makefile: Run it.
26397
63bbedd4
JM
263982012-09-18 Joseph Myers <joseph@codesourcery.com>
26399
26400 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26401 (tst-writev-ENV): Remove.
26402 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26403
626f8b6a
CM
264042012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26405
26406 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26407
b7aaa4d6
JM
264082012-09-17 Joseph Myers <joseph@codesourcery.com>
26409
26410 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26411 unconditional.
26412 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26413 Likewise.
26414 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26415 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26416 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26417 Likewise.
26418
65513990
L
264192012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26420
26421 [BZ #14587]
26422 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26423 * config.make.in (have-cpp-asm-debuginfo): Removed.
26424 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26425 * configure: Regenerated.
26426
784761be
JM
264272012-09-14 Joseph Myers <joseph@codesourcery.com>
26428
26429 [BZ #5044]
26430 * stdio-common/printf_fp.c: Include <stdbool.h> and
26431 <rounding-mode.h>.
26432 (___printf_fp): Determine rounding using get_rounding_mode and
26433 round_away.
26434 * stdio-common/tst-printf-round.c: New file.
26435 * stdio-common/Makefile (tests): Add tst-printf-round.
26436 (link-libm): New variable.
26437 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26438
9503345f
L
264392012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26440
26441 [BZ #14576]
26442 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26443 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26444 Likewise.
26445 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26446 Likewise.
26447
ad35fc00
JM
264482012-09-13 Joseph Myers <joseph@codesourcery.com>
26449
26450 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26451 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26452 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26453 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26454
6c9b0f68
JM
264552012-09-12 Joseph Myers <joseph@codesourcery.com>
26456
26457 [BZ #14518]
26458 * include/rounding-mode.h: New file.
26459 * sysdeps/generic/get-rounding-mode.h: Likewise.
26460 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26461 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26462 (MAX_VALUE): New macro.
26463 (MIN_VALUE): Likewise.
26464 (overflow_value): New function.
26465 (underflow_value): Likewise.
26466 (round_and_return): Use overflow_value and underflow_value to
26467 determine return values in overflow and underflow cases. Use
26468 round_away to determine rounding depending on rounding mode.
26469 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26470 determine return values in overflow and underflow cases.
26471 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26472 (struct test_results): New structure.
26473 (struct test): Use struct test_results to store expected results
26474 for all rounding modes.
26475 (TEST): Include expected results for all rounding modes.
26476 (test_in_one_mode): New function.
26477 (do_test): Use test_in_one_mode to compute and check results.
26478 Check results for all rounding modes.
26479 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26480 $(link-libm).
26481
19fcedd5
AM
264822012-12-09 Allan McRae <allan@archlinux.org>
26483
1e9d84cd 26484 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26485
8bbfd2f1
JM
264862012-09-11 Joseph Myers <joseph@codesourcery.com>
26487
26488 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26489 (_G_int32_t): Likewise.
26490 (_G_uint16_t): Likewise.
26491 (_G_uint32_t): Likewise.
26492 (_G_HAVE_BOOL): Likewise.
26493 (_G_HAVE_ATEXIT): Likewise.
26494 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26495 (_G_HAVE_IO_FILE_OPEN): Likewise.
26496 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26497 (_G_int32_t): Likewise.
26498 (_G_uint16_t): Likewise.
26499 (_G_uint32_t): Likewise.
26500 (_G_HAVE_BOOL): Likewise.
26501 (_G_HAVE_ATEXIT): Likewise.
26502 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26503 (_G_HAVE_IO_FILE_OPEN): Likewise.
26504 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26505 (_G_int32_t): Likewise.
26506 (_G_uint16_t): Likewise.
26507 (_G_uint32_t): Likewise.
26508 (_G_HAVE_BOOL): Likewise.
26509 (_G_HAVE_ATEXIT): Likewise.
26510 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26511 (_G_HAVE_IO_FILE_OPEN): Likewise.
26512
b1dc5912
L
265132012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26514
26515 * csu/libc-tls.c: Update copyright years.
26516
0e886ef9
JM
265172012-09-10 Joseph Myers <joseph@codesourcery.com>
26518
28361c5e
JM
26519 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26520 [!_G_USING_THUNKS]: Remove conditional code.
26521 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26522 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26523
0e886ef9
JM
26524 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26525 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26526 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26527 (_G_VTABLE_LABEL_PREFIX): Likewise.
26528 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26529 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26530 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26531 (_G_VTABLE_LABEL_PREFIX): Likewise.
26532 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26533 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26534 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26535 (_G_VTABLE_LABEL_PREFIX): Likewise.
26536 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26537
bcba7aa2
L
265382012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26539
26540 * libio/Makefile: Include ../Makeconfig before tests.
26541 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26542 only if $(build-shared) is yes.
26543
06585ee8
L
26544 * iconv/gconv_db.c: Update copyright years.
26545
80ccd52c
LD
265462012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26547
26548 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26549 unwind info if defined PIC. Fix special cases description.
26550 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26551
26552 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26553 DP_HI_MASK entry.
26554 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26555
691bc9c1
L
265562012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26557
3d9b46b3
L
26558 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26559
de2139a9
L
26560 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26561 is NULL.
26562
5ca78dd0
L
26563 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26564 (LDLIBS-tst-chk4): This.
26565 (LDFLAGS-tst-chk5): Renamed to ...
26566 (LDLIBS-tst-chk5): This.
26567 (LDFLAGS-tst-chk6): Renamed to ...
26568 (LDLIBS-tst-chk6): This.
26569 (LDFLAGS-tst-lfschk4): Renamed to ...
26570 (LDLIBS-tst-lfschk4): This.
26571 (LDFLAGS-tst-lfschk5): Renamed to ...
26572 (LDLIBS-tst-lfschk5): This.
26573 (LDFLAGS-tst-lfschk6): Renamed to ...
26574 (LDLIBS-tst-lfschk6): This.
26575
691bc9c1
L
26576 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26577 on $(common-objpfx)soversions.mk.
26578
65cafb1c
JM
265792012-09-07 Joseph Myers <joseph@codesourcery.com>
26580
26581 [BZ #10014]
26582 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26583 example host name.
26584
c78ab094
SP
265852012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26586
26587 * malloc/arena.c (arena_get_retry): New function that gets
26588 another arena for the caller to try its request on.
26589 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26590 current arena cannot fulfill the request.
26591 (__libc_memalign): Likewise.
26592 (__libc_memalign): Likewise.
26593 (__libc_pvalloc): Likewise.
26594 (__libc_calloc): Likewise.
26595
01f49f59
JT
265962012-09-05 John Tobey <john.tobey@gmail.com>
26597
26598 [BZ #13542]
26599 * manual/arith.texi (Operations on Complex): Fix description
26600 of carg branch cut.
26601
4c23fed5
JM
266022012-09-06 Joseph Myers <joseph@codesourcery.com>
26603
1d3c8572
JM
26604 [BZ #10014]
26605 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26606 host name.
26607
4c23fed5
JM
26608 [BZ #10038]
26609 * manual/memory.texi (Memory): Make order of menu items match
26610 order of sections.
26611
04570aaa
L
266122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26613
26614 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26615 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26616 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26617
b80af2f4
L
266182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26619
26620 * csu/libc-tls.c (static_dtv): Renamed to ...
26621 (_dl_static_dtv): This. Make it global.
26622 (_dl_initial_dtv): Removed.
26623 (__libc_setup_tls): Updated.
26624 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26625 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26626 DL_INITIAL_DTV.
26627
2abe9f15
PM
266282012-09-06 Petr Machata <pmachata@redhat.com>
26629
26630 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26631 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26632 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26633 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26634
0948c3af
L
266352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26636
26637 [BZ #14545]
26638 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26639 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26640 freeing dtv[-1].
26641
a5055ad1
L
266422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26643
26644 [BZ #14544]
26645 * Makeconfig (link-static-before-libc): Replace $(+prector)
26646 with $(+prectorT).
26647 (link-static-after-libc): Replace $(+postctor) with
26648 $(+postctorT).
26649 (link-bounded): Replace $(+prector)/$(+postctor) with
26650 $(+prectorT)/$(+postctorT).
26651 (+prectorT): New macro.
26652 (+postctorT): Likewise.
26653
ed8c2ecd
JM
266542012-09-06 Joseph Myers <joseph@codesourcery.com>
26655
26656 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26657 (round_str): Handle values above the maximum for IBM long double
26658 as inexact.
26659 * stdlib/tst-strtod-round.c (tests): Regenerated.
26660
14c996c8
AK
266612012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26662
26663 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26664 assembler flag.
26665 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26666 zarch_nohighgprs around the zarch optimized routines.
26667 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26668 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26669 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26670 for zarch.
26671
430d6ce6
DM
266722012-09-05 David S. Miller <davem@davemloft.net>
26673
26674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26675
57f41c40
AS
26676 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26677 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26678 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26679 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26680 entries.
26681
24d4e01b
AO
266822012-09-05 Alexandre Oliva <aoliva@redhat.com>
26683
26684 * malloc/arena.c: Fold copyright years.
26685 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26686
61d58174
AO
266872012-09-05 Alexandre Oliva <aoliva@redhat.com>
26688
26689 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26690
20196a5e
AO
266912012-09-05 Alexandre Oliva <aoliva@redhat.com>
26692
26693 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26694
5c447383
AO
266952012-09-05 Alexandre Oliva <aoliva@redhat.com>
26696
26697 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26698 change internal state upon failure.
26699
fad64255
AO
267002012-09-05 Alexandre Oliva <aoliva@redhat.com>
26701
26702 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26703 * malloc/memusage.c (mmap): Likewise.
26704 (mmap64, mremap): Likewise. Adjust name in comment.
26705
1ffb8c90
SP
267062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26707
26708 * libio/fileops.c: Fix typos in comments.
26709 * libio/oldfileops.c: Likewise.
26710 * libio/wfileops.c: Likewise.
26711
6ef9cc37
SP
267122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26713
26714 [BZ #1349]
26715 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26716 (tst-malloc-usable-ENV): Set environment for test case.
26717 * malloc/hooks.c (malloc_check_get_size): New function to get
26718 requested size.
26719 * malloc/malloc.c (musable): Use malloc_check_get_size.
26720 * malloc/tst-malloc-usable.c: New test case.
26721
4d038ae3
AS
267222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26723
26724 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26725
c4e85184
AM
267262012-09-05 Allan McRae <allan@archlinux.org>
26727
b9dafc56 26728 [BZ #13966]
c4e85184
AM
26729 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26730 determine header location.
26731 * configure: Regenerated.
26732
e1343020
AS
267332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26734
26735 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26736 float format.
26737 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26738 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26739 format.
e1343020
AS
26740 (test): Regenerate.
26741
0a9f1987
DM
267422012-09-04 David S. Miller <davem@davemloft.net>
26743
26744 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26745 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26746 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26747
29237804
FW
267482012-09-04 Florian Weimer <fweimer@redhat.com>
26749
26750 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26751 failures.
26752
edb3cb88
FW
26753 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26754
60160d83
JM
267552012-09-04 Joseph Myers <joseph@codesourcery.com>
26756
26757 [BZ #9914]
26758 * libio/iogetdelim.c: Include <limits.h>.
26759 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26760 + len + 1 would overflow.
26761
bcd6c8dc
AJ
267622012-09-03 Andreas Jaeger <aj@suse.de>
26763
26764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26765 * sysdeps/i386/fpu/libm-test-ulps: Update.
26766
4ffffbd2
LD
267672012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26768
26769 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26770 Add s_sinf-sse2, s_conf-sse2.
26771
26772 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26773 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26774 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26775 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26776
26777 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26778 for using routine as __sinf_ia32.
26779 Use macro for function declaration and weak_alias.
26780 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26781 for using routine as __cosf_ia32.
26782 Use macro for function declaration and weak_alias.
26783
26784 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26785 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26786
26787 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26788 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26790
26791 * math/libm-test.inc (cos_test): Add more test cases.
26792 (sin_test): Likewise.
26793 (sincos_test): Likewise.
26794
511fa286
AK
267952012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26796
26797 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26798 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26799 hidden.
26800 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26801
5f30cfec
L
268022012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26803
26804 [BZ #14538]
26805 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26806 first element of the GOT.
26807 (elf_machine_load_address): Return the difference between
26808 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26809
0786794f
AM
268102012-09-01 Allan McRae <allan@archlinux.org>
26811
5f30cfec
L
26812 [BZ #13412]
26813 * configure.in (AWK): Require gawk version 3.0 or later.
26814 * configure: Regenerated.
0786794f 26815
26889eac
JM
268162012-09-01 Joseph Myers <joseph@codesourcery.com>
26817
26818 * sysdeps/unix/sysv/linux/kernel-features.h
26819 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26820 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26821 [__NR_clock_getres]: Make code unconditional.
26822 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26823 (clock_getcpuclockid): Remove code left unreachable by removal of
26824 conditionals.
26825 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26826 code unconditional.
26827 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26828 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26829 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26830 Make code unconditional.
26831 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26832 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26833 * sysdeps/unix/sysv/linux/clock_settime.c
26834 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26835 conditional code.
26836 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26837 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26838
d22e28b0
L
268392012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26840
26841 [BZ #14476]
26842 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26843 scripts/test-installation.pl.
26844
26845 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26846 and $ld_so_version if it is set.
26847
050af9c4
SP
268482012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26849
26850 [BZ #14516]
26851 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26852 failure if reading from procfs failed.
26853 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26854
ad845c0b
JM
268552012-08-27 Joseph Myers <joseph@codesourcery.com>
26856
26857 * sysdeps/unix/sysv/linux/kernel-features.h
26858 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26859 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26860 Remove conditional code.
26861 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26862 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26863 Remove conditional code.
26864 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26865 * sysdeps/unix/sysv/linux/i386/fxstat.c
26866 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26868 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26869 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26870 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26871 * sysdeps/unix/sysv/linux/i386/lxstat.c
26872 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26874 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26875 Remove conditional code.
26876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26877 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26878 Remove conditional code.
26879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26880 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26881 <kernel-features.h>.
26882 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26883 Remove.
26884 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26885 Remove conditional code.
26886 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26887 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26888 Remove conditional.
26889
5dbf56af
MF
268902012-08-27 Mike Frysinger <vapier@gentoo.org>
26891
26892 [BZ #5400]
26893 * NEWS: Add fixed bug number.
26894
d6e70f43
JM
268952012-08-27 Joseph Myers <joseph@codesourcery.com>
26896
7efb4737
JM
26897 [BZ #14519]
26898 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26899 underflowing exponent in case of negative sign.
26900 * stdlib/tst-strtod-round-data: Add more tests.
26901 * stdlib/tst-strtod-round.c (tests): Regenerated.
26902
af92131a
JM
26903 [BZ #3479]
26904 * stdlib/strtod_l.c (NDIG): Remove.
26905 (HEXNDIG): Likewise.
26906 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26907 smallest representable value.
26908 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26909 lie within an exact representation of 1/2 ulp of the result.
26910 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26911 unconditionally.
26912 (TENS_P9_IDX): Define unconditionally.
26913 (TENS_P9_SIZE): Likewise.
26914 (TENS_P10_IDX): Likewise.
26915 (TENS_P10_SIZE): Likewise.
26916 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26917 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26918 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26919 entries for 10^2^13 and 10^2^14.
26920 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26921 (TENS_P13_IDX): Define.
26922 (TENS_P13_SIZE): Likewise.
26923 (TENS_P14_IDX): Likewise.
26924 (TENS_P14_SIZE): Likewise.
26925 (_fpioconst_pow10): Change array size to
26926 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26927 unconditional.
26928 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26929 1024]: Add entries for 10^2^13 and 10^2^14.
26930 [LAST_POW10 > _LAST_POW10]: Remove #error.
26931 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26932 (_fpioconst_pow10): Change array size to
26933 FPIOCONST_POW10_ARRAY_SIZE.
26934 * stdlib/gen-fpioconst.c: New file.
26935 * stdlib/gen-tst-strtod-round.c: Likewise.
26936 * stdlib/tst-strtod-round-data: Likewise.
26937 * stdlib/tst-strtod-round.c: Likewise.
26938 * stdlib/Makefile (tests): Add tst-strtod-round.
26939
d6e70f43
JM
26940 [BZ #14459]
26941 * stdlib/strtod_l.c: Include <stdint.h>.
26942 (NDEBUG): Do not define.
26943 (round_and_return): Change EXPONENT parameter to type intmax_t.
26944 Rearrange calculations to avoid internal overflow possibilities.
26945 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26946 Rearrange calculations to avoid internal overflow possibilities.
26947 Assert that number fits inside MPNSIZE limbs.
26948 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26949 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26950 calculations and add assertions to avoid internal overflow
26951 possibilities. Add casts to avoid signed/unsigned operations.
26952 * stdlib/tst-strtod-overflow.c: New file.
26953 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26954
1f529f7d
MP
269552012-08-25 Marek Polacek <polacek@redhat.com>
26956
26957 * time/time.h: Fix some typos in comments.
26958
59a629f1
RM
269592012-08-23 Roland McGrath <roland@hack.frob.com>
26960
26961 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26962 * posix/tst-rfc3484-2.c: Likewise.
26963 * posix/tst-rfc3484-3.c: Likewise.
26964
d3bafbc9
SM
269652012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26966
26967 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26968 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26969
4efcc022
JM
269702012-08-23 Joseph Myers <joseph@codesourcery.com>
26971
26972 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26973 #include of fxstatat64.c.
26974
3cc3ef96
RM
269752012-08-22 Roland McGrath <roland@hack.frob.com>
26976
f04e2132
RM
26977 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26978 * shadow/getspent_r.c: Likewise.
26979 * shadow/getspnam.c: Likewise.
26980 * shadow/getspnam_r.c: Likewise.
26981 * gshadow/getsgent.c: Likewise.
26982 * gshadow/getsgent_r.c: Likewise.
26983 * gshadow/getsgnam.c: Likewise.
26984 * gshadow/getsgnam_r.c: Likewise.
26985 * inet/getnetbyad.c: Likewise.
26986 * inet/getnetbyad_r.c: Likewise.
26987 * inet/getnetbynm.c: Likewise.
26988 * inet/getnetbynm_r.c: Likewise.
26989 * inet/getnetent.c: Likewise.
26990 * inet/getnetent_r.c: Likewise.
26991 * inet/getproto.c: Likewise.
26992 * inet/getproto_r.c: Likewise.
26993 * inet/getprtent.c: Likewise.
26994 * inet/getprtent_r.c: Likewise.
26995 * inet/getprtname.c: Likewise.
26996 * inet/getprtname_r.c: Likewise.
26997 * inet/getrpcbyname.c: Likewise.
26998 * inet/getrpcbyname_r.c: Likewise.
26999 * inet/getrpcbynumber.c: Likewise.
27000 * inet/getrpcbynumber_r.c: Likewise.
27001 * inet/getrpcent.c: Likewise.
27002 * inet/getrpcent_r.c: Likewise.
27003 * inet/getaliasent.c: Likewise.
27004 * inet/getaliasent_r.c: Likewise.
27005 * inet/getaliasname.c: Likewise.
27006 * inet/getaliasname_r.c: Likewise.
27007 * nscd/getgrgid_r.c: Likewise.
27008 * nscd/getgrnam_r.c: Likewise.
27009 * nscd/gethstbyad_r.c: Likewise.
27010 * nscd/gethstbynm3_r.c: Likewise.
27011 * nscd/getpwnam_r.c: Likewise.
27012 * nscd/getpwuid_r.c: Likewise.
27013 * nscd/getsrvbynm_r.c: Likewise.
27014 * nscd/getsrvbypt_r.c: Likewise.
27015 * nscd/gai.c: Likewise.
27016
c53d909c
RM
27017 * configure.in (build_nscd): New substituted variable, set
27018 by --disable-build-nscd and defaults to $use_nscd.
27019 * configure: Regenerated.
27020 * config.make.in (build-nscd): New substituted variable.
27021 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27022 Change conditional to require [$(build-nscd) = yes] as well.
27023 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27024
3cc3ef96
RM
27025 [BZ# 13696]
27026 * configure.in (use_nscd): New substituted variable, set by
27027 --disable-nscd. If enabled, define USE_NSCD.
27028 * configure: Regenerated.
27029 * config.h.in: Add USE_NSCD.
27030 * config.make.in (use-nscd): New substituted variable.
27031 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27032 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27033 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27034 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27035 (CFLAGS-getgrnam_r.c): Likewise.
27036 (CFLAGS-initgroups.c): Likewise.
27037 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27038 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27039 Variables removed.
27040 * inet/getnetgrent_r.c
27041 (nscd_setnetgrent): New function, broken out of ...
27042 (setnetgrent): ... here. Call it.
27043 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27044 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27045 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27046 * nscd/Makefile (routines, aux): Move definitions after include of
27047 Makeconfig. Conditionalize on [$(use-nscd) != no].
27048 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27049 Conditionalize on [USE_NSCD].
27050 (is_nscd, nscd_init_cb): Likewise.
27051 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27052 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27053 * nss/nss_db/db-init.c: Likewise.
27054 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27055 [USE_NSCD].
27056 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27057 (make_request): Use it.
27058 (cache_valid_p): New function.
27059 (__check_pf): Use it.
27060 * NEWS: Add item for --disable-nscd.
27061
07e51550
DL
270622012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27063
27064 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27065 to support sed >= 4.2.1-20-ga9bf076.
27066 * configure: Regenerated.
27067
35a5b08b
RM
270682012-08-22 Roland McGrath <roland@hack.frob.com>
27069
27070 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27071 Conditionalize whole body on [IREL].
27072
8479f23a
JL
270732012-08-22 Jeff Law <law@redhat.com>
27074
27075 [BZ #14505]
27076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27077 if the family is PF_UNSPEC.
27078
48da0b21
MF
270792012-08-22 Mike Frysinger <vapier@gentoo.org>
27080
27081 * Makerules (lib-version): Rename from V.
27082 (install-lib-nosubdir): Change V to lib-version.
27083
15d0da8c
WS
270842012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27085
27086 [BZ #14252]
27087 * powerpc32/power6/wcschr.c: New file.
27088 * powerpc32/power6/wcscpy.c: New file.
27089 * powerpc32/power6/wcsrchr.c: New file.
27090 * powerpc64/power6/wcschr.c: New file.
27091 * powerpc64/power6/wcscpy.c: New file.
27092 * powerpc64/power6/wcsrchr.c: New file.
27093
bcca0895
MK
270942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27095
27096 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27097 (two_way_short_needle): Use it.
5a4aaa33
RM
27098 * string/strstr.c (AVAILABLE1_USES_J): Define.
27099 * string/strcasestr.c: Likewise.
99677e57
MK
27100
27101 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27102 array references.
27103 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27104
400726de
MK
27105 [BZ #11607]
27106 * NEWS: Add an entry.
27107 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27108 define their defaults.
27109 (two_way_short_needle): Detect end-of-string on-the-fly.
27110 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27111 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27112 * string/bug-strcasestr1.c: New test.
27113 * string/Makefile: Run it.
27114
20a71f2c
MK
271152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27116
27117 [BZ #11607]
27118 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27119 the first character.
27120
21ad0558
RM
271212012-08-21 Roland McGrath <roland@hack.frob.com>
27122
27123 * csu/elf-init.c (__libc_csu_irel): Function removed.
27124 * csu/libc-start.c (apply_irel): New function.
27125 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27126
0e1d9911
JM
271272012-08-21 Joseph Myers <joseph@codesourcery.com>
27128
27129 * sysdeps/unix/sysv/linux/kernel-features.h
27130 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27131 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27132 <kernel-features.h>.
27133 [__NR_fadvise64_64]: Make code unconditional.
27134 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27135 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27136 !__NR_fadvise64_64)]: Likewise.
27137 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27138 !__NR_fadvise64_64))]: Likewise.
27139 [__NR_fadvise64]: Make code unconditional.
27140 [!__NR_fadvise64]: Remove conditional code.
27141 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27142 <kernel-features.h>.
27143 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27144 unconditional.
27145 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27146 conditional code.
27147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27148 not include <kernel-features.h>.
27149 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27150 unconditional.
27151 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27152 conditional code.
27153 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27154 include <kernel-features.h>.
27155 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27156 unconditional.
27157 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27158 conditional code.
27159
14a50c9d
WS
271602012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27161
27162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27163 slight instruction rearrangements per scrollpipe analysis.
27164 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27165
c0f4faf0
RM
271662012-08-20 Roland McGrath <roland@hack.frob.com>
27167
696da859
RM
27168 * manual/syslog.texi (syslog; vsyslog, closelog):
27169 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27170 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27171
c0f4faf0
RM
27172 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27173 DSOCAPS to match condition on defining it.
27174
348363b2
JM
271752012-08-20 Joseph Myers <joseph@codesourcery.com>
27176
a35cbf28
JM
27177 * sysdeps/unix/sysv/linux/kernel-features.h
27178 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27180 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27181 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27183 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27184 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27186 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27187 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27188
445f7ecd
JM
27189 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27190 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27191
348363b2
JM
27192 * sysdeps/unix/sysv/linux/kernel-features.h
27193 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27194 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27195 unconditional.
27196 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27197 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27198 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27199 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27200 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27201 Make code unconditional.
27202 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27203 (__mmap64) [!__NR_mmap2]: Likewise.
27204 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27205 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27206 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27207 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27208 [__NR_mmap2]: Make code unconditional.
27209 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27210 (__mmap64) [!__NR_mmap2]: Likewise.
27211
bc5bc0e5
AK
272122012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27213
27214 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27215
88d506de
AJ
272162012-08-18 Andreas Jaeger <aj@suse.de>
27217
27218 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27219
493387d2
MF
272202012-08-18 Mike Frysinger <vapier@gentoo.org>
27221
27222 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27223 * include/unistd.h (__have_sock_cloexec): Likewise.
27224 (__have_pipe2): Likewise.
27225 (__have_dup3): Likewise.
27226
a277af22
MF
272272012-08-18 Mike Frysinger <vapier@gentoo.org>
27228
27229 [BZ #9685]
27230 * include/unistd.h (__have_pipe2): Change define into an extern int.
27231 (__have_dup3): Likewise.
27232 * socket/have_sock_cloexec.c: Include fcntl.h.
27233 (__have_pipe2): New variable.
27234 (__have_dup3): Likewise.
27235
fdab8fd3
MF
272362012-08-17 Mike Frysinger <vapier@gentoo.org>
27237
27238 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27239
31035e80
MP
272402012-08-17 Marek Polacek <polacek@redhat.com>
27241
27242 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27243 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27244
3bd9e993
RM
272452012-08-17 Roland McGrath <roland@hack.frob.com>
27246
c91c505f
RM
27247 * configure.in: Add AC_SUBST for sysheaders.
27248 * configure: Regenerated.
27249 * config.make.in (sysheaders): New substituted variable.
27250
7c6f9d53
RM
27251 * sysdeps/unix/mkfifo.c: Moved ...
27252 * sysdeps/posix/mkfifo.c: ... here.
27253 * sysdeps/unix/mkfifoat.c: Moved ...
27254 * sysdeps/posix/mkfifoat.c: ... here.
27255
27256 * sysdeps/unix/utime.c: Moved ...
27257 * sysdeps/posix/utime.c: ... here.
27258
27259 * sysdeps/unix/time.c: Moved ...
27260 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27261 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27262 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27263
27264 * sysdeps/unix/nice.c: Moved ...
27265 * sysdeps/posix/nice.c: ... here.
27266
27267 * sysdeps/unix/alarm.c: Moved ...
27268 * sysdeps/posix/alarm.c: ... here.
27269
3bd9e993
RM
27270 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27271
d1f09384
JL
272722012-08-17 Jeff Law <law@redhat.com>
27273
27274 * intl/Makefile (codeset_mo): New variable.
27275 ($(codeset_mo)): New target.
27276 (tst-codeset.out): Depend on that. Remove explicit rule.
27277 (tst-gettext3.out, tst-gettext5.out): Likewise.
27278 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27279 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27280 * intl/tst-codeset.sh: Remove.
27281 * intl/tst-gettext3.sh: Likewise.
27282 * intl/tst-gettext5.sh: Likewise.
27283
2ae1ae5c
RM
272842012-08-17 Roland McGrath <roland@hack.frob.com>
27285
c31fdb83
RM
27286 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27287 * sysdeps/unix/syscalls.list: ... here.
27288
a0844057
RM
27289 * sysdeps/posix/getaddrinfo.c
27290 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27291 (gaiconf_init, gaiconf_reload): Use them.
27292 [!_STATBUF_ST_NSEC]
27293 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27294 Define using time_t rather than struct timespec.
27295
750c1f2a
RM
27296 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27297 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27298 Macros removed.
27299 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27300 [!NO_THREADS].
27301 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27302 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27303 Likewise.
27304
2ae1ae5c
RM
27305 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27306 __libc_cleanup_push argument.
27307
e66a42f5
RM
27308 * bits/param.h: New file.
27309 * misc/sys/param.h: New file.
27310 * include/sys/param.h: New file.
27311 * misc/Makefile (headers): Add bits/param.h.
27312 * sysdeps/generic/sys/param.h: File removed.
27313 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27314 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27315 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27316 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27317
b7c08a66
RM
27318 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27319 last change.
27320
b2e1c562
RM
27321 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27322 [_IO_MTSAFE_IO].
27323 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27324 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27325 New macros.
27326
c75ccd4c
RM
27327 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27328 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27329 rather than -D_IO_MTSAFE_IO conditionally.
27330 * stdio-common/Makefile (CPPFLAGS): Likewise.
27331 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27332 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27333 Use $(libio-mtsafe).
27334 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27335 of -D_IO_MTSAFE_IO.
27336 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27337 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27338 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27339 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27340 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27341 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27342 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27343 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27344 (CFLAGS-fread_u_chk.c): Likewise.
27345 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27346 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27347 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27348 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27349 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27350 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27351 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27352 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27353 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27354
27355 * libio/Makefile: Test [$(libc-reentrant) = yes]
27356 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27357
27358 * Makeconfig
27359 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27360 * sysdeps/pthread/configure: File removed.
27361 * sysdeps/pthread/Makeconfig: New file.
27362 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27363 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27364
d9195db8
GB
273652012-08-16 Gary Benson <gbenson@redhat.com>
27366
27367 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27368 unmapping the first object in a namespace.
27369
86466cd9
RM
273702012-08-16 Roland McGrath <roland@hack.frob.com>
27371
27372 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27373 (__internal_setnetgrent): ... this. Add internal_function to
27374 definition. Add libc_hidden_def.
27375 (setnetgrent): Update caller.
27376 (internal_endnetgrent): Renamed to ...
27377 (__internal_endnetgrent): ... this. Add internal_function to
27378 definition. Add libc_hidden_def.
27379 (endnetgrent): Update caller.
27380 (internal_getnetgrent_r): Renamed to ...
27381 (__internal_getnetgrent_r): ... this. Add internal_function to
27382 definition. Add libc_hidden_def.
27383 (__getnetgrent_r): Update caller.
27384 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27385
c3c8283c
JM
273862012-08-16 Joseph Myers <joseph@codesourcery.com>
27387
27388 * stdlib/longlong.h: Update from GCC.
27389
db1ee0a8
RM
273902012-08-16 Roland McGrath <roland@hack.frob.com>
27391
27392 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27393 on _QL, which is set by umul_ppmm but never used.
27394 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27395 variables, which are set by GMP macros but never used.
27396 * stdio-common/_itowa.c (_itowa): Likewise.
27397 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27398 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27399
30f69637
CD
274002012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27401
27402 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27403 struct La_sh_regs is not constant.
27404 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27405 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27406 and struct La_sparc64_regs are not constant.
27407
93a78ac4
JM
274082012-08-16 Joseph Myers <joseph@codesourcery.com>
27409
27410 * sysdeps/unix/sysv/linux/kernel-features.h
27411 (__ASSUME_POSIX_TIMERS): Remove.
27412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27413 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27414 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27415 Make code unconditional.
27416 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27417 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27418 Make code unconditional.
27419 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27420 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27421 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27422 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27423 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27424 Make code unconditional.
27425 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27426 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27427 (__libc_missing_posix_timers): Remove.
27428
dd924cd7
RM
274292012-08-15 Roland McGrath <roland@hack.frob.com>
27430
4b4f2771
RM
27431 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27432 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27433
601c888b
RM
27434 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27435
176790a7
RM
27436 * elf/dl-sym.c: Include <stdlib.h>.
27437
329bc018
RM
27438 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27439 constants, which avoids warnings in 32-bit builds.
27440
e04e272d
RM
27441 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27442 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27443
952bf94a
RM
27444 * misc/lseek.c: File moved to ...
27445 * io/lseek.c: ... here.
27446
7c99b50a
RM
27447 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27448
dd924cd7
RM
27449 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27450 shifting LEN more than 31 bits at once.
27451
b3f479a8
LD
274522012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27453
27454 [BZ #14195]
8c4ae0d4
RM
27455 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27456 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27457 * string/test-strncasecmp.c (check1): Renamed to...
27458 (bz12205): ...this.
27459 (bz14195): Add new testcase for two empty input strings and N > 0.
27460 (test_main): Call new testcase, adapt for renamed function.
27461
9c55864e
AJ
274622012-08-15 Andreas Jaeger <aj@suse.de>
27463
27464 [BZ #14090]
27465 * crypt/md5test2.c: New test, based on test supplied by Serge
27466 Belyshev <belyshev@depni.sinp.msu.ru>.
27467 * crypt/Makefile (xtests): Add md5test-giant..
27468 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27469
02dcb6c5
PE
274702012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27471
27472 [BZ #14090]
27473 * crypt/md5.c (md5_process_block): Don't assume the buffer
27474 length is less than 2**32.
27475 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27476 length is less than 2**64.
27477
a3f95dcc
RM
274782012-08-15 Roland McGrath <roland@hack.frob.com>
27479
be75d758
RM
27480 * string/str-two-way.h: Include <sys/param.h>.
27481 (MAX): Macro removed.
27482
7312ca90
RM
27483 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27484 Move #define and #undef of memmove to just before and after
27485 including <string.h>.
27486
9a0a5486
RM
27487 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27488 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27489 and after including <string.h>. Move declarations of
27490 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27491 to before #include "string/memmove.c".
27492
67cc348d
RM
27493 * include/dirent.h: Declare __getdirentries.
27494
a3f95dcc
RM
27495 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27496 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27497
ca98e171
MF
274982012-08-14 Mike Frysinger <vapier@gentoo.org>
27499
27500 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27501 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27502 * sysdeps/i386/configure: Regenerated.
27503 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27504 STABS_CURRENT_FILE, and STABS_FUN.
27505 (END): Remove call to STABS_FUN_END.
27506 (STABS_CURRENT_FILE1): Delete.
27507 (STABS_CURRENT_FILE): Likewise.
27508 (STABS_FUN): Likewise.
27509 (STABS_FUN_END): Likewise.
27510 (STABS_FUN2): Likewise.
27511 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27512 * sysdeps/x86_64/configure: Regenerated.
27513
5908bf46
RM
275142012-08-14 Roland McGrath <roland@hack.frob.com>
27515
27516 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27517 * elf/dl-lookup.c: Likewise.
5908bf46 27518
f2c05b9e
JM
275192012-08-14 Joseph Myers <joseph@codesourcery.com>
27520
27521 * sysdeps/unix/sysv/linux/kernel-features.h
27522 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27523 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27524 unconditionally.
27525 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27526 unconditionally.
27527 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27528 condition on __ASSUME_CLONE_THREAD_FLAGS.
27529
e11f5155
AJ
275302012-08-14 Andreas Jaeger <aj@suse.de>
27531
27532 * sysdeps/i386/fpu/libm-test-ulps: Update.
27533
51a9ba86
MK
275342012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27535
2fdd4f78
AJ
27536 * include/atomic.h (atomic_exchange_and_add): Split into ...
27537 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27538 New atomic macros.
51a9ba86 27539
ba6cba9e
MT
275402012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27541
27542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27543
42443a47
JL
275442012-08-13 Jeff Law <law@redhat.com>
27545
27546 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27547 null byte in the output string.
27548
121dce05
JM
275492012-08-10 Joseph Myers <joseph@codesourcery.com>
27550
27551 * sysdeps/unix/sysv/linux/kernel-features.h
27552 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27553 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27554 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27555 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27556 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27557 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27558 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27559
bf51f568
JL
275602012-08-09 Jeff Law <law@redhat.com>
27561
27562 [BZ #13939]
27563 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27564 When avoid_arena is set, don't retry in the that arena. Pick the
27565 next one, whatever it might be.
27566 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27567 (arena_lock): Pass in new parameter to arena_get2.
27568 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27569 arena_get2.
27570 (__libc_malloc): Unify retrying after main arena failure with
27571 __libc_memalign version.
27572 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27573
f85fa270
L
275742012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27575
27576 [BZ #14166]
27577 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27578 to __redirect_strstr.
27579 (__strstr_sse42): Use typeof __redirect_strstr.
27580 (__strstr_ia32): Likewise.
27581 (__libc_strstr): New prototype.
27582 (strstr): Renamed to ...
27583 (__libc_strstr): This.
27584 (strstr): New strong alias of __libc_strstr.
27585 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27586 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27587 __redirect_time.
27588 Include <time.h>.
27589 (__libc_time): New prototype.
27590 (time_ifunc): Replace time with __libc_time.
27591 (time): New strong alias and hidden definition of __libc_time.
27592 (__GI_time): Remove strong alias.
27593 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27594 Include <stddef.h>.
27595 (memmove): Redefined to __redirect_memmove.
27596 (__memmove_sse2): Use typeof __redirect_memmove.
27597 (__memmove_ssse3): Likewise.
27598 (__memmove_ssse3_back): Likewise.
27599 (__libc_memmove): New prototype.
27600 (memmove): Renamed to ...
27601 (__libc_memmove): This.
27602 (memmove): New strong alias of __libc_memmove.
27603
33b4a91e
MS
276042012-08-08 Mark Salter <msalter@redhat.com>
27605
27606 * elf/elf.h
27607 (R_MN10300_TLS_GD): Define.
27608 (R_MN10300_TLS_LD): Likewise.
27609 (R_MN10300_TLS_LDO): Likewise.
27610 (R_MN10300_TLS_GOTIE): Likewise.
27611 (R_MN10300_TLS_IE): Likewise.
27612 (R_MN10300_TLS_LE): Likewise.
27613 (R_MN10300_TLS_DTPMOD): Likewise.
27614 (R_MN10300_TLS_DTPOFF): Likewise.
27615 (R_MN10300_TLS_TPOFF): Likewise.
27616 (R_MN10300_SYM_DIFF): Likewise.
27617 (R_MN10300_ALIGN): Likewise.
27618 (R_MN10300_NUM): Update.
27619
b36137f1
JM
276202012-08-08 Joseph Myers <joseph@codesourcery.com>
27621
27622 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27623 Remove.
27624
cdd915fd
RM
276252012-08-08 Roland McGrath <roland@hack.frob.com>
27626
a2433aac
RM
27627 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27628
cdd915fd
RM
27629 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27630 sysdeps/unix -> sysdeps/posix move.
27631 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27632
bf9b740a
AM
276332012-08-07 Allan McRae <allan@archlinux.org>
27634
27635 [BZ #14303]
27636 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27637 (SUNOS_CPP): Likewise.
27638 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27639 not found.
27640 (open_input): Call CPP using execvp.
27641
93df14ee
JM
276422012-08-07 Joseph Myers <joseph@codesourcery.com>
27643
27644 * sysdeps/unix/sysv/linux/kernel-features.h
27645 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27646 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27647 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27648 (__ASSUME_WAITID_SYSCALL): Likewise.
27649 * sysdeps/unix/sysv/linux/dl-execstack.c
27650 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27651 code unconditional.
27652 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27653 conditional code.
27654 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27655 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27656 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27657 code.
27658 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27659 unconditional.
27660 [__ASSUME_WAITID_SYSCALL]: Likewise.
27661 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27662
d34689de
RM
276632012-08-07 Roland McGrath <roland@hack.frob.com>
27664
a281decc
RM
27665 * sysdeps/unix/closedir.c: Renamed to ...
27666 * sysdeps/posix/closedir.c: ... here.
27667 * sysdeps/unix/dirfd.c: Renamed to ...
27668 * sysdeps/posix/dirfd.c: ... here.
27669 * sysdeps/unix/dirstream.h: Renamed to ...
27670 * sysdeps/posix/dirstream.h: ... here.
27671 * sysdeps/unix/fdopendir.c: Renamed to ...
27672 * sysdeps/posix/fdopendir.c: ... here.
27673 * sysdeps/unix/opendir.c: Renamed to ...
27674 * sysdeps/posix/opendir.c: ... here.
27675 * sysdeps/unix/readdir.c: Renamed to ...
27676 * sysdeps/posix/readdir.c: ... here.
27677 * sysdeps/unix/readdir_r.c: Renamed to ...
27678 * sysdeps/posix/readdir_r.c: ... here.
27679 * sysdeps/unix/rewinddir.c: Renamed to ...
27680 * sysdeps/posix/rewinddir.c: ... here.
27681 * sysdeps/unix/seekdir.c: Renamed to ...
27682 * sysdeps/posix/seekdir.c: ... here.
27683 * sysdeps/unix/telldir.c: Renamed to ...
27684 * sysdeps/posix/telldir.c: ... here.
27685 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27686 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27687 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27688 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27689
22895b47
RM
27690 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27691 * bits/fcntl.h: ... here.
27692
707a53b6
RM
27693 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27694 not 0.
27695 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27696 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27697 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27698 (struct flock): Move l_start, l_len to the beginning.
27699 Use __pid_t for l_pid.
27700 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27701 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27702 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27703 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27704 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27705 [__USE_LARGEFILE64] (struct flock64): New type.
27706 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27707
f0bd3e25
RM
27708 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27709 * bits/dirent.h: ... here.
27710
d34689de
RM
27711 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27712 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27713
6dad2c06
JM
277142012-08-07 Joseph Myers <joseph@codesourcery.com>
27715
27716 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27717 Change from 2.6.0 to 2.6.16.
27718 * sysdeps/unix/sysv/linux/configure: Regenerated.
27719 * sysdeps/unix/sysv/linux/kernel-features.h
27720 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27721 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27722 version.
27723 (__ASSUME_UTIMES): Likewise.
27724 (__ASSUME_CLONE_STOPPED): Remove.
27725 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27726 architectures, not kernel version.
27727 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27728 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27729 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27730 (__ASSUME_WAITID_SYSCALL): Likewise.
27731 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27732 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27733 * README: State 2.6.16 as minimum Linux kernel version. Do not
27734 refer to older versions.
27735
03af9520
RM
277362012-08-06 Roland McGrath <roland@hack.frob.com>
27737
8e49df1d
RM
27738 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27739 Define alphasort64 as an alias.
27740 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27741 Define versionsort64 as an alias.
27742 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27743 Define scandir64 as an alias.
27744 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27745 Define scandirat64 as an alias.
27746 * dirent/alphasort64.c (alphasort64):
27747 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27748 * dirent/versionsort64.c: Likewise.
27749 * dirent/scandir64.c: Likewise.
27750 * dirent/scandirat64.c: Likewise.
27751 * sysdeps/wordsize-64/alphasort.c: File removed.
27752 * sysdeps/wordsize-64/alphasort64.c: File removed.
27753 * sysdeps/wordsize-64/scandir.c: File removed.
27754 * sysdeps/wordsize-64/scandir64.c: File removed.
27755 * sysdeps/wordsize-64/scandirat.c: File removed.
27756 * sysdeps/wordsize-64/scandirat64.c: File removed.
27757 * sysdeps/wordsize-64/versionsort.c: File removed.
27758 * sysdeps/wordsize-64/versionsort64.c: File removed.
27759 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27760 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27761 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27762 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27763 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27764 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27765 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27766 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27767
27768 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27769 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27770 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27772 [defined __arch64__ || defined __sparcv9]
27773 (__INO_T_MATCHES_INO64_T): New macro.
27774 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27775 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27776 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27777 * sysdeps/unix/sysv/linux/bits/dirent.h
27778 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27779 (_DIRENT_MATCHES_DIRENT64): New macro.
27780
03af9520
RM
27781 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27782 Define lockf64 as an alias.
27783 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27784 Define fseeko64 as an alias.
27785 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27786 Define ftello64 as an alias.
27787 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27788 Define _IO_fgetpos64 and fgetpos64 as aliases.
27789 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27790 Define _IO_fsetpos64 and fsetpos64 as aliases.
27791 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27792 Conditionalize body on this.
27793 * libio/fseeko64.c: Likewise.
27794 * libio/ftello64.c: Likewise.
27795 * libio/iofgetpos64.c: Likewise.
27796 * libio/iofsetpos64.c: Likewise.
27797 * sysdeps/wordsize-64/lockf.c: File removed.
27798 * sysdeps/wordsize-64/lockf64.c: File removed.
27799 * sysdeps/wordsize-64/fseeko.c: File removed.
27800 * sysdeps/wordsize-64/fseeko64.c: File removed.
27801 * sysdeps/wordsize-64/ftello.c: File removed.
27802 * sysdeps/wordsize-64/ftello64.c: File removed.
27803 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27804 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27805 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27806 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27807 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27809 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27810 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27811 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27812 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27813 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27814 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27815 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27816 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27817
27818 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27820 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27822 [defined __arch64__ || defined __sparcv9]
27823 (__OFF_T_MATCHES_OFF64_T): New macro.
27824 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27825 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27827 (__OFF_T_MATCHES_OFF64_T): New macro.
27828
c5757acd
L
278292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27830
27831 * stdlib/secure-getenv.c (__secure_getenv): Replace
27832 GLIBC_2_16 with GLIBC_2_17.
27833
3a31811e
L
278342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27835
27836 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27837 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27838
faa2bccb
DM
278392012-08-03 David S. Miller <davem@davemloft.net>
27840
27841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27842
85fe1997
JM
278432012-08-03 Joseph Myers <joseph@codesourcery.com>
27844
27845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27846 Remove.
27847 (__ASSUME_CORRECT_SI_PID): Likewise.
27848 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27849 (__ASSUME_TMPFS_NAME): Likewise.
27850 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27851 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27852 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27853 (HAVE_AUX_SECURE): Make definition unconditional.
27854 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27855 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27856
4f75b7a0
RM
278572012-08-03 Roland McGrath <roland@hack.frob.com>
27858
27859 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27860 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27861 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27862 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27863 __eloop_threshold instead of SYMLOOP_MAX.
27864
27865 * sysdeps/generic/eloop-threshold.h: New file.
27866 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27867 of MAXSYMLINKS.
27868 * elf/chroot_canon.c (chroot_canon): Likewise.
27869
7aab07e4
JM
278702012-08-03 Joseph Myers <joseph@codesourcery.com>
27871
27872 [BZ #13717]
27873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27874 Change to 2.6.0 everywhere.
27875 * sysdeps/unix/sysv/linux/configure: Regenerated.
27876 * sysdeps/unix/sysv/linux/kernel-features.h
27877 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27878 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27879 kernel versions.
27880 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27881 (__ASSUME_FUTEX_REQUEUE): Remove.
27882 (__ASSUME_STATFS64): Define unconditionally.
27883 (__ASSUME_AT_SECURE): Likewise.
27884 (__ASSUME_CORRECT_SI_PID): Likewise.
27885 (__ASSUME_TGKILL): Define without depending on kernel version for
27886 i386.
27887 (__ASSUME_UTIMES): Likewise.
27888 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27889 kernel version.
27890 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27891 (__ASSUME_TMPFS_NAME): Likewise.
27892 * README: Update reference to Linux kernel versions.
27893
b67e9372
MP
278942012-08-02 Marek Polacek <polacek@redhat.com>
27895
1f529f7d 27896 [BZ# 14150]
b67e9372
MP
27897 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27898 libc_cv_asm_type_prefix with %.
27899 * configure: Regenerated.
d2441631
RM
27900 * include/libc-symbols.h: Remove comment about
27901 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27902 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27903 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27904 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27905 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27906 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27907 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27908 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27909 * elf/tst-unique2mod1.c: Likewise.
27910 * elf/tst-unique1mod2.c: Likewise.
27911 * elf/tst-unique1mod1.c: Likewise.
27912 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27913 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27914 Replace ASM_TYPE_DIRECTIVE with .type.
27915 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27916 * sysdeps/i386/sysdep.h: Likewise.
27917 * sysdeps/x86_64/sysdep.h: Likewise.
27918 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27920 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27921 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27922 * sysdeps/powerpc/powerpc32/sysdep.h:
27923 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27924 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27925 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27926 * sysdeps/i386/fpu/e_powf.S: Likewise.
27927 * sysdeps/i386/fpu/e_expl.S: Likewise.
27928 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27929 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27930 * sysdeps/i386/fpu/e_pow.S: Likewise.
27931 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27932 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27933 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27934 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27935 * sysdeps/i386/fpu/e_log2.S: Likewise.
27936 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27937 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27938 * sysdeps/i386/fpu/e_powl.S: Likewise.
27939 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27940 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27941 * sysdeps/i386/fpu/e_logl.S: Likewise.
27942 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27943 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27944 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27945 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27946 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27947 * sysdeps/i386/fpu/e_log.S: Likewise.
27948 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27949 * sysdeps/i386/fpu/e_logf.S: Likewise.
27950 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27952 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27953 * sysdeps/i386/fpu/e_log10.S: Likewise.
27954 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27955 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27956 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27957 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27958 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27959 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27960 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27961 * sysdeps/i386/i686/strtok.S: Likewise.
27962 * sysdeps/i386/i386-mcount.S: Likewise.
27963 * sysdeps/i386/strtok.S: Likewise.
27964 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27965 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27966 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27967 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27968 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27969 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27970 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27971 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27972 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27973 * sysdeps/x86_64/_mcount.S: Likewise.
27974 * sysdeps/x86_64/strtok.S: Likewise.
27975 * sysdeps/sh/_mcount.S: Likewise.
27976
2747bf9a
RM
279772012-08-01 Roland McGrath <roland@hack.frob.com>
27978
27979 * libio/iofopen.c: Include <fcntl.h>.
27980 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27981 (_IO_fopen64, fopen64): Define as aliases.
27982 * libio/iofopen64.c: Include <fcntl.h>.
27983 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27984 Conditionalize body on this.
27985 * sysdeps/wordsize-64/iofopen.c: File removed.
27986 * sysdeps/wordsize-64/iofopen64.c: File removed.
27987
3fb791b8
MP
279882012-08-01 Marek Polacek <polacek@redhat.com>
27989
27990 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27991 Use dlfcn directly instead of a variable.
27992 (binfmt-subdir): Do not define.
27993 (dlfcn): Likewise.
27994
a9f1039f
JM
279952012-08-01 Joseph Myers <joseph@codesourcery.com>
27996
23bddc06
JM
27997 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27998 Remove all definitions.
27999 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28000 <kernel-features.h>.
28001 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28002 (miss_F_GETOWN_EX): Remove all definitions.
28003 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28004 macro definition.
28005 [!__ASSUME_FCNTL64]: Remove conditional code.
28006 [__ASSUME_FCNTL64]: Make code unconditional.
28007 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28008 <kernel-features.h>.
28009 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28010 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28011 (lockf64) [__NR_fcntl64]: Make code unconditional.
28012 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28013
a9f1039f
JM
28014 * sysdeps/unix/sysv/linux/kernel-features.h
28015 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28016 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28017 Make code unconditional.
28018 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28019 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28021 [__NR_vfork]: Make code unconditional.
28022 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28023 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28025 [__NR_vfork]: Make code unconditional.
28026 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28027 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28028
09c0ee5f
RM
280292012-08-01 Roland McGrath <roland@hack.frob.com>
28030
48aec5b9
RM
28031 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28032 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28033
cd97c966
RM
28034 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28035 Define mkstemp64 as an alias.
3f55550c
RM
28036 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28037 Define mkstemps64 as an alias.
cd97c966
RM
28038 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28039 Define mkostemp64 as an alias.
b8625cfc
RM
28040 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28041 Define mkostemps64 as an alias.
cd97c966
RM
28042 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28043 Conditionalize body on this.
28044 * misc/mkostemp64.c: Likewise.
b8625cfc 28045 * misc/mkostemps64.c: Likewise.
3f55550c 28046 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28047 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28048 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28049 * sysdeps/wordsize-64/mkostemp.c: File removed.
28050 * sysdeps/wordsize-64/mkstemp.c: File removed.
28051 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28052 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28053 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28054 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28055
09c0ee5f
RM
28056 [BZ #14138]
28057 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28058 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28059 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28060 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28061
28062 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28063 compat_symbol macros from <shlib-compat.h> rather than the underlying
28064 default_symbol_version and symbol_version macros, so that DEFAULT
28065 lines in shlib-versions are respected.
28066 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28067
7e66ee51
FW
280682012-08-01 Florian Weimer <fweimer@redhat.com>
28069
28070 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28071 Declare with warn_unused_result.
28072 (setgid, setregid, setegid, setresgid): Likewise.
28073 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28074 Likewise.
28075 * WUR-REPORT: Remove set*id functions.
28076
d2a54255
PT
280772012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28078
28079 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28080
7ecdb005
RM
280812012-07-31 Roland McGrath <roland@hack.frob.com>
28082
b4180a5e 28083 [BZ #10191]
789bd351
RM
28084 * include/sys/socket.h (__libc_accept, __libc_accept4):
28085 Add attribute_hidden.
28086 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28087
40ce302d
RM
28088 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28089 use of PTR_MANGLE.
28090 * inet/getnetgrent_r.c (setup): Likewise.
28091
7ecdb005
RM
28092 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28093
e2eabb2c
DM
280942012-07-31 David S. Miller <davem@davemloft.net>
28095
28096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28097
d0419dbf
JM
280982012-07-31 Joseph Myers <joseph@codesourcery.com>
28099
28100 [BZ #13629]
28101 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28102 value between 1.0 and 2.0 and smaller part has absolute value less
28103 than 1.0.
28104 * math/s_clog10.c (__clog10): Likewise.
28105 * math/s_clog10f.c (__clog10f): Likewise.
28106 * math/s_clog10l.c (__clog10l): Likewise.
28107 * math/s_clogf.c (__clogf): Likewise.
28108 * math/s_clogl.c (__clogl): Likewise.
28109 * math/libm-test.inc (clog_test): Add more tests.
28110 (clog10_test): Likewise.
28111 * sysdeps/i386/fpu/libm-test-ulps: Update.
28112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28113
2bc13872
FW
281142012-07-31 Florian Weimer <fweimer@redhat.com>
28115
28116 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28117 Exit with zero in case no suitable GID is found, and write a
28118 message to standard error.
28119
bea9b193
RM
281202012-07-30 Roland McGrath <roland@hack.frob.com>
28121
28122 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28123 rather than to 1.
28124 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28125 (MAXPATHLEN): Removed.
28126 (NOGROUP, NODEV): New macros.
28127 (setbit, clrbit, isset, isclr): New macros.
28128 (howmany, roundup, powerof2): New macros.
28129 (DEV_BSIZE): New macro.
28130
28131 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28132 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28133
28134 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28135 definition on [!__NO_LONG_DOUBLE_MATH].
28136
28137 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28138 PTR_MANGLE and PTR_DEMANGLE.
28139
28140 * socket/accept4.c (accept4): Rename to __libc_accept4.
28141 Define accept4 as a weak alias.
28142
28143 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28144 on [_DIRENT_HAVE_D_TYPE].
28145 * io/ftw.c (ftw_dir): Likewise.
28146
28147 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28148
28149 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28150
28151 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28152 Use the BSD numbers rather than the arbitrary ones we had.
28153 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28154 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28155 (SIGXCPU, SIGXFSZ): New macros.
28156 (_NSIG): Now 32.
28157
28158 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28159 initializer on [_LIBC_REENTRANT].
28160
28161 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28162 definitions inside [_POSIX_MAPPED_FILES].
28163
28164 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28165
28166 * dirent/opendir.c: Include <fcntl.h>.
28167
28168 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28169 (__libc_getspecific): Likewise.
28170 (__libc_key_create): Likewise.
28171
28172 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28173 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28174 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28175 (tmpfile64): Define as alias.
28176 * sysdeps/wordsize-64/tmpfile.c: File removed.
28177 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28178 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28179 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28180
28181 * stdio-common/vfscanf.c: Include <stdbool.h>.
28182 * nss/makedb.c: Likewise.
28183 * stdio-common/_i18n_number.h: Likewise.
28184 * argp/argp-help.c: Likewise.
28185 * posix/wordexp.c: Likewise.
28186 * sysdeps/posix/spawni.c: Likewise.
28187 * nss/nss_files/files-initgroups.c: Likewise.
28188 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28189 * nss/nss_files/files-initgroups.c: Likewise.
28190 * nss/nss_db/db-netgrp.c: Likewise.
28191 * nss/nss_db/db-initgroups.c: Likewise.
28192 * io/fchmodat.c: Include <sys/stat.h>.
28193
28194 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28195 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28196
28197 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28198 [HAVE_MMAP].
28199
28200 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28201 Add multiple inclusion protection.
28202
e5abc686
DM
282032012-07-27 David S. Miller <davem@davemloft.net>
28204
28205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28206
815e6fa3
GB
282072012-07-27 Gary Benson <gbenson@redhat.com>
28208
28209 [BZ #14298]
28210 * elf/rtld.c: Include <stap-probe.h>.
28211 (dl_main): Added static probes "init_start" and "init_complete".
28212 * elf/dl-load.c: Include <stap-probe.h>.
28213 (lose): Take new parameter "nsid".
28214 Added static probe "map_failed".
28215 (_dl_map_object_from_fd): Pass namespace id to lose.
28216 Added static probe "map_start".
28217 (open_verify): Pass namespace id to lose.
28218 * elf/dl-open.c: Include <stap-probe.h>.
28219 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28220 and "reloc_complete".
28221 * elf/dl-close.c: Include <stap-probe.h>.
28222 (_dl_close_worker): Added static probes "unmap_start" and
28223 "unmap_complete".
28224 * elf/rtld-debugger-interface.txt: New file documenting the above.
28225
9f98c16c
RM
282262012-07-26 Roland McGrath <roland@hack.frob.com>
28227
28228 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28229 rather than a string variable.
28230 * sunrpc/rpc_main.c (h_output): Likewise.
28231 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28232
f3c22df3
PT
282332012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28234
28235 * inet/check_native.c: New file.
28236
3129cfc6
JM
282372012-07-26 Joseph Myers <joseph@codesourcery.com>
28238
da865e95
JM
28239 [BZ #13629]
28240 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28241 if larger part has absolute value 1.0.
28242 * math/s_clog10.c (__clog10): Likewise.
28243 * math/s_clog10f.c (__clog10f): Likewise.
28244 * math/s_clog10l.c (__clog10l): Likewise.
28245 * math/s_clogf.c (__clogf): Likewise.
28246 * math/s_clogl.c (__clogl): Likewise.
28247 * math/libm-test.inc (clog_test): Add more tests.
28248 (clog10_test): Likewise.
28249 * sysdeps/i386/fpu/libm-test-ulps: Update.
28250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28251
3129cfc6
JM
28252 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28253 (pltexit): Likewise.
28254 (La_regs): Likewise.
28255 (La_retval): Likewise.
28256 (int_retval): Likewise.
28257 Update #error for removed macros to refer only to definitions in
28258 tst-audit.h.
28259 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28260 macro.
28261 (pltexit): Likewise.
28262 (La_regs): Likewise.
28263 (La_retval): Likewise.
28264 (int_retval): Likewise.
28265 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28266 macro.
28267 (pltexit): Likewise.
28268 (La_regs): Likewise.
28269 (La_retval): Likewise.
28270 (int_retval): Likewise.
28271 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28272 macro.
28273 (pltexit): Likewise.
28274 (La_regs): Likewise.
28275 (La_retval): Likewise.
28276 (int_retval): Likewise.
28277 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28278 macro.
28279 (pltexit): Likewise.
28280 (La_regs): Likewise.
28281 (La_retval): Likewise.
28282 (int_retval): Likewise.
28283 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28284 macro.
28285 (pltexit): Likewise.
28286 (La_regs): Likewise.
28287 (La_retval): Likewise.
28288 (int_retval): Likewise.
28289 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28290 macro.
28291 (pltexit): Likewise.
28292 (La_regs): Likewise.
28293 (La_retval): Likewise.
28294 (int_retval): Likewise.
28295 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28296 macro definitions in tst-audit.h.
28297 * sysdeps/i386/tst-audit.h: New file.
28298 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28299 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28300 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28301 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28302 * sysdeps/sh/tst-audit.h: Likewise.
28303 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28304 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28305 * sysdeps/x86_64/tst-audit.h: Likewise.
28306
bfc07087
AJ
283072012-07-26 Andreas Jaeger <aj@suse.de>
28308
b1b2aaf8
AJ
28309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28310 ptrace.
28311
28312 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28313 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28314 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28315 PTRACE_O_MASK.
28316 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28317 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28318 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28319
bfc07087
AJ
28320 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28321 value.
28322
28323 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28324 _sigsys.
28325 (si_call_addr, si_syscall, si_arch): Define new macro.
28326 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28327 _sigsys.
28328 (si_call_addr, si_syscall, si_arch): Define new marcro.
28329 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28330 _sigsys.
28331 (si_call_addr, si_syscall, si_arch): Define new macro.
28332 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28333 _sigsys.
28334 (si_call_addr, si_syscall, si_arch): Define new macro.
28335
89b4b02f
JM
283362012-07-25 Joseph Myers <joseph@codesourcery.com>
28337
28338 [BZ #13717]
28339 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28340 Change to 2.4.21 where previously 2.4.1.
28341 * sysdeps/unix/sysv/linux/configure: Regenerated.
28342 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28343 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28344 Linux kernel version.
28345 (__ASSUME_STD_AUXV): Remove.
28346 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28347 kernel version.
28348 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28349 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28350 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28351 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28352 (__ASSUME_NETLINK_SUPPORT): Likewise.
28353 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28354 (__no_netlink_support): Remove conditional definition.
28355 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28356 Remove.
28357 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28358 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28359 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28360 (if_nameindex_ioctl): Remove.
28361 (if_nameindex_netlink): Do not handle __no_netlink_support.
28362 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28363 code.
28364 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28365 Remove conditional code.
28366 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28367 code.
28368 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28369 unconditional.
28370 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28371 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28372 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28373 Remove.
28374 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28375 [!__ASSUME_STD_AUXV]: Remove conditional code.
28376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28377 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28378 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28380 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28381 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28382 code.
28383 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28385 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28386 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28387 conditional code.
28388 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28390 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28391 code.
28392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28393 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28394 conditional code.
28395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28396 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28397 code unconditional.
28398 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28399 conditional code.
28400 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28401 unconditional.
28402 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28403 conditional code.
28404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28405 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28406 unconditional.
28407 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28408 conditional code.
28409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28410 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28411 code unconditional.
28412 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28413 conditional code.
28414 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28415 unconditional.
28416 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28417 conditional code.
28418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28419 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28420 code unconditional.
28421 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28422 conditional code.
28423 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28424 unconditional.
28425 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28426 conditional code.
28427
842a39cd
AS
284282012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28429
28430 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28431 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28432 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28433 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28434 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28435 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28436 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28437 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28438 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28439 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28440 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28441 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28442 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28443 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28444 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28445 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28446 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28448 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28450 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28451 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28452 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28453
84b3fd84
FW
284542012-07-25 Florian Weimer <fweimer@redhat.com>
28455
28456 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28457 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28458 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28459 Introduce __libc_secure_getenv.
0c7936d5
FW
28460 * stdlib/Versions (2.17): Add secure_getenv
28461 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28462 * stdlib/secure-getenv.c: Rename __secure_getenv to
28463 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28464 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28465 * stdlib/tst-secure-getenv.c: New.
28466 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28467 * manual/startup.texi (Environment Access): Document
28468 secure_getenv.
84b3fd84
FW
28469 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28470 __libc_secure_getenv.
28471 * inet/ruserpass.c (ruserpass): Likewise.
28472 * malloc/mtrace.c (mtrace): Likewise.
28473 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28474 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28475 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28476 * sysdeps/posix/tempname.c: Likewise. Evaluate
28477 HAVE_SECURE_GETENV.
28478 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28479 __secure_getenv to __libc_secure_getenv.
84b3fd84 28480 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28482 Likewise.
28483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28484 Likewise.
28485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28492
56e49b71
JM
284932012-07-25 Joseph Myers <joseph@codesourcery.com>
28494
28495 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28496 (struct La_i86_retval): Likewise.
28497 (struct La_x86_64_regs): Likewise.
28498 (struct La_x86_64_retval): Likewise.
28499 (struct La_x32_regs): Likewise.
28500 (struct La_x32_retval): Likewise.
28501 (struct La_ppc32_regs): Likewise.
28502 (struct La_ppc32_retval): Likewise.
28503 (struct La_ppc64_regs): Likewise.
28504 (struct La_ppc64_retval): Likewise.
28505 (struct La_sh_regs): Likewise.
28506 (struct La_sh_retval): Likewise.
28507 (struct La_s390_32_regs): Likewise.
28508 (struct La_s390_32_retval): Likewise.
28509 (struct La_s390_64_regs): Likewise.
28510 (struct La_s390_64_retval): Likewise.
28511 (struct La_sparc32_regs): Likewise.
28512 (struct La_sparc32_retval): Likewise.
28513 (struct La_sparc64_regs): Likewise.
28514 (struct La_sparc64_retval): Likewise.
28515 (struct audit_ifaces): Remove architecture-specific pltenter and
28516 pltexit members.
28517 * sysdeps/i386/ldsodefs.h: New file.
28518 * sysdeps/powerpc/ldsodefs.h: Likewise.
28519 * sysdeps/s390/ldsodefs.h: Likewise.
28520 * sysdeps/sh/ldsodefs.h: Likewise.
28521 * sysdeps/sparc/ldsodefs.h: Likewise.
28522 * sysdeps/x86_64/ldsodefs.h: Likewise.
28523
354691b7
MP
285242012-07-25 Marek Polacek <polacek@redhat.com>
28525
28526 [BZ #6808]
28527 * math/libm-test.inc (yn_test): Add another test.
28528 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28529 to ERANGE when the result is +-Inf.
28530 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28531 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28532 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28533 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28534
bf9e2071
JM
285352012-07-24 Joseph Myers <joseph@codesourcery.com>
28536
28537 * conform/data/time.h-data (NULL): Use macro-constant. Require
28538 equal to 0.
28539 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28540 clock_t.
28541 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28542
57633811
TS
285432012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28544
28545 * configure.in <sysdeps resolving>: Correct printing
28546 Implies_before.
28547 * configure: Regenerate.
28548
c23c33b0
TS
285492012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28550
28551 * math/w_ilogb.c: Include <limits.h>.
28552 * math/w_ilogbl.c: Likewise.
28553
b5982523
JM
285542012-07-20 Joseph Myers <joseph@codesourcery.com>
28555
28556 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28557 va_copy. Document allowing for unavailable va_copy only as
28558 pre-C99 compatibility.
28559 * manual/string.texi (Copying and Concatenation): Use va_copy
28560 instead of __va_copy in concat example.
28561
ac4ea442
PT
285622012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28563
28564 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28565 (__sendto): Use create_address_port. Initialize APORT and deallocate
28566 it if not null.
28567
f98eafbd
PT
28568 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28569 with O_NOLINK passed to __file_name_lookup.
28570
898c7aab
PT
28571 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28572 with O_NOLINK passed to __file_name_lookup.
28573
0ced335a
PT
28574 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28575 negative N or less than NGIDS.
28576
b3404dbd
PT
28577 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28578 type to string_t. Set ERANGE as errno and return it if NAME is not big
28579 enough. Use memcpy instead of strncpy.
28580
0f48659e
JM
285812012-07-20 Joseph Myers <joseph@codesourcery.com>
28582
28583 * elf/Makefile (check-data): Remove.
28584 (localplt.data): New vpath directive.
28585 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28586 instead of $(check-data).
28587 * scripts/data/localplt-generic.data: Move to ...
28588 * sysdeps/generic/localplt.data: ... here.
28589 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28590 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28591 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28593 ... here.
28594 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28596 ... here.
28597 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28599 ... here.
28600 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28602 ... here.
28603 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28605 ... here.
28606 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28608 ... here.
28609
d37cbdaa
AZ
286102012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28611
28612 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28613 PPC32 and PPC64 files.
28614 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28615 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28616
46f85fc2
AK
286172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28618
28619 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28620 __makecontext_ret to ...
28621 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28622 ... here and call exit if uc_link is NULL. New file.
28623 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28624 __makecontext_ret.S.
28625 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28626 __makecontext_ret to ...
28627 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28628 ... here and call exit if uc_link is NULL. New file.
28629 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28630 __makecontext_ret.S.
28631
08f43f9b
AK
286322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28633
28634 * elf/elf.h (R_390_IRELATIVE): New definition.
28635 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28636 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28637 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28638 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28639 (elf_machine_lazy_rel): Likewise.
28640 * sysdeps/s390/dl-irel.h: New file.
28641 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28642 * sysdeps/s390/s390-64/memset.S: New asm code.
28643 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28644 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28645 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28646 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28647 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28648 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28649 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28650 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28651 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28652 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28653 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28654 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28655 * sysdeps/s390/s390-32/memset.S: New asm code.
28656 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28657
3b05db33
MP
286582012-07-17 Marek Polacek <polacek@redhat.com>
28659
28660 [BZ #14349]
28661 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28662 * sysdeps/s390/s390-64/configure.in: Likewise.
28663 * sysdeps/sparc/configure.in: Likewise.
28664 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28665 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28666 * sysdeps/i386/configure.in: Likewise.
28667 * sysdeps/x86_64/configure.in: Likewise.
28668 * sysdeps/sh/configure.in: Likewise.
28669 * sysdeps/s390/s390-32/configure: Regenerated.
28670 * sysdeps/s390/s390-64/configure: Likewise.
28671 * sysdeps/x86_64/configure: Likewise.
28672 * sysdeps/sh/configure: Likewise.
28673 * sysdeps/powerpc/powerpc64/configure: Likewise.
28674 * sysdeps/powerpc/powerpc32/configure: Likewise.
28675 * sysdeps/sparc/configure: Likwise.
28676 * sysdeps/i386/configure: Likewise.
28677
a66877c6
MP
28678 * elf/dl-open.c: Comment fixes.
28679
cfc82fd8
JM
286802012-07-17 Joseph Myers <joseph@codesourcery.com>
28681
bd29910a
JM
28682 * Makefile [CXX] (check-data): Remove.
28683 [CXX] (c++-types.data): New vpath directive.
28684 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28685 vpath. Do not allow for C++ type data being missing.
28686 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28687 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28688 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28689 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28690 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28691 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28692 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28694 ... here.
28695 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28697 ... here.
28698 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28700 ... here.
28701 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28703 ... here.
28704 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28706 ... here.
28707 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28709 ... here.
28710 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28712 ... here.
28713 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28715
cfc82fd8
JM
28716 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28717 definitions to architecture-specific files.
28718 (TLS_IE): Likewise.
28719 (TLS_LD): Likewise.
28720 (TLS_GD): Likewise.
28721 * sysdeps/i386/tls-macros.h: New file.
28722 * sysdeps/powerpc/tls-macros.h: Likewise.
28723 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28724 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28725 * sysdeps/sh/tls-macros.h: Likewise.
28726 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28727 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28728 * sysdeps/x86_64/tls-macros.h: Likewise.
28729
f7db3170
TS
287302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28731
07cbfc23
TS
28732 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28733 zero value for regular exit case.
28734
f7db3170
TS
28735 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28736 (__start_context): Preserve zero value for regular exit case.
28737
dc97c227
TS
287382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28739 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28740
28741 * manual/setjmp.texi (setcontext): Clarify normal process
28742 termination when uc_link is the null pointer.
28743 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28744 exit call.
28745
d0cd7d02
AS
287462012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28747
28748 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28749 preprocessor. Test for each exception mask separately.
28750
dd318934
AJ
287512012-07-16 Andreas Jaeger <aj@suse.de>
28752
28753 * po/ru.po: Update from translation team.
28754
8048311a
JM
287552012-07-15 Joseph Myers <joseph@codesourcery.com>
28756
28757 * conform/data/string.h-data (NULL): Use macro-constant. Require
28758 equal to 0.
28759 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28760 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28761 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28762 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28764
b637d46e
AJ
287652012-07-13 Andreas Jaeger <aj@suse.de>
28766
28767 * po/fr.po: Update from translation team.
28768
541428fe
MP
287692012-07-12 Marek Polacek <polacek@redhat.com>
28770
28771 [BZ #14173]
28772 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28773 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28774 loop condition.
28775
ec332e94
JM
287762012-07-12 Joseph Myers <joseph@codesourcery.com>
28777
28778 [BZ #13717]
28779 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28780 Change to 2.4.1 where previously 2.4.0.
28781 * sysdeps/unix/sysv/linux/configure: Regenerated.
28782 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28783 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28784 version.
28785 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28786 (__ASSUME_AT_CLKTCK): Remove.
28787 (__ASSUME_AT_PAGESIZE): Likewise.
28788 (__ASSUME_AT_XID): Likewise.
28789 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28790 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28791 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28792 unconditionally.
28793 (HAVE_AUX_PAGESIZE): Likewise.
28794 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28795 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28796 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28797
7b6e99be
JB
287982012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28799
28800 [BZ #14307]
28801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28802 the temporary buffer used to invoke __gethostbyname2_r,
28803 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28804 host_data / struct gaih_addrtuple.
28805 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28806 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28807 header file nss/nsswitch.h.
28808 * nss/nsswitch.h (global scope): Add definition of implementation
28809 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28810 resolv/nss_dns/dns-host.c).
28811
608404eb
AJ
288122012-07-11 Andreas Jaeger <aj@suse.de>
28813
28814 * po/fr.po: Update from translation team.
28815
71220aca
AJ
28816 * po/sv.po: Update from translation team
28817 * po/fr.po: Another update from translation team.
28818
28cfe843
AZ
288192012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28820
28821 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28822 for subnormals or multiply small sinh result by itself.
28823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28825
6b90f981
DM
288262012-07-11 David S. Miller <davem@davemloft.net>
28827
28828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28829
c6825772
AS
288302012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28831
28832 [BZ #14347]
28833 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28834 (INTERNAL_MARK): Shift it here.
28835
7b8e0d49
MP
288362012-07-10 Marek Polacek <polacek@redhat.com>
28837
28838 [BZ #14151]
28839 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28840 libc_cv_asm_global_directive with .globl.
28841 * configure: Regenerated.
28842 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28843 with .globl.
28844 * sysdeps/i386/configure: Regenerated.
28845 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28846 with .globl.
28847 * sysdeps/x86_64/configure: Regenerated.
28848 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28849 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28850 * elf/tst-unique2mod2.c: Likewise.
28851 * elf/tst-unique2mod1.c: Likewise.
28852 * elf/tst-unique1mod2.c: Likewise.
28853 * elf/tst-unique1mod1.c: Likewise.
28854 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28855 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28857 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28858 * sysdeps/mach/sysdep.h: Likewise.
28859 * sysdeps/i386/sysdep.h: Likewise.
28860 * sysdeps/i386/i386-mcount.S: Likewise.
28861 * sysdeps/x86_64/_mcount.S: Likewise.
28862 * sysdeps/x86_64/sysdep.h: Likewise.
28863 * sysdeps/sh/_mcount.S: Likewise.
28864 * sysdeps/sh/sysdep.h: Likewise.
28865 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28866 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28867 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28868 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28869 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28870 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28871 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28872 * locale/localeinfo.h: Likewise.
28873 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28874 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28875
6c55cda3
RM
288762012-07-09 Roland McGrath <roland@hack.frob.com>
28877
28878 [BZ #14336]
28879 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28880 system".
28881 * manual/message.texi (The Uniforum approach): Likewise.
28882 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28883 (glibc iconv Implementation): Likewise.
28884
638a572e
JM
288852012-07-09 Joseph Myers <joseph@codesourcery.com>
28886
28887 [BZ #14337]
28888 * math/s_clog.c (__clog): Avoid scaling a value down where that
28889 could result in underflow.
28890 * math/s_clog10.c (__clog10): Likewise.
28891 * math/s_clog10f.c (__clog10f): Likewise.
28892 * math/s_clog10l.c (__clog10l): Likewise.
28893 * math/s_clogf.c (__clogf): Likewise.
28894 * math/s_clogl.c (__clogl): Likewise.
28895 * math/libm-test.inc (clog_test): Add more tests.
28896 (clog10_test): Likewise.
28897 * sysdeps/i386/fpu/libm-test-ulps: Update.
28898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28899
261f4859
AS
289002012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28901
0abaf3e4
AS
28902 [BZ #14283]
28903 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28904 by 7 not 8 to examine high bit of fractional part.
28905
261f4859
AS
28906 [BZ #14042]
28907 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28908 for call to __mcount_internal.
28909 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28910 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28911 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28912
f17ac40d
JM
289132012-07-06 Joseph Myers <joseph@codesourcery.com>
28914
9ad63c23
JM
28915 [BZ #14154]
28916 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28917 approximation for values within 0x1p-13f of an odd multiple of
28918 pi/4.
28919 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28920 exception. Add more tests.
28921 * sysdeps/i386/fpu/libm-test-ulps: Update.
28922
f17ac40d
JM
28923 [BZ #6778]
28924 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28925 inputs and return -1 for them. Do not check for +Inf in case not
28926 reachable for +Inf.
28927 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28928 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28929 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28930 and return -1 for them. Do not check for +Inf in case not
28931 reachable for +Inf.
28932 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28933 define.
28934 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28935 and return -1 for them. Do not check for +Inf in case not
28936 reachable for +Inf.
28937 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28938 spurious underflow.
28939 * sysdeps/i386/fpu/libm-test-ulps: Update.
28940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28941
fb21f89b
MF
289422012-07-06 Mike Frysinger <vapier@gentoo.org>
28943
28944 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28945
cdfe2c5e
JM
289462012-07-05 Joseph Myers <joseph@codesourcery.com>
28947
28948 [BZ #14157]
28949 [BZ #14331]
28950 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28951 could result in spurious underflow. Scale down values above
28952 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28953 * math/s_csqrtf.c (__csqrtf): Likewise.
28954 * math/s_csqrtl.c (__csqrtl): Likewise.
28955 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28956 spurious underflow.
28957 * sysdeps/i386/fpu/libm-test-ulps: Update.
28958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28959
70d35b67
AS
289602012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28961
704bc459
AS
28962 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28963 xopen-msg.sed.
28964 * catgets/xopen-msg.awk: New file.
28965 * catgets/xopen-msg.sed: Removed.
28966
70d35b67
AS
28967 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28968 po2text.sed.
28969 * intl/po2test.awk: New file.
28970 * intl/po2test.sed: Removed.
28971
ca61cf32
JM
289722012-07-04 Joseph Myers <joseph@codesourcery.com>
28973
28974 [BZ #14328]
28975 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28976 or multiply small sinh result by itself.
28977 * math/s_ctanf.c (__ctanf): Likewise.
28978 * math/s_ctanh.c (__ctanh): Likewise.
28979 * math/s_ctanhf.c (__ctanhf): Likewise.
28980 * math/s_ctanhl.c (__ctanhl): Likewise.
28981 * math/s_ctanl.c (__ctanl): Likewise.
28982 * math/libm-test.inc (ctan_test_tonearest): New function.
28983 (ctan_test_towardzero): Likewise.
28984 (ctan_test_downward): Likewise.
28985 (ctan_test_upward): Likewise.
28986 (ctanh_test_tonearest): Likewise.
28987 (ctanh_test_towardzero): Likewise.
28988 (ctanh_test_downward): Likewise.
28989 (ctanh_test_upward): Likewise.
28990 (main): Call these new functions.
28991 * sysdeps/i386/fpu/libm-test-ulps: Update.
28992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28993
ca48a46a
MF
289942012-07-03 Mike Frysinger <vapier@gentoo.org>
28995
28996 * .gitignore: Delete /ports entry.
28997
9d63d37d
AJ
289982012-07-03 Andreas Jaeger <aj@suse.de>
28999
29000 * po/bg.po: Update from translation team.
29001 * po/cs.po: Likewise.
29002 * po/de.po: Likewise.
29003 * po/hr.po: Likewise.
29004 * po/nl.pl: Likewise.
29005 * po/pl.po: Likewise.
29006 * po/vi.po: Likewise.
29007
370ca3d2
JM
290082012-07-03 Joseph Myers <joseph@codesourcery.com>
29009
95f5a9a8
JM
29010 * Makeconfig [!+link] (+link-before-libc): New variable.
29011 [!+link] (+link-after-libc): Likewise.
29012 [!+link] (+link-tests): Likewise.
29013 [!+link] (+link): Define in terms of $(+link-before-libc) and
29014 $(+link-after-libc).
29015 [!+link-static] (+link-static-before-libc): New variable.
29016 [!+link-static] (+link-static-after-libc): Likewise.
29017 [!+link-static] (+link-static-tests): Likewise.
29018 [!+link-static] (+link-static): Define in terms of
29019 $(+link-static-before-libc) and $(+link-static-after-libc).
29020 [build-shared] (link-libc-before-gnulib): New variable.
29021 [build-shared] (link-libc-tests): Likewise.
29022 [build-shared] (link-libc): Define in terms of
29023 $(link-libc-before-gnulib).
29024 [!build-shared] (link-libc-tests): New variable.
29025 (link-libc-static-tests): New variable.
29026 [!gnulib] (gnulib-arch): New variable.
29027 [!gnulib] (gnulib-tests): Likewise.
29028 [!gnulib] (static-gnulib-arch): Likewise.
29029 [!gnulib] (static-gnulib-tests): Likewise.
29030 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29031 Define with "=" instead of ":=".
29032 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29033 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29034 * Rules (binaries-all-notests): New variable.
29035 (binaries-all-tests): Likewise.
29036 (binaries-static-notests): Likewise.
29037 (binaries-static-tests): Likewise.
29038 (binaries-all): Define using $(binaries-all-notests) and
29039 $(binaries-all-tests).
29040 (binaries-static): Define using $(binaries-static-notests) and
29041 $(binaries-static-tests).
29042 (binaries-shared-tests): New variable.
29043 (binaries-shared-notests): Likewise.
29044 (binaries-shared): Remove variable.
29045 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29046 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29047 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29048 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29049 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29050 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29051 * elf/Makefile (sln-modules): New variable.
29052 (extra-objs): Add $(sln-modules:=.o).
29053 (ldconfig-modules): Add static-stubs.
29054 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29055 * elf/static-stubs.c: New file.
29056
7a845b2c
JM
29057 [BZ #14283]
29058 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29059 by 7 not 8 to examine high bit of fractional part. Use volatile
29060 variables when splitting into final array of floats if
29061 __FLT_EVAL_METHOD__ != 0.
29062 * math/libm-test.inc (cos_test): Add another test.
29063 (sin_test): Likewise.
29064 * sysdeps/i386/fpu/libm-test-ulps: Update.
29065
e2283f38
JM
29066 [BZ #14273]
29067 * math/libm-test.inc (cosh_test): Add more tests.
29068
370ca3d2
JM
29069 * version.h (RELEASE): Set to "development".
29070 (VERSION): Set to "2.16.90".
29071
ee9247c3
CD
290722012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29073
29074 * NEWS: Update copyright. Remove last-updated date.
29075 Mention math library bug fixes and timezone data changes.
29076 * README: Mention GNU/Hurd, x32, and HPPA support status.
29077
4648c381
TS
290782012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29079
29080 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29081
aac78a43
AJ
290822012-06-27 Andreas Jaeger <aj@suse.de>
29083
29084 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29085
ed3dbfad
AJ
290862012-06-25 Andreas Jaeger <aj@suse.de>
29087
29088 * sysdeps/s390/fpu/libm-test-ulps: Update.
29089
4d0ee855
AS
290902012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29091 Thomas Schwinge <thomas@codesourcery.com>
29092
29093 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29094 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29096 fanotify_mark.
29097
af1bce34
TS
290982012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29099
a9fa33ba
TS
29100 * sysdeps/mach/start.c: Remove file.
29101 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29102 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29103 * sysdeps/sh/init-first.c: Likewise.
29104
58f902b8
TS
29105 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29106 registers for frame unwinding purposes, add CFI directives.
29107 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29108 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29109 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29110 Likewise.
29111
1518f58b
TS
29112 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29113 __fortify_fail returning.
29114 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29115
db9b5059
TS
29116 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29117 sysdeps/sh/____longjmp_chk.S.
29118 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29119 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29120 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29121 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29122
967705fe
TS
29123 * sysdeps/sh/abort-instr.h: New file.
29124 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29125 process in case exit returns.
29126
a9def8c4
TS
29127 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29128 initialize the GOT register before use.
29129
2a649725
TS
29130 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29131 calculation of ARGC > 4.
29132
af1bce34
TS
29133 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29134 meaningful names to some local labels.
29135
d230f50a
KK
291362012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29137 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29138
29139 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29140 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29141 (__arch_compare_and_exchange_val_16_acq): Likewise.
29142 (__arch_compare_and_exchange_val_32_acq): Likewise.
29143 (atomic_exchange_and_add): Fix gUSA sequence.
29144 (atomic_add): Likewise.
29145 (atomic_add_negative): Likewise.
29146 (atomic_add_zero): Likewise.
29147 (atomic_bit_test_set): Likewise.
29148
0479b305
AS
291492012-06-22 Andreas Schwab <schwab@redhat.com>
29150
29151 [BZ #13579]
29152 * include/link.h (struct link_map): Add l_free_initfini.
29153 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29154 l_initfini.
29155 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29156 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29157 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29158 set.
29159
0e3933b9
CD
291602012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29161
29162 * configure.in: Use AC_LANG_SOURCE.
29163 * configure: Regenerate.
29164
4248b1b1
RM
291652012-06-22 Roland McGrath <roland@hack.frob.com>
29166
29167 * configure.in (libc_cv_localstatedir): New substituted variable.
29168 * configure: Regenerated.
29169 * config.make.in (localstatedir): New variable, substituted from
29170 libc_cv_localstatedir.
29171 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29172 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29173 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29174 * sysdeps/gnu/configure: Regenerated.
29175
006dd861
JL
291762012-06-21 Jeff Law <law@redhat.com>
29177
29178 [BZ #14277]
29179 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29180 free. Simplify list management for _LIBC case.
29181
79662d42
JM
291822012-06-21 Joseph Myers <joseph@codesourcery.com>
29183
b7abb4bf
JM
29184 [BZ #14273]
29185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29186 Clear sign bit of 64-bit integer value before comparing against
29187 overflow value.
29188
79662d42
JM
29189 * sysdeps/mach/configure: Regenerated.
29190
1f150908
L
291912012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29192
29193 [BZ #14278]
29194 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29195
28363bbf
JL
291962012-06-21 Jeff Law <law@redhat.com>
29197
29198 [BZ #13882]
29199 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29200 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29201 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29202 * elf/dl-open.c (dl_open_worker): Likewise.
29203
09615db4
CD
292042012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29205
29206 * scripts/list-sources.sh: Scan PORTS for translations.
29207 * po/libc.pot: Regenerated.
29208
2174c6dd
AJ
292092012-06-21 Andreas Jaeger <aj@suse.de>
29210
29211 [BZ #12194]
29212 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29213 warning.
29214 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29215 * bits/byteswap-16.h (__bswap_16): Likewise.
29216 * bits/byteswap.h (__bswap_constant_16): Likewise.
29217
3ee947b1
L
292182012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29219
29220 [BZ #14117]
a2f34833
L
29221 * sysdeps/i386/fpu_control.h: Removed.
29222 * sysdeps/x86_64/fpu_control.h: Moved to ...
29223 * sysdeps/x86/fpu_control.h: Here.
29224
3ee947b1
L
29225 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29226 (_FPU_SETCW): Likewise.
29227
ed1825f8
L
292282012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29229
25f1282a
L
29230 [BZ #14117]
29231 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29232 * sysdeps/x86/fpu/bits/mathinline.h: This.
29233 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29234
ed1825f8
L
29235 [BZ #14050]
29236 [BZ #14117]
29237 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29238 functions if __x86_64__ is defined.
29239
36d54b74
CLT
292402012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29241
29242 * string/endian.h: Add !__ASSEMBLER__ condition for including
29243 conversion interfaces.
29244
10285c21
JM
292452012-06-15 Joseph Myers <joseph@codesourcery.com>
29246
29247 [BZ #14241]
29248 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29249 of ABS(x) in calculating zero to negative powers other than odd
29250 integers.
29251 * math/libm-test.inc (pow_test): Add more tests.
29252
06c5abbd
AJ
292532012-06-15 Andreas Jaeger <aj@suse.de>
29254
29255 * manual/contrib.texi (Contributors): Update entry of Liubov
29256 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29257 Machado Filho.
29258
a3aeac40
CH
292592012-06-15 Cyril Hrubis <metan@ucw.cz>
29260
29261 * string/string.h: Add __wur to GNU version of strerror_r.
29262
49bdf4c1
L
292632012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29264
29265 [BZ #14229]
29266 * string/Makefile (tests): Add tst-strtok_r.
29267 * string/tst-strtok_r.c: New file.
29268 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29269 RAX_LP/RDX_LP on SAVE_PTR.
29270
834f9b8d
RM
292712012-06-14 Roland McGrath <roland@hack.frob.com>
29272
29273 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29274
75fa1921
JM
292752012-06-14 Joseph Myers <joseph@codesourcery.com>
29276
29277 * libm_test.inc (csqrt_test): Allow more spurious underflow
29278 exceptions.
29279 (j0_test): Likewise.
29280 (j1_test): Likewise.
29281 (y0_test): Likewise.
29282 (y1_test): Likewise.
29283
771766df
CD
292842012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29285
29286 * po/Makefile (libc.pot): Use UTF-8 charset.
29287
ceb9e56b
PP
292882012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29289
29290 [BZ #14210]
29291 Suppress sign-conversion warning from FD_SET.
29292 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29293 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29294 not unsigned long int.
29295 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29296
ddb28975
L
292972012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29298
29299 [BZ #14050]
29300 [BZ #14117]
29301 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29302 __extern_always_inline instead of __extern_inline.
29303 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29304 (__signbit): Likewise.
29305 (__signbitl): Support C++ namespace.
29306 (lrintf): New inline function.
29307 (lrint): Likewise.
29308 (llrintf): Likewise.
29309 (llrint): Likewise.
29310 (fmaxf): Likewise.
29311 (fmax): Likewise.
29312 (fminf): Likewise.
29313 (fmin): Likewise.
29314 (rint): Likewise.
29315 (rintf): Likewise.
29316 (ceil): Likewise.
29317 (ceilf): Likewise.
29318 (floor): Likewise.
29319 (floorf): Likewise.
29320 (nearbyint): Likewise.
29321 (nearbyintf): Likewise.
29322
d7b4fb26
TS
293232012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29324
29325 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29326 non-default versions.
29327
eb55f5c2
RM
293282012-06-11 Roland McGrath <roland@hack.frob.com>
29329
29330 [BZ #14218]
29331 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29332
366af02c
TS
293332012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29334
99ff6e5c
TS
29335 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29336 (FE_UPWARD, FE_DOWNWARD): Don't define.
29337 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29338 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29339
366af02c
TS
29340 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29341 reading it.
29342 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29343 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29344
793ea851
KK
293452012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29346
29347 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29348 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29349 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29350 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29351
a728a38f
L
293522012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29353
29354 [BZ #14117]
c08010c7
L
29355 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29356 * sysdeps/i386/fpu/Implies: New file.
29357 * sysdeps/x86_64/fpu/Implies: Likewise.
29358 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29359 * sysdeps/x86/fpu/bits/fenv.h: This.
29360
a728a38f
L
29361 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29362 __SSE_MATH__.
29363
6e230d11
SP
293642012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29365
29366 [BZ #14134]
29367 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29368 character 0xffff that matches the last element of the
29369 conversion table.
29370
1b671feb
AZ
293712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29372
29373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29374 fmodl commit.
29375
6043738b
AZ
293762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29377
29378 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29379 values higher than 25.6283.
29380
34ae0b32
AZ
293812012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29382
29383 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29384 subnormal exponent extraction and add some __builtin_expect.
29385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29386 Fix for subnormal mantissa calculation.
29387
1214ec8f
MF
293882012-06-04 Mike Frysinger <vapier@gentoo.org>
29389
29390 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29391 cpu2 is -1 and errno is not ENOSYS.
29392
f3d1f93c
L
293932012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29394
29395 [BZ #14117]
0e4a3cd7
L
29396 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29397 * sysdeps/x86/bits/string.h: This.
29398 * sysdeps/x86_64/bits/string.h: Removed.
29399
6704c645
L
29400 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29401 if not compiling for x86-64, but compiling for >= i486.
29402
48495318
L
29403 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29404 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29405
14adcbfc
L
29406 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29407 New macro from Linux kernel 3.4.0.
29408 (FP_XSTATE_MAGIC2): Likewise.
29409 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29410 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29411 (struct _fpx_sw_bytes): New struct.
29412 (struct _xsave_hdr): Likewise.
29413 (struct _ymmh_state): Likewise.
29414 (struct _xstate): Likewise.
29415
68e408ab
L
29416 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29417 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29418 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29419 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29420 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29421 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29422
f3d1f93c
L
29423 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29424 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29425 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29426 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29427 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29428 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29429
d9dc34cd
TMQMF
294302012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29431
29432 [BZ #13743]
29433 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29434 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29435 (sysdep_headers): Include sys/platform/ppc.h.
29436 * sysdeps/powerpc/test-gettimebase.c: Test for
29437 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29438 * manual/Makefile (appendices): Include platform.texi.
29439 * manual/contrib.texi (Contributors): Update @node pointers.
29440 * manual/maint.texi (Maintenance): Likewise.
29441 (Platform): New node.
29442 * manual/platform.texi: New file. Document the new features.
29443
4af3879c
SP
294442012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29445 Jakub Jelinek <jakub@redhat.com>
29446
29447 [BZ #14188]
29448 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29449 where __builtin_expect is unavailable.
29450
2fd6ff13
DM
294512012-06-03 David S. Miller <davem@davemloft.net>
29452
29453 * stdlib/longlong.h: Updated from GCC.
29454
173f7220
AS
294552012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29456
29457 [BZ #14042]
29458 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29459 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29460 __mcount_internal.
29461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29462 (GLIBC_2.16): Likewise.
29463
f34a1c6f
L
294642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29465
29466 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29467
88a4576f
JM
294682012-06-01 Joseph Myers <joseph@codesourcery.com>
29469
ea32bcdd
JM
29470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29471 (default-abi): New variable.
29472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29473 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29474 variable.
29475 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29476 Likewise.
29477 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29478 Likewise.
29479 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29480 Likewise.
29481
88a4576f
JM
29482 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29483 definition. Document in comment.
29484
402fe938
DM
294852012-06-01 David S. Miller <davem@davemloft.net>
29486
29487 * stdlib/longlong.h: Updated from GCC.
29488
3553723f
L
294892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29490
29491 [BZ #14117]
3bd872c4
L
29492 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29493 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29494 sys/debugreg.h sys/io.h here.
29495 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29496 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29497 sys/io.h.
29498 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29499 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29500 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29501 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29502 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29503 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29504
3553723f
L
29505 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29506 Define only if __x86_64__ is defined.
29507
4842e4fe
JM
295082012-06-01 Joseph Myers <joseph@codesourcery.com>
29509
c5bfe3d5
JM
29510 [BZ #14048]
29511 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29512 Use int64_t for variable i.
29513 * math/libm-test.inc (fmod_test): Add more tests.
29514
4842e4fe
JM
29515 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29516 z computation is not scheduled after fetestexcept.
29517 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29518 Use math_force_eval instead of asm to ensure calculation scheduled
29519 before exception test.
29520 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29521 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29522
efb73488
AJ
295232012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29524
29525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29526 computation is not scheduled after fetestexcept.
29527
29bcce7c
L
295282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29529
29530 [BZ #14117]
29531 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29532 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29533
73a68f94
AZ
295342012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29535
29536 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29537 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29538
67b6df78
L
295392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29540
edf2933a 29541 [BZ #14117]
ebc64a18
L
29542 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29543 <bits/wordsize.h>.
29544 (__WCHAR_MIN): Support __WORDSIZE == 64.
29545 (__WCHAR_MAX): Likewise.
29546
edf2933a
L
29547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29548 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29549
57c6cf40
L
29550 [BZ #14183]
29551 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29552 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29553
67b6df78 29554 [BZ #14117]
8eb6281e
L
29555 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29556 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29557
aac639f4
L
29558 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29559 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29560
67b6df78
L
29561 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29562 Defined to 1 if __x86_64__ isn't defined.
29563 (_STAT_VER_LINUX_OLD): New.
29564 (st_atime): Remove duplicate.
29565 (st_mtime): Likewise.
29566 (st_ctime): Likewise.
29567
1c2cfe81
DM
295682012-05-31 David S. Miller <davem@davemloft.net>
29569
29570 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29571 entries.
29572
5be8418c
AS
295732012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29574
e7725326
AS
29575 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29576 gen-libm-test.pl.
29577
5be8418c
AS
29578 [BZ #14132]
29579 * elf/dl-reloc.c: Include <_itoa.h>.
29580 (_dl_reloc_bad_type): Remove use of INTUSE.
29581 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29582 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29583 * stdio-common/psiginfo.c (psiginfo): Likewise.
29584 * stdio-common/psignal.c (psignal): Likewise.
29585 * string/strsignal.c (strsignal): Likewise.
29586 * include/signal.h (_sys_siglist): Declare hidden proto.
29587 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29588 INTVARDEF with libc_hidden_data_def.
29589 * stdio-common/itoa-udigits.c: Likewise.
29590 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29591 (_itoa_lower_digits_internal): Remove declaration.
29592 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29593 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29594 (_sys_sigabbrev_internal): Remove aliases.
29595 (_sys_siglist): Define hidden alias.
29596
507352f1
MT
295972012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29598
29599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29600 bits/sysctl.h.
29601
42bbb1c3
L
296022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29603
29604 [BZ #14117]
6bd784b6
L
29605 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29606 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29607
8bca20f0
L
29608 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29609 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29610 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29611 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29612 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29613 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29614
f9e890a9
L
29615 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29616 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29617 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29618
471101a1
L
29619 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29620 with __addr.
29621 (insw): Likewise.
29622 (insl): Likewise.
29623 (outsb): Likewise.
29624 (outsw): Likewise.
29625 (outsl): Likewise.
29626
6451c862
L
29627 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29629 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29630
a254b8c9
L
29631 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29632 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29634 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29635 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29636 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29637
b8dfdd92
L
29638 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29639 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29640
578cd270
L
29641 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29642 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29643
de662f5f
L
29644 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29646 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29647
25653439
L
29648 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29649 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29650 to ...
29651 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29652
6bad24a0
L
29653 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29654 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29655 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29656
42bbb1c3
L
29657 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29658 for x86-64.
29659 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29660
2d10d547
JM
296612012-05-31 Joseph Myers <joseph@codesourcery.com>
29662
29663 * math/math.h (M_El): Use two more decimal places.
29664 (M_LOG2El): Likewise.
29665 (M_LOG10El): Likewise.
29666 (M_LN2l): Likewise.
29667 (M_LN10l): Likewise.
29668 (M_PIl): Likewise.
29669 (M_PI_2l): Likewise.
29670 (M_PI_4l): Likewise.
29671 (M_1_PIl): Likewise.
29672 (M_2_PIl): Likewise.
29673 (M_2_SQRTPIl): Likewise.
29674 (M_SQRT2l): Likewise.
29675 (M_SQRT1_2l): Likewise.
29676
f230c29b
DM
296772012-05-31 David S. Miller <davem@davemloft.net>
29678
29679 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29680 values between float registers.
29681 * sysdeps/sparc/sparc64/memset.S: Likewise.
29682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29683
fed806c3
MF
296842012-05-31 Mike Frysinger <vapier@gentoo.org>
29685
29686 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29687 -D_FORTIFY_SOURCE=1.
29688 (CPPFLAGS-tst-longjmp_chk.c): Define.
29689 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29690 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29691 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29692 CFLAGS-tst-wchar-h.c.
29693
30917259
MP
296942012-05-31 Marek Polacek <polacek@redhat.com>
29695
29696 [BZ #14132]
29697 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29698 __endmntent_internal): Remove declaration.
29699 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29700 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29701 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29702
1c58d5dc
DM
297032012-05-30 David S. Miller <davem@davemloft.net>
29704
29705 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29706 (___Q_simulate_exceptions): Use real FP ops rather than writing
29707 into the %fsr.
29708 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29709 Likewise.
29710
7dc00e0d
L
297112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29712
29713 [BZ #14117]
0bd53985
L
29714 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29715 * sysdeps/x86/bits/xtitypes.h: This.
29716
3a257e66
L
29717 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29718 * sysdeps/x86/bits/wordsize.h: This.
29719
62f62904
L
29720 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29721 * sysdeps/x86/bits/huge_vall.h: This.
29722
404fe9d9
L
29723 * sysdeps/i386/bits/select.h: Removed.
29724 * sysdeps/x86_64/bits/select.h: Renamed to ...
29725 * sysdeps/x86/bits/select.h: This.
29726
d48d0446
L
29727 * sysdeps/i386/bits/setjmp.h: Removed.
29728 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29729 * sysdeps/x86/bits/setjmp.h: This.
29730
7dc00e0d
L
29731 * sysdeps/i386/bits/mathdef.h: Removed.
29732 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29733 * sysdeps/x86/bits/mathdef.h: This.
29734
03277f8f
AS
297352012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29736
29737 [BZ #14132]
29738 * include/sys/socket.h (__connect_internal)
29739 (__libc_sa_len_internal): Remove declaration.
29740 (__connect, __libc_sa_len): Declare hidden_proto.
29741 (SA_LEN): Remove use of INTUSE.
29742 * socket/connect.c: Add libc_hidden_def.
29743 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29744 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29745 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29746 alias.
29747 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29748 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29749 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29750 of adding _internal alias.
29751
13764867
L
297522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29753
29754 [BZ #14117]
6bd97696
L
29755 * sysdeps/i386/bits/link.h: Removed.
29756 * sysdeps/i386/bits/linkmap.h: Likewise.
29757 * sysdeps/x86_64/bits/link.h: Renamed to ...
29758 * sysdeps/x86/bits/link.h: This.
29759 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29760 * sysdeps/x86/bits/linkmap.h: This.
29761
f726f0bb
L
29762 * sysdeps/i386/bits/endian.h: Removed.
29763 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29764 * sysdeps/x86/bits/endian.h: This.
29765
13764867
L
29766 * sysdeps/i386/bits/byteswap.h: Removed.
29767 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29768 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29769 * sysdeps/x86/bits/byteswap.h: This.
29770 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29771 * sysdeps/x86/bits/byteswap-16.h: This.
29772 * sysdeps/i386/Implies: Add x86.
29773 * sysdeps/x86_64/Implies: Likewise.
29774
ae251b0b
DM
297752012-05-30 David S. Miller <davem@davemloft.net>
29776
29777 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29778 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29779 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29780 (FP_TRAPPING_EXCEPTIONS): Define.
29781 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29782 (FP_TRAPPING_EXCEPTIONS): Define.
29783 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29784 subnormals only when inexact has been signalled or underflow
29785 exceptions are enabled.
29786 (_FP_PACK_CANONICAL): Likewise.
29787
d5c90867
L
297882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29789
29790 [BZ #14183]
29791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29792 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29793
63f1549e
RH
297942012-05-30 Richard Henderson <rth@twiddle.net>
29795
8d8f2279
RH
29796 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29797 with #ifndef NOT_IN_libc.
29798
63f1549e
RH
29799 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29800 marked to avoid plt entry.
29801
0ab0291b
L
298022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29803
29804 [BZ #14112]
29805 * Makeconfig (default-abi): New macro.
29806 (abi-includes): Likewise.
29807 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29808 $(abi-$(default-abi)-lib-soname) for soname if defined.
29809 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29810 abi-variants.
29811 * Makefile (installed-stubs): Likewise.
29812 * include/stubs-biarch.h: Removed.
29813 * scripts/lib-names.awk: Only handle one library at a time.
29814 * scripts/soversions.awk: Remove WORDSIZE support.
29815 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29816 entries.
29817 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29818 Removed.
29819 (syscall-list-default-condition): Likewise.
29820 (syscall-list-default-condition): Likewise.
29821 (syscall-list-includes): Likewise.
29822 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29823 syscall-list-* with abi-*. Handle undefined abi-variants.
29824 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29825 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29826 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29827 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29828 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29829 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29830 Removed.
29831 (syscall-list-32-options): Likewise.
29832 (syscall-list-32-condition): Likewise.
29833 (syscall-list-64-options): Likewise.
29834 (syscall-list-64-condition): Likewise.
29835 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29836 macro.
29837 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29838 Renamed to ...
29839 (abi-*): This.
29840 (abi-64-ld-soname): New macro.
29841 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29842 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29843 Renamed to ...
29844 (abi-*): This.
29845 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29846 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29847
4da0431d
JM
298482012-05-30 Joseph Myers <joseph@codesourcery.com>
29849
3a85279c
JM
29850 * sysdeps/unix/sysv/linux/kernel-features.h
29851 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29852 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29853 include <kernel-features.h>.
29854 [!__NR_ftruncate64]: Remove conditional code.
29855 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29856 [__NR_ftruncate64]: Make code unconditional.
29857 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29858 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29859 include <kernel-features.h>.
29860 [!__NR_ftruncate64]: Remove conditional code.
29861 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29862 [__NR_ftruncate64]: Make code unconditional.
29863 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29865 include <kernel-features.h>.
29866 [!__NR_ftruncate64]: Remove conditional code.
29867 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29868 [__NR_ftruncate64]: Make code unconditional.
29869 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29871 include <kernel-features.h>.
29872 [!__NR_ftruncate64]: Remove conditional code.
29873 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29874 [__NR_ftruncate64]: Make code unconditional.
29875 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29876
4da0431d
JM
29877 * configure.in (libc_cv_fpie): Weaken to a compile test using
29878 LIBC_TRY_CC_OPTION.
29879 * configure: Regenerated.
29880
11ef492c
AK
298812012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29882
29883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29887 Refreshed.
29888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29894 Refreshed.
29895
d66ef399
DM
298962012-05-27 David S. Miller <davem@davemloft.net>
29897
29898 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29899 (___Q_zero): New.
29900 (__Q_simulate_exceptions): Return void. Change to simulate
29901 exceptions by writing into the %fsr.
29902 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29903 (__Qp_handle_exceptions): Likewise.
29904 (numbers): Delete.
29905 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29906 __Qp_handle_exceptions.
29907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29908 __Qp_handle_exceptions.
29909 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29910 as unused and give dummy FP_RND_NEAREST initializer.
29911 (FP_INHIBIT_RESULTS): Define.
29912 (___Q_simulate_exceptions): Update declaration.
29913 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29914 formatting.
29915 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29916 as unused and give dummy FP_RND_NEAREST initializer.
29917 (__Qp_handle_exceptions): Update declaration.
29918 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29919 formatting.
29920
04fb54b5
TS
299212012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29922
29923 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29924 the temporary FPU control word.
29925 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29926 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29927 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29928 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29929 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29930 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29931 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29932 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29933 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29934 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29935 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29936
3f99608f
KK
299372012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29938
29939 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29940 fields.
29941
65a4de4e
CLT
299422012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29943
29944 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29945 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29946 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29947 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29948 Likewise.
29949 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29950 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29951 Likewise.
29952
15749d40
UD
299532012-05-27 Ulrich Drepper <drepper@gmail.com>
29954
29955 * po/h.po: Update from translation team.
29956
25dbcb27
AS
299572012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29958
3d3f8e55
AS
29959 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29960
25dbcb27
AS
29961 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29962 handling of denormals.
29963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29964 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29965 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29966 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29970 Likewise.
29971
7ad47a80 299722012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29973
29974 [BZ #14152]
29975 * math/libm-test.inc (fma_test): Don't always expect underflow
29976 exception.
29977
9c6ea9fa
SP
299782012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29979
29980 [BZ #12416]
29981 * elf/tst-execstack.c: Include stackinfo.h.
29982 (do_test): Adjust test case to ensure that pthread_getattr_np
29983 behaviour remains the same after marking stack executable.
29984
a8239222
JM
299852012-05-25 Joseph Myers <joseph@codesourcery.com>
29986
29987 * sysdeps/unix/sysv/linux/kernel-features.h
29988 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29989 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29990 kernel-features.h.
29991 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29992 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29993 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29994 kernel-features.h.
29995 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29996 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29997
918b5606
L
299982012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29999
30000 * configure.in: Define the default includes to being none.
30001 * configure: Regenerated.
30002
3a097cc7
RM
300032012-05-25 Roland McGrath <roland@hack.frob.com>
30004
8422c9a5
RM
30005 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30006 * sysdeps/x86_64/setjmp.S: Likewise.
30007 * sysdeps/i386/bsd-setjmp.S: Likewise.
30008 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30009 * sysdeps/i386/setjmp.S: Likewise.
30010 * sysdeps/i386/__longjmp.S: Likewise.
30011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30012 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30013
3a097cc7
RM
30014 * include/stap-probe.h: New file.
30015 * configure.in: Handle --enable-systemtap.
30016 * configure: Regenerated.
30017 * config.h.in (USE_STAP_PROBE): New #undef.
30018 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30019 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30020 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30021
21708942
JM
300222012-05-25 Joseph Myers <joseph@codesourcery.com>
30023
30024 [BZ #13717]
30025 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30026 to 2.4.0 where earlier.
30027 * sysdeps/unix/sysv/linux/configure: Regenerated.
30028 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30029 <kernel-features.h>.
30030 [__ASSUME_32BITUIDS]: Make code unconditional.
30031 [!__ASSUME_32BITUIDS]: Remove conditional code.
30032 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30033 <kernel-features.h>.
30034 [__ASSUME_32BITUIDS]: Make code unconditional.
30035 [!__ASSUME_32BITUIDS]: Remove conditional code.
30036 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30037 [__ASSUME_32BITUIDS]: Make code unconditional.
30038 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30039 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30040 <kernel-features.h>.
30041 [__ASSUME_32BITUIDS]: Make code unconditional.
30042 [!__ASSUME_32BITUIDS]: Remove conditional code.
30043 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30044 <kernel-features.h>.
30045 [__ASSUME_32BITUIDS]: Make code unconditional.
30046 [!__ASSUME_32BITUIDS]: Remove conditional code.
30047 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30048 <kernel-features.h>.
30049 [__ASSUME_32BITUIDS]: Make code unconditional.
30050 [!__ASSUME_32BITUIDS]: Remove conditional code.
30051 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30052 <kernel-features.h>.
30053 [__ASSUME_32BITUIDS]: Make code unconditional.
30054 [!__ASSUME_32BITUIDS]: Remove conditional code.
30055 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30056 <kernel-features.h>.
30057 [__ASSUME_32BITUIDS]: Make code unconditional.
30058 [!__ASSUME_32BITUIDS]: Remove conditional code.
30059 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30060 <kernel-features.h>.
30061 [__ASSUME_32BITUIDS]: Make code unconditional.
30062 [!__ASSUME_32BITUIDS]: Remove conditional code.
30063 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30064 <kernel-features.h>.
30065 [__ASSUME_32BITUIDS]: Make code unconditional.
30066 [!__ASSUME_32BITUIDS]: Remove conditional code.
30067 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30068 <kernel-features.h>.
30069 [__ASSUME_32BITUIDS]: Make code unconditional.
30070 [!__ASSUME_32BITUIDS]: Remove conditional code.
30071 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30072 <kernel-features.h>.
30073 [__ASSUME_32BITUIDS]: Make code unconditional.
30074 [!__ASSUME_32BITUIDS]: Remove conditional code.
30075 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30076 <kernel-features.h>.
30077 [__ASSUME_32BITUIDS]: Make code unconditional.
30078 [!__ASSUME_32BITUIDS]: Remove conditional code.
30079 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30080 <kernel-features.h>.
30081 [__NR_setresgid] (__setresgid): Do not declare.
30082 [__ASSUME_32BITUIDS]: Make code unconditional.
30083 [!__ASSUME_32BITUIDS]: Remove conditional code.
30084 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30085 <kernel-features.h>.
30086 [__NR_setresuid] (__setresuid): Do not declare.
30087 [__ASSUME_32BITUIDS]: Make code unconditional.
30088 [!__ASSUME_32BITUIDS]: Remove conditional code.
30089 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30090 <kernel-features.h>.
30091 [__ASSUME_32BITUIDS]: Make code unconditional.
30092 [!__ASSUME_32BITUIDS]: Remove conditional code.
30093 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30094 <kernel-features.h>.
30095 [__ASSUME_32BITUIDS]: Make code unconditional.
30096 [!__ASSUME_32BITUIDS]: Remove conditional code.
30097 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30098 <kernel-features.h>.
30099 [__ASSUME_32BITUIDS]: Make code unconditional.
30100 [!__ASSUME_32BITUIDS]: Remove conditional code.
30101 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30102 <kernel-features.h>.
30103 [__ASSUME_32BITUIDS]: Make code unconditional.
30104 [!__ASSUME_32BITUIDS]: Remove conditional code.
30105 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30106 <kernel-features.h>.
30107 [__ASSUME_32BITUIDS]: Make code unconditional.
30108 [!__ASSUME_32BITUIDS]: Remove conditional code.
30109 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30110 <kernel-features.h>.
30111 [__ASSUME_32BITUIDS]: Make code unconditional.
30112 [!__ASSUME_32BITUIDS]: Remove conditional code.
30113 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30114 <kernel-features.h>.
30115 [__ASSUME_32BITUIDS]: Make code unconditional.
30116 [!__ASSUME_32BITUIDS]: Remove conditional code.
30117 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30118 <kernel-features.h>.
30119 [__ASSUME_32BITUIDS]: Make code unconditional.
30120 [!__ASSUME_32BITUIDS]: Remove conditional code.
30121 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30122 <kernel-features.h>.
30123 [__ASSUME_32BITUIDS]: Make code unconditional.
30124 [!__ASSUME_32BITUIDS]: Remove conditional code.
30125 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30126 <kernel-features.h>.
30127 [__ASSUME_32BITUIDS]: Make code unconditional.
30128 [!__ASSUME_32BITUIDS]: Remove conditional code.
30129 * sysdeps/unix/sysv/linux/kernel-features.h
30130 (__ASSUME_SETRESUID_SYSCALL): Remove.
30131 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30132 (__ASSUME_32BITUIDS): Likewise.
30133 (__ASSUME_LDT_WORKS): Likewise.
30134 (__ASSUME_O_DIRECTORY): Likewise.
30135 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30136 architecture but not kernel version.
30137 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30138 (__ASSUME_MMAP2_SYSCALL): Likewise.
30139 (__ASSUME_STAT64_SYSCALL): Likewise.
30140 (__ASSUME_IPC64): Likewise.
30141 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30142 <kernel-features.h>.
30143 [__ASSUME_32BITUIDS]: Make code unconditional.
30144 [!__ASSUME_32BITUIDS]: Remove conditional code.
30145 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30146 <kernel-features.h>.
30147 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30148 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30149 132096]: Remove conditional code.
30150 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30151 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30152 <kernel-features.h>.
30153 [__ASSUME_32BITUIDS]: Make code unconditional.
30154 [!__ASSUME_32BITUIDS]: Remove conditional code.
30155 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30156 <kernel-features.h>.
30157 [__ASSUME_32BITUIDS]: Make code unconditional.
30158 [!__ASSUME_32BITUIDS]: Remove conditional code.
30159 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30160 <kernel-features.h>.
30161 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30162 unconditional.
30163 (__setresgid): Do not declare.
30164 [__ASSUME_32BITUIDS]: Make code unconditional.
30165 [!__ASSUME_32BITUIDS]: Remove conditional code.
30166 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30167 <kernel-features.h>.
30168 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30169 unconditional.
30170 (__setresuid): Do not declare.
30171 [__ASSUME_32BITUIDS]: Make code unconditional.
30172 [!__ASSUME_32BITUIDS]: Remove conditional code.
30173 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30174 <kernel-features.h>.
30175 [__ASSUME_32BITUIDS]: Make code unconditional.
30176 [!__ASSUME_32BITUIDS]: Remove conditional code.
30177 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30178 <kernel-features.h>.
30179 [__ASSUME_32BITUIDS]: Make code unconditional.
30180 [!__ASSUME_32BITUIDS]: Remove conditional code.
30181
a386f1cc
RH
301822012-05-25 Richard Henderson <rth@twiddle.net>
30183
30184 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30185 dl_hwcap to ifunc resolver.
30186 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30187 elf_ifunc_invoke.
30188 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30189 dl_hwcap to ifunc resolver.
30190 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30191
b6550497
JM
301922012-05-24 Joseph Myers <joseph@codesourcery.com>
30193
30194 [BZ #14153]
30195 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30196 for |x| <= 2**-26, not 2**-57.
30197 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30198 exception.
30199
b0bc23a1
JL
302002012-05-24 Jeff Law <law@redhat.com>
30201
30202 * stdio-common/Makefile (tests): Add bug25.
30203 * stdio-common/bug25.c: New test.
30204
347c92e9
L
302052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30206
30207 [BZ #13576]
30208 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30209 multiple of MALLOC_ALIGNMENT in size.
30210 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30211
6bcc8b3f
JM
302122012-05-24 Joseph Myers <joseph@codesourcery.com>
30213
30214 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30215 Require >= 256.
30216 (FILENAME_MAX): Use macro-int-constant.
30217 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30218 (_IOFBF): Use macro-int-constant.
30219 (_IOLBF): Likewise.
30220 (_IONBF): Likewise.
30221 (SEEK_CUR): Likewise.
30222 (SEEK_END): Likewise.
30223 (SEEK_SET): Likewise.
30224 (TMP_MAX): Likewise.
30225 (EOF): Use macro-int-constant. Require < 0.
30226 (NULL): Use macro-constant. Require == 0.
30227 (stdin): Require type to be FILE *.
30228 (stdout): Likewise.
30229 (stderr): Likewise.
30230 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30231 macro-int-constant.
30232 (EXIT_SUCCESS): Likewise.
30233 (NULL): Use macro-constant. Require == 0.
30234 (RAND_MAX): Use macro-int-constant.
30235 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30236 [C99-based standards] (strtof): Require function.
30237 [C99-based standards] (strtold): Likewise.
30238 [C99-based standards] (strtoll): Likewise.
30239 [C99-based standards] (strtoull): Likewise.
30240 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30241 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30242 [ISO || ISO99 || ISO11] (math.h): Likewise.
30243 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30244 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30246
d18ea0c5
AS
302472012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30248
30249 [BZ #14132]
56d25bb8
AS
30250 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30251 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30252 * intl/dgettext.c (DCGETTEXT): Likewise.
30253 * intl/gettext.c (DCGETTEXT): Likewise.
30254 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30255 * posix/regex_internal.h (gettext): Likewise.
30256 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30257 Remove declaration.
30258 * include/argz.h (__argz_count_internal)
30259 (__argz_stringify_internal): Remove declaration.
30260 (__argz_count, __argz_stringify): Declare hidden proto.
30261 * intl/dcgettext.c: Remove use of INTDEF.
30262 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30263 * string/argz-stringify.c: Likewise.
30264 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30265 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30266 Declare hidden proto.
d18ea0c5
AS
30267 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30268 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30269 Declare hidden proto.
30270 * include/stdio.h (__asprintf_internal): Don't declare.
30271 (__asprintf): Don't define as macro. Declare hidden proto.
30272 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30273 (__fsetlocking): Declare hidden proto.
30274 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30275 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30276 hidden proto.
30277 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30278 (_IO_setlinebuf): Remove use of INTUSE.
30279 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30280 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30281 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30282 Remove declaration.
30283 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30284 (_IO_do_flush): Remove use of INTUSE.
30285 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30286 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30287 (_IO_adjust_column, _IO_least_wmarker)
30288 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30289 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30290 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30291 (_IO_default_doallocate, _IO_wdefault_doallocate)
30292 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30293 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30294 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30295 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30296 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30297 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30298 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30299 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30300 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30301 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30302 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30303 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30304 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30305 proto.
30306 (_IO_flush_all_internal, _IO_adjust_column_internal)
30307 (_IO_default_uflow_internal, _IO_default_finish_internal)
30308 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30309 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30310 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30311 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30312 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30313 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30314 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30315 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30316 (_IO_file_close_internal, _IO_file_close_it_internal)
30317 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30318 (_IO_file_init_internal, _IO_file_attach_internal)
30319 (_IO_file_fopen_internal, _IO_file_read_internal)
30320 (_IO_file_sync_internal, _IO_file_seek_internal)
30321 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30322 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30323 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30324 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30325 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30326 (_IO_list_all_internal, _IO_link_in_internal)
30327 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30328 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30329 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30330 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30331 (_IO_do_write_internal, _IO_padn_internal)
30332 (_IO_getline_info_internal, _IO_getline_internal)
30333 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30334 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30335 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30336 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30337 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30338 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30339 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30340 with libc_hidden_ver, remove use of INTUSE.
30341 * libio/genops.c: Likewise.
30342 * libio/freopen.c: Likewise.
30343 * libio/freopen64.c: Likewise.
30344 * libio/iofclose.c: Likewise.
30345 * libio/iofdopen.c: Likewise.
30346 * libio/iofflush.c: Likewise.
30347 * libio/iofflush_u.c: Likewise.
30348 * libio/iofgets.c: Likewise.
30349 * libio/iofgets_u.c: Likewise.
30350 * libio/iofopen.c: Likewise.
30351 * libio/iofopncook.c: Likewise.
30352 * libio/iofread.c: Likewise.
30353 * libio/iofread_u.c: Likewise.
30354 * libio/ioftell.c: Likewise.
30355 * libio/iofwrite.c: Likewise.
30356 * libio/iogetline.c: Likewise.
30357 * libio/iogets.c: Likewise.
30358 * libio/iogetwline.c: Likewise.
30359 * libio/iopadn.c: Likewise.
30360 * libio/iopopen.c: Likewise.
30361 * libio/ioseekoff.c: Likewise.
30362 * libio/ioseekpos.c: Likewise.
30363 * libio/iosetbuffer.c: Likewise.
30364 * libio/iosetvbuf.c: Likewise.
30365 * libio/ioungetc.c: Likewise.
30366 * libio/ioungetwc.c: Likewise.
30367 * libio/iovdprintf.c: Likewise.
30368 * libio/iovsprintf.c: Likewise.
30369 * libio/iovsscanf.c: Likewise.
30370 * libio/memstream.c: Likewise.
30371 * libio/obprintf.c: Likewise.
30372 * libio/oldfileops.c: Likewise.
30373 * libio/oldiofclose.c: Likewise.
30374 * libio/oldiofdopen.c: Likewise.
30375 * libio/oldiofopen.c: Likewise.
30376 * libio/oldiopopen.c: Likewise.
30377 * libio/oldstdfiles.c: Likewise.
30378 * libio/putc.c: Likewise.
30379 * libio/setbuf.c: Likewise.
30380 * libio/setlinebuf.c: Likewise.
30381 * libio/stdfiles.c: Likewise.
30382 * libio/strops.c: Likewise.
30383 * libio/vasprintf.c: Likewise.
30384 * libio/vscanf.c: Likewise.
30385 * libio/vsnprintf.c: Likewise.
30386 * libio/vswprintf.c: Likewise.
30387 * libio/wfiledoalloc.c: Likewise.
30388 * libio/wfileops.c: Likewise.
30389 * libio/wgenops.c: Likewise.
30390 * libio/wmemstream.c: Likewise.
30391 * libio/wstrops.c: Likewise.
30392 * libio/__fpurge.c: Likewise.
30393 * libio/__fsetlocking.c: Likewise.
30394 * assert/assert.c: Likewise.
30395 * debug/fgets_chk.c: Likewise.
30396 * debug/fgets_u_chk.c: Likewise.
30397 * debug/fread_chk.c: Likewise.
30398 * debug/fread_u_chk.c: Likewise.
30399 * debug/gets_chk.c: Likewise.
30400 * debug/obprintf_chk.c: Likewise.
30401 * debug/vasprintf_chk.c: Likewise.
30402 * debug/vdprintf_chk.c: Likewise.
30403 * debug/vsnprintf_chk.c: Likewise.
30404 * debug/vsprintf_chk.c: Likewise.
30405 * malloc/mtrace.c: Likewise.
30406 * misc/error.c: Likewise.
30407 * misc/syslog.c: Likewise.
30408 * stdio-common/asprintf.c: Likewise.
30409 * stdio-common/fxprintf.c: Likewise.
30410 * stdio-common/getw.c: Likewise.
30411 * stdio-common/isoc99_fscanf.c: Likewise.
30412 * stdio-common/isoc99_scanf.c: Likewise.
30413 * stdio-common/isoc99_vfscanf.c: Likewise.
30414 * stdio-common/isoc99_vscanf.c: Likewise.
30415 * stdio-common/isoc99_vsscanf.c: Likewise.
30416 * stdio-common/printf-prs.c: Likewise.
30417 * stdio-common/printf_fp.c: Likewise.
30418 * stdio-common/printf_fphex.c: Likewise.
30419 * stdio-common/printf_size.c: Likewise.
30420 * stdio-common/putw.c: Likewise.
30421 * stdio-common/scanf.c: Likewise.
30422 * stdio-common/sprintf.c: Likewise.
30423 * stdio-common/tmpfile.c: Likewise.
30424 * stdio-common/vfprintf.c: Likewise.
30425 * stdio-common/vfscanf.c: Likewise.
30426 * stdlib/strfmon_l.c: Likewise.
30427 * sunrpc/openchild.c: Likewise.
30428 * sunrpc/xdr_stdio.c: Likewise.
30429 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30430 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30431
d6c33fda
RM
304322012-05-24 Roland McGrath <roland@hack.frob.com>
30433
c1487492
RM
30434 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30435
30436 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30437 in the third column, to generate for the shared library an IFUNC
30438 that uses _dl_vdso_vsym.
30439 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30440 * Makeconfig (object-suffixes-noshared): New variable.
30441
30442 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30443 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30444 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30445 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30446
d6c33fda
RM
30447 [BZ #14132]
30448 * include/sys/time.h (__gettimeofday): Remove macro.
30449 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30450 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30451 Remove INTDEF.
30452 (__gettimeofday): Add libc_hidden_def.
30453 (gettimeofday): Add libc_hidden_weak.
30454 * sysdeps/mach/gettimeofday.c: Likewise.
30455 * sysdeps/posix/gettimeofday.c: Likewise.
30456 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30457 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30459 (__gettimeofday_internal): Remove strong_alias.
30460 (__gettimeofday): Add libc_hidden_def.
30461 (gettimeofday): Add libc_hidden_weak.
30462 * sysdeps/unix/syscalls.list (gettimeofday):
30463 Remove __gettimeofday_internal alias.
30464
b5a2bbe6
L
304652012-05-24 Daniel Jacobowitz <drow@false.org>
30466 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 [BZ #12495]
30469 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30470 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30471 (largebin_index_32_big): New.
30472 (largebin_index): Use it for 16-byte alignment.
30473 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30474 correction with front_misalign.
30475
cfba4fda
L
304762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30477
7f907421
L
30478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30480 Likewise.
30481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30482 Likewise.
30483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30484 Likewise.
30485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30486 Likewise.
30487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30488 Likewise.
30489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30490 Likewise.
30491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30492 Likewise.
30493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30494 Likewise.
30495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30496 Likewise.
30497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30498 Likewise.
30499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30500 Likewise.
30501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30502 Likewise.
30503
cfba4fda
L
30504 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30505 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30506
80bad0cc
JM
305072012-05-24 Joseph Myers <joseph@codesourcery.com>
30508
7a25eb06
JM
30509 [BZ #10846]
30510 [BZ #14036]
30511 * math/libm-test.inc (exp_test): Add test from bug 14036.
30512 (pow_test): Add test from bug 10846.
30513
795405f9
JM
30514 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30515 and other flags.
30516 (special_function): Do not include flags in test name.
30517 (parse_args): Likewise.
30518 * sysdeps/i386/fpu/libm-test-ulps: Update.
30519 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30520 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30521 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30523
80bad0cc
JM
30524 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30525 exceptions.
30526 * math/libm-test.inc ("Philosophy"): Update comment about
30527 exception testing.
30528 (UNDERFLOW_EXCEPTION): New macro.
30529 (UNDERFLOW_EXCEPTION_OK): Likewise.
30530 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30531 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30532 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30533 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30534 (INVALID_EXCEPTION_OK): Update value.
30535 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30536 (OVERFLOW_EXCEPTION_OK): Likewise.
30537 (IGNORE_ZERO_INF_SIGN): Likewise.
30538 (test_exceptions): Handle underflow exceptions.
30539 (acos_test): Update for underflow exception expectations.
30540 (cexp_test): Likewise.
30541 (clog_test): Likewise.
30542 (clog10_test): Likewise.
30543 (csqrt_test): Likewise.
30544 (ctan_test): Likewise.
30545 (ctanh_test): Likewise.
30546 (exp_test): Likewise.
30547 (exp10_test): Likewise.
30548 (exp2_test): Likewise.
30549 (expm1_test): Likewise.
30550 (fma_test): Likewise.
30551 (j0_test): Likewise.
30552 (jn_test): Likewise.
30553 (nexttoward_test): Likewise.
30554 (pow_test): Likewise.
30555 (scalbn_test): Likewise.
30556 (scalbln_test): Likewise.
30557 (tan_test): Likewise.
30558 (y1_test): Likewise.
30559 * sysdeps/i386/fpu/libm-test-ulps: Update.
30560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30561
9e0e3d0b
DM
305622012-05-23 David S. Miller <davem@davemloft.net>
30563
30564 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30565 (__libc_sigaction): Remove unused local variables.
30566
ccd0a08f
L
305672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30568
30569 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30570
62bdf9a6
PE
305712012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30572
f8591f80
PE
30573 mktime: avoid signed integer overflow
30574 * time/mktime.c (__mktime_internal): Do not mishandle the case
30575 where diff == INT_MIN.
30576
94c7d826
PE
30577 mktime: simplify computation of average
30578 * time/mktime.c (ranged_convert): Use new time_t_avg function
30579 instead of rolling our own (probably-slower) code.
30580
ce73d683
PE
30581 mktime: do not assume signed right shift propagates sign bit
30582 * time/mktime.c (isdst_differ): New static function.
30583 (__mktime_internal): No need to normalize tm_isdst now.
30584 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30585 tm_isdst values.
30586
72a22e59
PE
30587 mktime: merge another wrapv change from gnulib
30588 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30589 from some compilers.
30590
68605433
PE
30591 mktime: remove incorrect attempt at unusual arithmetics
30592 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30593 The code didn't really work on such machines anyway.
30594 (TYPE_MINIMUM): Assume two's complement.
30595 (twos_complement_arithmetic): Verify that long_int and time_t
30596 are two's complement (or unsigned, in the latter case).
30597
03cf7fe3
PE
30598 mktime: check signed shifts on long_int and time_t, too
30599 * time/mktime.c (SHR): Check that shifts work as desired
30600 on the types long_int and time_t too, as SHR is used on
30601 such types.
30602
f04dfbc2
PE
30603 mktime: do not assume 'long' is wide enough
30604 * time/mktime.c (verify): Move decl up.
30605 (long_int): New type.
30606 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30607 to remove assumption in the code that 'long' is wide enough to
30608 store year values. This assumption is not true on x32 and on
30609 some non-glibc platforms.
30610
62bdf9a6
PE
30611 mktime: merge wrapv change from gnulib
30612 * time/mktime.c (WRAPV): New macro.
30613 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30614 (guess_time_tm, __mktime_internal): Do not assume that signed
30615 integer overflow wraps around; modern compilers generate code
30616 where this assumption is no longer valid.
30617
5e292e4f
L
306182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30619
30620 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30621 Replace "jmp L(pseudo_end)" with "ret".
30622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30623 Likewise.
30624
8caf8c87
AJ
306252012-05-23 Andreas Jaeger <aj@suse.de>
30626
30627 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30628 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30629
1a09dc56
AJ
306302012-05-23 Andreas Jaeger <aj@suse.de>
30631 Maximilian Attems <max@stro.at>
30632
30633 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30634 New macros.
30635
1c87aba0
L
306362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30637
30638 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30639 code so that pseudo_end is just ret and the stack pointer is
30640 correct also for static library in error case.
30641
40e45bd5
JM
306422012-05-23 Joseph Myers <joseph@codesourcery.com>
30643
c2670533
JM
30644 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30645 move to syscalls.list.
30646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30650
40e45bd5
JM
30651 * manual/install.texi (Running make install): Do not mention Linux
30652 kernel version for which pt_chown is not needed.
30653 (Linux): Do not mention problems with nscd with 2.0 kernels.
30654 * INSTALL: Regenerated.
30655
be08eda5
AJ
306562012-05-23 Andreas Jaeger <aj@suse.de>
30657
30658 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30659 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30660 macro.
30661 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30662 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30663 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30664 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30665 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30666 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30667 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30668 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30669 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30670 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30671 * sysdeps/unix/sysv/linux/bits/in.h
30672 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30673
a6a056bb
RM
306742012-05-22 Roland McGrath <roland@hack.frob.com>
30675
30676 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30677 (PREPARE_VERSION): Just use assert instead, it will be elided
30678 under [NDEBUG] anyway.
30679
c9009328
L
306802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30681
30682 * sysdeps/unix/sysv/linux/Makefile: Include
30683 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30684 (sysdep_routines): Remove sysctl.
c9009328
L
30685 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30686 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30687 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30688 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30689 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30690
73338355
AJ
306912012-05-22 Andreas Jaeger <aj@suse.de>
30692
30693 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30694 that pseudo_end is just ret and the stack pointer is correct also
30695 for static library in error case.
30696
d44638b0
PP
306972012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30698
30699 [BZ #14122]
30700 * nss/nsswitch.c (defconfig_entries): New variable.
30701 (__nss_database_lookup): Don't leak defconfig entries.
30702 (nss_parse_service_list): Don't leak on error paths.
30703 (free_database_entries): New function.
30704 (free_defconfig): New function.
30705 (free_mem): Move common code to free_database_entries.
30706
31a39bd8
L
307072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30708
da0331a8
L
30709 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30710 Add arch_prctl.
30711 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30712
31a39bd8
L
30713 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30714 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30716 New macro.
30717 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30718 (INTERNAL_SYSCALL_TYPES): Likewise.
30719 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30720 (LOAD_REGS_TYPES_[1-6]): Likewise.
30721 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30722 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30723
45470df3
AZ
307242012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30725
30726 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30727 copysignl for GLIBC_2_0.
30728 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30729 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30730 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30731 logbl for GLIBC_2_0.
30732 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30733 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30734
98a61bcb
L
307352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30736
a4f6e481
L
30737 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30738 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30739
f63d5db6
L
30740 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30741 Use "neg %eax".
30742
98a61bcb
L
30743 * time/mktime.c: Update copyright years.
30744
95770f14
PE
307452012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30746
6226efbd
PE
30747 mktime: merge comment-quoting-style change from gnulib
30748 * time/mktime.c: Quote 'like this' in comments.
30749 The GNU coding standards suggest that we no longer quote `like this',
30750 as "`" and "'" are typically rendered asymmetrically nowadays.
30751 The typical gnulib style is to quote 'like this' when quoting
30752 code, and "like this" when quoting English.
30753
b99e4f78
PE
30754 * time/mktime.c (compile-command): Add "-I.".
30755
643e01e6
PE
30756 mktime: merge mktime-internal.h change from gnulib
30757 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30758
2554247d
PE
30759 mktime: merge time_r change from gnulib
30760 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30761
826dd0ab
PE
30762 mktime: merge DEBUG change from gnulib
30763 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30764 case system <time.h> has a #define.
30765
bd83aabe
PE
30766 mktime: merge <sys/types.h> change from gnulib
30767 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30768 since <time.t> is now guaranteed to define time_t.
30769
95770f14
PE
30770 mktime: merge HAVE_CONFIG_H change from gnulib
30771 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30772
5e1a27a9
L
307732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30774
0e44a77e
L
30775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30776 Use "neg %eax".
30777
5e1a27a9
L
30778 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30779 __rlim_t cast.
30780 (struct rusage): Use anonymous union to pad each field to
30781 __syscall_slong_t.
30782
46259bec
DM
307832012-05-21 David S. Miller <davem@davemloft.net>
30784
30785 * Makefules (o-iterator): Remove .s cases.
30786 (compile-command.s): Delete.
30787 (COMPILE.s): Delete.
30788 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30789
59f0c22e
JM
307902012-05-21 Joseph Myers <joseph@codesourcery.com>
30791
30792 * configure.in (libc_cv_predef_stack_protector): Only consider
30793 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30794 * configure: Regenerated.
30795
20c07380
L
307962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30797
bbb3154b
L
30798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30799 New macro. Use R*LP on int and pointer.
30800 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30801 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30802 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30803 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30804
20c07380
L
30805 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30806 [__WORDSIZE_TIME64_COMPAT32] instead of
30807 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30808 (struct utmp): Likewise.
30809 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30810 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30811 Renamed to ...
30812 (__WORDSIZE_TIME64_COMPAT32): This.
30813 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30814 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30815 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30816 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30817 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30818 (__WORDSIZE_TIME64_COMPAT32): New macro.
30819
d8d1017e
AJ
308202012-05-21 Andreas Jaeger <aj@suse.de>
30821
30822 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30823 only if [SHARED]. Add prototype for __wcschr_ia32.
30824
6c7fb145
RM
308252012-05-21 Roland McGrath <roland@hack.frob.com>
30826
30827 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30828 of %rbp unmolested in the jmp_buf while mangling the low bits.
30829 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30830 unmolested high bits of %rbp while demangling the low bits.
30831 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30832
66274218
AJ
308332012-05-21 Andreas Jaeger <aj@suse.de>
30834
07c58f8f
AJ
30835 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30836 * sunrpc/svc_simple.c: Use it for registerrpc.
30837 * sunrpc/xcrypt.c: Use it for passwd2des.
30838
66274218
AJ
30839 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30840
61f65140
L
308412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30842
30843 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30844 Don't define if [__SYSCALL_WORDSIZE != 32].
30845 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30846 New macro.
30847
5fefb436
AJ
308482012-05-21 Bruno Haible <bruno@clisp.org>
30849 Andreas Jaeger <aj@suse.de>
30850
30851 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30852 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30853 inptr and inend for must_buffer_ch.
30854 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30855 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30856 * stdio-common/Makefile (tests): Remove bug15.
30857 (bug15-ENV): Remove macro.
30858 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30859 anymore.
30860
d8e272ab
AJ
308612012-05-19 Andreas Jaeger <aj@suse.de>
30862 Roland McGrath <roland@hack.frob.com>
30863
30864 * manual/contrib.texi: Completely rewritten. It contains now an
30865 alphabetical list of contributors and their contributions.
30866
4a56a162
RH
308672012-05-21 Richard Henderson <rth@twiddle.net>
30868
30869 * misc/getauxval.c (__getauxval): Use unsigned long int.
30870 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30871 (getauxval): Use unsigned long int.
30872
d024d23c
L
308732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30874
30875 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30876
cbc00a03
RM
308772012-05-21 Roland McGrath <roland@hack.frob.com>
30878
30879 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30880 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30881 __alignof__ (long double).
30882
478143fa
AZ
308832012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30884
30885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30886
c7683a6d
RH
308872012-05-20 Richard Henderson <rth@twiddle.net>
30888
30889 * misc/getauxval.c: New file.
30890 * misc/sys/auxv.h: New file.
30891 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30892 (routines): Add getauxval.
30893 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30894 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30895 * elf/dl-sysdep.c (_dl_auxv): Remove.
30896 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30897 * elf/dl-support.c (_dl_auxv): New variable.
30898 (_dl_aux_init): Initialize it.
30899 * manual/startup.texi (Auxiliary Vector): New node.
30900 * sysdeps/generic/bits/hwcap.h: New file.
30901 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30902 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30903 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30904 * sysdeps/sparc/sysdep.h: ... here. Include it.
30905 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30906 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30908 Update.
c7683a6d
RH
30909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30917
a6f1845d
AZ
309182012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30919
30920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30921
cbcbe830
DM
309222012-05-19 David S. Miller <davem@davemloft.net>
30923
30924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30925
e0b16cc2
JM
309262012-05-19 Joseph Myers <joseph@codesourcery.com>
30927
30928 [BZ #14123]
30929 * math/s_ccosh.c: Include <float.h>
30930 (__ccosh): Avoid internal overflow calculating sinh and cosh
30931 values before multiplying by sin and cos values.
30932 * math/s_ccoshf.c: Likewise.
30933 * math/s_ccoshl.c: Likewise.
30934 * math/s_csin.c: Likewise.
30935 * math/s_csinf.c: Likewise.
30936 * math/s_csinl.c: Likewise.
30937 * math/s_csinh.c: Likewise.
30938 * math/s_csinhf.c: Likewise.
30939 * math/s_csinhl.c: Likewise.
30940 * math/libm-test.inc (ccos_test): Add more tests.
30941 (ccosh_test): Likewise.
30942 (csin_test): Likewise.
30943 (csinh_test): Likewise.
30944 * sysdeps/i386/fpu/libm-test-ulps: Update.
30945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30946
6ad13e08
L
309472012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30948
f66f0ce8
L
30949 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30950 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30951
6ad13e08
L
30952 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30953
b1d072a7
JM
309542012-05-19 Joseph Myers <joseph@codesourcery.com>
30955
30956 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30957 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30958 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30959 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30960 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30961 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30962 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30963 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30964 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30965 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30966 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30967 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30968 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30969 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30970 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30971 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30972 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30973 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30974 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30975 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30976 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30977 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30978 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30979 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30980 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30981 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30982 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30983 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30984 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30985 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30986 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30987
9eae47cb
AJ
309882012-05-18 Andreas Jaeger <aj@suse.de>
30989
30990 * csu/.gitignore: Delete.
30991
bb07f69f
L
309922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30993
30994 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30995 (timex): Use __syscall_slong_t.
30996
e6bdb741
AJ
309972012-05-18 Andreas Jaeger <aj@suse.de>
30998 Carlos O'Donell <carlos_odonell@mentor.com>
30999
31000 * manual/install.texi (Configuring and compiling): Update
31001 description about files modified in the source directory.
d6c33fda 31002 * INSTALL: Regenerated.
e6bdb741 31003
1b74487e
L
310042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31005
31006 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31007 value. Use "or" to set return value to -1.
31008 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31009 negate return value.
31010
a88b64b9
TMQMF
310112012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31012
57f41c40
AS
31013 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31014 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31015 failure if the compiler has Graphite support disabled.
31016 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31017 Likewise.
57f41c40
AS
31018 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31019 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31020 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31021 Likewise.
31022
3707636e
L
310232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31024
610b8622
L
31025 * sysdeps/x86_64/x32/_itoa.h: New file.
31026
7cd195df
L
31027 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31028 getdents system call only if kernel and user dirents have the
31029 same d_ino and d_off.
31030
94b07d20
L
31031 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31032 LLONG_MAX != LONG_MAX.
31033 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31034 (_fitoa_word): Likewise.
31035
18298070
L
31036 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31037 years.
31038 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31039 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31040 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31041
553c7ea4
L
31042 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31043 include <bits/wordsize.h>. Check __x86_64__ instead of
31044 __WORDSIZE.
31045 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31046 if __x86_64__ is defined. Use anonymous union on fpstate.
31047
3707636e
L
31048 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31049 anonymous union.
31050
b53ef01a
AS
310512012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31052
37fb1dc0
AS
31053 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31054 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31055 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31056 Refer to _rtld_local_ro instead of _rtld_global_ro.
31057 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31058 Likewise.
31059 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31060 Likewise.
31061 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31062 Likewise.
31063 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31064 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31065 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31066
b53ef01a
AS
31067 * sysdeps/powerpc/powerpc32/dl-machine.c
31068 (__elf_machine_runtime_setup) [PROF]: Don't reference
31069 _dl_prof_resolve.
31070
7a185db2
AJ
310712012-05-18 Andreas Jaeger <aj@suse.de>
31072
31073 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31074 function only available for GCCs before 3.4 since GCC 3.4
31075 introduced a builtin.
31076 (lrint): Likewise.
31077 (llrintf): Likewise.
31078 (llrint): Likewise.
31079 (fmaxf): Likewise.
31080 (fmax): Likewise.
31081 (fminf): Likewise.
31082 (fmin): Likewise.
31083 (rint): Likewise.
31084 (rintf): Likewise.
31085 (nearbyint): Likewise.
31086 (nearbyintf): Likewise.
31087 (ceil): Likewise.
31088 (ceilf): Likewise.
31089 (floor): Likewise.
31090 (floorf): Likewise.
31091
3e5aef87
L
310922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31093
428bd707
L
31094 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31095 on both fields and cast pointer to __syscall_ulong_t.
31096
3e5aef87
L
31097 * bits/types.h (__fsword_t): New type.
31098 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31099 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31100 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31101 (__FSWORD_T_TYPE): Likewise.
31102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31103 (__FSWORD_T_TYPE): Likewise.
31104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31105 (__FSWORD_T_TYPE): Likewise.
31106 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31107 (__FSWORD_T_TYPE): Likewise.
31108 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31109 __SWORD_TYPE with __fsword_t.
31110 (statfs64): Likewise.
31111
1ba7c3dc
DM
311122012-05-17 David S. Miller <davem@davemloft.net>
31113
31114 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31115
59910343
AJ
311162012-05-17 Andreas Jaeger <aj@suse.de>
31117
31118 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31119 warning.
31120
2e4c1e9e
L
311212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31122
31123 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31124
de7f5ce7
AJ
311252012-05-17 Andreas Jaeger <aj@suse.de>
31126
31127 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31128 when it is used.
31129
286abc3d
CM
311302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31131
31132 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31133
477cc68e
L
311342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31135
31136 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31137 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31138
1a0994f5
CD
311392012-05-17 Andreas Jaeger <aj@suse.de>
31140 Carlos O'Donell <carlos_odonell@mentor.com>
31141
31142 [BZ #14059]
31143 * sysdeps/x86_64/multiarch/init-arch.h
31144 (bit_YMM_Usable): Rename to...
31145 (bit_AVX_Usable): ... this.
31146 (bit_FMA4_Usable): New macro.
31147 (bit_XMM_state): New macro.
31148 (bit_YMM_state): New macro.
31149 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31150 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31151 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31152 (CPUID_OSXSAVE): New macro.
31153 (CPUID_AVX): New macro.
31154 (CPUID_FMA4): New macro.
31155 (index_YMM_Usable): Rename to...
31156 (index_AVX_Usable): ... this.
31157 (HAS_AVX): Use HAS_ARCH_FEATURE.
31158 (HAS_FMA4): Likewise.
31159 (HAS_YMM_USABLE): Remove.
31160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31161 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31162 are present.
31163 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31164 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31165 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31166 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31167 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31168
0af797de
CM
311692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31170
31171 * math/libm-test.c: Support platforms without multiple rounding modes.
31172 * math/bug-nextafter.c: Support platforms without FP exceptions.
31173 * math/bug-nexttoward.c: Likewise.
31174 * math/test-fenv.c: Likewise.
31175 * math/test-misc.c: Likewise.
31176 * stdlib/bug-getcontext.c: Likewise.
31177
e39745ff
AJ
311782012-05-17 Andreas Jaeger <aj@suse.de>
31179
31180 * manual/examples/search.c (critter_cmp): Change signature to
31181 avoid warnings.
31182 * manual/string.texi (Collation Functions): Likewise.
31183
48970aba
L
311842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31185
31186 * bits/types.h: Fold copyright years.
31187 * bits/typesizes.h: Likewise.
31188 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31191 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31192 * time/time.h: Likewise.
31193
bedee953
PP
311942012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31195
31196 [BZ #208]
31197 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31198 in instead of returning them. Return void.
31199 (__libc_mallinfo): Accumulate over all arenas.
31200 (__malloc_stats): Adjust for change in int_mallinfo interface.
31201
61653dfb
RM
312022012-05-16 Roland McGrath <roland@hack.frob.com>
31203
30b99d79
RM
31204 [BZ #10375]
31205 * configure.in (NM): Add AC_CHECK_TOOL for it.
31206 (libc_extra_cflags): New substituted variable.
31207 Check for -fstack-protector being used implicitly.
31208 * configure: Regenerated.
31209 * config.make.in (config-extra-cflags): New variable,
31210 gets @libc_extra_cflags@.
31211 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31212
61653dfb
RM
31213 [BZ #10375]
31214 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31215 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31216 * configure: Regenerated.
31217 * config.make.in (CPPUNDEFS): New substituted variable.
31218 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31219 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31220 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31221
661768bb
L
312222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31223
31224 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31225 (mq_attr): Use __syscall_slong_t.
31226
d4261567
L
312272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31228
31229 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31230 Check __x86_64__ instead of __WORDSIZE.
31231 (_STAT_VER_LINUX): Likewise.
31232 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31233 __syscall_ulong_t and __syscall_slong_t.
31234 (stat64): Likewise.
31235
cf3ff365
L
312362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31237
31238 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31239
76cf3e4d
L
312402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31241
31242 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31243
a637753a
L
312442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31245
31246 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31247 __syscall_ulong_t.
31248
d5e05119
L
31249 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31250 include <bits/wordsize.h>. Check __x86_64__ instead of
31251 __WORDSIZE.
31252 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31253 defined.
31254 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31255
f62ee380
L
31256 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31257 include <bits/wordsize.h>. Check __x86_64__ instead of
31258 __WORDSIZE.
31259 (user_regs_struct): Use "__extension__ unsigned long long"
31260 instead of "unsigned long" if __x86_64__ is defined.
31261 (user): Likewise. Pad after pointer field if __ILP32__ is
31262 defined.
31263
4e124ced
JM
312642012-05-16 Joseph Myers <joseph@codesourcery.com>
31265
6a3951a0
JM
31266 * configure.in (makeinfo): Require version 4.5 or later. Allow
31267 versions 5 to 9.
31268 * configure: Regenerated.
31269 * manual/install.texi (texinfo): Increase version requirement to
31270 4.5 or later.
31271 * INSTALL: Regenerated.
31272
4e124ced
JM
31273 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31274
953ca31a
L
312752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31276
31277 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31278
617aca05
L
31279 * sysdeps/x86_64/x32/ffs.c: New file.
31280
5762f7ae
L
31281 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31282 __syscall_ulong_t.
31283 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31284 defined. Use __syscall_ulong_t.
31285 (shminfo): Use __syscall_ulong_t.
31286 (shm_info): Likewise.
31287
a26b6856
L
31288 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31289 __syscall_ulong_t.
31290
cb2b9ef7
L
31291 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31292 <bits/wordsize.h>.
31293 (msgqnum_t): Use __syscall_ulong_t.
31294 (msglen_t): Likewise.
31295 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31296 __syscall_ulong_t.
31297
34683bb0
L
31298 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31299 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31300
84a68786
L
31301 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31302
48baa5f1
L
31303 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31304 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31305
180be88b
L
31306 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31307 __syscall_slong_t.
31308
5e90c8ad
L
31309 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31310 include <bits/wordsize.h>. Check __x86_64__ instead of
31311 __WORDSIZE.
31312
23dfb58b
L
31313 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31314 "unsigned long long int" if __x86_64__ is defined.
31315 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31316
ce5d54b0
L
31317 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31318 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31319 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31320
13dc9eac
L
31321 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31322 <stdint.h>.
31323 (GET_PC): Cast to uintptr_t first.
31324 (GET_FRAME): Likewise.
31325 (GET_STACK): Likewise.
31326
a7895d15
L
31327 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31328 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31329 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31330 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31331 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31332 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31333 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31334 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31335 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31336 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31337 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31338 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31339 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31340 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31341 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31342 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31343 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31344 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31345 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31346 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31347 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31348 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31349 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31350 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31351 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31352 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31353 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31354 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31355 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31356
656416c9
AS
313572012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31358
5bd66283
AS
31359 * Makerules (+depfiles): Also collect depfiles from .oS in
31360 $(extra-objs).
31361 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31362 .oS, $(libnldbl-routines)).
31363
656416c9
AS
31364 * Makerules (native-compile-mkdep-flags): Define.
31365 * sunrpc/Makefile (extra-objs): Add $(addprefix
31366 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31367 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31368 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31369 calling $(make-target-directory).
31370
a46f2169
L
313712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31372
31373 * bits/types.h (__snseconds_t): Removed.
31374 * time/time.h (struct timespec): Replace __snseconds_t with
31375 __syscall_slong_t.
31376 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31377 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31378 Likewise.
31379 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31380 (__SNSECONDS_T_TYPE): Likewise.
31381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31382 (__SNSECONDS_T_TYPE): Likewise.
31383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31384 (__SNSECONDS_T_TYPE): Likewise.
31385
6af6528b
L
313862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31387
31388 * sysdeps/mach/hurd/bits/typesizes.h
31389 (__SYSCALL_SLONG_TYPE): New macro.
31390 (__SYSCALL_ULONG_TYPE): Likewise.
31391
de986b56
L
313922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31393
31394 * bits/types.h (__syscall_slong_t): New type.
31395 (__syscall_ulong_t): Likewise.
31396
31397 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31398 (__SYSCALL_ULONG_TYPE): Likewise.
31399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31400 (__SYSCALL_SLONG_TYPE): Likewise.
31401 (__SYSCALL_ULONG_TYPE): Likewise.
31402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31403 (__SYSCALL_SLONG_TYPE): Likewise.
31404 (__SYSCALL_ULONG_TYPE): Likewise.
31405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31406 (__SYSCALL_SLONG_TYPE): Likewise.
31407 (__SYSCALL_ULONG_TYPE): Likewise.
31408
85736dc7
L
314092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31410
31411 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31412 Add sigaltstack-offsets.sym.
31413 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31414 <sigaltstack-offsets.h>.
31415 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31416 longjmp_msg pointer.
31417 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31418 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31419 signal stack.
31420 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31421
cc03b296
JM
314222012-05-15 Joseph Myers <joseph@codesourcery.com>
31423
a9538892
JM
31424 * elf/stackguard-macros.h: Remove file.
31425 * sysdeps/generic/stackguard-macros.h: New file.
31426 * sysdeps/i386/stackguard-macros.h: Likewise.
31427 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31428 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31429 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31430 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31431 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31432 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31433 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31434 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31435 <elf/stackguard-macros.h>.
31436
cc03b296
JM
31437 [BZ #14109]
31438 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31439 __aligned__ in attribute.
31440 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31441 (gregset_t): Likewise.
31442
93171016
L
314432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31444
31445 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31446 * sysdeps/x86_64/64/Implies-after: Here. New file.
31447 * sysdeps/x86_64/x32/Implies-after: New file.
31448
d86813a0
L
314492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31450
31451 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31452 and access return value for _dl_profile_fixup. Use R10_LP to
31453 load frame size.
31454
2953ec75
L
314552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31456
31457 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31458
3b550e9e
L
314592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31460
31461 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31462 * sysdeps/x86_64/x32/sysdep.h: New file.
31463
eda41706
L
314642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31465
31466 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31467 * sysdeps/x86_64/setjmp.S: Likewise.
31468
9ea01d93
AZ
314692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31470
31471 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31472 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31473 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31474 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31475 remove unused global constant.
31476
02a91938
CM
314772012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31478
31479 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31480 include of <not-cancel.h>.
31481
6540185f
RM
314822012-05-15 Roland McGrath <roland@hack.frob.com>
31483
31484 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31485
509072a0
AJ
314862012-05-15 Jeff Law <law@redhat.com>
31487 Andreas Jaeger <aj@suse.de>
31488
31489 [BZ #13594]
31490 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31491 out from...
31492 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31493 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31494 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31495 code changing __hst_map_handle.map.
31496
ba75122d
RM
314972012-05-15 Roland McGrath <roland@hack.frob.com>
31498
31499 * configure.in (sysnames): Look for Implies-before and Implies-after
31500 files.
31501 * configure: Regenerated.
31502
890d8bd8
L
315032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31504
31505 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31506 8-byte data alignment with LP_SIZE alignment.
31507
f6ee6623
L
315082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31509
31510 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31511 into R10_LP.
31512
ea2626f6
L
315132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31514
31515 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31516
085f715e
L
315172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31518
31519 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31520 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31522 Likewise.
31523 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31524
be8498fc
L
315252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31526
31527 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31528 (stackinfo_sub_sp): Likewise.
31529
70bc83b9
L
315302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31531
31532 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31533 RAX_LP.
31534
9bc0b730
L
315352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31536
31537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31538 into R*_LP.
31539
6d2850e7
L
315402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31541
31542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31543 sizes into R*_LP.
31544
3cb84561
L
315452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31546
31547 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31548
54e2ed81
L
315492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31550
31551 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31552 into R11_LP and load __x86_64_shared_cache_size_half into
31553 R8_LP.
31554
8a17f349
L
315552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31556
31557 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31558 R8_LP.
31559
777b1eea
AZ
315602012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31561
31562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31563 logb for POWER7.
31564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31565 logbf for POWER7.
31566 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31567 logbl for POWER7.
31568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31569 powerpc32/power7/fpu/s_logb.c via #include.
31570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31571 powerpc32/power7/fpu/s_logbf.c via #include.
31572 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31573 powerpc32/power7/fpu/s_logbl.c via #include.
31574
d20d4ac2
JM
315752012-05-15 Joseph Myers <joseph@codesourcery.com>
31576
31577 * README.libm: Remove file.
31578
6cdef1ab
L
315792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31580
31581 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31582 count for x32. Use R*_LP and omit operand-size suffix.
31583
0b254d8f
L
315842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31585
31586 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31587 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31588 * sysdeps/x86_64/x32/shlib-versions: New file.
31589
ceb809dc
RM
315902012-05-14 Roland McGrath <roland@hack.frob.com>
31591
31592 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31593 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31594 Use _dl_fatal_printf instead.
31595
37f1abd4
JM
315962012-05-14 Joseph Myers <joseph@codesourcery.com>
31597
31598 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31599 set if not set by the user. Do not allow for being unset.
31600 * sysdeps/unix/sysv/linux/configure: Regenerated.
31601
11de3a33
L
316022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31603
31604 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31605 the `q' suffix from lea and replace .quad with ASM_ADDR.
31606
e02f153a
L
316072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31608
31609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31610 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31611 instead of $17.
31612 (PTR_DEMANGLE): Likewise.
31613
520ae0fd
L
316142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31615
31616 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31617 (LP_OP): Likewise.
31618 (ASM_ADDR): Likewise.
31619 (RAX_LP): Likewise.
31620 (RBP_LP): Likewise.
31621 (RBX_LP): Likewise.
31622 (RCX_LP): Likewise.
31623 (RDI_LP): Likewise.
31624 (RSI_LP): Likewise.
31625 (RSP_LP): Likewise.
31626 (R8_LP): Likewise.
31627 (R9_LP): Likewise.
31628 (R10_LP): Likewise.
31629 (R10_LP): Likewise.
31630 (R11_LP): Likewise.
31631 (R12_LP): Likewise.
31632 (R13_LP): Likewise.
31633 (R14_LP): Likewise.
31634 (R15_LP): Likewise.
31635
b985be81
L
316362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31637
31638 * sysdeps/x86_64/x32/dl-machine.h: New file.
31639
6a4888ff
AJ
316402012-05-14 Andreas Jaeger <aj@suse.de>
31641
31642 * manual/Makefile (subdir): Remove export of subdir.
31643 (all): Remove target.
31644 (.PHONY): Remove all from list.
31645 (mkinstalldirs): Remove.
31646 (.PHONY): Remove installdirs from list.
31647 ($(inst_infodir)/libc.info): Use make-target-directory.
31648 (installdirs): Remove.
31649 (subdir_%): Remove.
31650 (glibc-targets): Remove.
31651 (lib): Remove.
31652 (stubs): Remove.
31653 ($(objpfx)stubs ../po/manual.pot): Remove.
31654 ($(objpfx)stamp%): Remove.
31655 (make-target-directory): Remove.
31656 (subdir_install): Remove.
31657 (routines): Remove.
31658 (aux): Remove.
31659 (sources): Remove.
31660 (objects): Remove.
31661 (headers): Remove.
31662
31663 [BZ #13750]
31664 * manual/.gitignore: Remove, it's not needed anymore.
31665 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31666 all files in it.
31667 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31668 directory.
31669 (texis): Renamed to $(objpfx)texis.
31670 (texis-path): New, contains path to generated files.
31671 (chapters.%): Use texis-path for complete path, add extra argument
31672 libc-texinfo.sh.
31673 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31674 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31675 (summary,texi, stamp-summary): Use complete path of
31676 files. Generate files in build dir.
31677 (dir-add.texi): Build in build dir.
31678 (libm-err.texi,stamp-libm-err): Likewise.
31679 (version.texi, stamp-version): Likewise.
31680 (.%c.texi): Likewise.
31681 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31682 (mostlyclean): Remove target.
31683 (realclean): Remove target.
31684 (generated): Add new variable with contents from mostlyclean and
31685 realclean, remove entries duplicated in common-mostlyclean, add
31686 stamp-libm-err and stamp-version.
31687 (generated-dirs): Add libc directory.
31688 ($(inst_infodir)/libc.info): Install files from build dir.
31689
31690 * manual/install.texi (Configuring and compiling): Adjust since
31691 the info files are not part of the tar ball anymore.
31692
7ac77294
AJ
316932012-05-14 Andreas Jaeger <aj@suse.de>
31694
31695 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31696 variable.
31697
ffb7875d
JM
316982012-05-14 Joseph Myers <joseph@codesourcery.com>
31699
31700 [BZ #13717]
31701 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31702 to 2.2.0 where earlier.
31703 * sysdeps/unix/sysv/linux/configure: Regenerated.
31704 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31705 Remove conditional code.
31706 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31707 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31708 Remove conditional code.
31709 [!__NR_lchown]: Likewise.
31710 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31711 [__NR_lchown]: Likewise.
31712 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31713 comment referencing __ASSUME_LCHOWN_SYSCALL.
31714 * sysdeps/unix/sysv/linux/i386/sigaction.c
31715 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31716 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31717 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31718 Remove conditional code.
31719 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31720 (__protocol_available): Remove #if 0 code.
31721 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31722 conditional code.
31723 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31724 * sysdeps/unix/sysv/linux/kernel-features.h
31725 (__ASSUME_GETCWD_SYSCALL): Don't define.
31726 (__ASSUME_REALTIME_SIGNALS): Likewise.
31727 (__ASSUME_PREAD_SYSCALL): Likewise.
31728 (__ASSUME_PWRITE_SYSCALL): Likewise.
31729 (__ASSUME_POLL_SYSCALL): Likewise.
31730 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31731 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31732 non-SPARC.
31733 (__ASSUME_SIOCGIFNAME): Don't define.
31734 (__ASSUME_MSG_NOSIGNAL): Likewise.
31735 (__ASSUME_SENDFILE): Define unconditionally.
31736 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31737 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31738 conditional code.
31739 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31740 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31741 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31742 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31743 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31744 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31745 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31747 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31748 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31750 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31753 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31756 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31759 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31762 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31765 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31770 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31771 Remove conditional code.
31772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31773 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31774 Remove conditional code.
31775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31776 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31777 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31778 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31779 Remove conditional code.
31780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31781 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31782 Remove conditional code.
31783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31784 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31785 Remove conditional code.
31786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31787 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31788 Remove conditional code.
31789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31790 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31791 Remove conditional code.
31792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31793 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31796 * sysdeps/unix/sysv/linux/sigaction.c
31797 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31798 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31799 * sysdeps/unix/sysv/linux/sigpending.c
31800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31802 * sysdeps/unix/sysv/linux/sigprocmask.c
31803 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31804 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31805 * sysdeps/unix/sysv/linux/sigsuspend.c
31806 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31807 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31808 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31809 (__libc_missing_rt_sigs): Remove.
31810 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31811 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31812 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31813 Remove conditional code.
31814 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31815 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31816 return 1.
31817 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31818 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31819 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31820 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31821
1bfb7291
AJ
318222012-05-14 Andreas Jaeger <aj@suse.de>
31823
caae5a81
AJ
31824 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31825 it's not used in glibc.
31826 (__coshm1): Likewise.
31827 (__acosh1p): Likewise.
31828 (__sgn): Likewise.
31829
1bfb7291
AJ
31830 * manual/string.texi (Copying and Concatenation): Add missing
31831 variable in concat example.
31832 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31833
c044d724
L
318342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31835
144c5467 31836 [BZ #14103]
c044d724
L
31837 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31838 __builtin_clzl with __builtin_clzll.
31839
2523c62b
L
318402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31841
31842 [BZ #14104]
31843 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31844 libc_freeres_ptr.
31845
d7bb4c42
LD
318462012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31847
31848 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31849 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31850 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31851 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31852
9dc4e1fb
MF
318532012-05-14 Mike Frysinger <vapier@gentoo.org>
31854
31855 * NEWS: Update ia64 info.
31856
c7df0112
AS
318572012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31858
31859 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31860 used as bcopy.
31861
dc70356c
TS
318622012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31863
31864 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31865 * sysdeps/unix/syscalls.list (dup3): Likewise.
31866 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31867 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31868
9fb1a21f
L
318692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31870
31871 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31872 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31873
4822a2a5
L
318742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31875
31876 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31877 thread pointer.
31878 (TLS_IE): Use mov/add instead of movq/addq to load thread
31879 pointer.
31880 (TLS_GD_PREFIX): New.
31881 (TLS_GD): Use it.
31882
842b81d6
DM
318832012-05-11 David S. Miller <davem@davemloft.net>
31884
31885 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31886 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31887 (_FPU_SETCW): Likewise.
31888
1cf463cd
L
318892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31890
31891 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31892 is 32-byte aligned.
31893
60cc4a18
AS
318942012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31895
31896 [BZ #11837]
31897 * iconvdata/gb18030.c: Update tables.
31898 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31899 characters specially.
31900 (BODY for TO_LOOP): Add encoding of missing ranges.
31901
febb44a4
TS
319022012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31903
31904 [BZ #13673]
31905 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31906 * sysdeps/mach/hurd/dup3.c: Likewise.
31907 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31908 * sysdeps/powerpc/memmove.c:: Likewise.
31909
0a10fb9e
L
319102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31911
31912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31913 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31914
df8a552f
L
319152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31916
31917 * elf/elf.h (R_X86_64_RELATIVE64): New.
31918 (R_X86_64_NUM): Updated.
31919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31920 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31921 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31922 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31923 tst-quad1pie tst-quad2pie
31924 (modules-names): Add tst-quadmod1 tst-quadmod2.
31925 ($(objpfx)tst-quad1): New dependency.
31926 ($(objpfx)tst-quad2): Likewise.
31927 ($(objpfx)tst-quad1pie): Likewise.
31928 ($(objpfx)tst-quad2pie): Likewise.
31929 * sysdeps/x86_64/tst-quad1.c: New file.
31930 * sysdeps/x86_64/tst-quad1pie.c: New file.
31931 * sysdeps/x86_64/tst-quad2.c: Likewise.
31932 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31933 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31934 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31935 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31936 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31937
f34d6f84
ST
319382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31939
f42d41d1
ST
31940 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31941 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31942 * streams/stropts.h (t_scalar_t): Define type.
31943
3c3571fc
ST
31944 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31945 (_PATH_PRESERVE): Set to "/var/lib".
31946 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31947
61f06bd3
ST
31948 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31949 instead of int.
31950
918d4d71
ST
31951 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31952 if __dir_mkfile succeeded.
31953
f34d6f84
ST
31954 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31955 checking for _hurd_dtablesize. Unlock it right after having
31956 finished _hurd_dtable allocation.
31957
10589b4a
TS
319582012-05-10 Thomas Schwinge <thomas@schwinge.name>
31959
674cdbc7
TS
31960 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31961 * sysdeps/mach/hurd/configure: Regenerated.
31962 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31963 special-casing to...
31964 * sysdeps/gnu/configure.in: ... this new file.
31965 * sysdeps/unix/sysv/linux/configure: Regenerated.
31966 * sysdeps/gnu/configure: New generated file.
31967
8e41b99f
TS
31968 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31969 for Linux: use nsec instead of usec, as well as:
31970 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31971 members of type struct timespec.
31972 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31973 New macros.
31974 (struct stat64): Likewise.
31975 (_STATBUF_ST_NSEC): New macro.
31976 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31977
10589b4a
TS
31978 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31979 __strtoul_internal rather than strtoul.
31980
63643c85
PT
319812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31982
31983 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31984 and reject them.
31985
3faebe6a
ST
319862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31987
31988 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31989 which preserves existing values.
31990 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31991
c6474b07
PT
319922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31993
31994 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31995 TIMEOUT values. Return EINVAL for NFDS values either negative or
31996 greater than FD_SETSIZE.
31997
1043890b
ST
319982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31999
32000 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32001 allocated, call __vm_protect to finish enabling the existing space, and
32002 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32003 allocate the remainder.
32004
37ed8b9b
PT
320052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32006
32007 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32008 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32009
db653660
ST
320102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32011
37ed8b9b
PT
32012 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32013 sysdeps/mach/hurd/readlink.c.
b29d4053 32014
db653660
ST
32015 * posix/tst-sysconf.c (posix_options): Only use
32016 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32017 _POSIX_SYNCHRONIZED_IO when they are defined
32018 * sysdeps/mach/hurd/bits/posix_opt.h:
32019 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32020 (_XOPEN_REALTIME): Undefine macro.
32021 (_XOPEN_REALTIME_THREADS): Undefine macro.
32022 (_XOPEN_SHM): Undefine macro.
32023 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32024 macro to -1.
32025 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32026 macro to -1.
32027 (_POSIX_ASYNC_IO): Undefine macro.
32028 (_POSIX_PRIORITIZED_IO): Undefine macro.
32029 (_POSIX_SPIN_LOCKS): Define macro to -1.
32030
ee16e894
ST
32031 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32032 SA_NODEFER, SA_RESETHAND.
32033 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32034 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32035 F_DUPFD_CLOEXEC.
32036
6103ae3b
TS
320372012-05-10 Thomas Schwinge <thomas@schwinge.name>
32038
32039 * elf/Makefile (pldd-modules): Define unconditionally.
32040
80b4e5f3
TS
320412012-05-10 Thomas Schwinge <thomas@schwinge.name>
32042
32043 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32044
edadcbd6
ST
320452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32046
32047 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32048 Return ENOENT when name is empty.
32049 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32050
80694780
TS
320512012-05-10 Thomas Schwinge <thomas@schwinge.name>
32052
1792c087
TS
32053 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32054
80694780
TS
32055 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32056
6b645f0d
ST
320572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32058
80694780
TS
32059 Fix mlock in all cases except non-readable pages.
32060 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32061 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32062
6b645f0d
ST
32063 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32064 (__mkdir): When path is `/', just fail with EEXIST.
32065 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32066
e468f8a3
TS
320672012-05-10 Thomas Schwinge <thomas@schwinge.name>
32068
32069 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32070 <sys/uio.h> (for writev).
32071 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32072 and <sys/param.h> (for MIN).
32073
a4186cff
PT
320742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32075
32076 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32077 REQUESTED_TIME. Properly set the remaining time and return EINTR
32078 if interrupted.
32079
510bbf14
TS
320802012-05-10 Thomas Schwinge <thomas@schwinge.name>
32081
32082 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32083 Depend on against $(link-rpcuserlibs).
32084
5d5722e8
ST
320852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32086
a4186cff
PT
32087 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32088 (__libc_stack_end): Do not use attribute_relro.
32089 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32090 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32091 to libthread-provided value.
a4186cff
PT
32092 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32093 attribute_relro.
5d5722e8 32094
37233df9
TS
320952012-05-10 Thomas Schwinge <thomas@schwinge.name>
32096
be971a2b
TS
32097 [BZ #3748]
32098 * bits/libc-lock.h (__libc_once_get): New macro.
32099 * sysdeps/mach/bits/libc-lock.h: Likewise.
32100 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32101 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32102 instead of using implementation details.
32103
37233df9
TS
32104 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32105 * libio/freopen.c: Likewise.
32106 * libio/freopen64.c: Likewise.
32107 * misc/syslog.c: Likewise.
32108 * nscd/connections.c: Likewise.
32109 * nscd/netgroupcache.c: Likewise.
32110 * sysdeps/posix/getcwd.c: Likewise.
32111
38de94a5
RM
321122012-05-10 Roland McGrath <roland@hack.frob.com>
32113
32114 * math/w_ilogbf.c: Add #include <limits.h>.
32115
67530489
ST
321162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32117
a4186cff 32118 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32119 path instead of returning without unlocking.
32120
67530489
ST
32121 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32122 immediate-write ioctls.
32123 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32124
5aa3a74a
TS
321252012-05-10 Thomas Schwinge <thomas@schwinge.name>
32126
18bad2ae
TS
32127 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32128 __builtin_frame_address instead of making assumptions about the
32129 location of the return address relative to DATA. Force early load of
32130 the return address.
32131 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32132 __builtin_frame_address.
32133
5aa3a74a
TS
32134 dup3 for GNU Hurd.
32135 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32136 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32137 implement dup3 and do some further code clean-ups.
32138 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32139 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32140
ecd0de9a
ST
321412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32142
cd9fa985
ST
32143 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32144
a4186cff
PT
32145 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32146 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32147 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32148 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32149 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32150 d->port.lock.
802ca5a5 32151
a4186cff
PT
32152 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32153 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32154 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32155
bcf55240
TS
321562012-05-10 Thomas Schwinge <thomas@schwinge.name>
32157
6960eb42
TS
32158 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32159 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32160 definitions.
32161
eb43375f
TS
32162 accept4 for GNU Hurd.
32163 * include/sys/socket.h (__libc_accept4): New prototype.
32164 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32165 to implement __libc_accept4.
32166 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32167 __libc_accept4.
32168 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32169
bcf55240
TS
32170 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32171 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32172 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32173 signal-defines.sym.
32174
6178c55b
ST
321752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32176
a4186cff 32177 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32178
6f080c2f
TS
321792012-05-10 Thomas Schwinge <thomas@schwinge.name>
32180
32181 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32182 assertion on O_CLOEXEC flag.
32183 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32184 * hurd/intern-fd.c: Likewise.
32185 * hurd/port2fd.c: Likewise.
32186
bcfe3a54
ST
321872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32188
32189 [BZ #3906]
32190 * bits/in.h (IPV6_PKTINFO): Define new macro.
32191 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32192
89c9aa49
AZ
321932012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32194
32195 [BZ #13954]
32196 [BZ #13955]
32197 [BZ #13956]
32198 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32199 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32200 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32201 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32203 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32204 * math/libm-test.inc (logb_test) : Additional logb tests.
32205
021db4be
AJ
322062012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32207 Andreas Jaeger <aj@suse.de>
32208
32209 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32210 * configure: Regenerated.
32211 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32212 * config.make.in (link-obsolete-rpc): New substituted variable.
32213 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32214 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32215 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32216 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32217 so that libc.a contains the symbols.
32218 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32219 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32220 * sunrpc/auth_none.c: Likewise.
32221 * sunrpc/auth_unix.c: Likewise.
32222 * sunrpc/authdes_prot.c: Likewise.
32223 * sunrpc/authuxprot.c: Likewise.
32224 * sunrpc/clnt_gen.c: Likewise.
32225 * sunrpc/clnt_perr.c: Likewise.
32226 * sunrpc/clnt_raw.c: Likewise.
32227 * sunrpc/clnt_simp.c: Likewise.
32228 * sunrpc/clnt_tcp.c: Likewise.
32229 * sunrpc/clnt_udp.c: Likewise.
32230 * sunrpc/clnt_unix.c: Likewise.
32231 * sunrpc/des_crypt.c: Likewise.
32232 * sunrpc/des_soft.c: Likewise.
32233 * sunrpc/get_myaddr.c: Likewise.
32234 * sunrpc/key_call.c: Likewise.
32235 * sunrpc/key_prot.c: Likewise.
32236 * sunrpc/netname.c: Likewise.
32237 * sunrpc/pm_getmaps.c: Likewise.
32238 * sunrpc/pm_getport.c: Likewise.
32239 * sunrpc/pmap_clnt.c: Likewise.
32240 * sunrpc/pmap_prot.c: Likewise.
32241 * sunrpc/pmap_prot2.c: Likewise.
32242 * sunrpc/pmap_rmt.c: Likewise.
32243 * sunrpc/publickey.c: Likewise.
32244 * sunrpc/rpc_cmsg.c: Likewise.
32245 * sunrpc/rpc_common.c: Likewise.
32246 * sunrpc/rpc_dtable.c: Likewise.
32247 * sunrpc/rpc_prot.c: Likewise.
32248 * sunrpc/rpc_thread.c: Likewise.
32249 * sunrpc/rtime.c: Likewise.
32250 * sunrpc/svc.c: Likewise.
32251 * sunrpc/svc_auth.c: Likewise.
32252 * sunrpc/svc_raw.c: Likewise.
32253 * sunrpc/svc_run.c: Likewise.
32254 * sunrpc/svc_tcp.c: Likewise.
32255 * sunrpc/svc_udp.c: Likewise.
32256 * sunrpc/svc_unix.c: Likewise.
32257 * sunrpc/svcauth_des.c: Likewise.
32258 * sunrpc/xcrypt.c: Likewise.
32259 * sunrpc/xdr.c: Likewise.
32260 * sunrpc/xdr_array.c: Likewise.
32261 * sunrpc/xdr_float.c: Likewise.
32262 * sunrpc/xdr_intXX_t.c: Likewise.
32263 * sunrpc/xdr_mem.c: Likewise.
32264 * sunrpc/xdr_rec.c: Likewise.
32265 * sunrpc/xdr_ref.c: Likewise.
32266 * sunrpc/xdr_sizeof.c: Likewise.
32267 * sunrpc/xdr_stdio.c: Likewise.
32268
b5c086a2
RM
322692012-05-10 Roland McGrath <roland@hack.frob.com>
32270
32271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32272 change. Update copyright years.
32273
6d74dd09
JM
322742012-05-10 Joseph Myers <joseph@codesourcery.com>
32275
32276 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32277
28e72501
MK
322782012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32279 Joseph Myers <joseph@codesourcery.com>
32280 Paul Pluzhnikov <ppluzhnikov@google.com>
32281
32282 [BZ #14012]
32283 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32284 requiring rpcgen.
32285 [cross-compiling] (extra-libs): Likewise.
32286 [cross-compiling] (extra-libs-others): Likewise.
32287 [cross-compiling] (librpcsvc-routines): Likewise.
32288 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32289 [cross-compiling] (omit-deps): Likewise.
32290 (sunrpc-CPPFLAGS): New variable.
32291 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32292 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32293 (cross-rpcgen-objs): New variable.
32294 (extra-objs): Append $(cross-rpcgen-objs).
32295 ($(cross-rpcgen-objs)): New rule.
32296 ($(objpfx)cross-rpcgen): Likewise.
32297 (rpcgen-cmd): Define to use $(built-program-file). Expand
32298 comment.
32299 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32300 ($(objpfx)x%.stmp): Likewise.
32301 * sunrpc/proto.h [IS_IN_build] (_): Define.
32302 [IS_IN_build] (_libc_intl_domainname): Likewise.
32303
c8c59454
L
323042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32305
32306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32307 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32308 and R_X86_64_TPOFF64.
32309
6f27cd16
JM
323102012-05-10 Joseph Myers <joseph@codesourcery.com>
32311
32312 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32313 sysdeps/unix/sysv/syscalls.list.
32314 (stime): Likewise.
32315 (utime): Likewise.
32316 * sysdeps/unix/sysv/syscalls.list: Remove file.
32317
02467e1c
PE
323182012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32319
32320 [BZ #3440]
32321 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32322 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32323 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32324 (__LC_IDENTIFICATION): Make these macros useful in #if
32325 expressions, as required by C99.
32326
da392631
AS
323272012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32328
32329 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32330 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32331 after this.
32332
8115f29b
L
323332012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32334
32335 * stdlib/longlong.h: Updated from GCC.
32336
bdd74070
AJ
323372012-05-09 Andreas Jaeger <aj@suse.de>
32338
edfe0dbe
AJ
32339 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32340 default is first entry.
32341 (run_mode): Set type.
32342 (main): Remove informal message about syslog.
32343 (options): Fix typo.
32344
bcfe3a54
ST
32345 [BZ #14053]
32346 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32347 to asm.
bcfe3a54
ST
32348 (lrint): Likewise.
32349 (llrintf): Likewise.
32350 (llrint): Likewise.
32351 (rint): Likewise.
32352 (rintf): Likewise.
32353 (nearbyint): Likewise.
32354 (nearbyintf): Likewise.
bdd74070 32355
91d8d69e
AJ
323562012-05-09 Andreas Jaeger <aj@suse.de>
32357 Pedro Alves <palves@redhat.com>
32358
32359 * nscd/nscd.c (run_mode): Use enum.
32360 (main): Cleanup coding style issue.
32361
bb90b80b
AJ
323622012-05-09 Alexandre Oliva <aoliva@redhat.com>
32363 Andreas Jaeger <aj@suse.de>
32364
bcfe3a54
ST
32365 * nscd/nscd.c (go_background): Replaced with...
32366 (run_mode): ... this.
bb90b80b 32367 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32368 (options): Add -F --foreground.
32369 (main): Implement it.
32370 (parse_opt): Parse it.
bb90b80b 32371
1a4b75a1
AJ
323722012-05-09 Andreas Jaeger <aj@suse.de>
32373
32374 [BZ #14083]
32375 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32376 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32377 -Wconversion warning.
32378 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32379 Likewise.
32380
b1cc2472
JM
323812012-05-09 Joseph Myers <joseph@codesourcery.com>
32382
32383 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32384 == 0.
32385 (LC_ALL): Use macro-int-constant.
32386 (LC_COLLATE): Likewise.
32387 (LC_CTYPE): Likewise.
32388 (LC_MESSAGES): Likewise.
32389 (LC_MONETARY): Likewise.
32390 (LC_NUMERIC): Likewise.
32391 (LC_TIME): Likewise.
32392 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32393 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32395 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32396 Specify type.
32397 [C99-based standards] (float_t): Expect type.
32398 [C99-based standards] (double_t): Expect type.
32399 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32400 type.
32401 [C99-based standards] (HUGE_VALL): Likewise.
32402 [C99-based standards] (INFINITY): Likewise.
32403 [C99-based standards] (NAN): Likewise.
32404 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32405 [C99-based standards] (FP_NAN): Likewise.
32406 [C99-based standards] (FP_NORMAL): Likewise.
32407 [C99-based standards] (FP_SUBNORMAL): Likewise.
32408 [C99-based standards] (FP_ZERO): Likewise.
32409 [C99-based standards] (FP_FAST_FMA): Use
32410 optional-macro-int-constant. Specify type. Require == 1.
32411 [C99-based standards] (FP_FAST_FMAF): Likewise.
32412 [C99-based standards] (FP_FAST_FMAL): Likewise.
32413 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32414 [C99-based standards] (FP_ILOGBNAN): Likewise.
32415 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32416 Specify type.
32417 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32418 [C99-based standards] (math_errhandling): Specify type.
32419 [ISO99 || ISO11] (signgam): Do not allow.
32420 [non-C99-based standards] (copysignf): Do not allow.
32421 [non-C99-based standards] (exp2f): Likewise.
32422 [non-C99-based standards] (log2f): Likewise.
32423 [non-C99-based standards] (modff): Allow.
32424 [non-C99-based standards] (erff): Do not allow.
32425 [non-C99-based standards] (erfcf): Likewise.
32426 [non-C99-based standards] (gammaf): Likewise.
32427 [non-C99-based standards] (hypotf): Likewise.
32428 [non-C99-based standards] (j0f): Likewise.
32429 [non-C99-based standards] (j1f): Likewise.
32430 [non-C99-based standards] (jnf): Likewise.
32431 [non-C99-based standards] (lgammaf): Likewise.
32432 [non-C99-based standards] (tgammaf): Likewise.
32433 [non-C99-based standards] (y0f): Likewise.
32434 [non-C99-based standards] (y1f): Likewise.
32435 [non-C99-based standards] (ynf): Likewise.
32436 [non-C99-based standards] (isnanf): Likewise.
32437 [non-C99-based standards] (acoshf): Likewise.
32438 [non-C99-based standards] (asinhf): Likewise.
32439 [non-C99-based standards] (atanhf): Likewise.
32440 [non-C99-based standards] (cbrtf): Likewise.
32441 [non-C99-based standards] (expm1f): Likewise.
32442 [non-C99-based standards] (ilogbf): Likewise.
32443 [non-C99-based standards] (log1pf): Likewise.
32444 [non-C99-based standards] (logbf): Likewise.
32445 [non-C99-based standards] (nextafterf): Likewise.
32446 [non-C99-based standards] (remainderf): Likewise.
32447 [non-C99-based standards] (rintf): Likewise.
32448 [non-C99-based standards] (scalbf): Likewise.
32449 [non-C99-based standards] (copysignl): Likewise.
32450 [non-C99-based standards] (exp2l): Likewise.
32451 [non-C99-based standards] (log2l): Likewise.
32452 [non-C99-based standards] (modfl): Allow.
32453 [non-C99-based standards] (erfl): Do not allow.
32454 [non-C99-based standards] (erfcl): Likewise.
32455 [non-C99-based standards] (gammal): Likewise.
32456 [non-C99-based standards] (hypotl): Likewise.
32457 [non-C99-based standards] (j0l): Likewise.
32458 [non-C99-based standards] (j1l): Likewise.
32459 [non-C99-based standards] (jnl): Likewise.
32460 [non-C99-based standards] (lgammal): Likewise.
32461 [non-C99-based standards] (tgammal): Likewise.
32462 [non-C99-based standards] (y0l): Likewise.
32463 [non-C99-based standards] (y1l): Likewise.
32464 [non-C99-based standards] (ynl): Likewise.
32465 [non-C99-based standards] (isnanl): Likewise.
32466 [non-C99-based standards] (acoshl): Likewise.
32467 [non-C99-based standards] (asinhl): Likewise.
32468 [non-C99-based standards] (atanhl): Likewise.
32469 [non-C99-based standards] (cbrtl): Likewise.
32470 [non-C99-based standards] (expm1l): Likewise.
32471 [non-C99-based standards] (ilogbl): Likewise.
32472 [non-C99-based standards] (log1pl): Likewise.
32473 [non-C99-based standards] (logbl): Likewise.
32474 [non-C99-based standards] (nextafterl): Likewise.
32475 [non-C99-based standards] (remainderl): Likewise.
32476 [non-C99-based standards] (rintl): Likewise.
32477 [non-C99-based standards] (scalbl): Likewise.
32478 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32479 [non-C99-based standards] (FP_*): Do not allow.
32480 [C99-based standards] (FP_*): Change to
32481 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32482 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32483 allow.
32484 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32485 (SIG_ERR): Likewise.
32486 [X/Open-based standards] (SIG_HOLD): Likewise.
32487 (SIG_IGN): Likewise.
32488 (SIGABRT): Use macro-int-constant. Specify type. Require
32489 positive value.
32490 (SIGFPE): Likewise.
32491 (SIGILL): Likewise.
32492 (SIGINT): Likewise.
32493 (SIGSEGV): Likewise.
32494 (SIGTER): Likewise.
32495 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32496 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32497 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32498 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32499 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32500 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32501 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32502 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32503 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32504 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32505 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32506 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32507 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32508 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32509 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32510 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32511 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32512 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32513 [X/Open-based standards] (SIGTRAP): Likewise.
32514 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32515 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32516 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32517 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32518 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32519 allow.
32520
b9f1922d
IW
325212012-05-08 Ian Wienand <ianw@vmware.com>
32522
32523 [BZ #14080]
32524 * time/tzset.c (__tzset_parse_tz): Update default rules for
32525 daylight time changes in the Energy Policy Act of 2005.
32526
1db86e88
AJ
325272012-05-09 Andreas Jaeger <aj@suse.de>
32528
32529 [BZ #13983]
32530 * elf/ldconfig.c (parse_conf): Change string to make clear that
32531 ldconfig only issued a warning if ld.so.conf does not exist.
32532
dee4a4e3
DM
325332012-05-08 David S. Miller <davem@davemloft.net>
32534
ee0db190
DM
32535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32536 movxtod instead of popping the value on the stack.
32537
dee4a4e3
DM
32538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32539
6a43ec98
CD
325402012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32541
32542 * config.h.in: Add HAVE_ARM_PCS_VFP.
32543
05c2c961
RMG
325442012-05-08 Roland Mc Grath <roland@hack.frob.com>
32545
bcfe3a54
ST
32546 [BZ #13979]
32547 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32548 checking but the checks are disabled for any reason.
05c2c961 32549
4b30f61a
L
325502012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32551
32552 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32553 and ELF64_R_TYPE with ELFW(R_TYPE).
32554
eee2bc67
JM
325552012-05-08 Joseph Myers <joseph@codesourcery.com>
32556
7ea5391a
JM
32557 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32558 (ulimit): Likewise.
32559
eee2bc67
JM
32560 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32561 (settimeofday): Likewise.
32562
abb66a67
MF
325632012-05-08 Mike Frysinger <vapier@gentoo.org>
32564
32565 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32566 a struct th_u2 inside the union, and move tu_block/tu_code into
32567 a new th_u3 union of tu_block/tu_code inside of that. Move
32568 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32569 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32570 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32571 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32572 (th_stuff): Change to th_u1.tu_stuff.
32573 (th_data): Define.
32574 (th_msg): Change to th_u1.th_u2.tu_data.
32575
7f18b530
DM
325762012-05-07 David S. Miller <davem@davemloft.net>
32577
05760585
DM
32578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32579
7f18b530
DM
32580 [BZ #14074]
32581 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32582 (SETUP_PIC_REG): Use it.
32583 (SETUP_PIC_REG_LEAF): Use it.
32584
495fd99f
JM
325852012-05-07 Joseph Myers <joseph@codesourcery.com>
32586
32587 [BZ #13885]
32588 [BZ #13923]
32589 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32590 USE_AS_EXPM1L.
32591 (EXPL_FINITE): Likewise.
32592 (FLDLOG): Likewise.
32593 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32594 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32595 e_expl.S.
32596 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32597 USE_AS_EXPM1L.
32598 (EXPL_FINITE): Likewise.
32599 (FLDLOG): Likewise.
32600 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32601 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32602 e_expl.S.
32603 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32604 test of -max_value argument for long double.
32605 * sysdeps/i386/fpu/libm-test-ulps: Update.
32606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32607
6693d694
DM
326082012-05-06 David S. Miller <davem@davemloft.net>
32609
32610 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32611 quad soft-float symbols whose references which are compiler
32612 generated.
32613 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32614
6c23e11c
JM
326152012-05-06 Joseph Myers <joseph@codesourcery.com>
32616
d8b82cad
JM
32617 [BZ #13884]
32618 [BZ #13914]
32619 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32620 USE_AS_EXP10L.
32621 (EXPL_FINITE): Likewise.
32622 (FLDLOG): Likewise.
32623 (c0): Likewise.
32624 (c1): Likewise.
32625 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32626 Adjust comments for base varying.
32627 (__expl_finite): Change alias to EXPL_FINITE.
32628 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32629 e_expl.S.
32630 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32631 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32632 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32633 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32634 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32635 USE_AS_EXP10L.
32636 (EXPL_FINITE): Likewise.
32637 (FLDLOG): Likewise.
32638 (c0): Likewise.
32639 (c1): Likewise.
32640 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32641 Adjust comments for base varying.
32642 (__expl_finite): Change alias to EXPL_FINITE.
32643 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32644 tests for bugs.
32645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32646
6c23e11c
JM
32647 [BZ #14064]
32648 * math/libm-test.inc (check_float_internal): Correct ulp
32649 calculation for subnormal expected results.
32650
29ba805c
AJ
326512012-05-06 Andreas Jaeger <aj@suse.de>
32652
32653 * Makeconfig (+math-flags): New, set to -frounding-math.
32654 (+cflags): Add +math-flags so that all of glibc gets compiled with
32655 it.
32656
32657 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32658
7b17aeda
JM
326592012-05-05 Joseph Myers <joseph@codesourcery.com>
32660
5779f134
JM
32661 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32662 Disable one test.
32663
41498f4d
JM
32664 [BZ #13787]
32665 [BZ #13922]
32666 [BZ #14036]
32667 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32668 (__ieee754_expl): Allow for and saturate large arguments.
32669 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32670 (u_threshold): Likewise.
32671 (__exp): Call __ieee754_exp before checking for overflow and
32672 underflow.
32673 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32674 (u_threshold): Likewise.
32675 (__expf): Call __ieee754_expf before checking for overflow and
32676 underflow.
32677 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32678 (u_threshold): Likewise.
32679 (__expl): Call __ieee754_expl before checking for overflow and
32680 underflow.
32681 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32682 (__ieee754_expl): Allow for and saturate large arguments.
32683 * math/libm-test.inc (exp_test): Add another test. Do not allow
32684 missing overflow exception on overflow.
32685 (expm1_test): Do not allow missing overflow exception on overflow.
32686
6698b8bf
JM
32687 * sysdeps/i386/fpu/e_expl.c: Move to ...
32688 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32689 rather than using inline asm.
32690 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32691 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32692 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32693
7b17aeda
JM
32694 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32695 (nice): Likewise.
32696 (poll): Likewise.
32697 (signal): Likewise.
32698 (time): Likewise.
32699 (times): Likewise.
32700
f7c85819
JM
327012012-05-04 Joseph Myers <joseph@codesourcery.com>
32702
32703 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32704 sysdeps/unix/common/syscalls.list.
32705 (fchmod): Likewise.
32706 (fchown): Likewise.
32707 (ftruncate): Likewise.
32708 (getrusage): Likewise.
32709 (gettimeofday): Likewise.
32710 (setpgid): Likewise.
32711 (setregid): Likewise.
32712 (setreuid): Likewise.
32713 (sigaction): Likewise.
32714 (truncate): Likewise.
32715 (vhangup): Likewise.
32716 * sysdeps/unix/common/syscalls.list: Remove file.
32717 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32718 * sysdeps/unix/sysv/linux/Implies: Likewise.
32719
336270d0
L
327202012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32721
32722 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32724 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32725 Moved to ...
32726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32727 Here.
32728 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32729 to ...
32730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32731 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32732 to ...
32733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32734 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32735 to ...
32736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32737 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32738 to ...
32739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32740 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32741 to ...
32742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32743 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32744 to ...
32745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32746 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32747 to ...
32748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32749 Here.
32750 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32751 to ...
32752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32753 Here.
32754 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32755 to ...
32756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32757 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32758 Moved to ...
32759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32760 Here.
32761 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32762 to ...
32763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32764
d128e450
JM
327652012-05-04 Joseph Myers <joseph@codesourcery.com>
32766
fa8ee516
JM
32767 * sysdeps/unix/common/bits/dirent.h: Remove file.
32768 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32769
d128e450
JM
32770 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32771 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32772 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32773 * sysdeps/unix/bsd/isatty.c: Likewise.
32774 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32775 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32776 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32777
ff8faaf0 327782012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32779
62881be4 32780 [BZ #13563]
31dc8730
AZ
32781 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32782 long double comparison inaccuracies.
32783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32785
6fef930c
AS
327862012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32787
32788 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32790
8f203e6c
JM
327912012-05-04 Joseph Myers <joseph@codesourcery.com>
32792
32793 [BZ #14049]
32794 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32795 nonzero digits before rounding a hex value.
32796 * stdlib/tst-strtod.c (tests): Add another test.
32797
5197d9c2
AK
327982012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32799
32800 * sysdeps/s390/fpu/libm-test-ulps: Update.
32801
f0c1dedf
AJ
328022012-05-03 Andreas Jaeger <aj@suse.de>
32803
32804 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32805 does not get optimized out.
32806 (malloc_opt_barrier): New.
32807
a65ef2ae 328082012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32809 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32810
2b942cb7 32811 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32812 intermediate file deletion.
2b942cb7 32813 (generated): Add .symlist files.
a65ef2ae 32814
54b71e02
JM
328152012-05-03 Joseph Myers <joseph@codesourcery.com>
32816
32817 [BZ #13775]
32818 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32819 Redirect under this condition.
32820 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32821 [__USE_GNU] (__dprintf_chk): Not under this condition.
32822 [__USE_GNU] (__vdprintf_chk): Likewise.
32823 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32824 under this condition.
32825 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32826 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32827 [__USE_XOPEN2K8] (vdprintf): Likewise.
32828 [__USE_GNU] (__dprintf_chk): Not under this condition.
32829 [__USE_GNU] (__vdprintf_chk): Likewise.
32830 [__USE_GNU] (dprintf): Likewise.
32831 [__USE_GNU] (vdprintf): Likewise.
32832
d3dfcc41
RM
328332012-05-03 Roland McGrath <roland@hack.frob.com>
32834
32835 * elf/Makefile (common-generated): Set this instead of generated for
32836 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32837 $(all-built-dso)-derived lists.
32838
7ac30cc5
AJ
328392012-05-03 Andreas Jaeger <aj@suse.de>
32840
0c51e550
AJ
32841 * sysdeps/i386/fpu/libm-test-ulps: Update.
32842
7ac30cc5
AJ
32843 * FAQ: Removed.
32844 * FAQ.in: Likewise.
32845 * scripts/gen-FAQ.pl: Likewise.
32846 * manual/install.texi (Installation): Point to online location of
32847 FAQ.
32848 * Makefile (files-for-dist): Remove FAQ.
32849 (FAQ): Remove.
32850
d4c2917f
AM
328512012-05-02 Allan McRae <allan@archlinux.org>
32852
32853 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32854 (LDFLAGS-reldepmod5.so): Likewise.
32855 (LDFLAGS-reldep6mod1.so): Likewise.
32856 (LDFLAGS-reldep6mod4.so): Likewise.
32857 (LDFLAGS-reldep8mod3.so): Likewise.
32858 (LDFLAGS-unload4mod1.so): Likewise.
32859 (LDFLAGS-unload4mod2.so): Likewise.
32860 (LDFLAGS-tst-initorder): Likewise.
32861 (LDFLAGS-tst-initordera2.so): Likewise.
32862 (LDFLAGS-tst-initordera3.so): Likewise.
32863 (LDFLAGS-tst-initordera4.so): Likewise.
32864 (LDFLAGS-tst-initorderb2.so): Likewise.
32865 (LDFLAGS-noload): Likewise.
32866 (LDFLAGS-next): Likewise.
32867 (LDFLAGS-order2mod1.so): Likewise.
32868 (LDFLAGS-order2mod2.so): Likewise.
32869 (LDFLAGS-tst-initorder2): Likewise.
32870 (LDFLAGS-tst-initorder2a.so): Likewise.
32871 (LDFLAGS-tst-initorder2b.so): Likewise.
32872 (LDFLAGS-tst-initorder2c.so): Likewise.
32873 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32874
d77f993f
DM
328752012-05-02 David S. Miller <davem@davemloft.net>
32876
32877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32878
171a70b4
PP
328792012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32880
32881 [BZ #14055]
32882 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32883
0be196ad
AJ
328842012-05-02 Andreas Jaeger <aj@suse.de>
32885
32886 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32887 since we manipulate rounding mode.
32888 (CPPFLAGS-test-idouble.c): Likewise.
32889 (CPPFLAGS-test-ifloat.c): Likewise.
32890 (CFLAGS-test-ldouble.c): Likewise.
32891 (CFLAGS-test-double.c): Likewise.
32892 (CFLAGS-test-float.c): Likewise.
32893 (CFLAGS-test-misc.c): Likewise.
32894 (CFLAGS-test-test-fenv.c): Likewise.
32895
4f9d04aa
AZ
328962012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32897
2b942cb7
RM
32898 [BZ #2550]
32899 [BZ #2570]
32900 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32901 comparisons to determine direction to adjust input.
4f9d04aa 32902
82a79e7d
RM
329032012-05-01 Roland McGrath <roland@hack.frob.com>
32904
f5a01ca9
RM
32905 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32906 output to the target.
32907
90fe4186
RM
32908 * scripts/localplt.awk: New file.
32909 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32910 (check-localplt-CFLAGS): Variable removed.
32911 ($(all-built-dso:=.jmprel)): New static pattern rule.
32912 (generated): Add those targets.
32913 (localplt-built-dso): New variable.
32914 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32915
32916 * elf/check-localplt.c: File removed.
32917
82397ed6
RM
32918 * scripts/check-execstack.awk: New file.
32919 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32920 (check-execstack-CFLAGS): Variable removed.
32921 ($(objpfx)check-execstack.h): Target removed.
32922 ($(objpfx)execstack-default): New target.
32923 (generated): Add that instead of check-execstack.h.
32924 ($(all-built-dso:=.phdr)): New static pattern rule.
32925 (generated): Add those targets.
32926 * elf/check-execstack.c: File removed.
32927
82a79e7d
RM
32928 * scripts/check-textrel.awk: New file.
32929 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32930 (check-textrel-CFLAGS): Variable removed.
32931 (all-built-dso): Use := to define.o
32932 ($(all-built-dso:=.dyn)): New static pattern rule.
32933 (generated): Add those targets.
32934 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32935 * config.make.in (READELF): New substituted variable.
32936 * elf/check-textrel.c: File removed.
32937
62fde54f 329382012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32939
615605c9
JM
32940 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32941 allow.
32942 * conform/data/ctype.h-data [C99-based standards] (isblank):
32943 Expect function.
32944 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32945 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32946 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32947 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32948 Specify type. Require positive value.
32949 (EILSEQ): Likewise.
32950 (ERANGE): Likewise.
32951 [ISO || POSIX] (EILSEQ): Do not expect.
32952 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32953 Specify type. Require positive value.
32954 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32955 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32956 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32957 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32958 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32959 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32960 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32961 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32962 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32963 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32964 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32965 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32966 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32967 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32968 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32969 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32970 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32971 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32972 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32973 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32974 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32975 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32976 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32977 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32978 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32979 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32980 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32981 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32982 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32983 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32984 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32985 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32986 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32987 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32988 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32989 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32990 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32991 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32992 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32993 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32994 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32995 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32996 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32997 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32998 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32999 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33000 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33001 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33002 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33003 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33004 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33005 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33006 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33007 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33008 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33009 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33010 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33011 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33012 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33013 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33014 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33015 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33016 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33017 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33018 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33019 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33020 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33021 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33022 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33023 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33024 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33025 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33026 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33027 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33028 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33029 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33030 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33031 Require >= 2.
33032 (FLT_ROUNDS): Expect as macro, not constant.
33033 (FLT_MANT_DIG): Use macro-int-constant.
33034 (DBL_MANT_DIG): Likewise.
33035 (LDBL_MANT_DIG): Likewise.
33036 (FLT_DIG): Likewise.
33037 (DBL_DIG): Likewise.
33038 (LDBL_DIG): Likewise.
33039 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33040 (DBL_MIN_EXP): Likewise.
33041 (LDBL_MIN_EXP): Likewise.
33042 (FLT_MAX_EXP): Use macro-int-constant.
33043 (DBL_MAX_EXP): Likewise.
33044 (LDBL_MAX_EXP): Likewise.
33045 (FLT_MAX_10_EXP): Likewise.
33046 (DBL_MAX_10_EXP): Likewise.
33047 (LDBL_MAX_10_EXP): Likewise.
33048 (FLT_MAX): Use macro-constant.
33049 (DBL_MAX): Likewise.
33050 (LDBL_MAX): Likewise.
33051 (FLT_EPSILON): Use macro-constant. Give upper bound.
33052 (DBL_EPSILON): Likewise.
33053 (LDBL_EPSILON): Likewise.
33054 (FLT_MIN): Likewise.
33055 (DBL_MIN): Likewise.
33056 (LDBL_MIN): Likewise.
33057 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33058 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33059 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33060 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33061 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33062 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33063 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33064 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33065 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33066 [ISO11] (FLT_TRUE_MIN): Likewise.
33067 [ISO11] (LDBL_TRUE_MIN): Likewise.
33068 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33069 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33070 (SCHAR_MIN): Use macro-int-constant. Specify type.
33071 (SCHAR_MAX): Likewise.
33072 (UCHAR_MAX): Likewise.
33073 (CHAR_MIN): Likewise.
33074 (CHAR_MAX): Likewise.
33075 (MB_LEN_MAX): Use macro-int-constant.
33076 (SHRT_MIN): Use macro-int-constant. Specify type.
33077 (SHRT_MAX): Likewise.
33078 (USHRT_MAX): Likewise.
33079 (INT_MAX): Likewise.
33080 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33081 bound negative.
33082 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33083 bound with "U".
33084 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33085 bound with "L".
33086 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33087 bound negative. Suffix upper bound with "L".
33088 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33089 bound with "UL".
33090 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33091 Specify type.
33092 [C99-based standards] (LLONG_MAX): Likewise.
33093 [C99-based standards] (ULLONG_MAX): Likewise.
33094 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33095 == 0.
33096 [ISO11] (max_align_t): Require type.
33097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33098
c9140a62
JM
33099 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33100 from $CFLAGS, without defining away __attribute__ calls.
33101 (checknamespace): Use $CFLAGS_namespace.
33102
9af0bf29
JM
33103 * conform/conformtest.pl (@keywords): Only include C99 keywords
33104 for standards based on C99 or C11.
33105
343222a2
JM
33106 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33107 Disable tests.
33108 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33109 UNIX98]: Likewise.
33110
661f8cf0
JM
33111 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33112 usability of symbols in #if.
33113
ee74b9cb
JM
33114 * conform/conformtest.pl: If macro or constant types start
33115 "promoted:", expect the symbol to be of the following type
33116 promoted by the integer promotions.
62fde54f 33117
aafc49b3
JM
33118 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33119 in one place. Also handle "macro-constant".
33120
fefdf574
JM
33121 * conform/conformtest.pl: Only accept expected macro values with
33122 "==". Parse all "macro" lines in one place.
33123 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33124
f2d922fe
JM
33125 * conform/conformtest.pl: Handle braced types on "constant" lines
33126 instead of handling "typed-constant".
33127 * conform/data/signal.h-data: Use "constant" instead of
33128 "typed-constant".
33129
d22956c9
JM
33130 * conform/conformtest.pl: Handle "optional-" at start of lines in
33131 one place rather than duplicating several cases. Handle each
33132 format of "macro" line with initial "optional-".
33133
028e2e38
JM
33134 * conform/conformtest.pl: Only accept expected constant or
33135 optional-constant values with "==". Parse all "constant" lines in
33136 one place. Parse all "optional-constant" lines in one place.
33137 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33138 * conform/data/fmtmsg.h-data: Likewise.
33139 * conform/data/netinet/in.h-data: Likewise.
33140 * conform/data/tar.h-data: Likewise.
33141 * conform/data/limits.h-data: Use "==" form on "constant" and
33142 "optional-constant" lines.
33143
1b8f2850
JM
33144 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33145 Use -std=c99 for XOPEN2K.
33146 (@knownproblems): Remove.
33147 (newtoken): Don't check %isknown.
33148
a05a144b
JM
33149 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33150 Do not expect macro.
33151 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33152 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33153 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33154 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33155 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33156 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33157 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33158 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33159 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33160 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33161 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33162 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33163 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33164 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33165 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33166 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33167 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33168 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33169 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33170 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33171 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33172 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33173 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33174 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33175 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33176 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33177 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33178 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33179 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33180 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33181 [XPG3] (acosh): Likewise.
33182 [XPG3] (asinh): Likewise.
33183 [XPG3] (atanh): Likewise.
33184 [XPG3] (cbrt): Likewise.
33185 [XPG3] (expm1): Likewise.
33186 [XPG3] (ilogb): Likewise.
33187 [XPG3] (log1p): Likewise.
33188 [XPG3] (logb): Likewise.
33189 [XPG3] (nextafter): Likewise.
33190 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33191 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33192 [XPG3] (remainder): Likewise.
33193 [XPG3] (rint): Likewise.
33194 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33195 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33196 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33197 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33198 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33199 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33200 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33201 [UNIX98 || XOPEN2K] (scalb): Expect.
33202 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33203 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33204 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33205 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33206 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33207 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33208 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33209 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33210 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33211 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33212 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33213 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33214 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33215 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33216 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33217 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33218 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33219 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33220 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33221 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33222 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33223 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33224 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33225 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33226 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33227 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33228 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33229 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33230 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33231 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33232 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33233 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33234 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33235 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33236 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33237 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33238 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33239 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33240 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33241 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33242 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33243 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33244 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33245 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33246 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33247 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33248 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33249 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33250 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33251 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33252 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33253 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33254 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33255 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33256 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33257 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33258 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33259 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33260 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33261 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33262 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33263 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33264 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33265 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33266 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33267 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33268 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33269 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33270 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33271 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33272 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33273 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33274 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33275 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33276 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33277 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33278 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33279 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33280 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33281 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33282 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33283 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33284 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33285 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33286 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33287 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33288 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33289 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33290 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33291 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33292 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33293 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33294 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33295 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33296 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33297 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33298 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33299 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33300 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33301 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33302 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33303 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33304 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33305 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33306 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33307 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33308 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33309 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33310 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33311 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33312 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33313 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33314 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33315 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33316 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33317 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33318 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33319 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33320 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33321 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33322 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33323 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33324 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33325 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33326 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33327 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33328 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33329 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33330 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33331 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33332 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33333 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33334 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33335 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33336 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33337 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33338 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33339
73c5ebe3
JM
33340 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33341 _XOPEN_SOURCE_EXTENDED for XPG4.
33342
39c33b6c
JM
33343 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33344
62fde54f
JM
33345 * Makeconfig (localtime): Remove variable.
33346 (inst_localtime-file): Likewise.
33347
0741d64c
AS
333482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33349
33350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33351 Update.
33352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33353 Update.
33354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33355 Update.
33356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33357 Update.
33358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33359 Update.
33360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33361 Update.
33362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33363 Update.
33364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33365 Update.
33366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33367 Update.
33368
7cb029ee
JM
333692012-05-01 Joseph Myers <joseph@codesourcery.com>
33370
33371 [BZ #2550]
33372 [BZ #2570]
33373 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33374 comparisons to determine direction to adjust input.
33375 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33376 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33377 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33378 Likewise.
33379 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33380 Likewise.
33381 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33382 Likewise.
33383 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33384 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33385 Likewise.
33386 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33387 Likewise.
33388 * math/libm-test.inc (nexttoward_test): Add more tests.
33389
412bd966
AS
333902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33391
33392 [BZ #14040]
33393 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33394 in version GLIBC_2.1, not GLIBC_2.0.
33395 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33396 Likewise.
33397
9568c0c2
JM
333982012-04-30 Joseph Myers <joseph@codesourcery.com>
33399
adfbc8ac
JM
33400 [BZ #13942]
33401 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33402 (1 - x) * (1 + x).
33403 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33404 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33405 * math/libm-test.inc (acos_test): Add more tests.
33406 (asin_test): Likewise.
33407 * sysdeps/i386/fpu/libm-test-ulps: Update.
33408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33409
5ba3cc69
JM
33410 [BZ #14034]
33411 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33412 of square root.
33413 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33414 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33415 * math/libm-test.inc (acos_test_tonearest): New function.
33416 (acos_test_towardzero): Likewise.
33417 (acos_test_downward): Likewise.
33418 (acos_test_upward): Likewise.
33419 (asin_test_tonearest): Likewise.
33420 (asin_test_towardzero): Likewise.
33421 (asin_test_downward): Likewise.
33422 (asin_test_upward): Likewise.
33423 (main): Call the new functions.
33424 * sysdeps/i386/fpu/libm-test-ulps: Update.
33425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33426
9568c0c2
JM
33427 [BZ #13884]
33428 [BZ #13924]
33429 * math/e_exp10.c: Include <float.h>.
33430 (__ieee754_exp10): Handle underflow here rather than multiplying
33431 large negative argument by M_LN10.
33432 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33433 of __ieee754_expf.
33434 * math/e_exp10l.c: Include <float.h>.
33435 (__ieee754_exp10l): Handle underflow here rather than multiplying
33436 large negative argument by M_LN10l.
33437 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33438 spurious overflow exception on underflow.
33439
5ac3ea17
MP
334402012-04-29 Marek Polacek <polacek@redhat.com>
33441
33442 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33443 (__fortify_function): New macro.
33444 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33445 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33446 __extern_always_inline.
33447 * libio/bits/stdio2.h: Likewise.
33448 * libio/bits/stdio.h: Likewise.
33449 * string/string.h: Likewise.
33450 * string/bits/string3.h: Likewise.
33451 * include/stdio.h: Likewise.
33452 * stdlib/bits/stdlib.h: Likewise.
33453 * stdlib/stdlib.h: Likewise.
33454 * rt/bits/mqueue2.h: Likewise.
33455 * rt/mqueue.h: Likewise.
33456 * posix/bits/unistd.h: Likewise.
33457 * posix/unistd.h: Likewise.
33458 * io/bits/poll2.h: Likewise.
33459 * io/bits/fcntl2.h: Likewise.
33460 * io/fcntl.h: Likewise.
33461 * io/sys/poll.h: Likewise.
33462 * misc/bits/syslog.h: Likewise.
33463 * misc/bits/syslog-ldbl.h: Likewise.
33464 * misc/sys/syslog.h: Likewise.
33465 * socket/bits/socket2.h: Likewise.
33466 * socket/sys/socket.h: Likewise.
33467 * debug/tst-chk1.c: Likewise.
33468 * wcsmbs/bits/wchar2.h: Likewise.
33469 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33470 * wcsmbs/wchar.h: Likewise.
33471
ecf0ebfb
AJ
334722012-04-29 Andreas Jaeger <aj@suse.de>
33473
33474 * Makerules (tests): Remove enable-check-abi protection.
33475 (check-abi-warn): Remove.
33476 (check-abi-%): Remove check-abi-warn usage.
33477
33478 * configure.in: Remove check-abi configure option.
33479 * configure: Regenerated.
33480 * config.make.in (enable-check-abi): Remove.
33481
6d5c57fa
AS
334822012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33483
24c5d07e 33484 [BZ #14033]
ded5180a
AS
33485 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33486 double functions to double *_finite functions.
33487
7e0d315d
AS
33488 [BZ #13941]
33489 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33490 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33491 LDBL_MIN_EXP.
33492 * stdio-common/Makefile (tests): Add tst-sprintf3.
33493 * stdio-common/tst-sprintf3.c: New file.
33494
6d5c57fa
AS
33495 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33496 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33497
0749ff8b
JM
334982012-04-28 Joseph Myers <joseph@codesourcery.com>
33499
33500 * conform/conformtest.pl: Remove duplicate typed-constant
33501 handling.
33502
8dbd5d7b
DM
335032012-04-28 David S. Miller <davem@davemloft.net>
33504
33505 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33506 (check-abi-%): Remove AWK script prerequisite and explicit
33507 abilist directory.
33508 (check-abi): Rewrite to just diff the symlist with the abilist.
33509 (config-tls, config-abi-config): Delete, no longer used.
33510 (update-abi-%): Remove AWK script and explicit abilist directory.
33511 (update-abi): Rewrite to simply compare and conditionally copy the
33512 symlist and the sysdep abilist file. Remove update-abi-config
33513 checks.
33514 * abilist/ld.abilist: Remove.
33515 * abilist/libBrokenLocale.abilist: Remove.
33516 * abilist/libanl.abilist: Remove.
33517 * abilist/libcrypt.abilist: Remove.
33518 * abilist/libdl.abilist: Remove.
33519 * abilist/librt.abilist: Remove.
33520 * abilist/libthread_db.abilist: Remove.
33521 * abilist/libutil.abilist: Remove.
33522 * scripts/extract-abilist.awk: Remove.
33523 * scripts/merge-abilist.awk: Remove.
33524 * sysdeps/generic/libcidn.abilist: New file.
33525 * sysdeps/generic/libnss_compat.abilist: New file.
33526 * sysdeps/generic/libnss_db.abilist: New file.
33527 * sysdeps/generic/libnss_dns.abilist: New file.
33528 * sysdeps/generic/libnss_files.abilist: New file.
33529 * sysdeps/generic/libnss_hesiod.abilist: New file.
33530 * sysdeps/generic/libnss_nis.abilist: New file.
33531 * sysdeps/generic/libnss_nisplus.abilist: New file.
33532 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33533 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33534 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33535 file.
33536 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33537 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33538 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33539 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33540 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33541 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33542 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33543 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33544 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33545 file.
33546 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33547 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33548 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33549 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33550 file.
33551 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33552 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33553 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33554 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33555 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33556 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33557 file.
33558 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33559 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33560 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33561 file.
33562 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33564 New file.
33565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33566 New file.
33567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33568 New file.
33569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33570 New file.
33571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33572 New file.
33573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33574 New file.
33575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33576 New file.
33577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33578 New file.
33579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33580 New file.
33581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33582 New file.
33583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33584 New file.
33585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33586 New file.
33587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33588 New file.
33589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33590 file.
33591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33592 New file.
33593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33594 New file.
33595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33596 file.
33597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33598 New file.
33599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33600 New file.
33601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33602 file.
33603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33604 New file.
33605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33606 New file.
33607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33608 New file.
33609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33610 New file.
33611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33612 New file.
33613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33614 New file.
33615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33617 file.
33618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33619 New file.
33620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33621 file.
33622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33623 file.
33624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33625 file.
33626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33627 file.
33628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33629 file.
33630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33631 New file.
33632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33633 file.
33634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33635 file.
33636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33637 New file.
33638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33639 file.
33640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33642 file.
33643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33644 New file.
33645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33646 file.
33647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33648 file.
33649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33650 file.
33651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33652 file.
33653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33654 file.
33655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33656 New file.
33657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33658 file.
33659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33660 file.
33661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33662 New file.
33663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33664 file.
33665 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33666 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33667 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33668 file.
33669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33670 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33671 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33672 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33673 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33674 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33675 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33676 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33677 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33678 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33681 file.
33682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33683 New file.
33684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33685 file.
33686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33687 file.
33688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33689 file.
33690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33691 file.
33692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33693 file.
33694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33695 New file.
33696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33697 New file.
33698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33699 file.
33700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33701 New file.
33702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33703 file.
33704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33706 file.
33707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33708 New file.
33709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33710 file.
33711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33712 file.
33713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33714 file.
33715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33716 file.
33717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33718 file.
33719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33720 New file.
33721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33722 New file.
33723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33724 file.
33725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33726 New file.
33727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33728 file.
33729
41d73a1b
JM
337302012-04-28 Joseph Myers <joseph@codesourcery.com>
33731
33732 * conform/conformtest.pl: Fix typo in handling typed-constant from
33733 allow-header.
33734
28aeeda4
JM
337352012-04-27 Joseph Myers <joseph@codesourcery.com>
33736
adae8f5e
JM
33737 * README: Cut down references to pre-2.6 Linux kernels and
33738 Linuxthreads. Update lists of configurations in libc and ports
33739 and sort alphabetically. Say "or newer" with Linux kernel version
33740 requirements.
33741
28aeeda4
JM
33742 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33743
a462cb63
RA
337442012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33745
33746 [BZ #887]
33747 * math/libm-test.inc (logb_test_downward): New test to expose
33748 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33749 rounding mode.
33750
6ad3493e
JM
337512012-04-27 Joseph Myers <joseph@codesourcery.com>
33752
33753 [BZ #14027]
33754 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33755 to be done.
33756 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33757 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33758
2ce4f015
JM
337592012-04-26 Joseph Myers <joseph@codesourcery.com>
33760
5aeb141a
JM
33761 * sysdeps/unix/i386/brk.S: Remove file.
33762 * sysdeps/unix/i386/dl-brk.S: Likewise.
33763 * sysdeps/unix/i386/pipe.S: Likewise.
33764 * sysdeps/unix/i386/sigreturn.S: Likewise.
33765 * sysdeps/unix/i386/syscall.S: Likewise.
33766 * sysdeps/unix/i386/vfork.S: Likewise.
33767 * sysdeps/unix/i386/wait.S: Likewise.
33768
7143acae
JM
33769 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33770 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33771
2ce4f015
JM
33772 * configure.in (arm*-none*): Do not allow without
33773 --enable-hacker-mode.
33774 (netbsd*): Remove case setting base_os.
33775 (386bsd*): Likewise.
33776 (freebsd*): Likewise.
33777 (bsdi*): Likewise.
33778 (osf*): Likewise.
33779 (sunos*): Likewise.
33780 (ultrix*): Likewise.
33781 (newsos*): Likewise.
33782 (dynix*): Likewise.
33783 (*bsd*): Likewise.
33784 (sysv*): Likewise.
33785 (isc*): Likewise.
33786 (esix*): Likewise.
33787 (sco*): Likewise.
33788 (minix*): Likewise.
33789 (irix4*): Likewise.
33790 (irix6*): Likewise.
33791 (solaris[2-9]*): Likewise.
33792 (none): Likewise.
33793 * configure: Regenerated.
33794
0ac229c8
AZ
337952012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33796
33797 [BZ #11521]
33798 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33799 overflow or cancellation in calculating denominator.
33800 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33802 down expression to avoid unexpected rounding in newer GCCs.
33803 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33804
33f244f4
DM
338052012-04-26 David S. Miller <davem@davemloft.net>
33806
33807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33808 long-double compat symbols.
33809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33822
cfa1f3e8
DM
338232012-04-25 David S. Miller <davem@davemloft.net>
33824
33825 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33826 HWCAP_* values only after the memory barriers have been defined.
33827 (atomic_full_barrier): Define.
33828 (atomic_read_barrier): Define.
33829 (atomic_write_barrier): Define.
33830
6e236b92
SP
338312012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33832
33833 * shlib-versions: Add libgcc_s version information.
33834 * sysdeps/generic/libgcc_s.h: Remove.
33835 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33836 libgcc_s.h.
33837 * sysdeps/gnu/unwind-resume.c: Likewise.
33838 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33839
aab39a09
DM
338402012-04-25 David S. Miller <davem@davemloft.net>
33841
33842 * sysdeps/unix/sparc/brk.S: Delete.
33843 * sysdeps/unix/sparc/dl-brk.S: Delete.
33844 * sysdeps/unix/sparc/pipe.S: Delete.
33845 * sysdeps/unix/sparc/sysdep.S: Delete.
33846 * sysdeps/unix/sparc/sysdep.h: Delete.
33847 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33848 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33849 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33850 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33851 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33852 (JUMPTARGET): Remove.
33853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33854 sysdeps/unix/sparc/sysdep.h
33855 (ENTRY, END): Remove.
33856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33857
a3cc4f48
JM
338582012-04-25 Joseph Myers <joseph@codesourcery.com>
33859
2ed8cda2
JM
33860 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33861 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33862 -DIS_IN_build.
33863
35d76d59
JM
33864 * timezone/README: Update upstream location and email address for
33865 tzcode and tzdata.
33866 * timezone/zdump.c: Update from tzcode 2012b.
33867 * timezone/zic.c: Likewise.
33868
a3cc4f48
JM
33869 * configure.in (libc_cv_as_needed): Remove test.
33870 * configure: Regenerated.
33871 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33872 conditional definition.
33873 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33874 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33875 * config.make.in (have-as-needed): Remove variable.
33876
ceab42c3
SP
338772012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33878 Paul Pluzhnikov <ppluzhnikov@google.com>
33879
33880 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33881 strings correctly.
33882
3ce2865f
CLT
338832012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33884
33885 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33886 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33887 * sysdeps/sh/strlen.S: Likewise.
33888
f37e0d68
JM
338892012-04-24 Joseph Myers <joseph@codesourcery.com>
33890
ae186e9a
JM
33891 * sysdeps/unix/fork.S: Remove file.
33892 * sysdeps/unix/i386/fork.S: Likewise.
33893 * sysdeps/unix/sparc/fork.S: Likewise.
33894
b96914af
JM
33895 * sysdeps/unix/system.c: Remove file.
33896 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33897
f37e0d68
JM
33898 * sysdeps/unix/getegid.S: Remove file.
33899 * sysdeps/unix/geteuid.S: Likewise.
33900
87ef29ca
RM
339012012-04-24 Roland McGrath <roland@hack.frob.com>
33902
83bcd236
RM
33903 * scripts/check-localplt.awk: New file.
33904 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33905 of diff.
33906 * scripts/data/localplt-generic.data: Add a comment.
33907
87ef29ca
RM
33908 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33909 NODE when __dir_mkfile failed.
33910 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33911 Reported by Ludovic Courtès <ludo@gnu.org>.
33912
e5a6e567
AJ
339132012-04-24 Andreas Jaeger <aj@suse.de>
33914
33915 * Makerules (common-clean): Also remove gen-as-const-headers
33916 files.
33917
c1820385
JM
339182012-04-24 Joseph Myers <joseph@codesourcery.com>
33919
33920 * Makerules (native-compile): Do not change working directory for
33921 build. Use $(OUTPUT_OPTION) in command.
33922 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33923
94e02fc4
AZ
339242012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33925
33926 [BZ #13886]
33927 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33928 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33929 * math/libm-test.inc (floor_test): Add more tests.
33930 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33931
3a533ca3
JM
339322012-04-24 Joseph Myers <joseph@codesourcery.com>
33933
940ab4b3
JM
33934 * sysdeps/unix/getdents.c: Remove file.
33935 * sysdeps/unix/sysv/getdents.c: Likewise.
33936 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33937
90e037bd
JM
33938 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33939 sysdeps/unix/mman/syscalls.list.
33940 (mmap): Likewise.
33941 (mprotect): Likewise.
33942 (msync): Likewise.
33943 (munmap): Likewise.
33944 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33945 * sysdeps/unix/mman/syscalls.list: Remove.
33946 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33947
3a533ca3
JM
33948 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33949 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33950 * configure: Regenerated.
33951 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33952 $(libgcc_s_suffix).
33953 * config.make.in (libgcc_s_suffix): Remove variable.
33954
1ad743de
JM
339552012-04-23 Joseph Myers <joseph@codesourcery.com>
33956
4ad451e2
JM
33957 * sysdeps/unix/sysv/gethostname.c: Move to ...
33958 * sysdeps/posix/gethostname.c: ... here.
33959
5e37ce39
JM
33960 * sysdeps/unix/execve.S: Remove file.
33961
1ad743de
JM
33962 * sysdeps/unix/_exit.S: Remove file.
33963
4e681b5b
AJ
339642012-04-23 Andreas Jaeger <aj@suse.de>
33965
33966 [BZ #13739]
33967 * manual/Makefile: Remove make dist support, there's no
33968 need for a stand-alone documentation tar ball.
33969 (TEXI2DVI): Define always, it's not in Makeconfig.
33970 (dist): Removed.
33971 (tar-it): Removed.
33972 (edition): Removed.
33973 (glibc-doc-$(edition).tar): Removed
33974 (%.Z): Removed.
33975 (%.gz): Removed.
33976 (%.uu): Removed.
33977 (ETAGS): Remove, it's in Makeconfig.
33978 (move-if-change): Remove, it's in Makeconfig.
33979
38686a03 339802012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33981
33982 [BZ #13970]
33983 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33984 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33985 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33986 (strtod_l, strtof_l, strtold_l): Remove __wur.
33987 It is not necessarily an error to ignore strtol's return value.
33988 One can reliably look at the stored endptr to decide whether
33989 the number had valid syntax.
33990
7c0616fa
AJ
339912012-04-21 Andreas Jaeger <aj@suse.de>
33992
803cb6b7 33993 [BZ #13739]
7c0616fa
AJ
33994 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33995
b0fe253f
JM
339962012-04-21 Joseph Myers <joseph@codesourcery.com>
33997
33998 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33999 * sysdeps/unix/sysv/Versions: Remove file.
34000
8280f22d
MT
340012012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34002
34003 [BZ #13927]
34004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34005
75ce411f 340062012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34007
34008 [BZ #7064]
34009 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34010 version from __vm86.
34011
097d59fa
JM
340122012-04-20 Joseph Myers <joseph@codesourcery.com>
34013
a90f3bcb
JM
34014 * sysdeps/unix/common/lxstat.c: Remove file.
34015 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34016
edc7ea78
JM
34017 * sysdeps/unix/sysv/Makefile: Remove file.
34018
cb78c221
JM
34019 * sysdeps/unix/sysv/direct.h: Remove file.
34020
efa6a45f
JM
34021 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34022 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34023 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34024 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34025 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34026 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34027 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34028
9c9f2d0c
JM
34029 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34030
4541c83b
JM
34031 * sysdeps/unix/xmknod.c: Remove file.
34032 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34033
f5d153a0
JM
34034 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34035
aa746595
JM
34036 * sysdeps/unix/sysv/i386/time.S: Remove file.
34037
cce5905e
JM
34038 * sysdeps/unix/fxstat.c: Remove file.
34039 * sysdeps/unix/xstat.c: Likewise.
34040 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34041
37fa3841
JM
34042 * sysdeps/unix/sysv/sigaction.c: Remove file.
34043
ff1962a3
JM
34044 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34045 (sysdep_headers): Remove variable.
34046 [termio.h not in sysdep_headers] (generated): Likewise.
34047 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34048 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34049 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34050 * sysdeps/unix/sysv/tcflow.c: Likewise.
34051 * sysdeps/unix/sysv/tcflush.c: Likewise.
34052 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34053 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34054 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34055 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34056 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34057
e7740d31
JM
34058 * sysdeps/unix/siglist.c: Remove file.
34059
ee06f18b
JM
34060 * sysdeps/unix/getppid.S: Remove file.
34061
097d59fa
JM
34062 * sysdeps/unix/mkdir.c: Remove file.
34063 * sysdeps/unix/rmdir.c: Likewise.
34064
ff3d51ec
AS
340652012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34066
34067 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34068 ERR_MAX value.
34069 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34070 errlist-compat value.
34071
50f81fd7
DM
340722012-04-18 David S. Miller <davem@davemloft.net>
34073
34074 * sysdeps/generic/memcopy.h (reg_char): Delete.
34075 * debug/strcat_chk.c: Use char, not reg_char.
34076 * debug/strcpy_chk.c: Likewise.
34077 * debug/strncat_chk.c: Likewise.
34078 * debug/strncpy_chk.c: Likewise.
34079 * string/memchr.c: Likewise.
34080 * string/memrchr.c: Likewise.
34081 * string/rawmemchr.c: Likewise.
34082 * string/strcat.c: Likewise.
34083 * string/strchr.c: Likewise.
34084 * string/strchrnul.c: Likewise.
34085 * string/strcmp.c: Likewise.
34086 * string/strcpy.c: Likewise.
34087 * string/strncat.c: Likewise.
34088 * string/strncmp.c: Likewise.
34089 * string/strncpy.c: Likewise.
34090
8ff41c46
WS
340912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34092
34093 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34094 __builtin_memcopy is called when src and dest ranges are known to not
34095 overlap.
34096
6b652f46
WS
340972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34098
34099 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34100 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34101 fwd_align_merge macro call.
34102 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34103 bwd_align_merge macro call.
34104 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34105
b282631e
WS
341062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34107
34108 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34109 bwd_align_merge macros.
34110 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34111 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34112 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34113
95aa737c
DM
341142012-04-18 David S. Miller <davem@davemloft.net>
34115
34116 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34117
7a99a614
AJ
341182012-04-18 Andreas Jaeger <aj@suse.de>
34119
34120 [BZ# 6794]
34121 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34122 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34123 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34124
34125 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34126 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34127 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34128
34129 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34130 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34131 Adjust for changed ldbl-128 files.
34132
34133 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34134 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34135 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34136
e5270c23
DM
341372012-04-17 David S. Miller <davem@davemloft.net>
34138
34139 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34140
fb5e92c9
AS
341412012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34142
34143 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34144 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34145 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34146 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34147 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34148 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34149
76da7265
AZ
341502012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34151
34152 [BZ #6794]
34153 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34154 * math/libm-test.inc: Add ilogb errno and exception tests.
34155 * math/w_ilogb.c: New file: ilogb wrapper.
34156 * math/w_ilogbf.c: New file: ilogbf wrapper.
34157 * math/w_ilogbl.c: New file: ilogbl wrapper.
34158 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34159 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34160 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34161 exception being thrown with 0.0 as argument.
34162 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34163 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34164 exception being thrown with 0.0 as argument.
34165 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34166 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34167 exception being thrown with 0.0 as argument.
34168 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34169 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34170 exception being thrown with 0.0 as argument.
34171 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34172 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34173 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34174 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34175 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34176 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34177 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34178 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34179 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34180
0396e69d
PB
341812012-04-17 Petr Baudis <pasky@ucw.cz>
34182
34183 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34184 with altivec.
34185
750b5926
MP
341862012-04-16 Marek Polacek <polacek@redhat.com>
34187
34188 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34189
751728a1
MP
341902012-04-16 Marek Polacek <polacek@redhat.com>
34191
34192 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34193 operands of fdivp instruction.
34194
34a27407
L
341952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34196
34197 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34198 * elf/tst-auditmod3b.c: Likewise.
34199 * elf/tst-auditmod4b.c: Likewise.
34200 * elf/tst-auditmod5b.c: Likewise.
34201 * elf/tst-auditmod6b.c: Likewise.
34202 * elf/tst-auditmod6c.c: Likewise.
34203 * elf/tst-auditmod7b.c: Likewise.
34204 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34205 * sysdeps/x86_64/preconfigure.in: Likewise.
34206 * sysdeps/x86_64/preconfigure: Regenerated.
34207
7e73e17d
L
342082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34209
34210 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34211 __ILP32__.
34212
c7a6ab72
AB
342132012-04-13 Antoine Balestrat <merkil33@gmail.com>
34214
34215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34216 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34217
a9e8e0e0
CL
342182012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34219
34220 [BZ #13973]
34221 * locale/iso-639.def: Fix gl language name. Spotted by
34222 Yaron Shahrabani.
34223
ec98af7d
RM
342242012-04-12 Roland McGrath <roland@hack.frob.com>
34225
34226 [BZ #2074]
34227 * libio/libio.h (__io_write_fn): Update comment.
34228
247c3ede
PB
342292012-04-12 Petr Baudis <pasky@ucw.cz>
34230
34231 [BZ #2074]
34232 * stdio.texi (Hook Functions): The user provided writer function
34233 is not allowed to return -1.
34234
55939d6d
DM
342352012-04-11 David S. Miller <davem@davemloft.net>
34236
34237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34238
90020f5a
MF
342392012-04-11 Mike Frysinger <vapier@gentoo.org>
34240
34241 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34242 Add a leading slash to rtkaio.
34243
288f9098
JM
342442012-04-11 Jim Meyering <meyering@redhat.com>
34245
90020f5a
MF
34246 [BZ #11959]
34247 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34248 It is not necessarily an error to ignore fwrite's return
34249 value. One can reliably use ferror to test for errors after
34250 the fact.
288f9098 34251
4be2b570
L
342522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34253
34254 * bits/types.h (__snseconds_t): New type.
34255 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34256
34257 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34259 (__SNSECONDS_T_TYPE): Likewise.
34260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34261 (__SNSECONDS_T_TYPE): Likewise.
34262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34263 (__SNSECONDS_T_TYPE): Likewise.
34264
288f9098 342652012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34266
34267 [BZ #2636]
34268 * manual/time.texi (Processor Time): Return type of times is
34269 elapsed real time since an arbitrary point in the past.
34270 (CPU Time): Move CLK_TCK from here...
34271 (Processor Time): ...to here. Correct description.
34272 * manual/conf.texi (Constants for Sysconf): Correct description of
34273 _SC_CLK_TCK.
34274
d7dd4413
DM
342752012-04-10 David S. Miller <davem@davemloft.net>
34276
34277 [BZ #13967]
34278 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34279 where the is a gap between DT_REL(A) and DT_JMPREL.
34280
b46068fc
L
342812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34282
34283 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34284 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34285 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34286
73d65cc3
SP
342872012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34288
34289 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34290 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34291 (dl_main): Handle --inhibit-cache.
34292 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34293 _dl_inhibit_cache.
34294 * elf/dl-load.c (_dl_map_object): Use it.
34295 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34296
bcc8d661
JM
342972012-04-09 Joseph Myers <joseph@codesourcery.com>
34298
8f9a2fae
JM
34299 [BZ #13872]
34300 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34301 (__ieee754_powl): Saturate large exponents rather than testing for
34302 overflow of y*log2(x).
34303 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34304 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34305 exceptions.
34306
bcc8d661
JM
34307 [BZ #11521]
34308 * math/s_ctan.c: Include <float.h>.
34309 (__ctan): Avoid internal overflow or cancellation in calculating
34310 denominator.
34311 * math/s_ctanf.c: Likewise.
34312 * math/s_ctanl.c: Likewise.
34313 * math/s_ctanh.c: Likewise.
34314 * math/s_ctanhf.c: Likewise.
34315 * math/s_ctanhl.c: Likewise.
34316 * math/libm-test.inc (ctan_test): Add more tests.
34317 (ctanh_test): Likewise.
34318 * sysdeps/i386/fpu/libm-test-ulps: Update.
34319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34320
823fbbb4
AJ
343212012-04-09 Andreas Jaeger <aj@suse.de>
34322
03879793
AJ
34323 [BZ #6894]
34324 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34325 is an optional BSD extension.
34326
823fbbb4
AJ
34327 [BZ #10254]
34328 * manual/stdio.texi (Opening Streams): Document additional fopen
34329 parameters.
34330
8de131cb
RM
343312012-04-09 Roland McGrath <roland@hack.frob.com>
34332
34333 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34334 %eax without telling the compiler.
34335
c0ed9d7d
CD
343362012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34337
34338 [BZ # 13963]
34339 * manual/install.texi: Use sourceware.org.
34340
c483f6b4
JM
343412012-04-09 Joseph Myers <joseph@codesourcery.com>
34342
d7dd9453
JM
34343 [BZ #13873]
34344 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34345 (__ieee754_pow): Generate overflow and underflow using huge*huge
34346 and tiny*tiny rather than just returning constant infinity or zero
34347 for large exponents.
34348 * math/libm-test.inc (pow_test): Require overflow exceptions for
34349 applicable cases of large exponents.
34350
c483f6b4
JM
34351 [BZ #706]
34352 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34353 (__ieee754_pow): Use iterative multiplication algorithm only for
34354 integer exponents with absolute value below 1024. Check for odd
34355 integer exponents when using algorithm for real exponents.
34356 * math/libm-test.inc (pow_test): Add more tests.
34357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34358
d2de7579
JM
343592012-04-08 Joseph Myers <joseph@codesourcery.com>
34360
34361 [BZ #13705]
34362 * math/libm-test.inc (exp_test): Do not allow overflow exception
34363 on underflow test.
34364
f77f1232
AJ
343652012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34366
34367 [BZ #13705]
34368 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34369 instead of __kernel_standard_f.
34370
3884932b
MF
343712012-04-08 Mike Frysinger <vapier@gentoo.org>
34372
34373 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34374 * sysdeps/x86_64/memset_chk.S: Likewise.
34375
54472e9c
AJ
343762012-04-08 Andreas Jaeger <aj@suse.de>
34377
6ab0fbfc
AJ
34378 [BZ #10153]
34379 * manual/startup.texi (Environment Access): Describe return value
34380 for putenv and setenv.
34381
61efba8c
AJ
34382 [BZ #6895]
34383 * manual/filesys.texi (Directory Entries): Add description for
34384 DT_LNK.
34385
95c3f29a
AJ
34386 [BZ #6890]
34387 * manual/filesys.texi (Directory Entries): Clarify that it's file
34388 system not operating system in the description of DT_UNKNOWN.
34389
54472e9c
AJ
34390 [BZ #6578]
34391 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34392
624254b1
SC
343932012-04-08 Stephen Compall <s11@member.fsf.org>
34394
34395 [BZ #6649]
34396 * manual/llio.texi (Opening and Closing Files): Add cross
34397 reference to explain mode argument.
34398
1e4920e0
MF
343992012-04-07 Mike Frysinger <vapier@gentoo.org>
34400
34401 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34402 * sysdeps/x86_64/memset_chk.S: Likewise.
34403
5ed848f3
DM
344042012-04-07 David S. Miller <davem@davemloft.net>
34405
34406 * elf/elf.h (R_SPARC_WDISP10): Define.
34407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34408 R_SPARC_SIZE32.
34409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34410 R_SPARC_SIZE64 and R_SPARC_H34.
34411
96154cd8
CD
344122012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34413
34414 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34415 conditions and remove no longer applicable assertion.
34416
9904dc47
L
344172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34418
34419 * bits/byteswap.h: Include <features.h>.
34420 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34421 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34422
f8887d0a
L
344232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34424
34425 * bits/byteswap.h (__bswap_16): Removed.
34426 Include <bits/byteswap-16.h> to get __bswap_16.
34427 * sysdeps/i386/bits/byteswap.h: Likewise.
34428 * sysdeps/s390/bits/byteswap.h: Likewise.
34429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34430 * bits/byteswap-16.h: New file.
34431 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34432 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34433 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34434 * string/Makefile (headers): Add bits/byteswap-16.h.
34435
62470f60
PP
344362012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34437
34438 [BZ #13895]
34439 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34440 extra indirection.
34441 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34442 * nss/tst-nss-static.c: New.
34443
4dad7bab
RM
344442012-04-06 Robert Millan <rmh@gnu.org>
34445
34446 [BZ #6486]
34447 * manual/llio.texi (File Position Primitive): lseek
34448 refers to WHENCE when it really means OFFSET.
34449
e9142a17
AJ
344502012-04-06 Andreas Jaeger <aj@suse.de>
34451
2c040eff
AJ
34452 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34453 strncmp declarations.
34454
e9142a17
AJ
34455 * abilist/libc.abilist: Add __poll and __ppoll.
34456
ff9f1c5f
DM
344572012-04-05 David S. Miller <davem@davemloft.net>
34458
dcd2ae90
DM
34459 * scripts/check-local-headers.sh: Accept a host triplet in the
34460 path matched by the exclude regexp.
34461
993eb054
DM
34462 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34463 definition.
34464 * sysdeps/powerpc/powerpc32/dl-machine.h
34465 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34466 * sysdeps/s390/s390-32/dl-machine.h
34467 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34468 * sysdeps/sparc/sparc32/dl-machine.h
34469 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34470 * sysdeps/sparc/sparc64/dl-machine.h
34471 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34472
ff9f1c5f
DM
34473 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34474 lazy binding.
48e2e132 34475 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34476 undefined symbol errors.
34477
48e2e132 34478 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34479 DT_NEEDED entries.
34480
e80d6f94
MM
344812012-04-05 Michael Matz <matz@suse.de>
34482
34483 [BZ #13592]
34484 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34485
349fa79f
AJ
344862012-04-05 Andreas Jaeger <aj@suse.de>
34487
34488 [BZ #13908]
34489 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34490 comment.
34491
f402708f
KK
344922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34493
34494 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34495 which ROUND is no valid rounding mode.
34496
2ecccfc9
KK
344972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34498
34499 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34500 read again.
34501 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34502
8a53f50f
KK
345032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34504
34505 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34506 an exception using FPU order intentionally.
34507
345082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34509
34510 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34511 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34512 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34513 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34514
d653abb7
SJ
345152012-04-05 Simon Josefsson <simon@josefsson.org>
34516
34517 [BZ #12340]
34518 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34519 EINVAL when BUFLEN is too smal.
34520
c3b1bf7d
TS
345212012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34522
34523 [BZ #13553]
34524 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34525 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34526
b1aa60f3
AJ
345272012-04-03 Andreas Jaeger <aj@suse.de>
34528
c3b1bf7d 34529 [BZ #13938]
67f60a26
AJ
34530 * manual/setjmp.texi (System V contexts): Fix sentence.
34531
b1aa60f3
AJ
34532 [BZ #13926]
34533 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34534 New macro for this case.
34535 [!__GNUC__] (__bswap_64): New inline function for this case.
34536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34537 * bits/byteswap.h: Likewise.
34538 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34539 ull, guard with __GLIBC_HAVE_LONG_LONG.
34540
34541 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34542 __GLIBC_HAVE_LONG_LONG.
34543
34544 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34545 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34546
39c59c35
TMQMF
345472012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34548
34549 [BZ #13691]
34550 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34551 inptr and inend, rather than using last_ch.
34552
135ffda8
DM
345532012-04-02 David S. Miller <davem@davemloft.net>
34554
34555 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34556 * stdio-common/printf-parse.h (read_int): Change return type to
34557 'int', return -1 on INT_MAX overflow.
34558 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34559 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34560 overflows INT_MAX. Check for overflow of in-format-string precision
34561 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34562 SIZE_MAX not INT_MAX for integer overflow test.
34563 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34564 skip the construct in the format string but do not record anything.
34565 * stdio-common/bug22.c: Adjust to test both width/prevision
34566 INT_MAX overflow as well as total length INT_MAX overflow. Check
34567 explicitly for proper errno values.
34568
228c019e
TS
345692012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34570
302cadd3
TS
34571 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34572 CHAR_MAX.
34573 * string/test-strcmp.c [! WIDE]: Likewise.
34574 * time/tst-mktime2.c: Likewise for INT_MAX.
34575 * string/test-string.h: #include <sys/param.h> for MIN.
34576
228c019e
TS
34577 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34578 * sysdeps/i386/init-first.c (init): Likewise.
34579 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34580 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34581 * sysdeps/sh/init-first.c (init): Likewise.
34582
cfa633f5
UD
345832012-04-01 Ulrich Drepper <drepper@gmail.com>
34584
34585 * po/ru.po: Update from translation team.
d1635ef8 34586 * po/vi.po: Likewise.
cfa633f5 34587
6cd0a5ea
SP
345882012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34589
34590 * resolv/nss_dns/dns-host.c: Merge copyright years.
34591
4b43400f
LD
345922012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34593
34594 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34595 Optimize memcpy with prefetch if
34596 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34597 src, dst pointers have unequal 16 byte alignments.
34598
48c41d04
SP
345992012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34600
34601 [BZ #13928]
34602 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34603 from a CNAME entry and return the minimum ttl for the query.
34604 (gaih_getanswer_slice): Likewise.
34605
b8dc394d
JL
346062012-03-30 Jeff Law <law@redhat.com>
34607
34608 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34609 due to long keys.
34610 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34611 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34612
2f5a5ed0
JL
34613 * resolv/nss_dns/dns-host.c: Update copyright year.
34614
1d39e359
UD
346152012-03-30 Ulrich Drepper <drepper@gmail.com>
34616
c030f70c 34617 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34618 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34619
1d39e359
UD
34620 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34621 comments for sendmmsg.
34622
346232012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34624
34625 [BZ #13691]
34626 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34627 with only 1 character between 0x0041 and 0x01b0.
34628 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34629 * wcsmbs/tst-mbsnrtowcs.c: New file.
34630
20fde227
DM
346312012-03-29 David S. Miller <davem@davemloft.net>
34632
34633 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34634 small copies by hand.
34635
984a4237
JL
346362012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34637
34638 [BZ #13761]
57f41c40
AS
34639 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34640 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34641 group memberships.
984a4237 34642
18c9d62b
DM
346432012-03-28 David S. Miller <davem@davemloft.net>
34644
88d85d4f
DM
34645 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34646 that branches into memcpy.
34647 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34648 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34649 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34650 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34652 bits.
34653 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34654 implementation too.
34655 * sysdeps/sparc/mempcpy.S: New file.
34656
e5aa83e1
DM
34657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34658 the IFUNC routine in the libc case.
34659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34660
88570753
DM
34661 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34662 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34663 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34664 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34665 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34666 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34667 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34668 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34669
249d7567
DM
34670 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34671 loop to 256 bytes instead of 64 bytes and fix test signedness.
34672
18c9d62b
DM
34673 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34674 * sysdeps/sparc/sparc32/Makefile: rather than here...
34675 * sysdeps/sparc/sparc64/Makefile: and here.
34676
05f3d1f6
UD
346772012-03-28 Ulrich Drepper <drepper@gmail.com>
34678
34679 * malloc/mallocbug.c: Avoid warnings about unused variables.
34680
86ae07a8
JL
346812012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34682
34683 [BZ #13760]
34684 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34685 in the right place. Discard and retry query if response is
34686 larger than input buffer size.
34687
41bf21a1
JM
346882012-03-28 Joseph Myers <joseph@codesourcery.com>
34689
d6270972
JM
34690 [BZ #369]
34691 [BZ #2678]
34692 [BZ #3866]
34693 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34694 x for large integer exponent.
34695 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34696 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34697 sign of result as needed afterwards.
34698 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34699 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34700 result for underflowing pow the same as for overflow.
34701 (__kernel_standard_l): Handle powl overflow and underflow here
34702 rather than calling __kernel_standard.
34703 * math/libm-test.inc (pow_test): Add more tests.
34704
414fca03 34705 [BZ #3868]
41bf21a1
JM
34706 [BZ #13879]
34707 [BZ #13910]
34708 [BZ #13911]
34709 [BZ #13912]
34710 [BZ #13913]
34711 [BZ #13915]
34712 [BZ #13916]
34713 [BZ #13917]
34714 [BZ #13918]
34715 [BZ #13919]
34716 [BZ #13920]
34717 [BZ #13921]
34718 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34719 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34720 (__kernel_standard_l): New function.
34721 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34722 __kernel_standard.
34723 * math/w_acosl.c (__acosl): Likewise.
34724 * math/w_asinl.c (__asinl): Likewise.
34725 * math/w_atan2l.c (__atan2l): Likewise.
34726 * math/w_atanhl.c (__atanhl): Likewise.
34727 * math/w_coshl.c (__coshl): Likewise.
34728 * math/w_exp10l.c (__exp10l): Likewise.
34729 * math/w_exp2l.c (__exp2l): Likewise.
34730 * math/w_fmodl.c (__fmodl): Likewise.
34731 * math/w_hypotl.c (__hypotl): Likewise.
34732 * math/w_j0l.c (__j0l, __y0l): Likewise.
34733 * math/w_j1l.c (__j1l, __y1l): Likewise.
34734 * math/w_jnl.c (__jnl, __ynl): Likewise.
34735 * math/w_lgammal.c (__lgammal): Likewise.
34736 * math/w_log10l.c (__log10l): Likewise.
34737 * math/w_log2l.c (__log2l): Likewise.
34738 * math/w_logl.c (__logl): Likewise.
34739 * math/w_powl.c (__powl): Likewise.
34740 * math/w_remainderl.c (__remainderl): Likewise.
34741 * math/w_scalbl.c (sysv_scalbl): Likewise.
34742 * math/w_sinhl.c (__sinhl): Likewise.
34743 * math/w_sqrtl.c (__sqrtl): Likewise.
34744 * math/w_tgammal.c (__tgammal): Likewise.
34745 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34746 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34747 * math/libm-test.inc (acos_test): Add more tests.
34748 (acosh_test): Likewise.
34749 (asin_test): Likewise.
34750 (atanh_test): Likewise.
34751 (exp_test): Likewise.
34752 (exp10_test): Likewise.
34753 (exp2_test): Likewise.
34754 (expm1_test): Likewise.
34755 (lgamma_test): Likewise.
34756 (log_test): Likewise.
34757 (log10_test): Likewise.
34758 (log1p_test): Likewise.
34759 (log2_test): Likewise.
34760 (pow_test): Do not allow some spurious overflow exceptions.
34761 (sqrt_test): Add more tests.
34762 (tgamma_test): Likewise.
34763 (y0_test): Likewise.
34764 (y1_test): Likewise.
34765 (yn_test): Likewise.
34766
dd62fda6
AB
347672012-03-27 Anton Blanchard <anton@samba.org>
34768
34769 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34770 MAP_HUGETLB.
34771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34774
1e3cdfda
AJ
347752012-03-27 David S. Miller <davem@davemloft.net>
34776
b855ab85
DM
34777 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34778
1e3cdfda
AJ
34779 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34780 have-as-vis3 check.
34781
347822012-03-27 Andreas Jaeger <aj@suse.de>
34783
34784 * sysdeps/x86_64/elf/configure.in: Moved to ...
34785 * sysdeps/x86_64/configure.in: ... here.
34786 * sysdeps/x86_64/elf/start.S: Moved to ...
34787 * sysdeps/x86_64/start.S: ... here.
34788 * sysdeps/x86_64/elf/configure: Delete.
34789
34790 * sysdeps/x86_64/configure.in: Merge contents from
34791 sysdeps/i386/configure.in (without i686 check).
34792
34793 * sysdeps/i386/elf/Versions: Merge into ...
34794 * sysdeps/i386/Versions: ... this.
34795 * sysdeps/i386/elf/Versions: Delete file.
34796 * sysdeps/i386/elf/start.S: Moved to ...
34797 * sysdeps/i386/start.S: ...here.
34798 * sysdeps/i386/elf/configure.in: Merge into...
34799 * sysdeps/i386/configure.in: ...here.
34800 * sysdeps/i386/elf/configure.in: Delete file.
34801 * sysdeps/i386/elf/configure: Delete file.
34802
34803 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34804 * debug/backtracesyms.c: ... here.
34805 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34806 * debug/backtracesymsfd.c: ... here.
34807 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34808 * sysdeps/generic/ifunc-sel.h: ... here.
34809
34810 * sysdeps/unix/i386/start.c: Delete file.
34811 * sysdeps/unix/sparc/start.c: Delete file.
34812 * sysdeps/unix/start.c: Delete file.
34813
34814 * sysdeps/sh/elf/configure.in: Moved to ...
34815 * sysdeps/sh/configure.in: ... here.
34816 * sysdeps/sh/elf/start.S: Moved to ...
34817 * sysdeps/sh/start.S: ... here.
34818 * sysdeps/sh/elf/configure: Delete file.
34819
34820 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34821 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34822 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34823 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34824 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34825 * sysdeps/powerpc/powerpc64/start.S: here.
34826 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34827 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34828 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34829 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34830 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34831
34832 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34833 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34834 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34835 * sysdeps/powerpc/powerpc32/start.S: ... here.
34836 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34837 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34838 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34839
34840 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34841 * sysdeps/powerpc/ifunc-sel.h: ... here.
34842 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34843 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34844
34845 * sysdeps/sparc/elf/configure.in: Moved to ...
34846 * sysdeps/sparc/configure.in: ... here.
34847 * sysdeps/sparc/elf/configure: Delete file.
34848 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34849 * sysdeps/sparc/sparc32/start.S: ... here.
34850 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34851 * sysdeps/sparc/sparc64/start.S: ... here.
34852 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34853 * sysdeps/sparc/sparc32/Makefile: ... this.
34854 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34855 * sysdeps/sparc/sparc64/Makefile: ... this.
34856
34857 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34858 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34859 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34860 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34861 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34862 * sysdeps/s390/s390-32/setjmp.S: ... here.
34863 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34864 * sysdeps/s390/s390-32/configure.in: ... here.
34865 * sysdeps/s390/s390-32/elf/configure: Delete file.
34866 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34867 * sysdeps/s390/s390-32/start.S: ... here.
34868
34869 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34870 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34871 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34872 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34873 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34874 * sysdeps/s390/s390-64/setjmp.S: ... here.
34875 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34876 * sysdeps/s390/s390-64/configure.in: ... here
34877 * sysdeps/s390/s390-64/elf/configure: Delete file.
34878 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34879 * sysdeps/s390/s390-64/start.S: ... here.
34880 * sysdeps/s390/s390-64/elf/configure: Delete.
34881
34882 * configure.in: Remove support for elf directories in sysdeps.
34883
34884 * configure: Regenerated.
34885 * sysdeps/i386/configure: Regenerated.
34886 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34887 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34888 * sysdeps/s390/s390-32/configure: Regenerated.
34889 * sysdeps/s390/s390-64/configure: Regenerated.
34890 * sysdeps/sh/configure: Regenerated.
34891 * sysdeps/sparc/configure: Regenerated.
34892 * sysdeps/x86_64/configure: Regenerated.
34893
a3f61311
AS
348942012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34895
c876e002
AS
34896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34897
a3f61311
AS
34898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34899 denormal result into account.
34900
ac4c54f0
RM
349012012-03-25 Roland McGrath <roland@hack.frob.com>
34902
34903 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34904 Reported by Allan McRae <allan@archlinux.org>.
34905
6a9b9c02
JL
349062012-03-23 Jeff Law <law@redhat.com>
34907
34908 * nss/getnssent.c (__nss_getent): Fix typo.
34909
4c42a0c1
DM
349102012-03-23 David S. Miller <davem@davemloft.net>
34911
34912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34913
1532c7ac
L
349142012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34915
34916 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34917 to pad to uint64_t for each field.
34918 (dl_tls_index): Replace unsigned long with uint64_t.
34919
3ff42526
PP
349202012-03-23 Daniel Jacobowitz <dmj@google.com>
34921 Paul Pluzhnikov <ppluzhnikov@google.com>
34922
34923 [BZ #6528]
34924 * grp/Makefile (otherlibs): Don't set it.
34925 * inet/Makefile (otherlibs): Likewise.
34926 * login/Makefile (otherlibs): Likewise.
34927 * nscd/Makefile (otherlibs): Likewise.
34928 * posix/Makefile (otherlibs): Likewise.
34929 * pwd/Makefile (otherlibs): Likewise.
34930 * rt/Makefile (otherlibs): Likewise.
34931 * sunrpc/Makefile (otherlibs): Likewise.
34932 * nss/Makefile (otherlibs): Likewise.
34933 Add libnss_files to routines and static-only-routines.
34934 ($(objpfx)getent): Remove rule.
34935 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34936 static-only-routines.
34937
7c69cd14
JM
349382012-03-22 Joseph Myers <joseph@codesourcery.com>
34939
34940 [BZ #13892]
34941 * math/s_cexp.c: Include <float.h>.
34942 (__cexp): Handle exp result overflowing not necessarily
34943 overflowing both real and imaginary parts of result.
34944 * math/s_cexpf.c: Likewise.
34945 * math/s_cexpl.c: Likewise.
34946 * math/libm-test.inc (cexp_test): Add more tests.
34947 * sysdeps/i386/fpu/libm-test-ulps: Update.
34948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34949
81b035fe
L
349502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34951
34952 * include/link.h (ELFW): New macro.
34953 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34954 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34955
1da7940c
L
349562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34957
34958 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34959 with uint64_t.
34960
b749dbb9
L
349612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34962
34963 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34964 declaration.
34965 (struct La_x32_retval): Likewise.
34966
2ff87f3f
L
349672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34968
34969 * sysdeps/x86_64/preconfigure.in: New file.
34970 * sysdeps/x86_64/preconfigure: New generated file.
34971
c0df8e69
JM
349722012-03-22 Joseph Myers <joseph@codesourcery.com>
34973
48e44791
JM
34974 [BZ #13824]
34975 * math/e_exp2l.c: Include <float.h>.
34976 (__ieee754_exp2l): Handle overflow and underflow cases
34977 separately. Only pass fractional part of argument to
34978 __ieee754_expl.
34979 * math/libm-test.inc (exp2_test): Add more tests.
34980
c0df8e69
JM
34981 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34982 negating x to take absolute value.
34983 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34984 Likewise.
34985 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34986 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34987 Likewise.
34988 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34989 computing low part if x was negated.
34990 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34991
c8e43ba7
L
349922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34993
34994 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34995 la_x32_gnu_pltexit.
34996 (pltexit): Cast int_retval to ptrdiff_t.
34997 * elf/tst-auditmod3b.c: Likewise.
34998 * elf/tst-auditmod4b.c: Likewise.
34999 * elf/tst-auditmod5b.c: Likewise.
35000 * elf/tst-auditmod6b.c: Likewise.
35001 * elf/tst-auditmod6c.c: Likewise.
35002 * elf/tst-auditmod7b.c: Likewise.
35003
35004 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35005 and x32_gnu_pltexit.
35006
35007 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35008 __ELF_NATIVE_CLASS.
35009 (La_x32_regs): New macro.
35010 (La_x32_retval): Likewise.
35011 (la_x32_gnu_pltenter): New function prototype.
35012 (la_x32_gnu_pltexit): Likewise.
35013
7998fa78
AS
350142012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35015
dcb33988
AS
35016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35017 exponent.
35018
233fc563
AS
35019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35020
7998fa78
AS
35021 * configure.in (libc_cv_cc_nofma): Check for option to disable
35022 generation of FMA instructions.
35023 * configure: Regenerate.
35024 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35025 * sysdeps/ieee754/dbl-64/Makefile: New file.
35026 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35027 Remove brandred-fma4.
35028 (CFLAGS-brandred-fma4.c): Remove.
35029 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35031 define.
35032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35033 define.
35034
8e95c99a
L
350352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35036
35037 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35038 LLONG_MAX != LONG_MAX.
35039 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35040 (_fitoa_word): Likewise.
35041 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35042 LLONG_MAX != LONG_MAX.
35043 * stdio-common/_itowa.h: Include <_itoa.h>.
35044 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35045 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35046 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35047 only if not defined.
35048 (_ITOA_WORD_TYPE): Likewise.
35049 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35050 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35051
6f4db457
DM
350522012-03-21 David S. Miller <davem@davemloft.net>
35053
35054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35055
7785fe5a
L
350562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35057
35058 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35059 of x86_64 when setting libc_cv_slibdir, libdir and
35060 libc_cv_localedir.
35061 * sysdeps/unix/sysv/linux/configure: Regenerated.
35062
4535cd55
JM
350632012-03-21 Joseph Myers <joseph@codesourcery.com>
35064
35065 * manual/lang.texi (Old Varargs): Remove section.
35066 (How Variadic): Update menu.
35067 (va_start): Do not mention varargs.h.
35068
17228132
TS
350692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35070 Joseph Myers <joseph@codesourcery.com>
35071
35072 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35073 link test.
35074 * configure: Regenerated.
35075
8149f976
TS
350762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35077
05f3d1f6
UD
35078 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35079 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35080 conformtest.pl
8149f976 35081
1a4ac776
JM
350822012-03-21 Joseph Myers <joseph@codesourcery.com>
35083
be22ce65
JM
35084 * NOTES: Remove.
35085 * Makefile (files-for-dist): Remove NOTES.
35086 (NOTES): Remove rule.
35087 * README: Don't refer to NOTES.
35088 * manual/creature.texi: Don't include macros.texi.
35089 * manual/intro.texi (creature.texi): Remove comment referring to
35090 NOTES.
35091
40b601fb
JM
35092 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35093 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35094 * configure: Regenerated.
35095 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35096 LIBC_TRY_CC_OPTION.
35097 (libc_cv_as_i686): Likewise.
35098 (libc_cv_cc_avx): Likewise.
35099 (libc_cv_cc_sse2avx): Likewise.
35100 (libc_cv_cc_fma4): Likewise.
35101 (libc_cv_cc_novzeroupper): Likewise.
35102 * sysdeps/i386/configure: Regenerated.
35103
1a4ac776
JM
35104 [BZ #13883]
35105 * sysdeps/i386/fpu/s_cexp.S: Remove.
35106 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35107 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35108 * math/libm-test.inc (cexp_test): Add more tests.
35109 * sysdeps/i386/fpu/libm-test-ulps: Update.
35110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35111
a458e7fe
AM
351122012-03-21 Allan McRae <allan@archlinux.org>
35113
35114 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35115
0cb7efc5
JM
351162012-03-21 Joseph Myers <joseph@codesourcery.com>
35117
35118 [BZ #13871]
35119 * math/w_exp2.c: Do not include <float.h>.
35120 (o_threshold, u_threshold): Remove.
35121 (__exp2): Calculate result before checking finiteness and calling
35122 __kernel_standard.
35123 * math/w_exp2f.c: Likewise.
35124 * math/w_exp2l.c: Likewise.
35125 * math/libm-test.inc (exp2_test): Require overflow exception for
35126 1e6 input.
2460d3aa
JM
35127
35128 [BZ #3866]
35129 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35130 range of signed 64-bit integers before using fistpll. Remove
35131 checks for whether integers fit in mantissa bits.
35132 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35133 the range of signed 32-bit integers before using fistpl. Remove
35134 checks for whether integers fit in mantissa bits.
35135 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35136 (__ieee754_powl): Test for y outside the range of signed 64-bit
35137 integers before using fistpll. Reduce 64-bit values to 63-bit
35138 ones as needed.
35139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35140 divide-by-zero is raised for zero to large negative powers.
35141 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35142 (__ieee754_powl): Test for y outside the range of signed 64-bit
35143 integers before using fistpll. Reduce 64-bit values to 63-bit
35144 ones as needed.
35145 * math/libm-test.inc (pow_test): Add more tests.
35146
eb96ffb0
L
351472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35148
35149 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35150 <stdio-common/_itoa.h>.
35151 * debug/segfault.c: Likewise.
35152 * elf/dl-cache.c: Likewise.
35153 * elf/dl-minimal.c: Likewise.
35154 * elf/dl-misc.c: Likewise.
35155 * elf/dl-sysdep.c: Likewise.
35156 * elf/dl-version.c: Likewise.
35157 * elf/rtld.c: Likewise.
35158 * hurd/hurdsock.c: Likewise.
35159 * hurd/lookup-retry.c: Likewise.
35160 * malloc/malloc.c: Likewise.
35161 * malloc/mtrace.c: Likewise.
35162 * nscd/nscd_getgr_r.c: Likewise.
35163 * nscd/nscd_getpw_r.c: Likewise.
35164 * nscd/nscd_getserv_r.c: Likewise.
35165 * posix/getopt_init.c: Likewise.
35166 * posix/wordexp.c: Likewise.
35167 * stdio-common/_itoa.c: Likewise.
35168 * stdio-common/printf_fphex.c: Likewise.
35169 * stdio-common/vfprintf.c: Likewise.
35170 * string/_strerror.c: Likewise.
35171 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35172 * sysdeps/i386/i686/hp-timing.h: Likewise.
35173 * sysdeps/mach/_strerror.c: Likewise.
35174 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35175 * sysdeps/mach/hurd/sethostid.c: Likewise.
35176 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35177 * sysdeps/mach/xpg-strerror.c: Likewise.
35178 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35179 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35180 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35181 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35182 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35183 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35184 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35185 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35186 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35187 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35188 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35189 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35190 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35191 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35192 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35193 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35194 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35195 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35196 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35197 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35198 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35199
35200 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35201
35202 * stdio-common/_itoa.h: Moved to ...
35203 * sysdeps/generic/_itoa.h: Here.
35204
35205 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35206
35207 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35208 instead of "_itoa.h" and "_itowa.h".
35209 * stdio-common/vfprintf.: Likewise.
35210
d1af992d
L
352112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35212
35213 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35214 <bits/wordsize.h>.
35215 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35216 (__signbit): Likwise.
35217 (llrintf): Likwise.
35218 (llrint): Likwise.
35219
114883e0
L
352202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35221
35222 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35223 __WORDSIZE != 64.
35224
c135cc1b
JM
352252012-03-20 Joseph Myers <joseph@codesourcery.com>
35226
35227 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35228 OVERFLOW_EXCEPTION_OK.
35229 * math/libm-test.inc ("Philosophy"): Update comment about
35230 exception testing.
35231 (OVERFLOW_EXCEPTION): Define.
35232 (OVERFLOW_EXCEPTION_OK): Likewise.
35233 (INVALID_EXCEPTION_OK): Renumber.
35234 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35235 (IGNORE_ZERO_INF_SIGN): Likewise.
35236 (test_exceptions): Handle FE_OVERFLOW.
35237 (exp10_test): Expect overflow exceptions.
35238 (exp2_test): Likewise.
35239 (expm1_test): Likewise.
35240 (nextafter_test): Likewise.
35241 (pow_test): Likewise.
35242 (scalbn_test): Likewise.
35243 (scalbln_test): Likewise.
35244
95443d88
L
352452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35246
35247 * sysdeps/x86_64/bits/atomic.h
35248 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35249 64bit integer.
35250 (atomic_exchange_acq): Likewise.
35251 (__arch_exchange_and_add_body): Likewise.
35252 (__arch_add_body): Likewise.
35253 (atomic_add_negative): Likewise.
35254 (atomic_add_zero): Likewise.
35255
490df6c4
L
352562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35257
c2722551 35258 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35259 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35260
5e52b189
L
352612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35262
35263 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35264 Check __x86_64__ instead of __WORDSIZE.
35265
a9879d4c
L
352662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35267
35268 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35269
5df98260
DM
352702012-03-19 David S. Miller <davem@davemloft.net>
35271
e1497744
DM
35272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35273
5df98260
DM
35274 * sysdeps/sparc/fpu/fenv_private.h: New file.
35275 * sysdeps/sparc/fpu/math_private.h: Use it.
35276 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35277 Remove.
57f41c40 35278 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35279 (libc_feholdexcept_setroundl): Remove.
35280 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35281 Remove.
35282 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35283 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35284
b4c35121
L
352852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35286
35287 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35288 int64_t instead of long int.
35289 (INSERT_WORDS64): Likwise.
35290
56965fd7
L
352912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35292
35293 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35294 _Unwind_GetCFA return to _Unwind_Ptr first.
35295
83d1aec8
JM
352962012-03-19 Joseph Myers <joseph@codesourcery.com>
35297
1897ad44
JM
35298 [BZ #13629]
35299 * math/s_clog.c: Include <float.h>.
35300 (__clog): Scale large or subnormal inputs.
35301 * math/s_clogf.c: Likewise.
35302 * math/s_clogl.c: Likewise.
35303 * math/s_clog10.c: Include <float.h>.
35304 (M_LOG10_2): Define.
35305 (__clog10): Scale large or subnormal inputs.
35306 * math/s_clog10f.c: Likewise.
35307 * math/s_clog10l.c: Likewise.
35308 * math/libm-test.inc (clog_test): Add more tests.
35309 (clog10_test): Likewise.
35310 * sysdeps/i386/fpu/libm-test-ulps: Update.
35311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35312
7726d6a9
JM
35313 [BZ #11451]
35314 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35315 x and y.
35316 * math/libm-test.inc (atan2_test): Add another test.
35317
83d1aec8
JM
35318 * Makerules (common-objdir-compile): Remove.
35319 * sysdeps/unix/Makefile (config-generated): Do not add
35320 $(unix-generated) to variable.
35321 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35322 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35323 Remove rule.
35324 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35325 Likewise.
35326 [generic bits/local_lim.h] (before-compile): Do not append to
35327 variable.
35328 [generic bits/local_lim.h] (common-generated): Likewise.
35329 [generic sys/param.h] (before-compile): Do not append to variable.
35330 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35331 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35332 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35333 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35334 include.
35335 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35336 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35337 [generic sys/param.h] ($(addprefix
35338 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35339 [generic sys/param.h] (common-generated): Do not append to
35340 variable.
35341 [generic sys/param.h] (sysdep_headers): Likewise.
35342 [generic bits/errno.h] (before-compile): Do not append to
35343 variable.
35344 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35345 rule.
35346 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35347 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35348 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35349 [generic bits/errno.h] (common-generated): Do not append to
35350 variable.
35351 [generic bits/ioctls.h] (before-compile): Do not append to
35352 variable.
35353 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35354 rule.
35355 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35356 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35357 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35358 rule.
35359 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35360 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35361 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35362 [generic bits/ioctls.h] (common-generated): Do not append to
35363 variable.
35364 [generic sys/syscall.h] (syscall.h): Remove variable.
35365 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35366 rule.
35367 [generic sys/syscall.h] (before-compile): Do not append to
35368 variable.
35369 [generic sys/syscall.h] (common-generated): Likewise.
35370 * sysdeps/unix/errnos-tmpl.c: Remove file.
35371 * sysdeps/unix/errnos.awk: Likewise.
35372 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35373 * sysdeps/unix/ioctls.awk: Likewise.
35374 * sysdeps/unix/mk-local_lim.c: Likewise.
35375 * sysdeps/unix/snarf-ioctls: Likewise.
35376
4851a949
RH
353772012-03-19 Richard Henderson <rth@twiddle.net>
35378
bd37f2ee
RH
35379 * sysdeps/i386/fpu/fenv_private.h: New file.
35380 * sysdeps/i386/fpu/math_private.h: Use it.
35381 (math_opt_barrier, math_force_eval): Remove.
35382 (libc_feholdexcept_setround_53bit): Remove.
35383 (libc_feupdateenv_53bit): Remove.
35384 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35385 (math_opt_barrier, math_force_eval): Remove.
35386 (libc_feholdexcept): Remove.
35387 (libc_feholdexcept_setround): Remove.
35388 (libc_fetestexcept, libc_fesetenv): Remove.
35389 (libc_feupdateenv_test): Remove.
35390 (libc_feupdateenv, libc_feholdsetround): Remove.
35391 (libc_feresetround): Remove.
35392
d0adc922
RH
35393 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35394 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35395
0fe0f1f8
RH
35396 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35397 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35398 (libc_feupdateenv_testl): New.
35399 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35400 (libc_feupdateenv_testf): New.
35401 (libc_feupdateenv): Use libc_feupdateenv_test.
35402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35403 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35404
eb92c487
RH
35405 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35406 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35407 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35408 (libc_feresetround_noex): New.
35409 (libc_feresetround_noexf): New.
35410 (libc_feresetround_noexl): New.
35411 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35412 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35413 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35414 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35415 SET_RESTORE_ROUND.
35416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35418 (__cos): Likewise.
35419 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35420 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35421 SET_RESTORE_ROUND_NOEX.
35422 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35423 SET_RESTORE_ROUND_NOEXF.
35424 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35425 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35426 (libc_feholdsetroundf): New.
35427 (libc_feresetround, libc_feresetroundf): New.
35428
7d2e8012
RH
35429 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35430 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35431 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35432
b4dabbb4
RH
35433 * sysdeps/generic/math_private.h: Include <fenv.h>.
35434 (default_libc_feholdexcept): New.
35435 (default_libc_feholdexcept_setround): New.
35436 (default_libc_fesetenv, default_libc_feupdateenv): New.
35437 (libc_feholdexcept): Only define if undefined.
35438 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35439 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35440 (libc_feholdexcept_setroundl): Likewise.
35441 (libc_feholdexcept_setround_53bit): Likewise.
35442 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35443 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35444 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35445 (libc_feupdateenv_53bit): Likewise.
35446 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35447 (libc_feholdexcept): Convert from macro to inline function.
35448 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35449 (libc_fesetenv, libc_feupdateenv): Likewise.
35450
4851a949
RH
35451 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35452 not previously defined.
35453 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35454 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35455 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35456 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35457 * sysdeps/ieee754/flt-32/math_private.h: New file.
35458 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35459 math_private.h below SET_FLOAT_WORD.
35460 (__isnan, __isinf_ns, __finite): Remove.
35461 (__isnanf, __isinf_nsf, __finitef): Remove.
35462
e79d442e
AS
354632012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35464
35465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35466
90b80344
DM
354672012-03-17 David S. Miller <davem@davemloft.net>
35468
35469 [BZ #6471]
35470 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35471 for 2.16.
35472
edc21804
DM
354732012-03-16 David S. Miller <davem@davemloft.net>
35474
77e927af
DM
35475 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35476 warnings.
35477
374976dd
DM
35478 [BZ #6471]
35479 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35480 properly.
35481 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35482 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35483 sysdep_routines when subdir is sysvipc.
35484 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35485 __getshmlba helper.
35486
edc21804
DM
35487 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35488
473c3ef3
L
354892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35490
35491 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35492 [__LP64__].
35493
eb0f39b6
L
354942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35495
35496 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35497 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35498 (__lround): Renamed to ...
35499 (__llround): This. Replace long int with long long int.
35500 Define lround functions as aliases of llround functions.
35501 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35502
6b6cd74b
L
355032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35504
35505 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35506 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35507 adresses to uintptr_t. Replace "long int" and "unsigned long
35508 int" with "greg_t" on va_arg.
35509
f1a77b01
L
355102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35511
35512 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35513 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35514
35515 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35516 Move e_machine check before EI_CLASS check. Handle x32
35517 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35518 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35519 SKIP_EM_IA_64 and include
35520 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35521
35522 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35523 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35524 (add_system_dir): New macro.
35525
35526 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35527 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35528
11b90b9f
JM
355292012-03-16 Joseph Myers <joseph@codesourcery.com>
35530
c36e1d23
JM
35531 [BZ #2551]
35532 [BZ #2552]
35533 [BZ #2553]
35534 [BZ #2554]
35535 [BZ #2562]
35536 [BZ #2563]
35537 [BZ #2565]
35538 [BZ #2566]
35539 [BZ #2576]
35540 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35541 (y0): Likewise.
35542 * math/w_j0f.c (j0f): Likewise.
35543 (y0f): Likewise.
35544 * math/w_j0l.c (__j0l): Likewise.
35545 (__y0l): Likewise.
35546 * math/w_j1.c (j1): Likewise.
35547 (y1): Likewise.
35548 * math/w_j1f.c (j1f): Likewise.
35549 (y1f): Likewise.
35550 * math/w_j1l.c (__j1l): Likewise.
35551 (__y1l): Likewise.
35552 * math/w_jn.c (jn): Likewise.
35553 (yn): Likewise.
35554 * math/w_jnf.c (jnf): Likewise.
35555 (ynf): Likewise.
35556 * math/w_jnl.c (__jnl): Likewise.
35557 (__ynl): Likewise.
35558 * math/libm-test.inc (j0_test): Add more tests.
35559 (j1_test): Likewise.
35560 (jn_test): Likewise. Add trailing semicolon to existing test.
35561 (y0_test): Likewise.
35562 (y1_test): Likewise.
35563 * sysdeps/i386/fpu/libm-test-ulps: Update.
35564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35565
11b90b9f
JM
35566 [BZ #13851]
35567 [BZ #13854]
35568 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35569 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35570 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35571 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35572 (__tanl): Set errno for infinite argument.
35573 * sysdeps/i386/fpu/mptan.c: Remove.
35574 * sysdeps/i386/fpu/s_tan.S: Likewise.
35575 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35576 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35577 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35578 * math/libm-test.inc (tan_test): Add more tests and enable more
35579 tests for double and long double.
35580 * sysdeps/i386/fpu/libm-test-ulps: Update.
35581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35582
6a1bd2a1
JK
355832012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35584
35585 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35586 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35587
10a803e0
RM
355882012-03-16 Roland McGrath <roland@hack.frob.com>
35589
35590 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35591 * configure.in: Use it for both main tree and add-ons.
35592 * configure: Regenerated.
35593
f196c7f7
L
355942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35595
35596 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35597
8848d99d
JM
355982012-03-16 Joseph Myers <joseph@codesourcery.com>
35599
96cbe7f4
JM
35600 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35601 in comment.
35602
8848d99d
JM
35603 [BZ #13851]
35604 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35605 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35609 infinite argument.
35610 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35612 != 0 for prec == 2.
35613 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35614 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35615 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35616 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35617 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35618 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35619 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35620 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35621 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35622 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35623 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35624 * math/libm-test.inc (cos_test): Add more tests and enable more
35625 tests for long double.
35626 (sin_test): Likewise.
35627 (sincos_test): Likewise.
35628 * sysdeps/i386/fpu/libm-test-ulps: Update.
35629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35630
dd7f4703
DM
356312012-03-16 David S. Miller <davem@davemloft.net>
35632
35633 * sysdeps/sparc/fpu/math_private.h: New file.
35634
006f1daa
DM
356352012-03-15 David S. Miller <davem@davemloft.net>
35636
c0c83bc8
DM
35637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35638 file.
e6a62e18 35639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35641 file.
e6a62e18
DM
35642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35648 sysdep routines.
35649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35650
88cb87d9
DM
35651 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35652 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35653
006f1daa 35654 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35656 sparc-ifunc.h
006f1daa 35657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35659 Likewise.
35660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35661 Likewise.
006f1daa
DM
35662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35666 Likewise.
006f1daa
DM
35667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35672 Likewise.
35673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35674 Likewise.
006f1daa
DM
35675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35681 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35682 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35699
11e0098e
AS
357002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35701
35702 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35703 scaling.
35704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35705
e85b09d0
AJ
357062012-03-15 Andreas Jaeger <aj@suse.de>
35707
35708 [BZ #13852]
35709 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35710 ieee754/flt-32 implementation for sin, cos and sincos.
35711 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35712 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35713 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35714 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35715 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35716 ieee754/flt-32 implementation for tan.
35717
35718 * math/libm-test.inc (cos_test): Enable some large input tests for
35719 float as well
35720 (sin_test): Likewise.
35721 (sincos_test): Likewise.
35722 (tan_test): Add tests for large input.
35723
35724 * sysdeps/i386/fpu/libm-test-ulps: Update.
35725
81c64153
AJ
357262012-03-15 Andreas Jaeger <aj@suse.de>
35727
35728 [BZ #13658]
35729 * math/libm-test.inc (cos_test): Add more test cases.
35730 (sin_test): Likewise.
35731 (sincos_test): Likewise.
35732
7bbfa5c6
AJ
357332012-03-15 Andreas Jaeger <aj@suse.de>
35734
35735 [BZ #13837]
35736 * math/libm-test.inc (cos_test): Add a test case for large input
35737 value.
35738 (sin_test): Likewise.
35739 (sincos_test): Likewise.
35740
57f41c40
AS
357412012-03-15 Andreas Jaeger <aj@suse.de>
35742 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35743
35744 [BZ #13658]
0671f479 35745 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35746 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35747 * sysdeps/i386/fpu/branred.c: Likewise.
35748 * sysdeps/i386/fpu/dosincos.c: Likewise.
35749 * sysdeps/i386/fpu/mpa.c: Likewise.
35750 * sysdeps/i386/fpu/s_cos.S: Likewise.
35751 * sysdeps/i386/fpu/s_sin.S: Likewise.
35752 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35753 * sysdeps/i386/fpu/sincos32.c: Likewise.
35754
35755 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35756 Define.
35757 (libc_feupdateenv_53bit): Define.
35758 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35759 Define.
35760 (libc_feupdateenv_53bit): Define.
35761
35762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35763 53 bit (without extend i386 double precision).
35764
35765 * math/libm-test.inc (sincos_test): Add tests for large input.
35766 (sin): Likewise.
35767 (cos): Likewise.
35768
35769 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35770
9cad04ea
AS
357712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35772
35773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35774
f7062b9a
DM
357752012-03-15 David S. Miller <davem@davemloft.net>
35776
35777 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35778 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35779 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35780 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35793 file.
f7062b9a 35794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35796 file.
f7062b9a 35797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35799 file.
f7062b9a 35800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35802 file.
f7062b9a
DM
35803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35805 fmin/fmax sysdep routines.
35806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35807
7bd951ff
DM
358082012-03-14 David S. Miller <davem@davemloft.net>
35809
559398ab
DM
35810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35816 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35817 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35832 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35836 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35838 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35839 routines.
35840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35841 file.
559398ab 35842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35844 file.
559398ab 35845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35847 file.
559398ab 35848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35850 file.
559398ab 35851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35853 file.
559398ab 35854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35856 file.
35857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35858 file.
35859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35860 file.
35861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35862 file.
35863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35864 New file.
35865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35866 file.
35867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35868 file.
559398ab 35869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35871 file.
559398ab 35872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35874 file.
559398ab 35875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35877 file.
559398ab 35878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35880 VIS3 routines.
559398ab
DM
35881
35882 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35883 New file.
35884
5a1c1e32
DM
35885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35886
eae47a36
DM
35887 * sysdeps/sparc/configure.in: New file.
35888 * sysdeps/sparc/configure: Generate.
35889 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35890 * configure: Regenerate.
35891 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35892 * config.make.in (have-as-vis3): New.
35893 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35894 available use -Av9d instead of -Av9a.
35895 * sysdeps/sparc/sparc64/Makefile: Likewise.
35896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35898 New file.
35899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35900 file.
35901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35902 New file.
35903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35904 file.
eae47a36
DM
35905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35908 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35910
c0c83bc8
DM
35911 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35912 fzeros/fnegs to load 0x80000000 into a float register instead of
35913 using the stack.
7bd951ff
DM
35914 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35915
bd951ccb
JM
359162012-03-14 Joseph Myers <joseph@codesourcery.com>
35917
35918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35919 bits/syscall.h.
35920 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35921 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35922 ($(inst_includedir)/bits/syscall.h): Remove rule.
35923 ($(objpfx)bits/syscall.d): Include instead of
35924 $(objpfx)syscall-list.d.
35925 (generated): Change syscall-list.h and syscall-list.d to
35926 bits/syscall.h and bits/syscall.d.
35927
bb4e6db2
RM
359282012-03-14 Roland McGrath <roland@hack.frob.com>
35929
35930 [BZ #13846]
35931 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35932
aa4a2ae1
JM
359332012-03-14 Joseph Myers <joseph@codesourcery.com>
35934
e456826d
JM
35935 [BZ #13841]
35936 * math/s_csqrt.c: Include <float.h>.
35937 (__csqrt): Scale large or subnormal inputs.
35938 * math/s_csqrtf.c: Likewise.
35939 * math/s_csqrtl.c: Likewise.
35940 * math/libm-test.inc (csqrt_test): Add more tests.
35941 * sysdeps/i386/fpu/libm-test-ulps: Update.
35942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35943
aa4a2ae1
JM
35944 [BZ #13840]
35945 * math/libm-test.inc (hypot_test): Add more tests.
35946
7c10fd35
DM
359472012-03-13 David S. Miller <davem@davemloft.net>
35948
35949 [BZ #13840]
35950 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35951 double-precision for the calculation instead of scaling.
35952
f453b98b
JM
359532012-03-13 Joseph Myers <joseph@codesourcery.com>
35954
35955 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35956 manipulate bits before adding and subtracting TWO52[sx].
35957 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35959 Likewise.
35960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35961
09a3453f
DM
359622012-03-13 David S. Miller <davem@davemloft.net>
35963
8e59da90
DM
35964 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35965 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35967 rtld-global-offsets.h
35968 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35969
2a8ab7f2
DM
35970 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35971 large parameters.
35972
10f62770
DM
35973 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35974
5f0bdb18
DM
35975 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35976 'err' in the ifdef scope in which it is actually used.
35977
09a3453f
DM
35978 * nss/nss_db/db-init.c: Include string.h
35979
b4b2eb5e
DM
359802012-03-12 David S. Miller <davem@davemloft.net>
35981
98bb2f1c
DM
35982 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35983 masking out of the most significant byte of random value used.
35984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35985 Fix coding style in previous change.
35986
b4b2eb5e
DM
35987 * sysdeps/unix/sysv/linux/kernel-features.h
35988 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35989 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35990 expression.
35991 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35992 later.
35993
6e226b09
DM
359942012-03-11 David S. Miller <davem@davemloft.net>
35995
a1bcbd40
DM
35996 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35997 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35998 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35999 for 'resultvar' otherwise things get truncated on 64-bit.
36000
cb9d6174
DM
36001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36002 Fix masking out of the most significant byte of random value used.
36003
6e226b09
DM
36004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36005
058c132d
AS
360062012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36007
36008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36009
2d2cd515
DM
360102012-03-09 David S. Miller <davem@davemloft.net>
36011
36012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36013 variables with appropriate CPP guards.
57f41c40
AS
36014 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36015 from the frame pointer, not the stack pointer. Correct layout
36016 comments. Fix test on resulting framesize and the management of
36017 the outregs buffer for pltexit. Preserve floating point return
36018 values across _dl_call_pltexit call.
2d2cd515
DM
36019 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36020 framesize and the management of the outregs buffer for pltexit.
36021 Preserve floating point return values across _dl_call_pltexit
36022 call.
57f41c40
AS
36023 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36024 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36025 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36026 (print_exit): Fix format string for return register value.
36027
9a07f9d0
JM
360282012-03-10 Joseph Myers <joseph@codesourcery.com>
36029
36030 * sunrpc/Makefile (others): Add rpcgen.
36031 ($(objpfx)rpcgen): Remove special build rule and dependency on
36032 libc.
36033 * sunrpc/rpcgen.c: New file.
36034
547b5e30
PE
360352012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36036
c524201a
PE
36037 [BZ #13673]
36038 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36039 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36040 * sysdeps/i386/crti.S: Likewise.
36041 * sysdeps/i386/crtn.S: Likewise.
36042 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36043 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36044 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36045 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36046 * sysdeps/sh/crti.S: Likewise.
36047 * sysdeps/sh/crtn.S: Likewise.
36048 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36049
7b6235f2
PE
36050 [BZ #13673]
36051 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36052 with URL.
36053 * locale/programs/locfile-kw.gperf: Likewise.
36054 * locale/programs/charmap-kw.h: Regenerated.
36055 * locale/programs/locfile-kw.h: Likewise.
36056
547b5e30
PE
36057 [BZ #13673]
36058 * intl/plural.y: Replace FSF snail mail address with URL.
36059 * intl/plural.c: Regenerated.
36060
5f0a5dae
RH
360612012-03-09 Richard Henderson <rth@twiddle.net>
36062
36063 * include/math_private.h: Remove file.
36064 * math/math_private.h: Move file ...
36065 * sysdeps/generic/math_private.h: ... here.
36066
b8c03620
RH
36067 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36068 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36069 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36070
4e234f5d 36071 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36072 and <math_private.h>.
36073 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36074 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36075 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36076 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36077 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36078 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36079 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36081 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36082 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36085 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36087 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36088 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36089 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36090 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36091 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36092 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36094 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36095 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36097 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36098 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36099 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36100 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36103 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36105 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36106 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36107 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36108 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36109 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36110 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36111 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36112 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36113 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36114 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36115 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36116 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36117 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36118 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36119 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36120 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36121 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36122 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36123 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36124 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36125 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36126 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36127 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36128 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36129 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36130 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36131 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36132 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36133 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36134 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36136 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36137 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36138 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36139 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36140 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36141 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36142 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36143 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36145 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36146 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36147 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36148 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36151 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36153 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36154 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36158 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36159 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36160 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36161 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36162 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36163 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36164 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36166 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36167 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36168 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36169 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36170 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36171 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36172 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36173 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36174 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36175 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36176 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36177 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36178 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36179 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36180 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36181 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36182 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36183 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36184 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36185 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36186 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36187 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36188 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36189 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36190 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36191 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36192 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36193 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36194 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36195 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36196 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36197 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36199 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36200 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36201 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36202 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36203 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36204 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36205 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36206 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36207 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36208 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36209 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36210 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36211 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36212 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36213 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36214 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36215 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36216 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36217 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36218 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36219 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36220 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36221 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36222 * sysdeps/ieee754/k_standard.c: Likewise.
36223 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36224 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36225 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36226 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36227 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36228 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36229 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36230 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36231 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36232 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36233 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36234 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36235 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36236 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36237 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36238 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36239 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36240 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36241 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36242 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36243 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36244 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36245 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36246 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36247 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36248 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36249 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36250 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36251 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36252 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36253 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36254 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36255 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36256 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36257 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36258 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36259 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36260 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36261 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36262 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36263 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36264 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36265 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36266 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36267 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36268 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36269 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36270 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36271 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36272 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36273 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36274 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36275 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36276 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36277 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36278 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36279 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36280 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36281 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36282 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36283 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36284 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36285 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36286 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36289 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36290 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36291 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36295 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36296 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36297 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36298 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36299 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36300 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36301 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36302 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36303 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36304 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36305 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36306 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36307 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36308 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36309 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36310 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36311 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36313 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36314 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36315 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36316 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36317 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36318 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36319 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36320 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36321 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36322 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36323 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36324 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36325 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36326 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36327 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36330 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36331 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36332 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36333 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36334 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36335 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36336 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36337 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36338 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36339 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36340 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36342 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36343 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36344 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36345 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36346 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36347 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36348 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36349 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36350 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36351 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36352 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36353 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36354 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36355 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36356 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36357 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36358 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36359 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36360 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36361 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36362 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36363 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36364 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36365 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36366 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36367 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36368 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36369 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36370 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36371 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36372 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36373 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36374 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36375 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36376 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36377 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36378 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36379 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36382 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36383 * sysdeps/ieee754/s_lib_version.c: Likewise.
36384 * sysdeps/ieee754/s_matherr.c: Likewise.
36385 * sysdeps/ieee754/s_signgam.c: Likewise.
36386 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36388 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36389 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36390 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36391 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36392 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36393 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36394 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36395 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36396 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36397 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36398 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36399 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36400 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36401 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36402 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36403 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36404 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36406 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36407
1991fa03
JM
364082012-03-09 Joseph Myers <joseph@codesourcery.com>
36409
36410 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36411 * sunrpc/rpc_main.c: Likewise.
36412 * sunrpc/rpc_svcout.c: Likewise.
36413
60d6f5a6
DM
364142012-03-09 David S. Miller <davem@davemloft.net>
36415
36416 * include/math_private.h: New file.
36417
4962050e
JM
364182012-03-09 Joseph Myers <joseph@codesourcery.com>
36419
02a6f887
JM
36420 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36421 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36422 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36423 from <bits/socket_type.h>.
36424 (enum __socket_type): Don't define here.
36425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36427 bits/socket_type.h.
36428
c6e013c1
JM
36429 [BZ #13566]
36430 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36431 checking __USE_GNU.
36432
4962050e
JM
36433 * Makerules ($(inst_includedir)/%.h): New rule.
36434 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36435 (install-others): Remove variable setting.
36436 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36437
38842f45
RH
364382012-03-08 Richard Henderson <rth@twiddle.net>
36439
67bb6da6
RH
36440 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36441 from macro to inline function; merge with the
36442 !__LIBC_INTERNAL_MATH_INLINES version.
36443 (__ieee754_sqrtf): Likewise.
36444
15194b4b
RH
36445 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36446 to inline function.
36447 (__rintf, __floor, __floorf): Likewise.
36448
64e21ede
RH
36449 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36450 macro to inline function.
36451 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36452
38842f45
RH
36453 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36454 not <math/math_private.h>.
36455
c64bf5fe
DM
364562012-03-08 David S. Miller <davem@davemloft.net>
36457
36458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36459 copyright year.
36460 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36461
82d86f28
TS
364622012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36463
36464 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36465 normalization.
36466 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36467 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36468
aea5d727
UD
364692012-03-08 Ulrich Drepper <drepper@gmail.com>
36470
36471 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36472 be defined individually, they must be defined as a block. Define
36473 S for printing a string instead of hidint the different by using a
36474 macro for adding the 'l'.
36475 * stdio-common/tst-fphex-wide.c: Adjust.
36476
70bca0a3
MP
364772012-03-07 Marek Polacek <polacek@redhat.com>
36478
36479 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36480
65b81130
MP
364812012-03-08 Marek Polacek <polacek@redhat.com>
36482
36483 [BZ #13806]
36484 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36485 * stdio-common/tst-fphex.c: Define a few macros to make the
36486 test reusable. Use them.
36487 * stdio-common/tst-fphex-wide.c: New file.
36488
07037eeb
JM
364892012-03-08 Joseph Myers <joseph@codesourcery.com>
36490
a7a93d50
JM
36491 [BZ #6911]
36492 * manual/macros.texi (gnusystems): New macro.
36493 (nongnusystems): Likewise.
36494 (gnulinuxhurdsystems): Likewise.
36495 (gnuhurdsystems): Likewise..
36496 (gnulinuxsystems): Likewise.
36497 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36498 variants of the GNU system, not "GNU system".
36499 * manual/conf.texi: Likewise.
36500 * manual/errno.texi: Likewise. Update example of errno macro
36501 expansion.
36502 * manual/filesys.texi: Likewise.
36503 (getumask): Document as specific to GNU/Hurd.
36504 * manual/install.texi: Likewise. Reword some references to
36505 GNU/Linux.
36506 * manual/intro.texi: Likewise.
36507 * manual/io.texi: Likewise.
36508 (File Name Portability): Detail which constraints are inapplicable
36509 to all GNU systems and which are only inapplicable to GNU/Hurd.
36510 * manual/job.texi: Likewise.
36511 * manual/llio.texi: Likewise.
36512 (O_NOCTTY): Document as present on GNU/Linux.
36513 * manual/maint.texi: Likewise.
36514 * manual/memory.texi: Likewise.
36515 * manual/pattern.texi: Likewise.
36516 * manual/pipe.texi: Likewise.
36517 * manual/process.texi: Likewise.
36518 * manual/resource.texi: Likewise.
36519 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36520 child on GNU/Hurd.
36521 * manual/setjmp.texi: Likewise.
36522 * manual/signal.texi: Likewise.
36523 * manual/startup.texi: Likewise.
36524 * manual/stdio.texi: Likewise.
36525 * manual/terminal.texi: Likewise.
36526 (ONLCR): Document as POSIX.
36527 (OXTABS): Document availability on GNU/Linux as XTABS.
36528 (ONOEOT): Document availability separately from other bits.
36529 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36530 * manual/time.texi: Likewise.
36531 * manual/users.texi: Likewise.
36532 * INSTALL: Regenerated.
36533 * sysdeps/gnu/errlist.c: Regenerated.
36534
07037eeb
JM
36535 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36536 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36537 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36538 puts.
36539 * configure: Regenerated.
36540
d1d3431a
JM
365412012-03-07 Joseph Myers <joseph@codesourcery.com>
36542
af6a1e37
JM
36543 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36544 default includes instead of AC_HEADER_CHECK.
36545 * sysdeps/i386/configure: Regenerated.
36546
d1d3431a
JM
36547 [BZ #10716]
36548 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36549 * math/s_cacoshf.c (__cacoshf): Likewise.
36550 * math/s_cacoshl.c (__cacoshl): Likewise.
36551 * math/s_casinh.c (__casinh): Set signs of result from argument.
36552 * math/s_casinhf.c (__casinhf): Likewise.
36553 * math/s_casinhl.c (__casinhl): Likewise.
36554 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36555 (casinh_test): Add more tests.
36556 * sysdeps/i386/fpu/libm-test-ulps: Update.
36557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36558
482ff4da
UD
365592012-03-07 Ulrich Drepper <drepper@gmail.com>
36560
872fda05
UD
36561 * po/zh_TW.po: Update from translation team.
36562
a4300c7a
UD
36563 * login/Makefile (distribute): Remove variable.
36564 * catgets/Makefile: Likewise.
36565 * mach/Makefile: Likewise.
36566 * malloc/Makefile: Likewise.
36567 * misc/Makefile: Likewise.
36568 * iconv/Makefile: Likewise.
36569 * nscd/Makefile: Likewise.
36570 * hurd/Makefile: Likewise.
36571 * manual/Makefile: Likewise.
36572 * locale/Makefile: Likewise.
36573 * intl/Makefile: Likewise.
36574 * conform/Makefile: Likewise.
36575 * nss/Makefile: Likewise.
36576 * time/Makefile: Likewise.
36577 * soft-fp/Makefile: Likewise.
36578 * dirent/Makefile: Likewise.
36579 * gmon/Makefile: Likewise.
36580 * po/Makefile: Likewise.
36581 * rt/Makefile: Likewise.
36582 * socket/Makefile: Likewise.
36583 * math/Makefile: Likewise.
36584 * signal/Makefile: Likewise.
36585 * debug/Makefile: Likewise.
36586 * elf/Makefile: Likewise.
36587 * timezone/Makefile: Likewise.
36588 * stdlib/Makefile: Likewise.
36589 * iconvdata/Makefile: Likewise.
36590 * sunrpc/Makefile: Likewise.
36591 * io/Makefile: Likewise.
36592 * argp/Makefile: Likewise.
36593 * inet/Makefile: Likewise.
36594 * hesiod/Makefile: Likewise.
36595 * grp/Makefile: Likewise.
36596 * csu/Makefile: Likewise.
36597 * wctype/Makefile: Likewise.
36598 * crypt/Makefile: Likewise.
36599 * libio/Makefile: Likewise.
36600 * string/Makefile: Likewise.
36601 * nis/Makefile: Likewise.
36602 * resolv/Makefile: Likewise.
36603 * stdio-common/Makefile: Likewise.
36604 * wcsmbs/Makefile: Likewise.
36605 * dlfcn/Makefile: Likewise.
36606 * posix/Makefile: Likewise.
36607
3b7c4e74 36608 [BZ #6959]
482ff4da
UD
36609 * timezone/Makefile: Don't install timezone files, just the programs
36610 and scripts.
36611
f72ed77d
UD
366122012-03-06 Ulrich Drepper <drepper@gmail.com>
36613
a000466f
UD
36614 * nss/databases.def: Add missing gshadow entry.
36615
f72ed77d
UD
36616 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36617
a53b7a4e
MP
366182012-03-06 Marek Polacek <polacek@redhat.com>
36619
36620 [BZ #13726]
36621 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36622 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36623 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36624 * stdio-common/tst-long-dbl-fphex.c: New file.
36625
e9258400
DM
366262012-03-06 David S. Miller <davem@davemloft.net>
36627
36628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36629 (set_obp_int): New function.
36630 (get_obp_int): New function.
36631 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36632 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36633 Avoid unused variable warnings on 'val' and use builtin_expect.
36634 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36635 __builtin_expect.
e9258400
DM
36636 (INLINE_CLONE_SYSCALL): Likewise.
36637
3bd2c723
DM
366382012-03-05 David S. Miller <davem@davemloft.net>
36639
36640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36641
bbb78d03
AS
366422012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36643
884c5db4
AS
36644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36645
bbb78d03
AS
36646 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36647 only for |x| >= 40.
36648 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36649
1c9f702a 366502012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36651
36652 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36653 Replace gettimeofday with __vdso_gettimeofday.
36654
7be16f82
RM
36655 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36656 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36657 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36658
36659 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36660 time with __vdso_time.
36661
ed58a00f
JM
366622012-03-05 Joseph Myers <joseph@codesourcery.com>
36663
36664 * manual/lang.texi (size_t): Note types to which size_t may be
36665 equivalent with the GNU C Library, but do not describe when
36666 differences between them are significant.
36667
30ee4ced
AJ
366682012-03-05 Andreas Jaeger <aj@suse.de>
36669
36670 * sysdeps/i386/fpu/libm-test-ulps: Update.
36671
b7cd39e8
JM
366722012-03-05 Joseph Myers <joseph@codesourcery.com>
36673
36674 [BZ #3976]
36675 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36676 (__ieee754_pow): Save and restore rounding mode and use
36677 round-to-nearest for main computations.
36678 * math/libm-test.inc (pow_test_tonearest): New function.
36679 (pow_test_towardzero): Likewise.
36680 (pow_test_downward): Likewise.
36681 (pow_test_upward): Likewise.
36682 (main): Call the new functions.
36683 * sysdeps/i386/fpu/libm-test-ulps: Update.
36684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36685
36686 [BZ #3976]
36687 * math/libm-test.inc (cosh_test_tonearest): New function.
36688 (cosh_test_towardzero): Likewise.
36689 (cosh_test_downward): Likewise.
36690 (cosh_test_upward): Likewise.
36691 (sinh_test_tonearest): Likewise.
36692 (sinh_test_towardzero): Likewise.
36693 (sinh_test_downward): Likewise.
36694 (sinh_test_upward): Likewise.
36695 (main): Call the new functions.
36696 * sysdeps/i386/fpu/libm-test-ulps: Update.
36697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36698
6c6a98c9
TV
366992012-03-05 Tom de Vries <tom@codesourcery.com>
36700
36701 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36702 default stack guard is set in last bytes.
36703 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36704
21bb2d2e 367052012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36706
21bb2d2e 36707 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36708
21bb2d2e
AJ
36709 [BZ #13656]
36710 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36711 possibly allocate from heap instead of stack.
36712 * stdio-common/bug-vfprintf-nargs.c: New file.
36713 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36714
c6922934
AS
367152012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36716
36717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36718
bc957d53
MP
367192012-03-03 Marek Polacek <polacek@redhat.com>
36720
36721 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36722 * math/math_private.h: Likewise.
36723 * stdlib/tst-strtod.c: Likewise.
36724 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36725 * sysdeps/x86_64/bits/atomic.h: Likewise.
36726
6358490d
DM
367272012-03-02 David S. Miller <davem@davemloft.net>
36728
36729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36733 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36734 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36735 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36736 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36737
01ae168d
RM
367382012-03-02 Roland McGrath <roland@hack.frob.com>
36739
d9a17c07
RM
36740 [BZ #13792]
36741 * manual/examples/README: New file, says the example source files
36742 can be used under GPL>=2.
36743 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36744 line containing just "*/".
36745 * manual/examples/add.c: Add copyright header (GPL>=2).
36746 * manual/examples/argp-ex1.c: Likewise.
36747 * manual/examples/argp-ex2.c: Likewise.
36748 * manual/examples/argp-ex3.c: Likewise.
36749 * manual/examples/argp-ex4.c: Likewise.
36750 * manual/examples/atexit.c: Likewise.
36751 * manual/examples/db.c: Likewise.
36752 * manual/examples/dir.c: Likewise.
36753 * manual/examples/dir2.c: Likewise.
36754 * manual/examples/execinfo.c: Likewise.
36755 * manual/examples/filecli.c: Likewise.
36756 * manual/examples/filesrv.c: Likewise.
36757 * manual/examples/fmtmsgexpl.c: Likewise.
36758 * manual/examples/genpass.c: Likewise.
36759 * manual/examples/inetcli.c: Likewise.
36760 * manual/examples/inetsrv.c: Likewise.
36761 * manual/examples/isockad.c: Likewise.
36762 * manual/examples/longopt.c: Likewise.
36763 * manual/examples/memopen.c: Likewise.
36764 * manual/examples/memstrm.c: Likewise.
36765 * manual/examples/mkfsock.c: Likewise.
36766 * manual/examples/mkisock.c: Likewise.
36767 * manual/examples/mygetpass.c: Likewise.
36768 * manual/examples/pipe.c: Likewise.
36769 * manual/examples/popen.c: Likewise.
36770 * manual/examples/rprintf.c: Likewise.
36771 * manual/examples/search.c: Likewise.
36772 * manual/examples/select.c: Likewise.
36773 * manual/examples/setjmp.c: Likewise.
36774 * manual/examples/sigh1.c: Likewise.
36775 * manual/examples/sigusr.c: Likewise.
36776 * manual/examples/stpcpy.c: Likewise.
36777 * manual/examples/strdupa.c: Likewise.
36778 * manual/examples/strftim.c: Likewise.
36779 * manual/examples/strncat.c: Likewise.
36780 * manual/examples/subopt.c: Likewise.
36781 * manual/examples/swapcontext.c: Likewise.
36782 * manual/examples/termios.c: Likewise.
36783 * manual/examples/testopt.c: Likewise.
36784 * manual/examples/testpass.c: Likewise.
36785 * manual/examples/timeval_subtract.c: Likewise.
36786
01ae168d
RM
36787 [BZ #13792]
36788 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36789 function to ...
36790 * manual/timeval_subtract.c.texi: ... here, new file.
36791
49efa33d
DM
367922012-03-02 David S. Miller <davem@davemloft.net>
36793
36794 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36795
28afd92d
JM
367962012-03-02 Joseph Myers <joseph@codesourcery.com>
36797
804360ed
JM
36798 [BZ #3976]
36799 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36800 (__sin): Save and restore rounding mode and use round-to-nearest
36801 for all computations.
36802 (__cos): Save and restore rounding mode and use round-to-nearest
36803 for all computations.
36804 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36805 <fenv.h>.
36806 (tan): Save and restore rounding mode and use round-to-nearest for
36807 all computations.
36808 * math/libm-test.inc (cos_test_tonearest): New function.
36809 (cos_test_towardzero): Likewise.
36810 (cos_test_downward): Likewise.
36811 (cos_test_upward): Likewise.
36812 (sin_test_tonearest): Likewise.
36813 (sin_test_towardzero): Likewise.
36814 (sin_test_downward): Likewise.
36815 (sin_test_upward): Likewise.
36816 (tan_test_tonearest): Likewise.
36817 (tan_test_towardzero): Likewise.
36818 (tan_test_downward): Likewise.
36819 (tan_test_upward): Likewise.
36820 (main): Call the new functions.
36821 * sysdeps/i386/fpu/libm-test-ulps: Update.
36822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36823
a6d06d7b
JM
36824 [BZ #10135]
36825 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36826 small n, then large n, before computing and testing k+n.
36827 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36829 Likewise.
36830 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36831 Likewise.
36832 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36833 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36834 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36835 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36836 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36837 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36838 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36839 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36840 * math/libm-test.inc (scalbn_test): Add more tests.
36841 (scalbln_test): Likewise.
36842
07e12bb3
JM
36843 * manual/filesys.texi (mode_t): Describe constraints on size and
36844 signedness, not exact equivalence to a particular type.
36845 (ino_t): Likewise.
36846 (ino64_t): Likewise.
36847 (dev_t): Likewise.
36848 (nlink_t): Likewise.
36849 (blkcnt_t): Likewise.
36850 (blkcnt64_t): Likewise.
36851 * manual/llio.texi (off_t): Likewise.
36852
28afd92d
JM
36853 [BZ #3976]
36854 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36855 (__ieee754_exp): Save and restore rounding mode and use
36856 round-to-nearest for all computations.
36857 * math/libm-test.inc (exp_test_tonearest): New function.
36858 (exp_test_towardzero): Likewise.
36859 (exp_test_downward): Likewise.
36860 (exp_test_upward): Likewise.
36861 (main): Call the new functions.
36862 * sysdeps/i386/fpu/libm-test-ulps: Update.
36863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36864
b1eeb65d
CD
368652012-03-01 Chris Demetriou <cgd@google.com>
36866
36867 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36868 have predictable order.
36869
53362a4b
DM
368702012-03-01 David S. Miller <davem@davemloft.net>
36871
3c969083
DM
36872 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36873
759707de
DM
36874 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36875 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36876 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36877 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36878
dfdb8ff2
DM
36879 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36880 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36881 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36883 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36884 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36885 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36886 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36887 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36888
ead89f96
DM
36889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36890
7f66bd07
DM
36891 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36892 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36893 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36894
53362a4b
DM
36895 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36896 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36897 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36898 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36899 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36900 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36901 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36902 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36903 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36904 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36905 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36906 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36908 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36909 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36911 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36912 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36913 * sysdeps/sparc/elf/configure: Regenerated.
36914
7b1902cb
JM
369152012-03-01 Joseph Myers <joseph@codesourcery.com>
36916
bec039bc
JM
36917 * configure.in (AS, LD): Require binutils 2.20 or later.
36918 * configure: Regenerated.
36919 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36920 as required minimum version.
36921 * INSTALL: Regenerated.
36922
7b1902cb
JM
36923 [BZ #2541]
36924 [BZ #4108]
36925 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36926 before squaring exponent.
36927 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36928 bottom long double and 27 bits of top long double before squaring
36929 exponent.
36930 * math/libm-test.inc (erfc_test): Add more tests.
36931 * sysdeps/i386/fpu/libm-test-ulps: Update.
36932 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36934
f775c276
KT
369352012-03-01 Kai Tietz <ktietz@redhat.com>
36936
36937 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36938 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36939 containing bit-fields.
36940 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36941 * soft-fp/single.h (_FP_UNION_S): Likewise.
36942 * soft-fp/double.h (_FP_UNION_D): Likewise.
36943
5b8a4d4a
JM
369442012-02-29 Joseph Myers <joseph@codesourcery.com>
36945
0bab47b6
JM
36946 [BZ #13786]
36947 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36948 not include ../strcmp.S.
36949 [USE_AS_STRNCASECMP_L]: Likewise.
36950 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36951 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36952 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36953 (__strncasecmp_l_ia32): Define as alias to
36954 __strncasecmp_l_nonascii.
36955
0fcad3e2
JM
36956 [BZ #5794]
36957 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36958 * sysdeps/i386/fpu/libm-test-ulps: Update.
36959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36960
5b8a4d4a
JM
36961 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36963
8fdceb2e
JL
369642012-02-29 Jeff Law <law@redhat.com>
36965
36966 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36967 out of bounds read.
36968
1f393a11
MP
369692012-02-29 Marek Polacek <polacek@redhat.com>
36970
36971 [BZ #13706]
36972 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36973 * elf/Makefile: Add rules to run tst-unused-dep.out.
36974
8847f037
DM
369752012-02-28 David S. Miller <davem@davemloft.net>
36976
36977 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36978 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36980 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36981 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36982 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36983
169d7f11
JM
369842012-02-29 Joseph Myers <joseph@codesourcery.com>
36985
36986 * math/libm-test.inc (llround_test): Move one test from
36987 lround_test. Use TEST_f_L in moved test.
36988 (lround_test): Move misplaced test to llround_test. Add testcase
36989 from bug 2561.
36990
39adf059
UD
369912012-02-28 Ulrich Drepper <drepper@gmail.com>
36992
36993 * sysdeps/x86_64/fpu/e_expf.S: New file.
36994 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36995
71b5d1c5
SB
369962012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36997
36998 [BZ #13637]
36999 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37000 of remain_len that may cause incomplete multi-byte character and
37001 false match.
37002 * posix/bug-regex33.c: New file.
37003 * posix/Makefile (tests): Add bug-regex33.
37004
1f77f049
JM
370052012-02-28 Joseph Myers <joseph@codesourcery.com>
37006
37007 * manual/macros.texi: New file.
37008 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37009 * manual/libc.texinfo: Include macros.texi.
37010 * manual/creatute.texi: Likewise.
37011 * manual/install.texi: Likewise.
37012 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37013 @glibcadj{} in references to the GNU C Library.
37014 * manual/charset.texi: Likewise.
37015 * manual/conf.texi: Likewise.
37016 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37017 when not using those macros.
37018 * manual/creature.texi: Likewise.
37019 * manual/crypt.texi: Likewise.
37020 * manual/errno.texi: Likewise.
37021 * manual/filesys.texi: Likewise.
37022 * manual/header.texi: Likewise.
37023 * manual/install.texi: Likewise.
37024 * manual/intro.texi: Likewise.
37025 * manual/io.texi: Likewise.
37026 * manual/job.texi: Likewise.
37027 * manual/lang.texi: Likewise.
37028 * manual/libc.texiinfo: Likewise.
37029 * manual/llio.texi: Likewise.
37030 * manual/locale.texi: Likewise.
37031 * manual/maint.texi: Likewise.
37032 * manual/math.texi: Likewise.
37033 * manual/memory.texi: Likewise.
37034 * manual/message.texi: Likewise.
37035 * manual/nss.texi: Likewise.
37036 * manual/pattern.texi: Likewise.
37037 * manual/process.texi: Likewise.
37038 * manual/resource.texi: Likewise.
37039 * manual/search.texi: Likewise.
37040 * manual/setjmp.texi: Likewise.
37041 * manual/signal.texi: Likewise.
37042 * manual/socket.texi: Likewise.
37043 * manual/startup.texi: Likewise.
37044 * manual/stdio.texi: Likewise.
37045 * manual/string.texi: Likewise.
37046 * manual/sysinfo.texi: Likewise.
37047 * manual/syslog.texi: Likewise.
37048 * manual/terminal.texi: Likewise.
37049 * manual/time.texi: Likewise.
37050 * manual/users.texi: Likewise.
37051 * INSTALL: Regenerated.
37052 * NOTES: Regenerated.
d40c5d54 37053 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37054
450bf206
AS
370552012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37056
37057 * include/dirent.h: Include <dirstream.h> before
37058 <dirent/dirent.h>.
37059
741a235b
DM
370602012-02-28 David S. Miller <davem@davemloft.net>
37061
37062 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37063 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37064 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37065 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37066
d6b5aa58
DM
370672012-02-27 David S. Miller <davem@davemloft.net>
37068
1aff59a3
DM
37069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37071 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37072 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37073
d6b5aa58
DM
37074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37075 frame pointer instead of stack pointer relative arg slot.
37076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37077 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37078 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37079
433f48bf
CD
370802012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37081
37082 [BZ #3992]
37083 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37084
d674b76d
DM
370852012-02-27 David S. Miller <davem@davemloft.net>
37086
37087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37091 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37092 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37093 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37094 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37095
0e7727f7
JM
370962012-02-27 Joseph Myers <joseph@codesourcery.com>
37097
37098 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37099 later. Allow versions 5-9.
43be4ca2 37100 * configure: Regenerated.
0e7727f7
JM
37101 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37102 required minimum version and 4.6 as recommended version. Do not
37103 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37104 * INSTALL: Regenerated.
0e7727f7 37105
a78bc654
DM
371062012-02-27 David S. Miller <davem@davemloft.net>
37107
428d5830
DM
37108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37112 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37113 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37114 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37115 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37116
a78bc654
DM
37117 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37118 manipulate bits before adding and subtracting TWO112[sx].
37119 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37120
4579f81c
RM
371212012-02-27 Roland McGrath <roland@hack.frob.com>
37122
36c8acb4
RM
37123 [BZ #13775]
37124 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37125 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37126 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37127 being in POSIX, because they are in 1003.1-2008.
37128
84ad622b
RM
37129 * rt/tst-aio.c: Include <fcntl.h>.
37130 * rt/tst-aio7.c: Likewise.
37131 * rt/tst-aio64.c: Likewise.
37132
4579f81c
RM
37133 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37134
abd923db
JM
371352012-02-27 Joseph Myers <joseph@codesourcery.com>
37136
37137 * manual/install.texi (--with-headers): Describe headers as
37138 interface headers, not private headers.
37139 (Specific advice for GNU/Linux systems): Describe use of headers
37140 from "make headers_install", not private headers from older
37141 kernels.
43be4ca2 37142 * INSTALL: Regenerated.
abd923db
JM
37143 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37144 Change to 2.6.19.
37145 * sysdeps/unix/sysv/linux/configure: Regenerated.
37146
6664049b
JM
37147 * manual/llio.texi (fclean): Remove documentation.
37148
bb8b6697
JM
37149 * manual/Makefile (libc-texi-generated): New variable. Include
37150 version.texi.
37151 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37152 $(libc-texi-generated), not duplicated list of files.
37153 (version.texi, stamp-version): New rules.
37154 (realclean): Remove $(libc-texi-generated), not individual files
37155 from that list. Do not remove dir-add.texinfo.
37156 * manual/libc.texinfo: Comment out uses of edition numbers and
37157 references to printed manual. Remove last-updated dates.
37158 (EDITION): Comment out.
37159 (ISBN): Likewise.
37160 (VERSION, UPDATED): Remove.
37161 (version.texi): Include.
37162
12e5c3b9
AS
371632012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37164
37165 * sysdeps/posix/spawni.c: Include <signal.h>.
37166 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37167 * sysdeps/pthread/aio_fsync.c: Likewise.
37168
4efeffc1 371692012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37170
ba63ba08
UD
37171 * conform/Makefile (tests): Run only when not cross-compiling and
37172 when fast-check is not defined.
37173
d94a4670
UD
37174 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37175 * conform/data/limits.h-data: Fixes for POSIX2008.
37176 * conform/run-conformtest.sh: Run all tests.
37177 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37178 headers.
37179 * include/bits/dlfcn.h: Likewise.
37180 * include/langinfo.h: Likewise.
37181 * include/monetary.h: Likewise.
37182 * include/sys/poll.h: Likewise.
37183
37184 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37185 for __USE_GNU.
37186 * posix/spawn.h: Define __need_sigset_t.
37187 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37188 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37189 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37190 to get sigevent_t only.
37191 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37192 only for __USE_GNU.
37193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37194 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37195 process_vm_writev only for __USE_GNU.
37196 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37197
37198 * conform/Makefile: For now ignore errors from run-conformtest.
37199 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37200 POSIX to avoid namespace pollution. Don't prepend headers.
37201 * conform/data/aio.h-data: Fixes for POSIX testing.
37202 * conform/data/fcntl.h-data: Likewise.
37203 * conform/data/glob.h-data: Likewise.
37204 * conform/data/grp.h-data: Likewise.
37205 * conform/data/pthread.h-data: Likewise.
37206 * conform/data/pwd.h-data: Likewise.
37207 * conform/data/signal.h-data: Likewise.
37208 * conform/data/spawn.h-data: Likewise.
37209 * conform/data/stdio.h-data: Likewise.
37210 * conform/data/stdlib.h-data: Likewise.
37211 * conform/data/stropts.h-data: Likewise.
37212 * conform/data/sys/mman.h-data: Likewise.
37213 * conform/data/sys/stat.h-data: Likewise.
37214 * conform/data/sys/types.h-data: Likewise.
37215 * conform/data/sys/wait.h-data: Likewise.
37216 * conform/data/time.h-data: Likewise.
37217 * conform/data/unistd.h-data: Likewise.
37218 * conform/data/utime.h-data: Likewise.
37219
37220 * io/sys/stat.h: fchmod was always in POSIX.
37221 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37222 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37223 * rt/aio.h: Define __need_timespec before including <time.h>.
37224 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37225 struct. Add forward declaration of pthread_attr_t and use it in
37226 sigevent.
37227 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37228 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37229 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37230 always remove CLK_TCK definition.
37231
c20105c3
AS
372322012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37233
37234 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37235
7a270350
UD
372362012-02-25 Ulrich Drepper <drepper@gmail.com>
37237
31341567
UD
37238 * conform/run-conformtest.sh: New file.
37239 * conform/Makefile: Run run-conformtest for tests.
37240 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37241 support.
37242
37243 * conform/data/uchar.h-data: New file.
37244 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37245 * conform/data/arpa/inet.h-data: Likewise.
37246 * conform/data/assert.h-data: Likewise.
37247 * conform/data/complex.h-data: Likewise.
37248 * conform/data/cpio.h-data: Likewise.
37249 * conform/data/ctype.h-data: Likewise.
37250 * conform/data/dirent.h-data: Likewise.
37251 * conform/data/dlfcn.h-data: Likewise.
37252 * conform/data/errno.h-data: Likewise.
37253 * conform/data/fcntl.h-data: Likewise.
37254 * conform/data/float.h-data: Likewise.
37255 * conform/data/fmtmsg.h-data: Likewise.
37256 * conform/data/fnmatch.h-data: Likewise.
37257 * conform/data/ftw.h-data: Likewise.
37258 * conform/data/glob.h-data: Likewise.
37259 * conform/data/grp.h-data: Likewise.
37260 * conform/data/iconv.h-data: Likewise.
37261 * conform/data/inttypes.h-data: Likewise.
37262 * conform/data/langinfo.h-data: Likewise.
37263 * conform/data/libgen.h-data: Likewise.
37264 * conform/data/limits.h-data: Likewise.
37265 * conform/data/locale.h-data: Likewise.
37266 * conform/data/math.h-data: Likewise.
37267 * conform/data/monetary.h-data: Likewise.
37268 * conform/data/mqueue.h-data: Likewise.
37269 * conform/data/ndbm.h-data: Likewise.
37270 * conform/data/net/if.h-data: Likewise.
37271 * conform/data/netdb.h-data: Likewise.
37272 * conform/data/netinet/in.h-data: Likewise.
37273 * conform/data/nl_types.h-data: Likewise.
37274 * conform/data/poll.h-data: Likewise.
37275 * conform/data/pthread.h-data: Likewise.
37276 * conform/data/pwd.h-data: Likewise.
37277 * conform/data/regex.h-data: Likewise.
37278 * conform/data/sched.h-data: Likewise.
37279 * conform/data/search.h-data: Likewise.
37280 * conform/data/semaphore.h-data: Likewise.
37281 * conform/data/setjmp.h-data: Likewise.
37282 * conform/data/signal.h-data: Likewise.
37283 * conform/data/spawn.h-data: Likewise.
37284 * conform/data/stdarg.h-data: Likewise.
37285 * conform/data/stdio.h-data: Likewise.
37286 * conform/data/stdlib.h-data: Likewise.
37287 * conform/data/string.h-data: Likewise.
37288 * conform/data/strings.h-data: Likewise.
37289 * conform/data/stropts.h-data: Likewise.
37290 * conform/data/sys/ipc.h-data: Likewise.
37291 * conform/data/sys/mman.h-data: Likewise.
37292 * conform/data/sys/msg.h-data: Likewise.
37293 * conform/data/sys/resource.h-data: Likewise.
37294 * conform/data/sys/select.h-data: Likewise.
37295 * conform/data/sys/sem.h-data: Likewise.
37296 * conform/data/sys/shm.h-data: Likewise.
37297 * conform/data/sys/socket.h-data: Likewise.
37298 * conform/data/sys/stat.h-data: Likewise.
37299 * conform/data/sys/statvfs.h-data: Likewise.
37300 * conform/data/sys/time.h-data: Likewise.
37301 * conform/data/sys/timeb.h-data: Likewise.
37302 * conform/data/sys/times.h-data: Likewise.
37303 * conform/data/sys/types.h-data: Likewise.
37304 * conform/data/sys/uio.h-data: Likewise.
37305 * conform/data/sys/un.h-data: Likewise.
37306 * conform/data/sys/utsname.h-data: Likewise.
37307 * conform/data/sys/wait.h-data: Likewise.
37308 * conform/data/syslog.h-data: Likewise.
37309 * conform/data/tar.h-data: Likewise.
37310 * conform/data/termios.h-data: Likewise.
37311 * conform/data/utime.h-data: Likewise.
37312 * conform/data/utmpx.h-data: Likewise.
37313 * conform/data/varargs.h-data: Likewise.
37314 * conform/data/wchar.h-data: Likewise.
37315 * conform/data/wctype.h-data: Likewise.
37316 * conform/data/wordexp.h-data: Likewise.
37317
37318 * include/stropts.h: New file.
37319 * include/uchar.h: New file.
37320 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37321 * include/assert.h: Likewise.
37322 * include/ctype.h: Likewise.
37323 * include/dirent.h: Likewise.
37324 * include/dlfcn.h: Likewise.
37325 * include/fcntl.h: Likewise.
37326 * include/fnmatch.h: Likewise.
37327 * include/glob.h: Likewise.
37328 * include/grp.h: Likewise.
37329 * include/libio.h: Likewise.
37330 * include/locale.h: Likewise.
37331 * include/math.h: Likewise.
37332 * include/net/if.h: Likewise.
37333 * include/netdb.h: Likewise.
37334 * include/netinet/in.h: Likewise.
37335 * include/pthread.h: Likewise.
37336 * include/pwd.h: Likewise.
37337 * include/regex.h: Likewise.
37338 * include/sched.h: Likewise.
37339 * include/search.h: Likewise.
37340 * include/setjmp.h: Likewise.
37341 * include/signal.h: Likewise.
37342 * include/stdio.h: Likewise.
37343 * include/stdlib.h: Likewise.
37344 * include/string.h: Likewise.
37345 * include/sys/cdefs.h: Likewise.
37346 * include/sys/mman.h: Likewise.
37347 * include/sys/msg.h: Likewise.
37348 * include/sys/resource.h: Likewise.
37349 * include/sys/select.h: Likewise.
37350 * include/sys/socket.h: Likewise.
37351 * include/sys/stat.h: Likewise.
37352 * include/sys/statvfs.h: Likewise.
37353 * include/sys/time.h: Likewise.
37354 * include/sys/times.h: Likewise.
37355 * include/sys/uio.h: Likewise.
37356 * include/sys/utsname.h: Likewise.
37357 * include/sys/wait.h: Likewise.
37358 * include/termios.h: Likewise.
37359 * include/time.h: Likewise.
37360 * include/ulimit.h: Likewise.
37361 * include/unistd.h: Likewise.
37362 * include/utime.h: Likewise.
37363 * include/wchar.h: Likewise.
37364 * include/wctype.h: Likewise.
37365 * include/wordexp.h: Likewise.
37366
37367 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37368
7a270350
UD
37369 * time/time.h: TIME_UTC must be a macro.
37370 Make timespec_get available for ISO C11 only as well.
37371
7724defc
UD
373722012-02-24 Ulrich Drepper <drepper@gmail.com>
37373
37374 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37375 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37376
6b1d1d46
JM
373772012-02-24 Joseph Myers <joseph@codesourcery.com>
37378
37379 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37380
0f8bbd69
JM
373812012-02-24 Joseph Myers <joseph@codesourcery.com>
37382
37383 * manual/texinfo.tex: Update to version 2012-01-19.16.
37384
66ab80bc
JM
373852012-02-24 Joseph Myers <joseph@codesourcery.com>
37386
37387 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37388
74981cc5
RM
373892012-02-24 Roland McGrath <roland@hack.frob.com>
37390
ee968201
RM
37391 [BZ #13738]
37392 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37393 * manual/fdl-1.3.texi: New file.
37394 * manual/fdl-1.1.texi: File removed.
37395
74981cc5
RM
37396 [BZ #13738]
37397 * manual/libc.texinfo (FDL_VERSION): New @set.
37398 Use it for mention of FDL in cover text.
37399 (Documentation License): Use it in @include file name.
37400
7bb764bc
JM
374012012-02-22 Joseph Myers <joseph@codesourcery.com>
37402 Roland McGrath <roland@hack.frob.com>
37403
37404 [BZ #5461]
57f41c40
AS
37405 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37406 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37407 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37408 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37409 name.
37410 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37411
6cbeae47
JM
374122012-02-22 Joseph Myers <joseph@codesourcery.com>
37413
37414 [BZ #2547]
37415 [BZ #11365]
37416 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37417 manipulate bits before adding and subtracting TWO23[sx].
37418 * math/libm-test.inc (nearbyint_test): Add more tests.
37419
fe45ce09
JM
374202012-02-22 Joseph Myers <joseph@codesourcery.com>
37421
37422 [BZ #2548]
37423 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37424 bits before adding and subtracting TWO23[sx].
37425 * math/libm-test.inc (rint_test): Add more tests.
37426 (rint_test_tonearest): Likewise.
37427 (rint_test_towardzero): Likewise.
37428 (rint_test_downward): Likewise.
37429 (rint_test_upward: Likewise.
37430
ff3b3d82
JM
374312012-02-22 Joseph Myers <joseph@codesourcery.com>
37432
37433 [BZ #10110]
37434 * include/stdc-predef.h: New file. Extracted from features.h.
37435 * include/features.h: Include stdc-predef.h.
37436 * Makefile (headers): Add stdc-predef.h.
37437 * CONFORMANCE (Compiler limitations): Update.
37438
ef0aab35
JM
374392012-02-22 Joseph Myers <joseph@codesourcery.com>
37440
37441 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37442
58639409
DM
374432012-02-21 David S. Miller <davem@davemloft.net>
37444
37445 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37446 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37447
c0e70b25
DM
374482012-02-20 David S. Miller <davem@davemloft.net>
37449
37450 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37451 using a normal save/restore sequence, rather than allocating a
37452 dummy stack frame just to store a frame pointer and restore.
37453 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37454
fb06851d
JM
374552012-02-21 Joseph Myers <joseph@codesourcery.com>
37456
37457 * manual/install.texi: Fix stray word in line-wrapped comment.
37458
7a8b71c3
DM
374592012-02-20 David S. Miller <davem@davemloft.net>
37460
d510c123
DM
37461 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37462 both binutils and gcc support GOTDATA.
37463
0722d7c2
DM
37464 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37465 "rd %pc" in the PIC register setup sequences.
37466
3d2b3019
DM
37467 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37468 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37469 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37470 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37471 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37473 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37476 (SYSCALL_ERROR_HANDLER): Likewise.
37477 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37478 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37480 (SYSCALL_ERROR_HANDLER): Likewise.
37481
c80098a9
DM
37482 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37483 (HAVE_GCC_GOTDATA): New.
37484 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37485 relocation support in both binutils and gcc.
37486 * sysdeps/sparc/elf/configure: Regenerate.
37487
3a2545a0
DM
37488 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37489 * sysdeps/sparc/sparc32/elf/configure: Delete.
37490 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37491 * sysdeps/sparc/sparc64/elf/configure: Delete.
37492 * sysdeps/sparc/elf/configure.in: New file.
37493 * sysdeps/sparc/elf/configure: Generate.
37494
7a8b71c3
DM
37495 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37496 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37497 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37498 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37499 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37500
f1e86fca
JM
375012012-02-21 Joseph Myers <joseph@codesourcery.com>
37502
37503 * manual/install.texi: Do not mention specific glibc version
37504 numbers.
37505 * manual/libc.texinfo (VERSION, UPDATED): Update.
37506 (@copying): Use @copyright{} and range of years.
37507
0e7dfaef
JM
375082012-02-21 Joseph Myers <joseph@codesourcery.com>
37509
37510 [BZ #13695]
37511 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37512 [crti.S not in sysdirs] (generated): Do not append.
37513 [crti.S not in sysdirs] (omit-deps): Likewise.
37514 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37515 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37516 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37517 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37518 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37519 Likewise.
37520 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37521 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37522 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37523 * csu/defs.awk: Remove file.
37524 * sysdeps/generic/initfini.c: Likewise.
37525 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37526 variable.
37527 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37528 Likewise.
37529
599af3ca
JM
375302012-02-20 Joseph Myers <joseph@codesourcery.com>
37531
37532 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37533 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37534 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37536 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37537 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37538 <bits/epoll.h>.
37539 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37540 (__EPOLL_PACKED): Define to empty if not defined by
37541 <bits/epoll.h>.
37542 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37544 bits/epoll.h.
37545
0e499750
JM
375462012-02-20 Joseph Myers <joseph@codesourcery.com>
37547
37548 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37549 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37550 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37551 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37552 <bits/timerfd.h>.
37553 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37555 bits/timerfd.h.
37556
5ad91f6e
JM
375572012-02-20 Joseph Myers <joseph@codesourcery.com>
37558
37559 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37560 in C locale.
37561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37562 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37563 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37565
06b99b02
AJ
375662012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37567
37568 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37569 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37570
7638c0fd
AS
375712012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37572
37573 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37574 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37575 defined.
37576 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37577 Likewise.
37578 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37579 entry for 2.16.
37580
92221550
AJ
375812012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37582
37583 * math/w_acos.c: Use non-signaling floating-point comparisons.
37584 * math/w_acosf.c: Likewise.
37585 * math/w_acosh.c: Likewise.
37586 * math/w_acoshf.c: Likewise.
37587 * math/w_acoshl.c: Likewise.
37588 * math/w_acosl.c: Likewise.
37589 * math/w_asin.c: Likewise.
37590 * math/w_asinf.c: Likewise.
37591 * math/w_asinl.c: Likewise.
37592 * math/w_atanh.c: Likewise.
37593 * math/w_atanhf.c: Likewise.
37594 * math/w_atanhl.c: Likewise.
37595 * math/w_exp2.c: Likewise.
37596 * math/w_exp2f.c: Likewise.
37597 * math/w_exp2l.c: Likewise.
37598 * math/w_j0.c: Likewise.
37599 * math/w_j0f.c: Likewise.
37600 * math/w_j0l.c: Likewise.
37601 * math/w_j1.c: Likewise.
37602 * math/w_j1f.c: Likewise.
37603 * math/w_j1l.c: Likewise.
37604 * math/w_jn.c: Likewise.
37605 * math/w_jnf.c: Likewise.
37606 * math/w_log.c: Likewise.
37607 * math/w_log10.c: Likewise.
37608 * math/w_log10f.c: Likewise.
37609 * math/w_log10l.c: Likewise.
37610 * math/w_log2.c: Likewise.
37611 * math/w_log2f.c: Likewise.
37612 * math/w_log2l.c: Likewise.
37613 * math/w_logf.c: Likewise.
37614 * math/w_logl.c: Likewise.
37615 * math/w_sqrt.c: Likewise.
37616 * math/w_sqrtf.c: Likewise.
37617 * math/w_sqrtl.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37621 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37622 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37623
ebaf36eb
JM
376242012-02-19 Joseph Myers <joseph@codesourcery.com>
37625
37626 [BZ #9739]
37627 * manual/string.texi (strnlen): Use correct parameter name in
37628 equivalent expression.
37629
71c254a6
JM
376302012-02-19 Joseph Myers <joseph@codesourcery.com>
37631
37632 [BZ #11174]
37633 * manual/users.texi (seteuid): Consistently use neweuid for
37634 argument name.
37635
16d2c631
JM
376362012-02-19 Joseph Myers <joseph@codesourcery.com>
37637
37638 [BZ #13704]
37639 * manual/nss.texi (Services in the NSS configuration): Correct
37640 list of services in example configuration file.
37641
cd837b09
NB
376422012-02-19 Nick Bowler <nbowler@draconx.ca>
37643
37644 [BZ #11322]
37645 * manual/arith.texi: Remove statements about negative zero
37646 behaving identically to zero.
37647
02c4bbad
JM
376482012-02-18 Joseph Myers <joseph@codesourcery.com>
37649
37650 [BZ #5993]
37651 * manual/install.texi: Do not document upgrading from libc5.
37652
366842e7
JM
376532012-02-18 Joseph Myers <joseph@codesourcery.com>
37654
37655 [BZ #4596]
37656 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37657
dd54084d
DM
376582012-02-18 David S. Miller <davem@davemloft.net>
37659
37660 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37661 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37662 %o7 across the call.
37663 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37664 instead.
37665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37666 SETUP_PIC_REG_LEAF.
37667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37668 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37669 * sysdeps/sparc/crtn.S: Likewise.
37670
2bcc53a3
UD
376712012-02-17 Ulrich Drepper <drepper@gmail.com>
37672
37673 * aout/Makefile: Remove.
37674
09c093b5
RK
376752012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37676
37677 [BZ #13058]
37678 * manual/examples/argp-ex1.c (main): Format definition in GNU
37679 style.
37680 * manual/examples/argp-ex2.c (main): Likewise.
37681 * manual/examples/argp-ex3.c (main): Likewise.
37682 * manual/examples/argp-ex4.c (main): Likewise.
37683 * manual/examples/longopt.c (main): Use new-style prototype
37684 definition.
37685 * manual/examples/strncat.c (main): Specify return type and use
37686 (void) for arguments.
37687 * manual/examples/subopt.c (main): Use char **argv argument.
37688
2ee633a2
JM
376892012-02-17 Joseph Myers <joseph@codesourcery.com>
37690
37691 [BZ #5077]
37692 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37693 rounding modes.
37694
0520adde
FB
376952012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37696
37697 [BZ #6907]
37698 * manual/string.texi (strchr): Change when strchrnul is
37699 recommended.
37700
3f4081cd
DGM
377012012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37702
37703 [BZ #174]
37704 * manual/locale.texi (setlocale): Document LOCPATH.
37705
d1b10e78
JM
377062012-02-17 Joseph Myers <joseph@codesourcery.com>
37707
37708 [BZ #10210]
37709 * manual/process.texi (execle): Move @dots{} before last argument.
37710
79c6869c
PB
377112012-02-17 Paul Bolle <pebolle@tiscali.nl>
37712
37713 [BZ #12047]
37714 * manual/charset.texi (Generic Charset Conversion): Fix typo
37715 (LC_TYPE -> LC_CTYPE).
37716
cc6e48bc
NB
377172012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37718
37719 [BZ #5805]
37720 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37721 (scalbnf): Likewise.
37722 (scalbnl): Likewise.
37723 (scalbln): Likewise.
37724 (scalblnf): Likewise.
37725 (scalblnl): Likewise.
37726 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37727 (vwarnx): Likewise.
37728 (verr): Likewise.
37729 (verrx): Likewise.
37730 * manual/filesys.texi (telldir): Use braces around return type.
37731 * manual/llio.texi (mmap): Add space after comma.
37732 (mmap64): Likewise.
37733 * manual/math.texi (jn): Use @var{} on parameter names.
37734 (jnf): Likewise.
37735 (jnl): Likewise.
37736 (yn): Likewise.
37737 (ynf): Likewise.
37738 (ynl): Likewise.
37739 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37740 line.
37741 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37742 "...".
37743 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37744 (sched_get_priority_max): Likewise.
37745 * manual/signal.texi (sigvec): Add space after comma.
37746 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37747 names.
37748 (if_indextoname): Likewise.
37749 (if_freenameindex): Likewise.
37750 (sendto): Use ',' instead of '.' in prototype.
37751 * manual/startup.texi (syscall): Use @dots{} instead of literal
37752 "...".
37753 * manual/stdio.texi (__fpending): Separate initial words of
37754 paragraph from @deftypefun line.
37755 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37756 "...".
37757 (vsyslog): Use @var{} on parameter names.
37758 * manual/terminal.texi (stty): Use @var{} on parameter names.
37759 * manual/users.texi (getutmp): Use @var{} on parameter names.
37760 (getutmpx): Likewise.
37761
5b23062f
JM
377622012-02-17 Joseph Myers <joseph@codesourcery.com>
37763
37764 [BZ #6884]
37765 * manual/stdio.texi (fopen): Fix typos in description of
37766 ",ccs=STRING".
37767
8dee4833
AJ
377682012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37769
37770 [BZ #4026]
37771 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37772 get clock_id definition.
37773
9078ce93
TS
377742012-02-17 Thomas Schwinge <thomas@schwinge.name>
37775
37776 [BZ #4822]
37777 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37778 (madvise): Cast every argument to void on its own.
37779
3835c55f
JM
377802012-02-17 Joseph Myers <joseph@codesourcery.com>
37781
37782 [BZ #9902]
37783 * manual/startup.texi (Exit Status): Fix typo.
37784
35c47e37
JM
377852012-02-17 Joseph Myers <joseph@codesourcery.com>
37786
37787 [BZ #10140]
37788 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37789 * manual/examples/argp-ex2.c: Likewise.
37790 * manual/examples/argp-ex3.c: Likewise.
37791
e3b69ca7
RH
377922012-02-16 Richard Henderson <rth@redhat.com>
37793
37794 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37795 * sysdeps/s390/s390-32/initfini.c: Remove.
37796 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37797 * sysdeps/s390/s390-64/initfini.c: Remove.
37798
df83af67
KK
377992012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37800
37801 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37802 compiler output for sysdeps/generic/initfini.c.
37803 * sysdeps/sh/elf/initfini.c: Remove file.
37804
f63f3380
DM
378052012-02-16 David S. Miller <davem@davemloft.net>
37806
fb59b3a4
DM
37807 [BZ #11494]
37808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37809
f63f3380
DM
37810 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37811 * sysdeps/sparc/crti.S: New file.
37812 * sysdeps/sparc/crtn.S: New file.
37813 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37814 * sysdeps/sparc/sparc64/Makefile: Likewise.
37815
df6a4a4a
MF
378162012-02-15 Mike Frysinger <vapier@gentoo.org>
37817
6dd8f3dc 37818 [BZ #3335]
df6a4a4a
MF
37819 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37820
1cac7236
RM
378212012-02-15 Roland McGrath <roland@hack.frob.com>
37822
d2c736f8
RM
37823 [BZ #4822]
37824 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37825
1cac7236
RM
37826 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37827 (write, read, close): Likewise.
37828 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37829
8e475601
JM
378302012-02-15 Joseph Myers <joseph@codesourcery.com>
37831
37832 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37833 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37834 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37835 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37836 <bits/signalfd.h>.
37837 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37839 bits/signalfd.h.
37840
ed656b40
MP
378412012-02-14 Marek Polacek <polacek@redhat.com>
37842
37843 * sysdeps/x86_64/crti.S: New file.
37844 * sysdeps/x86_64/crtn.S: New file.
37845 * sysdeps/x86_64/elf/initfini.c: Remove file.
37846
2a979d3a
JM
378472012-02-13 Joseph Myers <joseph@codesourcery.com>
37848
37849 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37850 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37851 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37852 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37853 <bits/inotify.h>.
37854 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37856 bits/inotify.h.
37857
2a418ac3
JM
378582012-02-13 Joseph Myers <joseph@codesourcery.com>
37859
37860 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37861 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37862 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37863 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37864 <bits/eventfd.h>.
37865 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37867 bits/eventfd.h.
37868
fb779be7
TS
378692012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37870
e19e83c5
RM
37871 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37872 __feraiseexcept instead of feraiseexcept.
7c35ffed 37873
fb779be7
TS
37874 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37875 nanosleep invocations.
37876 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37877 strings, and add error checking for a nanosleep invocations.
37878
59ba27a6
PE
378792012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37880
37881 Replace FSF snail mail address with URLs, as per GNU coding standards.
37882 Most of the snail mail addresses were wrong anyway, and omitting
37883 them makes the source code easier to maintain. Almost all of the
37884 changes are to license notices and to locale LC_IDENTIFICATION
37885 addresses, except for this one:
37886 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37887 not its snail mail address.
37888
57b957eb
RH
378892012-02-09 Richard Henderson <rth@twiddle.net>
37890
af850b1c
RH
37891 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37892 of kernel-features.h.
37893
57b957eb
RH
37894 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37895
6b73181a
MP
378962012-02-08 Marek Polacek <polacek@redhat.com>
37897
37898 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37899 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37900 * sysdeps/gnu/_G_config.h: Likewise.
37901 * sysdeps/generic/_G_config.h: Likewise.
37902
26ecc33a
AS
379032012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37904
6c6dbc63
AS
37905 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37906 tests.
37907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37908
e216c012
AS
37909 * sysdeps/powerpc/powerpc32/crti.S: New file.
37910 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37911 * sysdeps/powerpc/powerpc64/crti.S: New file.
37912 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37913
26ecc33a
AS
37914 * Makeconfig (have-initfini): Don't set.
37915 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37916 * configure.in (nopic_initfini): Don't substitute.
37917 * config.h.in (HAVE_INITFINI): Don't #undef.
37918 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37919 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37920
3add8e13
JM
379212012-02-08 Joseph Myers <joseph@codesourcery.com>
37922
37923 Support crti.S and crtn.S provided directly by architectures.
37924 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37925 [crti.S in sysdirs] (omit-deps): Likewise.
37926 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37927 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37928 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37929 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37930 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37931 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37932 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37933 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37934 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37935 compiler output for sysdeps/generic/initfini.c.
37936 * sysdeps/i386/elf/Makefile: Remove file.
37937 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37938
a22f12b4
MP
379392012-02-07 Marek Polacek <polacek@redhat.com>
37940
37941 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37942 * sysdeps/gnu/_G_config.h: Likewise.
37943 * sysdeps/mach/hurd/_G_config.h: Likewise.
37944
148cf100
MP
379452012-02-07 Marek Polacek <polacek@redhat.com>
37946
37947 * math/Makefile (tests): Add tst-CMPLX2.
37948 * math/tst-CMPLX2.c: New file.
37949
cfdc0dd7
AS
379502012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37951
84ba42c4
AS
37952 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37953
cfdc0dd7
AS
37954 * math/libm-test.inc (jn_test): Add missing L suffix.
37955
622c86f4
MP
379562012-02-06 Marek Polacek <polacek@redhat.com>
37957
37958 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37959 * sysdeps/i386/fpu/e_powf.S: Likewise.
37960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37961 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37962 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37963 * sysdeps/i386/fpu/e_pow.S: Likewise.
37964 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37965 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37966 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37967 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37968 * sysdeps/i386/fpu/e_log2.S: Likewise.
37969 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37970 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37971 * sysdeps/i386/fpu/e_powl.S: Likewise.
37972 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37973 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37974 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37975 * sysdeps/i386/fpu/e_logl.S: Likewise.
37976 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37977 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37978 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37979 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37980 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37981 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37982 * sysdeps/i386/fpu/e_log.S: Likewise.
37983 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37984 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37985 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37986 * sysdeps/i386/fpu/e_logf.S: Likewise.
37987 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37988 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37989 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37990 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37991 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37992 * sysdeps/i386/fpu/e_log10.S: Likewise.
37993 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37994 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37995 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37996 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37997 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37998 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37999 * sysdeps/i386/asm-syntax.h: Likewise.
38000 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38001 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38002 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38003 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38004 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38005 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38006 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38007 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38008 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38009 * sysdeps/powerpc/sysdep.h: Likewise.
38010 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38011 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38012
d4a54ac6
JM
380132012-02-06 Joseph Myers <joseph@codesourcery.com>
38014
38015 [BZ #411]
38016 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38017
314054ea
JM
380182012-02-06 Joseph Myers <joseph@codesourcery.com>
38019
38020 * sysdeps/i386/sysdep.h: Include <features.h>.
38021 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38022 version.
38023
d8e0ca50
JM
380242012-02-05 Joseph Myers <joseph@codesourcery.com>
38025
38026 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38027 Define.
38028 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38029 LOAD_PIC_REG_STR.
38030
b1da7dd9
JM
380312012-02-03 Joseph Myers <joseph@codesourcery.com>
38032
38033 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38034 (SETUP_PIC_REG): Use GET_PC_THUNK.
38035 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38036 macro.
38037
9a1d9254
JM
380382012-02-03 Joseph Myers <joseph@codesourcery.com>
38039
38040 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38041 for non-PIC compilation.
38042 (SETUP_PIC_REG): Add .p2align directive.
38043 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38044 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38045 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38046 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38047 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38048 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38049 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38051 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38052 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38053 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38054 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38055 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38056 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38057 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38058 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38059 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38060 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38061 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38062 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38063 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38064 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38065 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38066 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38067 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38069 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38070 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38071 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38072 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38073 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38074 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38075 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38076 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38077 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38078 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38079 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38080 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38081 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38082 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38083 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38084
65dc3b75
JM
380852012-02-03 Joseph Myers <joseph@codesourcery.com>
38086
38087 * math/tst-CMPLX.c: Include <stdio.h>.
38088
d55bf177
JM
380892012-01-31 Joseph Myers <joseph@codesourcery.com>
38090
38091 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38092 float.
38093 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38094 * sysdeps/sparc/bits/mathdef.h: Likewise.
38095
69db4f8f
MP
380962012-01-31 Marek Polacek <polacek@redhat.com>
38097
38098 * libio/libio.h: Don't define _PARAMS.
38099 * locale/programs/config.h: Don't define PARAMS.
38100 * stdlib/strtol_l.c: Likewise.
38101 (__strtol_l): Remove PARAMS from the prototype.
38102
41b81892
UD
381032012-01-31 Ulrich Drepper <drepper@gmail.com>
38104
3b49edc0
UD
38105 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38106 names. Just use the correct names. Remove unnecessary wrapper
38107 functions.
38108 * malloc/arena.c: Likewise.
38109 * malloc/hooks.c: Likewise.
38110
41b81892
UD
38111 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38112 ARENA_TEST says not to. Simplify test for creation of a new arena.
38113 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38114
27a25b6e
UD
381152012-01-30 Ulrich Drepper <drepper@gmail.com>
38116
38117 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38118 into tail calls.
38119 (update_get_addr): New function.
38120 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38121 GET_ADDR_MODULE parameter.
38122
c8a89e7d
JM
381232012-01-30 Joseph Myers <joseph@codesourcery.com>
38124
38125 * crypt/cert.c: Remove __STDC__ conditionals.
38126 * crypt/crypt-entry.c: Likewise.
38127 * crypt/crypt_util.c: Likewise.
38128 * libio/filedoalloc.c: Likewise.
38129 * libio/fileops.c: Likewise.
38130 * libio/genops.c: Likewise.
38131 * libio/iofclose.c: Likewise.
38132 * libio/iofdopen.c: Likewise.
38133 * libio/iofopen.c: Likewise.
38134 * libio/iofopen64.c: Likewise.
38135 * libio/iogetdelim.c: Likewise.
38136 * libio/iopopen.c: Likewise.
38137 * libio/obprintf.c: Likewise.
38138 * libio/oldfileops.c: Likewise.
38139 * libio/oldiofclose.c: Likewise.
38140 * libio/oldiofdopen.c: Likewise.
38141 * libio/oldiofopen.c: Likewise.
38142 * libio/oldiopopen.c: Likewise.
38143 * libio/wfiledoalloc.c: Likewise.
38144 * libio/wgenops.c: Likewise.
38145 * locale/programs/xmalloc.c: Likewise.
38146 * misc/syslog.c: Likewise.
38147 * stdio-common/xbug.c: Likewise.
38148 * string/memchr.c: Likewise.
38149 * string/memcmp.c: Likewise.
38150 * string/memrchr.c: Likewise.
38151 * string/rawmemchr.c: Likewise.
38152 * sysdeps/posix/getcwd.c: Likewise.
38153 * time/strftime_l.c: Likewise.
38154
3b100462
JM
381552012-01-30 Joseph Myers <joseph@codesourcery.com>
38156
38157 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38158 * config.make.in (config-cflags-sse2avx): Define.
38159 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38160 Fix typo.
38161
607998af
CM
381622012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38163
38164 * scripts/config.guess: Update from upstream config git repository.
38165 * scripts/config.sub: Likewise.
38166
3601428f
CM
381672012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38168
3ac8b282
CM
38169 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38170 (EM_NUM): Update.
38171 (R_TILEPRO_*, R_TILEGX_*): New macros.
38172
e034841e
CM
38173 * scripts/firstversions.awk: Fix bug in version range handling.
38174
540d7568
CM
38175 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38176
3601428f
CM
38177 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38178
463de862
CM
38179 * include/sys/epoll.h: New file.
38180 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38181 libc_hidden_def.
38182
73139a76
UD
381832012-01-28 Ulrich Drepper <drepper@gmail.com>
38184
96bc5b45
UD
38185 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38186 Avoid unnecessary __WORDSIZE == 64 test.
38187 (fmaxf): Use VEX format if possible.
38188 (fmax): Likewise.
38189 (fminf): Likewise.
38190 (fmin): Likewise.
38191
56f6f6a2
UD
38192 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38193 * math/math_private.h: Remove libc_fegetround* and
38194 libc_fesetround*.
38195 * sysdeps/i386/configure.in: Check for -msse2avx.
38196 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38197 also if SSE2AVX is defined.
38198 Remove libc_fegetround* and libc_fesetround*.
38199 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38200 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38202 of HAS_YMM_USABLE.
38203 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38204 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38206 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38207 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38208
73139a76
UD
38209 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38210
d73f93a4
AZ
382112012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38212
38213 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38214 size is not set.
38215 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38216
6ee65ed6
UD
382172012-01-27 Ulrich Drepper <drepper@gmail.com>
38218
38219 [BZ #13618]
38220 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38221 relocation.
38222 * Makeconfig (libm): Define.
38223 * elf/Makefile: Add rules to build and run tst-relsort1.
38224 * elf/tst-relsort1.c: New file.
38225 * elf/tst-relsort1mod1.c: New file.
38226 * elf/tst-relsort1mod2.c: New file.
38227
8db21882
JM
382282012-01-27 Joseph Myers <joseph@codesourcery.com>
38229
38230 * math/s_ldexp.c: Remove __STDC__ conditionals.
38231 * math/s_ldexpf.c: Likewise.
38232 * math/s_ldexpl.c: Likewise.
38233 * math/s_nextafter.c: Likewise.
38234 * math/s_nexttowardf.c: Likewise.
38235 * math/s_significand.c: Likewise.
38236 * math/s_significandf.c: Likewise.
38237 * math/s_significandl.c: Likewise.
38238 * math/w_jnl.c: Likewise.
38239 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38240 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38241 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38242 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38243 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38245 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38246 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38247 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38248 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38249 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38251 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38252 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38253 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38254 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38255 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38256 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38258 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38259 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38260 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38261 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38262 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38263 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38264 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38265 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38266 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38267 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38268 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38269 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38270 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38271 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38272 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38273 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38274 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38275 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38276 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38277 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38278 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38279 * sysdeps/ieee754/k_standard.c: Likewise.
38280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38281 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38282 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38283 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38284 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38285 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38288 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38289 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38290 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38291 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38293 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38294 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38296 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38297 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38298 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38299 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38339 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38341 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38342 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38344 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38346 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38349 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38353 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38354 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38355 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38359 * sysdeps/ieee754/s_matherr.c: Likewise.
38360 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38361 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38364
965a54a4
JM
383652012-01-26 Joseph Myers <joseph@codesourcery.com>
38366
38367 * crypt/md5.h: Remove __STDC__ conditionals.
38368 * libio/libioP.h: Likewise.
38369 * locale/programs/config.h: Likewise.
38370 * sysdeps/generic/sysdep.h: Likewise.
38371 * sysdeps/i386/asm-syntax.h: Likewise.
38372 * sysdeps/s390/asm-syntax.h: Likewise.
38373 * sysdeps/unix/sysdep.h: Likewise.
38374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38376
7071ad79
JM
383772012-01-26 Joseph Myers <joseph@codesourcery.com>
38378
38379 * libio/libio.h: Remove __STDC__ conditionals.
38380 * malloc/obstack.h: Likewise.
38381 * math/complex.h: Likewise.
38382 * math/math.h: Likewise.
38383 * sysdeps/generic/_G_config.h: Likewise.
38384 * sysdeps/gnu/_G_config.h: Likewise.
38385 * sysdeps/mach/hurd/_G_config.h: Likewise.
38386 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38387 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38388 * sysdeps/sparc/bits/mathdef.h: Likewise.
38389
afc5ed09
UD
383902012-01-26 Ulrich Drepper <drepper@gmail.com>
38391
38392 [BZ #13583]
38393 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38394 Clean up HAS_* macros.
afc5ed09 38395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38396 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38397 possible.
38398 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38399 HAS_AVX.
38400 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38401 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38402 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38403 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38405
bdb6de1d
JM
384062012-01-25 Joseph Myers <joseph@codesourcery.com>
38407
38408 * elf/tst-unique3.cc (gets): Remove declaration.
38409 * elf/tst-unique3lib.cc (gets): Likewise.
38410 * elf/tst-unique3lib2.cc (gets): Likewise.
38411 * elf/tst-unique4.cc (gets): Likewise.
38412
b15549e6
UD
384132012-01-24 Ulrich Drepper <drepper@gmail.com>
38414
38415 * include/stdio.h: Add C++ protection. Add gets declarations and
38416 definitions.
38417 * debug/tst-chk1.c: Don't declare gets here.
38418 * stdio-common/tst-gets.c: Likewise.
38419
a037381f
JM
384202012-01-24 Joseph Myers <joseph@codesourcery.com>
38421
38422 * posix/glob: Remove directory.
38423
f1d4aa75
JM
384242012-01-24 Joseph Myers <joseph@codesourcery.com>
38425
38426 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38427
81c0c964
PT
384282012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38429
38430 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38431 of the non-standard EPFNOSUPPORT.
38432
0ea698ae
ST
384332011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38434
38435 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38436 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38437 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38438
d220b117
UD
384392012-01-21 Ulrich Drepper <drepper@gmail.com>
38440
38441 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38442
3e1aa84e
UD
384432012-01-20 Ulrich Drepper <drepper@gmail.com>
38444
38445 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38446 transient errors.
38447 * nscd/grpcache.c (cache_addgr): Likewise.
38448 * nscd/hstcache.c (cache_addhst): Likewise.
38449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38450 * nscd/pwdcache.c (cache_addpw): Likewise.
38451 * nscd/servicescache.c (cache_addserv): Likewise.
38452
400aa020
UD
384532012-01-16 Ulrich Drepper <drepper@gmail.com>
38454
d77e7869
UD
38455 * malloc/malloc.c: Various cleanups.
38456 * malloc/hooks.c: Likewise.
38457
400aa020
UD
38458 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38459 * stdlib/bug-fmtmsg1.c: New file.
38460
38461 * stdlib/fmtmsg.c (init): Add missing unlock.
38462 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38463
e0a309cf
MP
384642012-01-12 Marek Polacek <polacek@redhat.com>
38465
38466 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38467 and _GNU_SOURCE.
38468
929d11c7
WS
384692012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38470
38471 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38472 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38473 macro to ensure uniqueness of label name.
38474 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38475 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38476
41d0e869
UD
384772012-01-11 Ulrich Drepper <drepper@gmail.com>
38478
0cc5ed3b
UD
38479 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38480
41d0e869
UD
38481 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38482 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38483 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38484 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38485
a47a831a
UD
384862012-01-10 Ulrich Drepper <drepper@gmail.com>
38487
daa891c0
UD
38488 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38489
38490 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38491 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38492 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38493
e58ef0f2
UD
38494 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38495
a47a831a 38496 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38497 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38498 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38499 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38500
38501 * math/bits/math-finite.h: Add ldexp support.
38502
a0bfc9c7
MP
385032012-01-10 Marek Polacek <polacek@redhat.com>
38504
38505 * locale/programs/localedef.h (show_archive_content): Add noreturn
38506 attribute.
38507
d6e97a1d
UD
385082012-01-09 Ulrich Drepper <drepper@gmail.com>
38509
38510 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38511
d5835c26
UD
385122012-01-08 Ulrich Drepper <drepper@gmail.com>
38513
e5f484c6
UD
38514 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38515
d5835c26
UD
38516 * io/Makefile (headers): Add bits/poll2.h.
38517
d1f741e9
WS
385182011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38519
38520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38521 typo #include statement.
38522
ec09c1c4
UD
385232012-01-08 Ulrich Drepper <drepper@gmail.com>
38524
38525 * include/sys/cdefs.h: Define __attribute_alloc_size.
38526 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38527 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38528 * elf/pldd.c: Likewise.
38529 * iconv/iconv_charmap.c: Likewise.
38530 * iconv/iconvconfig.c: Likewise.
38531 * iconv/strtab.c: Likewise.
38532 * locale/programs/locale.c: Likewise.
38533 * locale/programs/localedef.h: Likewise.
38534 * locale/programs/simple-hash.c: Likewise.
38535 * nscd/nscd.h: Likewise.
38536 * nss/makedb.c: Likewise.
38537 * sysdeps/generic/ldconfig.h: Likewise.
38538 * locale/programs/localedef.c: Remove xmalloc prototype.
38539 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38540
20b38e03
PP
385412012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38542
38543 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38544 appropriate.
38545
a0da5fe1
UD
385462012-01-08 Ulrich Drepper <drepper@gmail.com>
38547
1d5a644a 38548 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38549 * math/tst-CMPLX.c: New file.
1d5a644a 38550
8784a6db
UD
38551 * math/complex.h (CMPLXL): Fix typo.
38552
d9a216c0
UD
38553 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38554 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38555 GLIBC_2.16.
38556 * debug/tst-chk1.c: Add poll and ppoll tests.
38557 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38558 * include/sys/poll.h: Add hidden proto for ppoll.
38559 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38560 * sysdeps/mach/hurd/ppoll.c: Likewise.
38561 * io/ppoll.c: Likewise.
38562 * debug/poll_chk.c: New file.
38563 * debug/ppoll_chk.c: New file.
38564 * include/bits/poll2.h: New file.
38565 * io/bits/poll2.h: New file.
38566
ac097f5c
UD
38567 [BZ #1350]
38568 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38569
2119dcfa
UD
38570 * configure.in: static is always set to yes. Remove.
38571 * config.make.in: Don't set build-static.
38572 * Makeconfig: Remove use of build-static.
38573 * dlfcn/Makefile: Likewise.
38574 * elf/Makefile: Likewise.
38575 * math/Makefile: Likewise.
38576 * misc/Makefile: Likewise.
38577 * nptl/Makefile: Likewise.
38578 * sysdeps/mach/hurd/Makefile: Likewise.
38579
121766a9
UD
38580 * configure.in: PWD_P is not used anymore.
38581 * config.make.in: Remove PWD_P entry.
38582
51a1d39c 38583 * configure.in: Remove last remnants of RANLIB.
8720d066 38584 No need to check for signed size_t anymore.
215f4bdc
UD
38585 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38586 and IA-64.
3857022a 38587 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38588 * aclocal.m4: Likewise.
38589
d3ed7225
UD
38590 * wcsmbs/mbrtoc16.c: Implement using towc function.
38591 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38592 * wcsmbs/wcsmbsload.c: Likewise.
38593 * iconv/gconv_simple.c: Likewise.
38594 * iconv/gconv_int.h: Likewise.
38595 * iconv/gconv_builtin.h: Likewise.
38596 * iconv/iconv_prog.c: Remove CHAR16 handling.
38597
38598 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38599
38600 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38601
a0da5fe1
UD
38602 * configure.in: Remove --with-elf and --enable-bounded options.
38603 Dont set base_machine for ia64. More non-ELF conditions removed.
38604 Remove testing and setting of leading underscore information.
38605 * config.make.in (build-bounded): Set to no.
38606 * config.h.in: Remove NO_UNDERSCORES entry.
38607 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38608 them.
38609 * csu/start.c: Remove !NO_UNDERSCORE code.
38610 * locale/localeinfo.h: Likewise.
38611 * sysdeps/generic/machine-gmon.h: Likewise.
38612 * sysdeps/generic/sysdep.h: Likewise.
38613 * sysdeps/i386/sysdep.h: Likewise.
38614 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38615 * sysdeps/mach/sysdep.h: Likewise.
38616 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38617 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38618 * sysdeps/sh/sysdep.h: Likewise.
38619 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38620 * sysdeps/unix/i386/sysdep.S: Likewise.
38621 * sysdeps/unix/sparc/start.c: Likewise.
38622 * sysdeps/unix/sparc/sysdep.S: Likewise.
38623 * sysdeps/unix/sparc/sysdep.h: Likewise.
38624 * sysdeps/unix/start.c: Likewise.
38625 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38626 * sysdeps/x86_64/sysdep.h: Likewise.
38627
df78418a
UD
386282012-01-07 Ulrich Drepper <drepper@gmail.com>
38629
a784e502
UD
38630 [BZ #13553]
38631 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38632 for non-gcc.
38633 * argp/argp-fmtstream.h: Use const instead __const.
38634 * argp/argp.h: Likewise.
38635 * assert/assert.h: Likewise.
38636 * bits/fenv.h: Likewise.
38637 * bits/sched.h: Likewise.
38638 * bits/sigset.h: Likewise.
38639 * bits/sigthread.h: Likewise.
38640 * catgets/nl_types.h: Likewise.
38641 * conform/data/pthread.h-data: Likewise.
38642 * crypt/crypt-private.h: Likewise.
38643 * crypt/crypt.h: Likewise.
38644 * crypt/crypt_util.c: Likewise.
38645 * ctype/ctype.h: Likewise.
38646 * debug/execinfo.h: Likewise.
38647 * debug/mbsnrtowcs_chk.c: Likewise.
38648 * debug/mbsrtowcs_chk.c: Likewise.
38649 * debug/wcsnrtombs_chk.c: Likewise.
38650 * debug/wcsrtombs_chk.c: Likewise.
38651 * debug/wcstombs_chk.c: Likewise.
38652 * dirent/dirent.h: Likewise.
38653 * dlfcn/dlfcn.h: Likewise.
38654 * elf/neededtest4.c: Likewise.
38655 * grp/grp.h: Likewise.
38656 * gshadow/gshadow.h: Likewise.
38657 * iconv/gconv.h: Likewise.
38658 * iconv/gconv_int.h: Likewise.
38659 * iconv/gconv_simple.c: Likewise.
38660 * iconv/iconv.h: Likewise.
38661 * iconv/loop.c: Likewise.
38662 * iconv/skeleton.c: Likewise.
38663 * include/aio.h: Likewise.
38664 * include/aliases.h: Likewise.
38665 * include/argz.h: Likewise.
38666 * include/arpa/inet.h: Likewise.
38667 * include/assert.h: Likewise.
38668 * include/dirent.h: Likewise.
38669 * include/dlfcn.h: Likewise.
38670 * include/execinfo.h: Likewise.
38671 * include/fcntl.h: Likewise.
38672 * include/fenv.h: Likewise.
38673 * include/glob.h: Likewise.
38674 * include/grp.h: Likewise.
38675 * include/libintl.h: Likewise.
38676 * include/mntent.h: Likewise.
38677 * include/netdb.h: Likewise.
38678 * include/pwd.h: Likewise.
38679 * include/rpc/netdb.h: Likewise.
38680 * include/sched.h: Likewise.
38681 * include/search.h: Likewise.
38682 * include/shadow.h: Likewise.
38683 * include/signal.h: Likewise.
38684 * include/stdio.h: Likewise.
38685 * include/stdlib.h: Likewise.
38686 * include/string.h: Likewise.
38687 * include/sys/socket.h: Likewise.
38688 * include/sys/stat.h: Likewise.
38689 * include/sys/statfs.h: Likewise.
38690 * include/sys/statvfs.h: Likewise.
38691 * include/sys/syslog.h: Likewise.
38692 * include/sys/time.h: Likewise.
38693 * include/sys/uio.h: Likewise.
38694 * include/time.h: Likewise.
38695 * include/unistd.h: Likewise.
38696 * include/utmp.h: Likewise.
38697 * include/wchar.h: Likewise.
38698 * include/wctype.h: Likewise.
38699 * inet/aliases.h: Likewise.
38700 * inet/arpa/inet.h: Likewise.
38701 * inet/netinet/ether.h: Likewise.
38702 * inet/netinet/in.h: Likewise.
38703 * intl/libintl.h: Likewise.
38704 * io/bits/fcntl2.h: Likewise.
38705 * io/fcntl.h: Likewise.
38706 * io/ftw.h: Likewise.
38707 * io/sys/poll.h: Likewise.
38708 * io/sys/stat.h: Likewise.
38709 * io/sys/statfs.h: Likewise.
38710 * io/sys/statvfs.h: Likewise.
38711 * io/utime.h: Likewise.
38712 * libio/bits/stdio.h: Likewise.
38713 * libio/bits/stdio2.h: Likewise.
38714 * libio/libio.h: Likewise.
38715 * libio/libioP.h: Likewise.
38716 * libio/stdio.h: Likewise.
38717 * locale/lc-ctype.c: Likewise.
38718 * locale/locale.h: Likewise.
38719 * login/utmp.h: Likewise.
38720 * malloc/arena.c: Likewise.
38721 * malloc/malloc.c: Likewise.
38722 * malloc/malloc.h: Likewise.
38723 * malloc/mcheck.c: Likewise.
38724 * malloc/mtrace.c: Likewise.
38725 * math/bits/mathcalls.h: Likewise.
38726 * math/fenv.h: Likewise.
38727 * math/math_private.h: Likewise.
38728 * misc/bits/error.h: Likewise.
38729 * misc/bits/syslog.h: Likewise.
38730 * misc/err.h: Likewise.
38731 * misc/error.h: Likewise.
38732 * misc/fstab.h: Likewise.
38733 * misc/mntent.h: Likewise.
38734 * misc/regexp.h: Likewise.
38735 * misc/search.h: Likewise.
38736 * misc/sgtty.h: Likewise.
38737 * misc/sys/mman.h: Likewise.
38738 * misc/sys/syslog.h: Likewise.
38739 * misc/sys/uio.h: Likewise.
38740 * misc/sys/xattr.h: Likewise.
38741 * misc/ttyent.h: Likewise.
38742 * nis/rpcsvc/ypclnt.h: Likewise.
38743 * nss/nss.h: Likewise.
38744 * posix/bits/unistd.h: Likewise.
38745 * posix/fnmatch.h: Likewise.
38746 * posix/glob.h: Likewise.
38747 * posix/sched.h: Likewise.
38748 * posix/spawn.h: Likewise.
38749 * posix/sys/wait.h: Likewise.
38750 * posix/unistd.h: Likewise.
38751 * posix/wordexp.h: Likewise.
38752 * pwd/pwd.h: Likewise.
38753 * resolv/netdb.h: Likewise.
38754 * resource/sys/resource.h: Likewise.
38755 * rt/aio.h: Likewise.
38756 * rt/bits/mqueue2.h: Likewise.
38757 * rt/mqueue.h: Likewise.
38758 * shadow/shadow.h: Likewise.
38759 * signal/signal.h: Likewise.
38760 * socket/send.c: Likewise.
38761 * socket/sendto.c: Likewise.
38762 * socket/sys/socket.h: Likewise.
38763 * stdio-common/printf.h: Likewise.
38764 * stdlib/bits/stdlib.h: Likewise.
38765 * stdlib/fmtmsg.h: Likewise.
38766 * stdlib/monetary.h: Likewise.
38767 * stdlib/stdlib.h: Likewise.
38768 * stdlib/ucontext.h: Likewise.
38769 * streams/stropts.h: Likewise.
38770 * string/argz.h: Likewise.
38771 * string/bits/string2.h: Likewise.
38772 * string/string.h: Likewise.
38773 * string/strings.h: Likewise.
38774 * sunrpc/rpc/auth.h: Likewise.
38775 * sunrpc/rpc/auth_des.h: Likewise.
38776 * sunrpc/rpc/clnt.h: Likewise.
38777 * sunrpc/rpc/netdb.h: Likewise.
38778 * sunrpc/rpc/pmap_clnt.h: Likewise.
38779 * sunrpc/rpc/xdr.h: Likewise.
38780 * sysdeps/generic/inttypes.h: Likewise.
38781 * sysdeps/generic/net/if.h: Likewise.
38782 * sysdeps/generic/sys/swap.h: Likewise.
38783 * sysdeps/gnu/net/if.h: Likewise.
38784 * sysdeps/gnu/utmpx.h: Likewise.
38785 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38786 * sysdeps/i386/i486/bits/string.h: Likewise.
38787 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38788 * sysdeps/s390/bits/string.h: Likewise.
38789 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38790 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38791 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38792 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38793 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38794 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38795 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38796 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38797 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38798 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38799 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38800 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38801 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38802 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38803 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38804 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38805 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38807 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38808 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38809 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38810 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38811 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38812 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38813 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38814 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38815 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38816 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38817 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38818 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38819 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38820 * sysvipc/sys/ipc.h: Likewise.
38821 * sysvipc/sys/msg.h: Likewise.
38822 * sysvipc/sys/sem.h: Likewise.
38823 * sysvipc/sys/shm.h: Likewise.
38824 * termios/termios.h: Likewise.
38825 * time/sys/time.h: Likewise.
38826 * time/time.h: Likewise.
38827 * wcsmbs/bits/wchar2.h: Likewise.
38828 * wcsmbs/uchar.h: Likewise.
38829 * wcsmbs/wchar.h: Likewise.
38830 * wctype/wctype.h: Likewise.
38831
0269750c
UD
38832 [BZ #13551]
38833 * Makeconfig: Remove all but ELF support including AIX support.
38834 * Makerules: Likewise.
38835 * config.h.in: Likewise.
38836 * config.make.in: Likewise.
38837 * configure: Likewise.
38838 * configure.in: Likewise.
38839 * csu/Makefile: Likewise.
38840 * csu/version.c: Likewise.
38841 * debug/Makefile: Likewise.
38842 * dlfcn/Makefile: Likewise.
38843 * elf/Makefile: Likewise.
38844 * extra-lib.mk: Likewise.
38845 * iconv/Makefile: Likewise.
38846 * include/libc-symbols.h: Likewise.
38847 * include/shlib-compat.h: Likewise.
38848 * resolv/Makefile: Likewise.
38849 * resolv/res_libc.c: Likewise.
38850 * rt/Makefile: Likewise.
38851 * sysdeps/i386/asm-syntax.h: Likewise.
38852 * sysdeps/i386/sysdep.h: Likewise.
38853 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38854 * sysdeps/mach/sysdep.h: Likewise.
38855 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38856 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38857 * sysdeps/s390/asm-syntax.h: Likewise.
38858 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38860 * sysdeps/sh/sysdep.h: Likewise.
38861 * sysdeps/unix/sparc/sysdep.h: Likewise.
38862 * sysdeps/wordsize-32/divdi3.c: Likewise.
38863 * sysdeps/x86_64/sysdep.h: Likewise.
38864
00bbd29b
UD
38865 * argp/Versions: Remove _argp_unlock_xxx.
38866
38867 [BZ #13559]
38868 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38869 * abilist/libBrokenLocale.abilist: Likewise.
38870 * abilist/libanl.abilist: Likewise.
38871 * abilist/libc.abilist: Likewise.
38872 * abilist/libcrypt.abilist: Likewise.
38873 * abilist/libdl.abilist: Likewise.
38874 * abilist/libm.abilist: Likewise.
38875 * abilist/libnsl.abilist: Likewise.
38876 * abilist/libpthread.abilist: Likewise.
38877 * abilist/libresolv.abilist: Likewise.
38878 * abilist/librt.abilist: Likewise.
38879 * abilist/libthread_db.abilist: Likewise.
38880 * abilist/libutil.abilist: Likewise.
38881 * abilist/libnss_db.abilist: New file.
38882
38883 * scripts/abilist.awk: Add support for indirect functions.
38884
a2693a0e
UD
38885 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38886
3f05895f
UD
38887 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38888
ecb6fb48
UD
38889 * shlib-versions: Remove entries for ports architectures.
38890
664f8cb9
UD
38891 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38892 files in ports.
38893 * elf/stackguard-macros.h: Remove support for IA-64.
38894 * elf/tst-auditmod1.c: Likewise.
38895 * sysdeps/generic/ldsodefs.h: Likewise.
38896
7ae81d88
UD
38897 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38898 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38899 configure files.
38900
bdeba135
UD
38901 [BZ #13552]
38902 * configure.in: Remove --enable-omitfp support.
38903 * FAQ.in: Adjust.
38904 * config.make.in: Likewise.
38905 * Makeconfig: Likewise.
38906 * manual/install.texi: Likewise.
38907
d75a0a62
UD
38908 In case anyone cares, the IA-64 architecture could move to ports.
38909 * sysdeps/ia64/*: Removed.
38910 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38911 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38912
dcc9756b
UD
38913 [BZ #13555]
38914 * configure.in: Remove entries for unsupported architectures.
38915
d3761ebc 38916 [BZ #13533]
9954432e
UD
38917 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38918 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38919 routines.
38920 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38921 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38922 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38923 fall back to using wcrtomb.
38924 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38925 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38926 renaming.
38927 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38928 * wcsmbs/tst-c16c32-1.c: New file.
38929
38930 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38931 local variable.
38932
c3a87236
UD
38933 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38934
28926a1b
UD
38935 * elf/tst-unique3.cc: Add explicit declaration of gets.
38936 * elf/tst-unique3lib.cc: Likewise.
38937 * elf/tst-unique3lib2.cc: Likewise.
38938 * elf/tst-unique4.cc: Likewise.
38939
df78418a
UD
38940 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38941
8ecd6b2a
JM
389422012-01-06 Joseph Myers <joseph@codesourcery.com>
38943
38944 [BZ #13566]
38945 * assert/assert.h (static_assert): Don't define for C++.
38946 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38947 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38948
9f115170
UD
389492012-01-03 Ulrich Drepper <drepper@gmail.com>
38950
5e0d0300
UD
38951 * iconv/loop.c (single loop): Fix assertion in storing of
38952 remaining bytes.
38953
9f115170
UD
38954 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38955
81fb02b0
UD
389562012-01-01 Ulrich Drepper <drepper@gmail.com>
38957
38958 * posix/getconf.c: Update copyright year.
38959 * nss/getent.c: Likewise.
a316c1f6 38960 * nss/makedb.c: Likewise.
81fb02b0
UD
38961 * iconv/iconvconfig.c: Likewise.
38962 * iconv/iconv_prog.c: Likewise.
38963 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38964 * elf/pldd.c: Likewise.
38965 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38966 * catgets/gencat.c: Likewise.
38967 * csu/version.c: Likewise.
38968 * elf/ldd.bash.in: Likewise.
38969 * elf/sprof.c (print_version): Likewise.
38970 * locale/programs/locale.c: Likewise.
38971 * locale/programs/localedef.c: Likewise.
a316c1f6 38972 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38973 * nscd/nscd.c (print_version): Likewise.
38974 * debug/xtrace.sh: Likewise.
38975 * malloc/memusage.sh: Likewise.
38976 * malloc/mtrace.pl: Likewise.
38977 * debug/catchsegv.sh: Likewise.
38978
2ba92745
JJ
389792011-12-30 Jakub Jelinek <jakub@redhat.com>
38980
38981 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38982 pure attribute.
38983
dadebdae
UD
389842011-12-24 Ulrich Drepper <drepper@gmail.com>
38985
d3761ebc 38986 [BZ #13533]
db6af3eb
UD
38987 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38988 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38989 transformations.
38990 * iconv/gconv_int.h: Likewise.
38991 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38992 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38993 from libc for GLIBC_2.16.
38994 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38995 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38996 * wcsmbs/uchar.h: Really define mbstate_t.
38997 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38998 * wcsmbs/c16rtomb.c: New file.
38999 * wcsmbs/mbrtoc16.c: New file.
39000 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39001 for C/POSIX locale.
39002 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39003 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39004
dadebdae
UD
39005 * wcsmbs/wchar.h: Add missing __restrict.
39006
67371b56
UD
390072011-12-23 Ulrich Drepper <drepper@gmail.com>
39008
74033a25
UD
39009 [BZ #13532]
39010 * time/Makefile (routines): Add timespec_get.
39011 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39012 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39013 timespec for ISO C11.
39014 * time/timespec_get.c: New file.
39015 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39016 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39017
380d7e87
UD
39018 [BZ #13531]
39019 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39020 * stdlib/stdlib.h: Declare aligned_alloc.
39021 * Versions.def: Add GLIBC_2.16 for libc.
39022 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39023
4e9e7a35
UD
39024 [BZ 13527]
39025 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39026 ISO C11.
39027
380d7e87 39028 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39029 code.
39030
03a71829
UD
39031 [BZ #13528]
39032 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39033
839e283e
UD
39034 [BZ #13529]
39035 * assert/assert.h (static_assert): Define.
39036
ce5294e2 39037 * version.h: Update for 2.16 development version.
90fa7312 39038
8d44e150 39039 [BZ #13526]
d7809905
UD
39040 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39041 _ISOC11_SOURCE.
39042
c0da14cd
UD
39043 * version.h (RELEASE): Bump for 2.15 release.
39044 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39045
530a3249
MP
39046 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39047 Patch by Marek Polacek <mpolacek@redhat.com>.
39048
67371b56
UD
39049 * bits/byteswap.h: Protect long long constants with __extension__.
39050 * sysdeps/i386/bits/byteswap.h: Likewise.
39051 * sysdeps/ia64/bits/byteswap.h: Likewise.
39052 * sysdeps/s390/bits/byteswap.h: Likewise.
39053 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39054
15db4de1
LD
390552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39056
39057 [BZ #13540]
bbe315ea
LD
39058 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39059 destination buffer.
15db4de1
LD
39060 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39061
2b2596b1
MP
390622011-12-23 Marek Polacek <polacek@redhat.com>
39063
39064 * elf/dl-addr.c (determine_info): Add inline keyword.
39065 * elf/tst-auditmod4b.c (check_avx): Likewise.
39066 * elf/tst-auditmod6b.c (check_avx): Likewise.
39067 * elf/tst-auditmod6c.c (check_avx): Likewise.
39068 * elf/tst-auditmod7b.c (check_avx): Likewise.
39069
70c6c246
UD
390702011-12-23 Ulrich Drepper <drepper@gmail.com>
39071
39072 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39073 !__SSE_MATH__.
39074
c044cf14
LD
390752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39076
15db4de1 39077 [BZ #13540]
c044cf14
LD
39078 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39079 processing for last bytes.
39080
6b13d9d9
BH
390812011-08-06 Bruno Haible <bruno@clisp.org>
39082
d455f537
BH
39083 [BZ #13061]
39084 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39085 U+0385, not to U+1FEE.
39086
6b13d9d9
BH
39087 [BZ #13062]
39088 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39089 entry for U+00A5 U+0301.
39090
db910efd
UD
390912011-12-22 Ulrich Drepper <drepper@gmail.com>
39092
27deeafc
UD
39093 [BZ #13166]
39094 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39095 buffer for the output is too small.
39096
aed9d171
UD
39097 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39098 optimization.
39099
db910efd
UD
39100 [BZ #13185]
39101 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39102 SSE flags if possible.
39103
2bd779ae
LD
391042011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39105
e7f9dac3 39106 [BZ #13540]
2bd779ae
LD
39107 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39108 processing for last bytes.
39109
154bfc16
JM
391102011-12-22 Joseph Myers <joseph@codesourcery.com>
39111
39112 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39113 (syscall-list-default-options, syscall-list-default-condition)
39114 (syscall-list-includes): Define.
39115 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39116 list of ABIs and options and #if conditions for each ABI. Do not
39117 handle common syscalls between ABIs specially.
39118 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39119 Remove.
39120 (syscall-list-variants, syscall-list-32bit-options)
39121 (syscall-list-32bit-condition, syscall-list-64bit-options)
39122 (syscall-list-64bit-condition): Define.
39123 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39124 (syscall-list-variants, syscall-list-32bit-options)
39125 (syscall-list-32bit-condition, syscall-list-64bit-options)
39126 (syscall-list-64bit-condition): Define.
39127 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39128 Remove.
39129 (syscall-list-variants, syscall-list-32bit-options)
39130 (syscall-list-32bit-condition, syscall-list-64bit-options)
39131 (syscall-list-64bit-condition): Define.
39132 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39133 Remove.
39134 (syscall-list-variants, syscall-list-32bit-options)
39135 (syscall-list-32bit-condition, syscall-list-64bit-options)
39136 (syscall-list-64bit-condition): Define.
39137
21eaf3a5
UD
391382011-12-22 Ulrich Drepper <drepper@gmail.com>
39139
16c6f992
UD
39140 * locale/iso-639.def: Add brx entry.
39141
41043168
UD
39142 [BZ #13328]
39143 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39144 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39145
21eaf3a5
UD
39146 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39147 __feraiseexcept_renamed.
39148
e3a851a2
UD
391492011-12-21 Ulrich Drepper <drepper@gmail.com>
39150
4920765e
UD
39151 [BZ #13538]
39152 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39153 EPOLLET with unsigned values.
39154 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39155 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39156
e3a851a2
UD
39157 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39158 to large cancellation.
39159 * math/s_cacoshf.c: Likewise.
39160 * math/s_cacoshl.c: Likewise.
39161
b27e24b8
RK
391622011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39163
39164 [BZ #13305]
aebefeee 39165 [BZ #12786]
b27e24b8
RK
39166 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39167 * math/s_cacoshf.c: Likewise.
39168 * math/s_cacoshl.c: Likewise.
39169
ee190f67
UD
391702011-12-21 Ulrich Drepper <drepper@gmail.com>
39171
39172 [BZ #13439]
39173 * iconv/gconv.h: Define __GCONV_SWAP.
39174 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39175 * iconvdata/utf-16.c: Likewise.
39176 * iconvdata/utf-32.c: Likewise.
39177
707f25df
AS
391782011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39179
39180 [BZ #13524]
39181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39182 numerator after shifting it by one limb.
39183
d2daaa1e
RÁE
391842011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39185
39186 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39187 under [__USE_EXTERN_INLINES].
39188
a4647e72
UD
391892011-12-17 Ulrich Drepper <drepper@gmail.com>
39190
39191 [BZ #13446]
39192 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39193
f0b264f1
AZ
391942011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39195
39196 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39197 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39198 optimized code.
39199 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39200 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39201 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39202 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39203 for strncasecmp/strncasecmp_l compilation.
39204 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39205 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39206
8ef4f244
MP
392072011-12-08 Marek Polacek <mpolacek@redhat.com>
39208
39209 [BZ #13484]
39210 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39211 of __asm__.
39212
97ac2654
UD
392132011-12-17 Ulrich Drepper <drepper@gmail.com>
39214
39215 [BZ #13506]
39216 * time/tzfile.c (__tzfile_read): Check values from file header.
39217
91d2a845
WS
392182011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39219
39220 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39221 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39222 * powerpc/powerpc32/dl-start.S: Likewise.
39223 * powerpc/powerpc32/elf/start.S: Likewise.
39224 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39225 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39226 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39227 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39228 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39229 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39230 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39231 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39232 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39233 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39234 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39235 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39236 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39237 * powerpc/powerpc32/memset.S: Likewise.
39238 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39239 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39240 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39241 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39242 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39243 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39244 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39245 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39246 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39247 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39248 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39249 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39250 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39251
a1267ba1
AZ
392522011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39253
39254 * math/libm-test.inc: Added more nearbyint tests.
39255 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39256 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39257 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39258 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39259
ad8ac1bd
RL
392602011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39261
39262 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39263 FD_CLOEXEC.
39264
1d3e4b61
UD
392652011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39266
39267 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39268 Add wcscpy-ssse3 wcscpy-c.
39269 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39270 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39271 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39272 * sysdeps/x86_64/wcschr.S: New file.
39273 * sysdeps/x86_64/wcsrchr.S: New file.
39274 * string/test-strcmp.c: Remove checking of wcscmp function for
39275 wrong alignments.
39276 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39277 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39278 wcsrchr-sse2 wcsrchr-c.
39279 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39280 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39281 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39282 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39283 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39284 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39285 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39286 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39287 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39288 * wcsmbc/wcschr.c (WCSCHR): New macro.
39289
5b330a2d
UD
392902011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39291
39292 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39293 * wcsmbs/test-wcsrchr.c: New file.
39294 * string/test-strrchr.c: Add wcsrchr support.
39295 (WIDE): New macro.
39296 * wcsmbs/test-wcscpy.c: New file.
39297 * string/test-strcpy.c: Add wcscpy support.
39298 (WIDE): New macro.
26428b7c 39299
f039c043
UD
393002011-12-10 Ulrich Drepper <drepper@gmail.com>
39301
39302 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39303 the inner loop.
39304
850fb039
AS
393052011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39306
39307 [BZ #13472]
39308 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39309
4efbd5cb
UD
393102011-12-04 Ulrich Drepper <drepper@gmail.com>
39311
52ff5dd0 39312 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39313 Minor optimizations.
52ff5dd0 39314
4efbd5cb
UD
39315 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39316 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39317 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39318
8a426e12
UD
393192011-12-03 Ulrich Drepper <drepper@gmail.com>
39320
aff2453d
UD
39321 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39322 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39323 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39324 for gcc to avoid warnings.
39325 * inet/Makefile (tests): Add tst-checks.
39326 * inet/tst-checks.c: New file.
39327
39328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39329 warning.
39330
39331 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39332 __wmemcmp_sse2.
39333
39334 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39335 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39336
8a426e12
UD
39337 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39338
9bea3473
UD
393392011-12-02 Ulrich Drepper <drepper@gmail.com>
39340
3a965496
UD
39341 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39342 problem.
39343
9bea3473
UD
39344 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39345
f101631b
UD
393462011-11-29 Joseph Myers <joseph@codesourcery.com>
39347
39348 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39349 conditional on GCC version.
39350 (__arch_compare_and_exchange_val_8_acq)
39351 (__arch_compare_and_exchange_val_16_acq)
39352 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39353 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39354 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39355
a98275aa
UD
393562011-12-02 Joseph Myers <joseph@codesourcery.com>
39357
39358 * sysdeps/sh/backtrace.c: New file.
39359
d4cc29a2
AS
393602011-12-02 Andreas Schwab <schwab@redhat.com>
39361
39362 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39363 parenthesis.
39364
6257af2d
AS
393652011-12-01 Andreas Schwab <schwab@redhat.com>
39366
39367 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39368 falling back to utime.
39369
b5f44c1a
AS
393702011-11-30 Andreas Schwab <schwab@redhat.com>
39371
39372 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39373 expectations for float.
39374
f3a6cc0a
AS
393752011-11-29 Andreas Schwab <schwab@redhat.com>
39376
39377 * locale/weight.h (findidx): Add parameter len.
39378 * locale/weightwc.h (findidx): Likewise.
39379 * posix/fnmatch_loop.c (FCT): Adjust caller.
39380 * posix/regcomp.c (build_equiv_class): Likewise.
39381 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39382 * posix/regexec.c (check_node_accept_bytes): Likewise.
39383 * string/strcoll_l.c (STRCOLL): Likewise.
39384 * string/strxfrm_l.c (STRXFRM): Likewise.
39385
9d65ea3a
UD
393862011-11-17 Ulrich Drepper <drepper@gmail.com>
39387
39388 * Makefile.in: Remove CVSOPT handling.
39389 * configure.in: Remove use of AC_REVISION.
39390 * iconvdata/Makefile (distribute): No need to filter out CVS.
39391 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39392 handling.
39393
5583a086
AS
393942011-11-16 Andreas Schwab <schwab@redhat.com>
39395
39396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39397 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39398 [USE_AS_STRNCASECMP_L]: Likewise.
39399 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39400 NO_TLS_DIRECT_SEG_REFS.
39401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39402 Fix argument offsets for non-PIC.
39403 [USE_AS_STRNCASECMP_L]: Likewise.
39404 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39405 NO_TLS_DIRECT_SEG_REFS.
39406
d62a8200
UD
394072011-11-15 Ulrich Drepper <drepper@gmail.com>
39408
9d65ea3a 39409 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39410 O_CLOEXEC.
39411 * locale/loadlocale.c (_nl_load_locale): Likewise.
39412
09f93bd3
AS
394132011-11-15 Andreas Schwab <schwab@redhat.com>
39414
446514f9
AS
39415 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39416 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39417 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39418 (SYSCALL_GETTIME): Set errno on error.
39419
09f93bd3
AS
39420 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39421 count references to noai6ai_cached.
39422
312be3f9
UD
394232011-11-15 Ulrich Drepper <drepper@gmail.com>
39424
39425 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39426
39427 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39428 FD_CLOEXEC for /proc/self/maps.
39429
39430 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39431 FD_CLOEXEC for /proc/meminfo.
39432
39433 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39434 gai.conf.
39435
39436 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39437 FD_CLOEXEC for given file.
39438
39439 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39440
39441 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39442 FD_CLOEXEC for /etc/hosts.
39443 (_gethtent): Likewise.
39444
39445 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39446
39447 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39448 cancellation and set FD_CLOEXEC for /etc/netgroup.
39449
39450 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39451 reading /etc/publickey.
39452
39453 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39454 allow cancellation when reading /etc/group.
39455
39456 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39457 cancellation.
39458 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39459
39460 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39461 when using data file.
39462
39463 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39464
39465 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39466 (write_nis_obj): Use "c" and "e" in fopen.
39467
39468 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39469
39470 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39471
39472 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39473
39474 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39475
39476 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39477 locale.alias.
39478
39479 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39480
39481 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39482
39483 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39484
39485 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39486 file parsing and set FD_CLOEXEC.
39487
82af0fa8
UD
394882011-11-14 Ulrich Drepper <drepper@gmail.com>
39489
39490 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39491
a5fb313c
AS
394922011-11-14 Andreas Schwab <schwab@redhat.com>
39493
39494 * malloc/arena.c (arena_get2): Don't call reused_arena when
39495 _int_new_arena failed.
39496
6abf3465
UD
394972011-11-14 Ulrich Drepper <drepper@gmail.com>
39498
39499 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39500 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39501 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39502 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39503 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39504 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39505 to compile strcasecmp and strncasecmp.
39506 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39507 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39508
39509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39510
76e3966e
UD
395112011-11-13 Ulrich Drepper <drepper@gmail.com>
39512
39513 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39514 locale-defines.sym to gen-as-const-headers.
39515 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39516 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39518 to compile strcasecmp and strncasecmp.
39519 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39520 strcasecmp_l and strncasecmp_l.
39521 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39522 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39523 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39524 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39525 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39526 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39527 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39528 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39529 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39530 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39531 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39532
ab26144e
UD
395332011-11-12 Ulrich Drepper <drepper@gmail.com>
39534
7edb22ef
UD
39535 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39536 result of SYSDEP_GETTIME_CPU to retval.
39537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39538 parameter list to macro. Remove trailing semicolon. Adjust users.
39539
9694fc44
UD
39540 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39541 variable.
39542
8ad89ef8
UD
39543 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39544 mantissa words.
39545 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39546
0c822ef9
UD
39547 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39548 from unused variable.
39549
874e0564
UD
39550 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39551 DWARF definitions.
39552 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39553 for assembling.
39554
3a2edc79
UD
39555 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39556 over namespaces.
39557
f3c2577f
UD
39558 * sunrpc/rpc_prot.c (rejected): Fix case value.
39559
294ce126
UD
39560 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39561 unsigned long long int to avoid warnings in shift.
39562
5e2b63c6
UD
39563 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39564 of use of trans.
39565 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39566 variable tmp.
39567
e7f4b08e
UD
39568 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39569 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39570 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39571
ab26144e
UD
39572 * nis/nis_table.c (nis_list): Use variable of correct type for
39573 result of __follow_path call.
39574
8a6d5255
AZ
395752011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39576
39577 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39578 of math functions ceil, trunc, floor, round, and sqrt, when
39579 avaliable on the platform.
39580 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39581 name clash.
39582 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39583 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39584 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39585
aaddc98c
MP
395862011-10-30 Marek Polacek <mpolacek@redhat.com>
39587
39588 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39589 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39590
95b7042b
RM
395912011-11-11 Roland McGrath <roland@hack.frob.com>
39592
39593 * include/unistd.h: Fix __readlink return type.
39594 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39595
57769839
UD
395962011-11-11 Ulrich Drepper <drepper@gmail.com>
39597
39598 * stdlib/ucontext.h: Undo last change for makecontext.
39599
edc5984d
AS
396002011-11-11 Andreas Schwab <schwab@redhat.com>
39601
98591e58
AS
39602 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39603
edc5984d
AS
39604 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39605 * setjmp/setjmp.h: Mark functions as non-leaf.
39606 * setjmp/bits/setjmp2.h: Likewise.
39607 * stdlib/ucontext.h: Likewise.
39608
77cdc054
AS
396092011-11-10 Andreas Schwab <schwab@redhat.com>
39610
39611 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39612 (reused_arena): Don't check arena limit.
39613 (arena_get2): Atomically check arena limit.
39614
fe72eebd
UD
396152011-11-08 Ulrich Drepper <drepper@gmail.com>
39616
5f078c32
UD
39617 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39618 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39619
fe72eebd
UD
39620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39621 instructions.
39622
ae1bc2fa
AS
396232011-11-07 Andreas Schwab <schwab@redhat.com>
39624
7583a88d
AS
39625 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39626 handler when locking.
39627
ae1bc2fa
AS
39628 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39629 Fix size of allocated buffer.
39630
10fb0bfa
AS
396312011-11-04 Andreas Schwab <schwab@redhat.com>
39632
998832a4
AS
39633 [BZ #10103]
39634 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39635 declarations for long double functions.
39636 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39637
10fb0bfa
AS
39638 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39639
3d7ba52b
AS
396402011-11-03 Andreas Schwab <schwab@redhat.com>
39641
a9ae54a1
AS
39642 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39643 installed.
39644
3d7ba52b
AS
39645 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39646 is disabled.
39647
bc8db248
ST
396482011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39649
39650 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39651
45b96dd6
AS
396522011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39653
647776f6
AS
39654 * include/alloca.h (stackinfo_alloca_round): Define.
39655 (extend_alloca): Use it.
39656 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39657 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39658 here.
39659
d91a8b93
AS
39660 * scripts/check-local-headers.sh: Ignore libaudit.h.
39661
45b96dd6
AS
39662 * nscd/Makefile (extra-objs): Make recursively expanded.
39663
432d41ce
UD
396642011-11-01 Ulrich Drepper <drepper@gmail.com>
39665
34372fc6
UD
39666 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39667 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39668
fadb59f8
UD
39669 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39670 * posix/tst-rfc3484-2.c: Likewise.
39671 * posix/tst-rfc3484-3.c: Likewise.
39672
78239589
UD
39673 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39674 process_vm_writev.
39675 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39676 process_vm_writev.
39677 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39678 process_vm_writev from libc using GLIBC_2.15 version.
39679
432d41ce
UD
39680 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39681
02f9c6cf
PP
396822011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39683
39684 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39685 stack usage.
39686
3a2c0242
UD
396872011-10-31 Ulrich Drepper <drepper@gmail.com>
39688
f4ec4833
UD
39689 [BZ #13367]
39690 * nss/getent.c (initgroups_keys): Show error message in case no group
39691 names are given.
39692
3a2c0242
UD
39693 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39694 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39695 __bump_nl_timestamp.
39696 * nscd/connections (nscd_init): When host database is served open
39697 netlink socket and request notification about configuration changes.
39698 (main_loop_poll): Track netlink file descriptor and bump timestamp
39699 in case data becomes available.
39700 (main_loop_epoll): Likewise.
39701 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39702 (database_pers_head): Add extra_data fileds.
39703 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39704 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39705 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39706 Adjust caller.
39707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39708 in6ai data, call __free_in6ai.
39709 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39710 Add -DHAVE_NETLINK.
39711 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39712 interface information. Reuse previous data if netlink timestamp
39713 is not changed.
39714 (__bump_nl_timestamp): New function.
39715 (__free_in6ai): New function.
39716
636064eb
UD
397172011-10-30 Ulrich Drepper <drepper@gmail.com>
39718
39719 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39720 close_not_cancel_no_status here.
39721 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39722
9beb2334
UD
397232011-10-29 Ulrich Drepper <drepper@gmail.com>
39724
6ef76f3b
UD
39725 [BZ #13276]
39726 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39727 return value.
39728
0ffc4f3e 39729 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39730 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39731 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39732
cb95113e
UD
397332011-07-03 Andreas Jaeger <aj@suse.de>
39734
39735 [BZ #10709]
39736 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39737 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39738 * math/libm-test.inc (sin_test): Add test case.
39739
a1b560ff
UD
397402011-10-29 Ulrich Drepper <drepper@gmail.com>
39741
c9aaface
UD
39742 [BZ #13337]
39743 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39744 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39745
d272e7f1
UD
39746 * elf/chroot_canon.c (chroot_canon): Cleanups.
39747
1bc33071
UD
39748 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39749
1760874d
TJ
39750 [BZ #13335]
39751 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39752 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39753
51d91b18
UD
39754 * string/test-strchr.c: Make usable for strchrnul testing.
39755 * string/test-strchrnul.c: New file.
39756 * string/Makefile (strop-tests): Add strchrnul.
39757
a1b560ff 39758 * po/it.po: Update from translation team.
b611fb81 39759 * po/es.po: Likewise.
a1b560ff 39760
a5b81e1f
UD
397612011-10-28 Ulrich Drepper <drepper@gmail.com>
39762
fd52bc6d
UD
39763 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39764 the three constants needed as parameters. Drop the others.
39765 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39766 __m128i_strloadu_tolower.
52e4b9eb
UD
39767 Create and initialize variable zero and use it in all the places
39768 where _mm_setzero_si128 was used.
fd52bc6d 39769
a5b81e1f
UD
39770 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39771 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39772 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39774 anymore.
39775 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39776 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39777 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39778 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39779 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39780 __mpranred, __mptan.
39781 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39782 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39783 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39784 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39785 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39786 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39787 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39788 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39789 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39790
b4343346
AS
397912011-10-28 Andreas Schwab <schwab@redhat.com>
39792
0c92d8a8
AS
39793 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39794 redefine if SHARED.
39795 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39796
b4343346
AS
39797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39798 wide char related routines to wcsmbs subdir.
39799
3871f58f
AS
398002011-10-27 Andreas Schwab <schwab@redhat.com>
39801
39802 [BZ #13344]
39803 * misc/sys/cdefs.h (__THROWNL): Define.
39804 * posix/unistd.h: Use __THREADNL instead of __THREAD
39805 for memory synchronization functions.
39806
94d44d9f
RM
398072011-10-26 Roland McGrath <roland@hack.frob.com>
39808
21b64b15 39809 [BZ #13349]
94d44d9f
RM
39810 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39811 doesn't exist.
39812 * manual/stdio.texi (Obstack Streams): Node removed.
39813
f6ce9294
AS
398142011-10-26 Andreas Schwab <schwab@redhat.com>
39815
80479147
AS
39816 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39817 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39818 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39819
f6ce9294
AS
39820 * math/math_private.h (math_force_eval): Allow non-addressable
39821 arguments.
39822 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39823
618280a1
UD
398242011-10-25 Ulrich Drepper <drepper@gmail.com>
39825
e0016b11
UD
39826 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39827 file is not needed.
39828
39829 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39832 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39833 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39836 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39837 Add AVX variants.
39838 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39839 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39840 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39841 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39842 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39843 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39844 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39845 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39846 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39847 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39848 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39849 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39850 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39851 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39852 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39853 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39854 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39855 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39856 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39857
39858 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39859 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39860
618280a1
UD
39861 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39862 place. Use VEX encoding when compiling for AVX.
39863
37822576
AS
398642011-10-25 Andreas Schwab <schwab@redhat.com>
39865
1f1e1947
AS
39866 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39867 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39868
37822576
AS
39869 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39870
31ea014d
UD
398712011-10-25 Ulrich Drepper <drepper@gmail.com>
39872
d7826aa1 39873 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39874 useless if() expression.
d7826aa1
UD
39875 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39879 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39880 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39884 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39885 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39886 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39887 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39888 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39889 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39890 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39891 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39892 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39893 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39894
31ea014d
UD
39895 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39896
16437fec
AS
398972011-10-25 Andreas Schwab <schwab@redhat.com>
39898
39899 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39900 condition.
39901 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39902
31d3cc00
UD
399032011-10-25 Ulrich Drepper <drepper@gmail.com>
39904
39905 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39906 .text section. Avoid duplicate constants.
39907 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39908 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39909 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39910 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39915 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39917 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39919 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39921 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39922 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39923 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39924 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39926 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39927 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39928 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39929 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39930 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39931 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39932 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39933 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39934 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39935 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39936 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39937 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39938 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39939 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39940 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39941 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39942 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39943 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39944 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39945 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39946 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39947 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39948 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39949 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39950 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39951 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39952
58985aa9
UD
399532011-10-24 Ulrich Drepper <drepper@gmail.com>
39954
202c9deb
UD
39955 * sysdeps/x86_64/dla.h: Move to ...
39956 * sysdeps/x86_64/fpu/dla.h: ...here.
39957 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39958 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39959
af968f62
UD
39960 * config.make.in: Add have-mfma4 entry.
39961 * configure.in: Substitute libc_cv_cc_fma4.
39962 * math/Makefile (dbl-only-routines): Add sincostab.
39963 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39964 Use __sincostab not sincos.
39965 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39966 name is a macro.
39967 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39971 using __copysign.
39972 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39973 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39974 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39975 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39976 and __inv.
39977 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39978 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39979 __copysign.
39980 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39981 define aliases when function name is a macro.
39982 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39983 sysdeps/ieee754/dbl-64/sincos.tbl.
39984 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39985 fma4-enabled routines.
39986 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39987 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39988 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39989 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39990 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39991 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39992 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39993 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39994 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39995 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39996 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39997 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39998 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39999 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40000 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40001 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40002 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40003 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40004 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40005 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40006 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40007 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40009 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40011 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40012 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40013 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40014 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40015 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40016
58985aa9
UD
40017 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40018 rename.
40019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40027
a201fbcf
AS
400282011-10-24 Andreas Schwab <schwab@redhat.com>
40029
40030 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40031
fc2ee42a
LD
400322011-10-23 Ulrich Drepper <drepper@gmail.com>
40033
bb3129bd
UD
40034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40035
0275fff8
UD
40036 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40037 prediction.
40038 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40039
2fa2ae85
UD
40040 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40041 Remove unused variable magic_bits.
40042 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40043
fc2ee42a
LD
40044 * string/strnlen.c: Define and use STRNLEN macro.
40045 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40046 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40047 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40048 * wcsmbs/wcslen.c: Define and use WCSLEN.
40049 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40050 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40051 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40052 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40053 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40054 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40055 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40056
ce7dd29f
LD
400572011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40058
40059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40060 strnlen-sse2-no-bsf.
40061 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40062 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40063 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40064 Add strnlen support.
40065 (USE_AS_STRNLEN): New macro.
40066 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40067 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40068 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40069 * sysdeps/x86_64/wcslen.S: New file.
40070
979c70a3
MZ
400712011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40072
40073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40074 XMM-moves are used for copying on small sizes.
40075
2d09f82f
LD
400762011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40077
40078 * wcsmbs/Makefile (strop-tests): Add wcschr.
40079 * wcsmbs/test-wcschr.c: New file.
40080 * string/test-strchr.c: Update.
40081 Add wcschr support.
40082 (WIDE): New macro.
40083
619fccca
LD
400842011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40085
2d09f82f 40086 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40087 * wcsmbs/test-wcslen.c: New file.
40088 * string/test-strlen.c: Update.
40089 Add wcslen support.
40090 (WIDE): New macro.
40091
09f699ea
UD
400922011-10-23 Ulrich Drepper <drepper@gmail.com>
40093
40094 * po/it.po: Update from translation team.
40095
95584d3b
LD
400962011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40097
40098 * sysdeps/x86_64/wcscmp.S: Update.
40099 Fix wrong comparison semantics.
40100 wcscmp shall use signed comparison not unsigned.
40101 Don't use substraction to avoid overflow bug.
40102 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40103 * wcsmbc/wcscmp.c: Likewise.
40104 * string/test-strcmp.c: Likewise.
40105 Add new tests to check cases with negative values.
40106
c8b3296b
UD
401072011-10-23 Ulrich Drepper <drepper@gmail.com>
40108
40109 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40110 * sysdeps/x86_64/dla.h: ...here. New file.
40111 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40116 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40118 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40119 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40120
246ad57a
AS
401212011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40122
40123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40124 __ynl_finite aliases.
40125
a1a87169
UD
401262011-10-22 Ulrich Drepper <drepper@gmail.com>
40127
0d355eb7
UD
40128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40129
a1a87169
UD
40130 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40131 define DLA_FMA.
40132 [DLA_FMA] (EMULV): Use DLA_FMA.
40133 [DLA_FMA] (MUL12): Use EMULV.
40134 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40135 that are not needed.
40136 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40143
ee2aafe0
AS
401442011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40145
40146 * math/s_nan.c: Undef __nan.
40147 * math/s_nanf.c: Undef __nanf.
40148 * math/s_nanl.c: Undef __nanl.
40149 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40150 "math_private.h".
40151
bc62c2fb
UD
401522011-10-22 Ulrich Drepper <drepper@gmail.com>
40153
77425c63
UD
40154 * math/s_catan.c: Add branch predictions.
40155 * math/s_catanf.c: Likewise.
40156 * math/s_catanh.c: Likewise.
40157 * math/s_catanhf.c: Likewise.
40158 * math/s_catanhl.c: Likewise.
40159 * math/s_catanl.c: Likewise.
40160 * math/s_cexp.c: Likewise.
40161 * math/s_cexpf.c: Likewise.
40162 * math/s_cexpl.c: Likewise.
40163 * math/s_clog.c: Likewise.
40164 * math/s_clog10.c: Likewise.
40165 * math/s_clog10f.c: Likewise.
40166 * math/s_clog10l.c: Likewise.
40167 * math/s_clogf.c: Likewise.
40168 * math/s_clogl.c: Likewise.
40169 * math/s_csqrt.c: Likewise.
40170 * math/s_csqrtf.c: Likewise.
40171 * math/s_csqrtl.c: Likewise.
40172 * math/s_ctanf.c: Likewise.
40173 * math/s_ctanh.c: Likewise.
40174 * math/s_ctanhf.c: Likewise.
40175 * math/s_ctanhl.c: Likewise.
40176 * math/s_ctanl.c: Likewise.
40177
bc62c2fb
UD
40178 * math/math_private.h: Define __nan, __nanf, __nanl.
40179 * math/s_cacosh.c: Include <math_private.h>.
40180 * math/s_cacoshl.c: Likewise.
40181 * math/s_casinh.c: Likewise.
40182 * math/s_casinhf.c: Likewise.
40183 * math/s_casinhl.c: Likewise.
40184 * math/s_ccos.c: Rely entire on ccosh.
40185 * math/s_ccosf.c: Rely entire on ccoshf.
40186 * math/s_ccosl.c: Rely entirely on ccoshl.
40187 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40188 Remove tests for FE_INVALID.
40189 * math/s_ccoshf.c: Likewise.
40190 * math/s_ccoshl.c: Likewise.
40191 * math/s_csin.c: Likewise.
40192 * math/s_csinf.c: Likewise.
40193 * math/s_csinh.c Likewise.
40194 * math/s_csinhf.c: Likewise.
40195 * math/s_csinhl.c: Likewise.
40196 * math/s_csinl.c: Likewise.
40197 * math/s_ctan.c: Likewise.
40198 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40199 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40200 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40201
8ec250a4
UD
402022011-10-21 Ulrich Drepper <drepper@gmail.com>
40203
c196fed8
UD
40204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40205 compilation problems.
40206
8ec250a4
UD
40207 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40208 __builtin_expect.
40209
8d4f46c6
UD
402102011-10-20 Ulrich Drepper <drepper@gmail.com>
40211
ed72b654
UD
40212 * sysdeps/i386/configure.in: Test for -mfma4 option.
40213 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40214 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40215 COMMON_CPUID_INDEX_80000001.
40216 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40217 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40218 use it if FMA3 is not supported.
40219 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40220
8d4f46c6
UD
40221 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40222 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40223
d45c60c2
AS
402242011-10-20 Andreas Schwab <schwab@redhat.com>
40225
40226 [BZ #12892]
40227 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40228 it would create a cycle with a link time dependency.
40229
d9a4d2ab
UD
402302011-10-19 Ulrich Drepper <drepper@gmail.com>
40231
855d1560
UD
40232 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40233 instruction.
40234 * string/Makefile (strop-tests): Add rawmemchr.
40235 * string/test-rawmemchr.c: New file.
40236
d9a4d2ab
UD
40237 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40239 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40240 when compiling str{,n}casecmp and when AVX is available. Hook up
40241 new optimized code in initializers.
40242
8f3b1ffe
AS
402432011-10-19 Andreas Schwab <schwab@redhat.com>
40244
40245 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40246 __feraiseexcept instead of feraiseexcept.
40247
d38f1dba
UD
402482011-10-18 Ulrich Drepper <drepper@gmail.com>
40249
d9a8d0ab
UD
40250 * math/math_private.h: Define defaults for libc_fetestexcept and
40251 libc_feupdateenv.
40252 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40253 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40254 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40255 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40256 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40257 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40258 libc_fetestexcept and libc_feupdateenv.
40259
4855e3dd
UD
40260 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40261 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40262 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40263 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40264 libc_feholdexcept_setround.
40265
581d30e3
UD
40266 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40267 Add s_nearbyint-c and s_nearbyintf-c.
40268 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40269 nearbyintf inlines.
40270 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40271 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40272 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40273 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40274
d38f1dba
UD
40275 * math/math_private.h: Define defaults for libc_fegetround,
40276 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40277 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40278 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40280 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40281 standard functions.
40282 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40283 Remove comments and hacks for old compiler versions.
40284 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40285 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40286 libc_feholdexceptl.
40287
caa6c9d8
AS
402882011-10-18 Andreas Schwab <schwab@redhat.com>
40289
40290 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40291 (__feraiseexcept_renamed): Add __NTH.
40292 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40293 namespace violations.
40294
97c066e6
UD
402952011-10-17 Ulrich Drepper <drepper@gmail.com>
40296
99ce7b04
UD
40297 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40298
1004d182
UD
40299 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40300
228a984d
UD
40301 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40302 recently added interfaces.
40303 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40304
c8553a6a
UD
40305 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40306 about macro parameter expansion.
40307
ed22dcf6
UD
40308 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40309 __NO_MATH_INLINES is defined. Cleanups.
40310
40311 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40312 and __floorf is target has SSE4.1.
40313 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40314 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40315 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40316 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40317
b171c137
UD
40318 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40319 name.
40320 (floorf): Likewise.
40321
97c066e6
UD
40322 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40323
629f62ef
AS
403242011-10-17 Andreas Schwab <schwab@redhat.com>
40325
49a43d80
AS
40326 * misc/sys/cdefs.h: Fix last change.
40327
629f62ef
AS
40328 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40329 database lookup.
40330
e453f6cd
UD
403312011-10-16 Ulrich Drepper <drepper@gmail.com>
40332
aa78043a
UD
40333 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40334
ad0f5cad
UD
40335 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40336 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40337 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40338 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40339 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40340 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40341 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40342 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40343 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40344 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40345 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40346 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40347 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40348 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40349 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40350 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40351 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40352 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40353 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40354 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40355 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40356 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40357
40358 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40359 ceil, ceilf, floor, floorf.
40360
40361 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40362 Perform IRELATIVE relocations last.
40363
e453f6cd
UD
40364 * elf/do-rel.h: Add another parameter nrelative, replacing the
40365 local variable with the same name. Change name of the function
40366 to end in Rel or Rela (uppercase).
40367 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40368 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40369 elf_dynamic_do_##reloc function.
40370
fd5bdc09
UD
403712011-10-15 Ulrich Drepper <drepper@gmail.com>
40372
79b195b5
UD
40373 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40374 is sufficient, at least on modern CPUs.
40375
d4a28569
UD
40376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40377
b61099b5
UD
40378 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40379 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40380
bcf01e6d
UD
40381 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40382 __expl_finite.
40383 * math/bits/math-finite.h: Add entries for exp.
40384 * math/e_expl.c: Add __*_finite alias.
40385 * sysdeps/i386/fpu/e_exp.S: Likewise.
40386 * sysdeps/i386/fpu/e_expf.S: Likewise.
40387 * sysdeps/i386/fpu/e_expl.c: Likewise.
40388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40389 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40390 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40392 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40393 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40394 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40395
ba1a0d59
UD
40396 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40397 is sufficient, at least on modern CPUs.
40398
fd5bdc09
UD
40399 * ctype/ctype-info.c (__ctype_init): Define.
40400 * include/ctype.h (__ctype_init): Declare.
40401 (__ctype_b_loc): The variable is always initialized.
40402 (__ctype_toupper_loc): Likewise.
40403 (__ctype_tolower_loc): Likewise.
40404 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40405 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40406
7872cfb0
AS
404072011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40408
b468825a
AS
40409 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40410
7872cfb0
AS
40411 * configure.in: Also look in $cxxmachine/include for C++ system
40412 headers.
40413
be13f7bf
LD
404142011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40415
40416 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40417 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40418 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40419 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40420 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40421 (USE_AS_WMEMCMP): New macro.
40422 Fixing indents.
40423 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40424 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40425 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40426 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40428 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40429 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40430 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40431 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40432 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40433 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40434 (USE_AS_WMEMCMP): New macro.
40435 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40436 * sysdeps/string/test-memcmp.c: Update.
40437 Fix simple_wmemcmp.
40438 Add new tests.
40439 * wcsmbs/wmemcmp.c: Update.
40440 (WMEMCMP): New macro.
40441 Fix overflow bug.
40442
556a2007
AJ
404432011-10-12 Andreas Jaeger <aj@suse.de>
40444
40445 [BZ #13268]
40446 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40447
538faaa7
UD
404482011-10-15 Ulrich Drepper <drepper@gmail.com>
40449
ab6737ff
UD
40450 * libio/iofwide.c (do_length): Avoid warning.
40451
538faaa7
UD
40452 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40453
396a21b1
UD
404542011-10-14 Ulrich Drepper <drepper@gmail.com>
40455
cdf2901f
UD
40456 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40457
38ad40ce
UD
40458 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40459 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40460 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40461 * sysdeps/i386/i686/fpu/e_log.S: New file.
40462 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40463 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40464
396a21b1
UD
40465 * ctype/ctype.h: Add support for inlined isXXX functions when
40466 compiling C++ code.
40467
6b1f68c9
AS
404682011-10-14 Andreas Schwab <schwab@redhat.com>
40469
349290c0
AS
40470 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40471
6b1f68c9
AS
40472 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40473
f2282d42
RM
404742011-10-13 Roland McGrath <roland@hack.frob.com>
40475
40476 [BZ #13291]
40477 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40478
5298ffa8
AS
404792011-10-13 Andreas Schwab <schwab@redhat.com>
40480
714fad23
AS
40481 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40482 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40483 feraiseexcept.
40484
81dcc7fb
AS
40485 * sysdeps/x86_64/memrchr.S: Check for zero size.
40486
5298ffa8
AS
40487 * string/stratcliff.c: Add memrchr tests.
40488
951fbcec
LD
404892011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40490
40491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40492 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40493 rawmemchr-sse2 rawmemchr-sse2-bsf.
40494 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40495 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40496 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40497 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40498 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40499 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40500 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40501 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40502 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40503 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40504 * string/memrchr.c (MEMRCHR): New macro.
40505
0ac5ae23
UD
405062011-10-12 Ulrich Drepper <drepper@gmail.com>
40507
40508 Add integration with gcc's -ffinite-math-only and optimize wrapper
40509 functions in libm.
40510 * Versions.def: Define GLIBC_2.15 version for libm.
40511 * math/Makefile (headers): Add bits/math-finite.h.
40512 * math/bits/math-finite.h: New file.
40513 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40514 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40515 * math/e_acoshl.c: Add __*_finite alias.
40516 * math/e_acosl.c: Likewise.
40517 * math/e_asinl.c: Likewise.
40518 * math/e_atan2l.c: Likewise.
40519 * math/e_atanhl.c: Likewise.
40520 * math/e_coshl.c: Likewise.
40521 * math/e_exp10.c: Likewise.
40522 * math/e_exp10f.c: Likewise.
40523 * math/e_exp10l.c: Likewise.
40524 * math/e_exp2l.c: Likewise.
40525 * math/e_fmodl.c: Likewise.
40526 * math/e_gammal_r.c: Likewise.
40527 * math/e_hypotl.c: Likewise.
40528 * math/e_j0l.c: Likewise.
40529 * math/e_j1l.c: Likewise.
40530 * math/e_jnl.c: Likewise.
40531 * math/e_lgammal_r.c: Likewise.
40532 * math/e_log10l.c: Likewise.
40533 * math/e_log2l.c: Likewise.
40534 * math/e_logl.c: Likewise.
40535 * math/e_powl.c: Likewise.
40536 * math/e_sinhl.c: Likewise.
40537 * math/e_sqrtl.c: Likewise.
40538 * math/e_scalb.c: Completely rewritten and optimized.
40539 * math/e_scalbf.c: Likewise.
40540 * math/e_scalbl.c: Likewise.
40541 * math/w_acos.c: Likewise.
40542 * math/w_acosf.c: Likewise.
40543 * math/w_acosl.c: Likewise.
40544 * math/w_acosh.c: Likewise.
40545 * math/w_acoshf.c: Likewise.
40546 * math/w_acoshl.c: Likewise.
40547 * math/w_asin.c: Likewise.
40548 * math/w_asinf.c: Likewise.
40549 * math/w_asinl.c: Likewise.
40550 * math/w_atan2.c: Likewise.
40551 * math/w_atan2f.c: Likewise.
40552 * math/w_atan2l.c: Likewise.
40553 * math/w_atanh.c: Likewise.
40554 * math/w_atanhf.c: Likewise.
40555 * math/w_atanhl.c: Likewise.
40556 * math/w_exp10.c: Likewise.
40557 * math/w_exp10f.c: Likewise.
40558 * math/w_exp10l.c: Likewise.
40559 * math/w_fmod.c: Likewise.
40560 * math/w_fmodf.c: Likewise.
40561 * math/w_fmodl.c: Likewise.
40562 * math/w_j0.c: Likewise.
40563 * math/w_j0f.c: Likewise.
40564 * math/w_j0l.c: Likewise.
40565 * math/w_j1.c: Likewise.
40566 * math/w_j1f.c: Likewise.
40567 * math/w_j1l.c: Likewise.
40568 * math/w_jn.c: Likewise.
40569 * math/w_jnf.c: Likewise.
40570 * math/w_log.c: Likewise.
40571 * math/w_logf.c: Likewise.
40572 * math/w_logl.c: Likewise.
40573 * math/w_log10.c: Likewise.
40574 * math/w_log10f.c: Likewise.
40575 * math/w_log10l.c: Likewise.
40576 * math/w_log2.c: Likewise.
40577 * math/w_log2f.c: Likewise.
40578 * math/w_log2l.c: Likewise.
40579 * math/w_pow.c: Likewise.
40580 * math/w_powf.c: Likewise.
40581 * math/w_powl.c: Likewise.
40582 * math/w_remainder.c: Likewise.
40583 * math/w_remainderf.c: Likewise.
40584 * math/w_remainderl.c: Likewise.
40585 * math/w_scalb.c: Likewise.
40586 * math/w_scalbf.c: Likewise.
40587 * math/w_scalbl.c: Likewise.
40588 * math/w_sqrt.c: Likewise.
40589 * math/w_sqrtf.c: Likewise.
40590 * math/w_sqrtl.c: Likewise.
40591 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40592 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40593 used.
40594 * math/math_private.h: Declare __kernel_standard_f.
40595 * math/w_cosh.c: Remove cruft and optimize a bit.
40596 * math/w_coshf.c: Likewise.
40597 * math/w_coshl.c: Likewise.
40598 * math/w_exp2.c: Likewise.
40599 * math/w_exp2f.c: Likewise.
40600 * math/w_exp2l.c: Likewise.
40601 * math/w_hypot.c: Likewise.
40602 * math/w_hypotf.c: Likewise.
40603 * math/w_hypotl.c: Likewise.
40604 * math/w_lgamma.c: Likewise.
40605 * math/w_lgamma_r.c: Likewise.
40606 * math/w_lgammaf.c: Likewise.
40607 * math/w_lgammaf_r.c: Likewise.
40608 * math/w_lgammal.c: Likewise.
40609 * math/w_lgammal_r.c: Likewise.
40610 * math/w_sinh.c: Likewise.
40611 * math/w_sinhf.c: Likewise.
40612 * math/w_sinhl.c: Likewise.
40613 * math/w_tgamma.c: Likewise.
40614 * math/w_tgammaf.c: Likewise.
40615 * math/w_tgammal.c: Likewise.
40616 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40617 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40618 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40619 Minor optimizations. Pretty printing. Remove cruft.
40620 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40621 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40622 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40623 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40624 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40625 * sysdeps/i386/fpu/e_asin.S: Likewise.
40626 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40627 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40628 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40629 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40630 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40631 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40632 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40633 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40634 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40635 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40636 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40637 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40638 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40639 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40640 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40641 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40642 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40643 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40644 * sysdeps/i386/fpu/e_log.S: Likewise.
40645 * sysdeps/i386/fpu/e_log10.S: Likewise.
40646 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40647 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40648 * sysdeps/i386/fpu/e_log2.S: Likewise.
40649 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40650 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40651 * sysdeps/i386/fpu/e_logf.S: Likewise.
40652 * sysdeps/i386/fpu/e_logl.S: Likewise.
40653 * sysdeps/i386/fpu/e_pow.S: Likewise.
40654 * sysdeps/i386/fpu/e_powf.S: Likewise.
40655 * sysdeps/i386/fpu/e_powl.S: Likewise.
40656 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40657 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40658 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40659 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40660 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40661 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40662 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40663 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40664 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40665 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40666 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40668 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40669 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40670 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40671 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40672 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40673 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40674 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40675 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40676 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40677 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40678 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40679 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40681 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40682 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40683 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40685 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40686 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40687 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40688 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40689 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40690 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40691 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40692 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40693 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40694 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40695 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40696 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40698 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40699 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40700 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40701 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40702 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40703 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40704 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40705 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40706 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40707 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40708 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40709 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40710 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40711 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40713 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40714 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40715 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40716 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40717 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40718 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40719 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40720 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40721 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40722 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40723 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40730 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40731 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40732 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40733 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40734 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40735 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40736 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40737 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40741 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40742 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40743 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40744 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40745 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40746 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40747 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40748 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40749 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40750 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40751 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40752 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40753 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40754 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40755 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40756 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40757 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40758 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40759 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40760 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40761 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40762 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40763 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40764 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40765 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40766 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40767 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40768 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40769 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40770 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40771 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40772 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40773 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40774 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40775 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40776 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40777 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40778 (__isnanf): Likewise.
40779 (__isinf_ns): Likewise.
40780 (__isinf_nsf): Likewise.
40781 (__finite): Likewise.
40782 (__finitef): Likewise.
40783 (__ieee754_sqrt): Define as macro.
40784 (__ieee754_sqrtf): Define as macro.
40785 (__ieee754_sqrtl): Define as macro.
40786 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40787 inlined copy.
40788 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40789 __FINITE_MATH_ONLY__ consistent.
40790 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40791
12cc2fcd
AS
407922011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40793
a843a204
AS
40794 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40795 of rawmemchr.
40796
12cc2fcd
AS
40797 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40798
c853acd5
UD
407992011-10-09 Ulrich Drepper <drepper@gmail.com>
40800
40801 * po/ja.po: Update from translation team.
40802
c658d255
RM
408032011-10-08 Roland McGrath <roland@hack.frob.com>
40804
110946e4
RM
40805 * locale/programs/locarchive.c (prepare_address_space): New function.
40806 (create_archive, enlarge_archive, open_archive): Use it.
40807
50604220
RM
40808 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40809 inside [SHARED], where it is used.
40810
c658d255
RM
40811 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40812
40813 * nss/getent.c (netgroup_keys): Remove unused variable.
40814 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40815
6a621eb7
UD
408162011-10-08 Ulrich Drepper <drepper@gmail.com>
40817
7edb55ce
UD
40818 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40819 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40821 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40822 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40823 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40824 * math/Makefile (libm-calls): Add s_isinf_ns.
40825 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40826 * math/multc3.c: Likewise.
40827 * math/s_casin.c: Likewise.
40828 * math/s_casinf.c: Likewise.
40829 * math/s_casinl.c: Likewise.
40830 * math/s_ccos.c: Likewise.
40831 * math/s_ccosf.c: Likewise.
40832 * math/s_ccosl.c: Likewise.
40833 * math/s_ctan.c: Likewise.
40834 * math/s_ctanf.c: Likewise.
40835 * math/s_ctanh.c: Likewise.
40836 * math/s_ctanhf.c: Likewise.
40837 * math/s_ctanhl.c: Likewise.
40838 * math/s_ctanl.c: Likewise.
40839 * math/w_fmod.c: Likewise.
40840 * math/w_fmodf.c: Likewise.
40841 * math/w_fmodl.c: Likewise.
40842 * math/w_remainder.c: Likewise.
40843 * math/w_remainderf.c: Likewise.
40844 * math/w_remainderl.c: Likewise.
40845 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40846 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40847 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40849 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40850 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40851 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40852 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40853
187da0ae
UD
40854 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40855 of the number.
40856 * stdio-common/printf_fphex.c: Likewise.
40857 * stdio-common/printf_size.c: Likewise.
40858
9277c064
UD
40859 * math/e_exp10.c: Include math_private.h using <...> not "...".
40860 * math/e_exp10f.c: Likewise.
40861 * math/e_exp10l.c: Likewise.
40862 * math/e_exp2l.c: Likewise.
40863 * math/e_j0l.c: Likewise.
40864 * math/e_j1l.c: Likewise.
40865 * math/e_jnl.c: Likewise.
40866 * math/e_lgammal_r.c: Likewise.
40867 * math/e_rem_pio2l.c: Likewise.
40868 * math/e_scalb.c: Likewise.
40869 * math/e_scalbf.c: Likewise.
40870 * math/e_scalbl.c: Likewise.
40871 * math/k_cosl.c: Likewise.
40872 * math/k_sinl.c: Likewise.
40873 * math/k_tanl.c: Likewise.
40874 * math/s_cacoshf.c: Likewise.
40875 * math/s_catan.c: Likewise.
40876 * math/s_catanf.c: Likewise.
40877 * math/s_catanh.c: Likewise.
40878 * math/s_catanhf.c: Likewise.
40879 * math/s_catanhl.c: Likewise.
40880 * math/s_catanl.c: Likewise.
40881 * math/s_ccosh.c: Likewise.
40882 * math/s_ccoshf.c: Likewise.
40883 * math/s_ccoshl.c: Likewise.
40884 * math/s_cexp.c: Likewise.
40885 * math/s_cexpf.c: Likewise.
40886 * math/s_cexpl.c: Likewise.
40887 * math/s_clog.c: Likewise.
40888 * math/s_clog10.c: Likewise.
40889 * math/s_clog10f.c: Likewise.
40890 * math/s_clog10l.c: Likewise.
40891 * math/s_clogf.c: Likewise.
40892 * math/s_clogl.c: Likewise.
40893 * math/s_csin.c: Likewise.
40894 * math/s_csinf.c: Likewise.
40895 * math/s_csinh.c: Likewise.
40896 * math/s_csinhf.c: Likewise.
40897 * math/s_csinhl.c: Likewise.
40898 * math/s_csinl.c: Likewise.
40899 * math/s_csqrt.c: Likewise.
40900 * math/s_csqrtf.c: Likewise.
40901 * math/s_csqrtl.c: Likewise.
40902 * math/s_ctan.c: Likewise.
40903 * math/s_ctanf.c: Likewise.
40904 * math/s_ctanh.c: Likewise.
40905 * math/s_ctanhf.c: Likewise.
40906 * math/s_ctanhl.c: Likewise.
40907 * math/s_ctanl.c: Likewise.
40908 * math/s_ldexp.c: Likewise.
40909 * math/s_ldexpf.c: Likewise.
40910 * math/s_ldexpl.c: Likewise.
40911 * math/s_significand.c: Likewise.
40912 * math/s_significandf.c: Likewise.
40913 * math/s_significandl.c: Likewise.
40914 * math/w_acos.c: Likewise.
40915 * math/w_acosf.c: Likewise.
40916 * math/w_acosh.c: Likewise.
40917 * math/w_acoshf.c: Likewise.
40918 * math/w_acoshl.c: Likewise.
40919 * math/w_acosl.c: Likewise.
40920 * math/w_asin.c: Likewise.
40921 * math/w_asinf.c: Likewise.
40922 * math/w_asinl.c: Likewise.
40923 * math/w_atan2.c: Likewise.
40924 * math/w_atan2f.c: Likewise.
40925 * math/w_atan2l.c: Likewise.
40926 * math/w_atanh.c: Likewise.
40927 * math/w_atanhf.c: Likewise.
40928 * math/w_atanhl.c: Likewise.
40929 * math/w_cosh.c: Likewise.
40930 * math/w_coshf.c: Likewise.
40931 * math/w_coshl.c: Likewise.
40932 * math/w_dremf.c: Likewise.
40933 * math/w_exp10.c: Likewise.
40934 * math/w_exp10f.c: Likewise.
40935 * math/w_exp10l.c: Likewise.
40936 * math/w_exp2.c: Likewise.
40937 * math/w_exp2f.c: Likewise.
40938 * math/w_fmod.c: Likewise.
40939 * math/w_fmodf.c: Likewise.
40940 * math/w_fmodl.c: Likewise.
40941 * math/w_hypot.c: Likewise.
40942 * math/w_hypotf.c: Likewise.
40943 * math/w_hypotl.c: Likewise.
40944 * math/w_j0.c: Likewise.
40945 * math/w_j0f.c: Likewise.
40946 * math/w_j0l.c: Likewise.
40947 * math/w_j1.c: Likewise.
40948 * math/w_j1f.c: Likewise.
40949 * math/w_j1l.c: Likewise.
40950 * math/w_jn.c: Likewise.
40951 * math/w_jnf.c: Likewise.
40952 * math/w_jnl.c: Likewise.
40953 * math/w_lgamma.c: Likewise.
40954 * math/w_lgamma_r.c: Likewise.
40955 * math/w_lgammaf.c: Likewise.
40956 * math/w_lgammaf_r.c: Likewise.
40957 * math/w_lgammal.c: Likewise.
40958 * math/w_lgammal_r.c: Likewise.
40959 * math/w_log.c: Likewise.
40960 * math/w_log10.c: Likewise.
40961 * math/w_log10f.c: Likewise.
40962 * math/w_log10l.c: Likewise.
40963 * math/w_log2.c: Likewise.
40964 * math/w_log2f.c: Likewise.
40965 * math/w_log2l.c: Likewise.
40966 * math/w_logf.c: Likewise.
40967 * math/w_logl.c: Likewise.
40968 * math/w_pow.c: Likewise.
40969 * math/w_powf.c: Likewise.
40970 * math/w_powl.c: Likewise.
40971 * math/w_remainder.c: Likewise.
40972 * math/w_remainderf.c: Likewise.
40973 * math/w_remainderl.c: Likewise.
40974 * math/w_scalb.c: Likewise.
40975 * math/w_scalbf.c: Likewise.
40976 * math/w_scalbl.c: Likewise.
40977 * math/w_sinh.c: Likewise.
40978 * math/w_sinhf.c: Likewise.
40979 * math/w_sinhl.c: Likewise.
40980 * math/w_sqrt.c: Likewise.
40981 * math/w_sqrtf.c: Likewise.
40982 * math/w_sqrtl.c: Likewise.
40983 * math/w_tgamma.c: Likewise.
40984 * math/w_tgammaf.c: Likewise.
40985 * math/w_tgammal.c: Likewise.
40986
6a621eb7
UD
40987 * po/ja.po: Update from translation team.
40988
bf582445
AJ
409892011-09-29 Andreas Jaeger <aj@suse.de>
40990
f9efbf3a
AJ
40991 [BZ #13179]
40992 * sunrpc/netname.c (netname2host): Fix logic.
40993
bf582445
AJ
40994 [BZ #6779]
40995 [BZ #6783]
40996 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40997 correctly.
40998 * math/w_remainder.c (__remainder): Likewise.
40999 * math/w_remainderf.c (__remainderf): Likewise.
41000 * math/libm-test.inc (remainder_test): Add test cases.
41001
48693bea
AK
410022011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41003
41004 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41005 sdiv_qrnnd.
41006
42622229
LD
410072011-10-07 Ulrich Drepper <drepper@gmail.com>
41008
41009 * string/test-memcmp.c: Avoid unncessary #defines.
41010 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41011
093ecf92
LD
410122011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41013
41014 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41015 Use new sse2 version for core i3 - i7 as it's faster
41016 than sse42 version.
41017 (bit_Prefer_PMINUB_for_stringop): New.
41018 * sysdeps/x86_64/rawmemchr.S: Update.
41019 Replace with faster SSE2 version.
41020 * sysdeps/x86_64/memrchr.S: New file.
41021 * sysdeps/x86_64/memchr.S: Update.
41022 Replace with faster SSE2 version.
41023
fde56e5c
MP
410242011-09-12 Marek Polacek <mpolacek@redhat.com>
41025
41026 * elf/dl-load.c (lose): Add cast to avoid warning.
41027
21fd49a9
UD
410282011-10-07 Ulrich Drepper <drepper@gmail.com>
41029
5a06e643
UD
41030 * po/ca.po: Update from translation team.
41031
684ae515
UD
41032 * inet/getnetgrent_r.c: Hook up nscd.
41033 * nscd/Makefile (routines): Add nscd_netgroup.
41034 (nscd-modules): Add netgroupcache.
41035 (CFLAGS-netgroupcache.c): Define.
41036 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41037 (cache_search): Add const to second parameter.
41038 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41039 INNETGR.
41040 (dbs): Add netgrdb entry.
41041 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41042 (verify_persistent_db): Handle netgrdb.
41043 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41044 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41045 GETFDNETGR.
41046 (netgroup_response_header): Define.
41047 (innetgroup_response_header): Define.
41048 (datahead): Add netgroup_response_header and innetgroup_response_header
41049 elements.
41050 * nscd/nscd.conf: Add entries for netgroup cache.
41051 * nscd/nscd.h (dbtype): Add netgrdb.
41052 (_PATH_NSCD_NETGROUP_DB): Define.
41053 (netgroup_iov_disabled): Declare.
41054 (xmalloc, xcalloc, xrealloc): Move declarations here.
41055 (cache_search): Adjust prototype.
41056 Add netgroup-related prototypes.
41057 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41058 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41059 (__nscd_innetgr): Declare.
41060 * nscd/selinux.c (perms): Use access_vector_t as element type and
41061 add netgroup-related initializers.
41062 * nscd/netgroupcache.c: New file.
41063 * nscd/nscd_netgroup.c: New file.
41064 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41065 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41066 For four parameters use innetgr.
41067 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41068 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41069 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41070 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41071
21fd49a9
UD
41072 * nscd/connections.c (register_traced_file): Don't register file
41073 for disabled databases.
41074
054c0457
UD
410752011-10-06 Ulrich Drepper <drepper@gmail.com>
41076
32b63198
UD
41077 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41078
054c0457
UD
41079 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41080 from tree and freeing node.
41081
64031225
JO
410822011-09-25 Jiri Olsa <jolsa@redhat.com>
41083
41084 * nss/nsswitch.c (__nss_database_lookup): Handle
41085 nss_parse_service_list out of memory case.
41086
0490345c
JO
410872011-09-15 Jiri Olsa <jolsa@redhat.com>
41088
41089 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41090 out of memory case.
41091
3a62d00d
AS
410922011-10-04 Andreas Schwab <schwab@redhat.com>
41093
41094 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41095 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41096 pass it down.
41097 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41098 elf_machine_rela, elf_machine_lazy_rel.
41099 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41100 (ELF_DYNAMIC_DO_REL): Likewise.
41101 (ELF_DYNAMIC_DO_RELA): Likewise.
41102 (ELF_DYNAMIC_RELOCATE): Likewise.
41103 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41104 to ELF_DYNAMIC_DO_REL.
41105 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41106 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41107 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41108 elf_machine_rela.
41109 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41110 skip_ifunc, don't call ifunc function if non-zero.
41111 (elf_machine_rela): Likewise.
41112 (elf_machine_lazy_rel): Likewise.
41113 (elf_machine_lazy_rela): Likewise.
41114 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41115 (elf_machine_lazy_rel): Likewise.
41116 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41117 Likewise.
41118 (elf_machine_lazy_rel): Likewise.
41119 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41120 Likewise.
41121 (elf_machine_lazy_rel): Likewise.
41122 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41123 (elf_machine_lazy_rel): Likewise.
41124 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41125 (elf_machine_lazy_rel): Likewise.
41126 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41127 (elf_machine_lazy_rel): Likewise.
41128 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41129 (elf_machine_lazy_rel): Likewise.
41130 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41131 (elf_machine_lazy_rel): Likewise.
41132 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41133 (elf_machine_lazy_rel): Likewise.
41134
68577918
UD
411352011-09-28 Ulrich Drepper <drepper@gmail.com>
41136
41137 * nss/nss_files/files-init.c (_nss_files_init): Use static
41138 initialization for all the *_traced_file variables.
41139
68822d74
AS
411402011-09-28 Andreas Schwab <schwab@redhat.com>
41141
41142 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41143
2056100b
RM
411442011-09-27 Roland McGrath <roland@hack.frob.com>
41145
41146 [BZ #13226]
41147 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41148
32c76b63
AS
411492011-09-27 Andreas Schwab <schwab@redhat.com>
41150
41151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41152 Reread the line before reparsing it.
41153
bf972c9d
AS
411542011-09-26 Andreas Schwab <schwab@redhat.com>
41155
41156 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41157
e057a1b5
JM
411582011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41159 Maxim Kuvyrkov <maxim@codesourcery.com>
41160 Joseph Myers <joseph@codesourcery.com>
41161
41162 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41163 if needed for __stack_chk_guard.
41164
bc7e1c36
RM
411652011-09-19 Roland McGrath <roland@hack.frob.com>
41166
ecb1482f
RM
41167 * sysdeps/posix/spawni.c (script_execute): Always define it.
41168 It will be optimized away if unused.
41169 (maybe_script_execute): New function.
41170 (__spawni): Call it.
41171
bc7e1c36
RM
41172 * Makerules: Don't include tls.make.
41173 (config-tls): Always set to thread.
41174 * tls.make.c: File removed.
41175
1c3b002b
MF
411762011-09-19 Mike Frysinger <vapier@gentoo.org>
41177
41178 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41179 * config.make.in (CPPFLAGS-config): New substituted variable.
41180
2840865d
UD
411812011-09-15 Ulrich Drepper <drepper@gmail.com>
41182
88738eb6
UD
41183 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41184
cbf645a6 41185 [BZ #13192]
2840865d
UD
41186 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41187 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41188
b402e91a
RM
411892011-09-15 Roland McGrath <roland@hack.frob.com>
41190
41191 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41192 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41193 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41194 (CALL_FAIL): Likewise.
41195 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41196 (CALL_FAIL): Macro removed.
41197 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41198
4c1a1f71
UD
411992011-09-15 Ulrich Drepper <drepper@gmail.com>
41200
41201 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41202 for __FINITE_MATH_ONLY__ == 1.
41203
edc121be
AS
412042011-09-15 Andreas Schwab <schwab@redhat.com>
41205
41206 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41207 __ieee754_sqrt instead of sqrt.
41208 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41209 __ieee754_sqrtf instead of sqrtf.
41210 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41211 __floorf instead of floorf.
41212 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41213 __floorf, __truncf instead of floorf, truncf.
41214
cd205654
UD
412152011-09-14 Ulrich Drepper <drepper@gmail.com>
41216
ee4d0315
UD
41217 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41218
cd205654
UD
41219 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41220 __extern_always_inline.
41221 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41222 32-bit.
41223
48b67d71
AS
412242011-09-14 Andreas Schwab <schwab@redhat.com>
41225
41226 * elf/rtld.c (dl_main): Also relocate in dependency order when
41227 doing symbol dependency testing.
41228
1ae12c75
AS
412292011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41230
41231 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41232 Always define `refsym'.
41233
995a80df
AS
412342011-09-13 Andreas Schwab <schwab@redhat.com>
41235
e529793b
AS
41236 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41237 (__FD_ELT): Renamed from __FDELT.
41238 * misc/bits/select2.h (__FD_ELT): Likewise.
41239 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41240 __FD_MASK instead of __FDELT, __FDMASK.
41241 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41242 Likewise.
41243 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41244 Likewise.
41245
52d4fef8
AS
41246 * elf/Makefile (gen-ldd): Fix pattern.
41247
995a80df
AS
41248 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41249 (init_tls): Likewise.
41250
8682f8b0
UD
412512011-09-12 Ulrich Drepper <drepper@gmail.com>
41252
41253 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41254
de82006d
AS
412552011-09-12 Andreas Schwab <schwab@redhat.com>
41256
a7c8e6a1
AS
41257 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41258 `struct cmsghdr *' instead of `void *'.
41259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41260 Likewise.
41261
0f31fe77
AS
412622011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41263
41264 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41265 if non-absolute.
41266 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41267 ldd_rewrite_script.
0f31fe77 41268
32b4c839
UD
412692011-09-11 Ulrich Drepper <drepper@gmail.com>
41270
83cd1420
UD
41271 * configure.in: Remove --with-tls option.
41272 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41273 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41274 out in case it is missing.
41275 * sysdeps/ia64/elf/configure.in: Likewise.
41276 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41277 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41278 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41279 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41280 * sysdeps/sh/elf/configure.in: Likewise.
41281 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41282 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41283 * sysdeps/x86_64/elf/configure.in: Likewise.
41284 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41285 * sysdeps/mach/hurd/tls.h: Likewise.
41286
633f745d
UD
41287 [BZ #13067]
41288 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41289
f318beb8
UD
41290 [BZ #13090]
41291 * configure.in: Fix use of AC_INIT.
41292
32b4c839
UD
41293 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41294
3ce1f295
UD
412952011-09-10 Ulrich Drepper <drepper@gmail.com>
41296
bb016596
UD
41297 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41298 __set_errno.
8e58439c
UD
41299 * malloc/hooks.c: Likewise.
41300
aebae053 41301 [BZ #11929]
02d46fc4
UD
41302 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41303 variables statically.
41304 (narenas): Initialize.
41305 (list_lock): Initialize.
bb016596
UD
41306 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41307 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41308 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41309 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41310 Add initializers to main_arena and mp_.
41311 (malloc_state): Remove pagesize member. Change all users to use
41312 GLRO(dl_pagesize).
41313
41314 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41315 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41316 is always initialized.
41317
22a89187
UD
41318 * malloc/malloc.c: Removed unused configurations and dead code.
41319 * malloc/arena.c: Likewise.
41320 * malloc/hooks.c: Likewise.
02d46fc4 41321 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41322
d063d164
UD
41323 * include/tls.h: Removed. USE___THREAD must always be defined.
41324 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41325 * elf/dl-libc.c: Likewise.
41326 * elf/dl-tsd.c: Likewise.
41327 * include/errno.h: Likewise.
41328 * include/netdb.h: Likewise.
41329 * include/resolv.h: Likewise.
41330 * inet/herrno-loc.c: Likewise.
41331 * inet/herrno.c: Likewise.
41332 * malloc/arena.c: Likewise.
41333 * malloc/hooks.c: Likewise.
41334 * malloc/malloc.c: Likewise.
41335 * resolv/res-state.c: Likewise.
41336 * resolv/res_libc.c: Likewise.
41337 * sysdeps/i386/dl-machine.h: Likewise.
41338 * sysdeps/ia64/dl-machine.h: Likewise.
41339 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41340 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41341 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41342 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41343 * sysdeps/sh/dl-machine.h: Likewise.
41344 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41345 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41346 * sysdeps/unix/i386/sysdep.S: Likewise.
41347 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41348 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41349 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41351 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41353 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41357 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41358 * sysdeps/x86_64/dl-machine.h: Likewise.
41359 * tls.make.c: Likewise.
41360
3ce1f295
UD
41361 * configure.in: Remove --with-__thread option. Make tests for
41362 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41363 tls_model attribute fail if no support is available. Remove
41364 USE_IN_LIBIO.
41365 * Makeconfig: Adjust for dropped configure option. All features are
41366 now mandatory.
41367 * Makerules: Likewise.
41368 * Versions.def: Likewise.
41369 * argp/argp-fmtstream.c: Likewise.
41370 * argp/argp-fmtstream.h: Likewise.
41371 * argp/argp-help.c: Likewise.
41372 * assert/assert.c: Likewise.
41373 * config.h.in: Likewise.
41374 * config.make.in: Likewise.
41375 * configure: Likewise.
41376 * configure.in: Likewise.
41377 * csu/Versions: Likewise.
41378 * csu/init.c: Likewise.
41379 * elf/tst-audit2.c: Likewise.
41380 * elf/tst-tls10.c: Likewise.
41381 * elf/tst-tls10.h: Likewise.
41382 * elf/tst-tls11.c: Likewise.
41383 * elf/tst-tls12.c: Likewise.
41384 * elf/tst-tls14.c: Likewise.
41385 * elf/tst-tlsmod11.c: Likewise.
41386 * elf/tst-tlsmod12.c: Likewise.
41387 * elf/tst-tlsmod13.c: Likewise.
41388 * elf/tst-tlsmod13a.c: Likewise.
41389 * elf/tst-tlsmod14a.c: Likewise.
41390 * elf/tst-tlsmod15b.c: Likewise.
41391 * elf/tst-tlsmod16a.c: Likewise.
41392 * elf/tst-tlsmod16b.c: Likewise.
41393 * elf/tst-tlsmod7.c: Likewise.
41394 * elf/tst-tlsmod8.c: Likewise.
41395 * elf/tst-tlsmod9.c: Likewise.
41396 * gmon/gmon.c: Likewise.
41397 * grp/fgetgrent_r.c: Likewise.
41398 * grp/putgrent.c: Likewise.
41399 * hurd/fopenport.c: Likewise.
41400 * include/libc-symbols.h: Likewise.
41401 * include/tls.h: Likewise.
41402 * intl/gettextP.h: Likewise.
41403 * intl/loadinfo.h: Likewise.
41404 * locale/global-locale.c: Likewise.
41405 * locale/localeinfo.h: Likewise.
41406 * mach/devstream.c: Likewise.
41407 * malloc/arena.c: Likewise.
41408 * malloc/set-freeres.c: Likewise.
41409 * misc/err.c: Likewise.
41410 * misc/getttyent.c: Likewise.
41411 * misc/mntent_r.c: Likewise.
41412 * posix/getopt.c: Likewise.
41413 * posix/wordexp.c: Likewise.
41414 * pwd/fgetpwent_r.c: Likewise.
41415 * resolv/Versions: Likewise.
41416 * resolv/res_hconf.c: Likewise.
41417 * shadow/fgetspent_r.c: Likewise.
41418 * shadow/putspent.c: Likewise.
41419 * stdio-common/printf_fphex.c: Likewise.
41420 * stdio-common/tmpfile.c: Likewise.
41421 * stdlib/abort.c: Likewise.
41422 * stdlib/fmtmsg.c: Likewise.
41423 * sunrpc/auth_unix.c: Likewise.
41424 * sunrpc/clnt_perr.c: Likewise.
41425 * sunrpc/clnt_tcp.c: Likewise.
41426 * sunrpc/clnt_udp.c: Likewise.
41427 * sunrpc/clnt_unix.c: Likewise.
41428 * sunrpc/openchild.c: Likewise.
41429 * sunrpc/svc_simple.c: Likewise.
41430 * sunrpc/svc_tcp.c: Likewise.
41431 * sunrpc/svc_udp.c: Likewise.
41432 * sunrpc/svc_unix.c: Likewise.
41433 * sunrpc/xdr.c: Likewise.
41434 * sunrpc/xdr_array.c: Likewise.
41435 * sunrpc/xdr_rec.c: Likewise.
41436 * sunrpc/xdr_ref.c: Likewise.
41437 * sunrpc/xdr_stdio.c: Likewise.
41438
1248c1c4
PB
414392011-09-09 Ulrich Drepper <drepper@gmail.com>
41440
41441 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41442
414432011-07-03 Andreas Jaeger <aj@suse.de>
41444
41445 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41446 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41447 regenerate with gen-libm-tests.pl.
41448
414492010-05-12 Petr Baudis <pasky@suse.cz>
41450
41451 [BZ #11589]
41452 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41453 around j0() zero points by switching to j1().
41454 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41455 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41456 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41457 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41458
f22e1074
UD
414592011-09-09 Ulrich Drepper <drepper@gmail.com>
41460
f19009c1
UD
41461 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41462 instead of 0.
41463 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41464 instead of 0.
f19009c1
UD
41465 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41466 Patch in part by Pavel Roskin <proski@gnu.org>.
41467
3f8cc204
UD
41468 [BZ #13138]
41469 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41470 realloc.
41471 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41472 Free memory block if necessary.
41473
f22e1074
UD
41474 [BZ #12847]
41475 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41476 be NULL. Don't lock in this case.
41477
0a2349f9
RM
414782011-09-09 Roland McGrath <roland@hack.frob.com>
41479
41480 * elf/elf.h (ELFOSABI_GNU): New macro.
41481 (ELFOSABI_LINUX): Define to that.
41482
f3cdd467
DZ
414832011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41484
41485 * string/strncat.c (strncat): Undef the symbol in case it has been
41486 defined in bits/string.h.
41487
74718d13
UD
414882011-09-09 Ulrich Drepper <drepper@gmail.com>
41489
633e9e0f
UD
41490 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41491
0a2349f9 41492 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41493 link map.
41494
f9924780
AJ
414952011-08-17 Andreas Jaeger <aj@suse.de>
41496
41497 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41498
7f5517aa
PP
414992011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41500 Ian Lance Taylor <iant@google.com>
41501
41502 * math/libm-test.inc (lround_test): New testcase.
41503 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41504
762011fe
UD
415052011-09-08 Ulrich Drepper <drepper@gmail.com>
41506
92963737
UD
41507 * Makefile: Remove support for automatic cvs check-ins.
41508 * Makerules: Likewise.
41509 * config.make.in: Likewise.
41510 * configure.in: Likewise.
41511 * intl/Makefile: Likewise.
41512 * locale/Makefile: Likewise.
41513 * po/Makefile: Likewise.
41514 * posix/Makefile: Likewise.
41515 * sysdeps/gnu/Makefile: Likewise.
41516 * sysdeps/mach/hurd/Makefile: Likewise.
41517 * sysdeps/sparc/sparc32/Makefile: Likewise.
41518
b0727fd8
JS
41519 [BZ #13118]
41520 * posix/Makefile (bug-regex32-ENV): Define.
41521 Patch by John Stanley <jpsinthemix@verizon.net>.
41522
a0f33f99
UD
41523 * misc/Makefile (headers): Add bits/select2.h.
41524 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41525 * misc/bits/select2.h: New file.
41526 * include/bits/select2.h: New file.
41527 * debug/Makefile (routines): Add fdelt_chk.
41528 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41529 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41530 FD_ISSET.
41531 * debug/fdelt_chk.c: New file.
41532
762011fe
UD
41533 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41534 * wcsmbs/test-wmemcmp.c: Likewise.
41535 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41536 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41537
415382011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41539
41540 * string/Makefile (strop-tests): Add memcmp.
41541 * string/test-wmemcmp.c: New file.
41542 * string/test-memcmp.c: Add wmemcmp support.
41543
7f513ec8
RM
415442011-09-08 Roland McGrath <roland@hack.frob.com>
41545
0442afb4
RM
41546 [BZ #13153]
41547 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41548 2011-07-19 change.
41549
7f513ec8
RM
41550 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41551 garbage value in a __mach_port_mod_refs call in the cases of the
41552 task-self and thread-self ports.
41553
a12b2239
ST
415542011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41555
41556 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41557
610f9ab4
AS
415582011-09-08 Andreas Schwab <schwab@redhat.com>
41559
7f513ec8 41560 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41561
48882a1a
LD
415622011-09-07 Ulrich Drepper <drepper@gmail.com>
41563
b49865be
UD
41564 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41565
fdc86bc9
UD
41566 * elf/dl-libc.c (dlerror_run): Pass back error code from
41567 dl_catch_error.
41568
c966526a
UD
41569 [BZ #13123]
41570 * elf/dl-load.c (lose): Free l_origin if it is valid.
41571
48882a1a
LD
41572 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41573 names.
41574 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41575 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41576 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41577 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41578 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41579 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41580
77a2a8b4
AZ
415812011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41582
41583 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41584 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41585 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41586 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41587 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41588 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41589 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41590 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41591 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41592 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41593
24f579d8
AM
415942011-08-15 Alan Modra <amodra@gmail.com>
41595
41596 [BZ #13092]
41597 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41598 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41599 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41600 ppc_mcount to static-only-routines.
41601 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41602 __mcount_internal.
41603 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41604 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41605
3d4837df
UD
416062011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41607
41608 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41609 for finite and infinity parameters.
41610
22700377
WS
416112011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41612
41613 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41614 and add nop instructions for throughput optimization.
41615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41616
5025581e
WS
416172011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41618
41619 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41620 aligned copy for power7 with vector-scalar instructions.
41621 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41622
08a300c9
L
416232011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41624
41625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41626 AVX check.
41627
59178ef9
AS
416282011-09-07 Andreas Schwab <schwab@redhat.com>
41629
41630 [BZ #13144]
41631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41632 last change.
41633
e38ba7ab
UD
416342011-09-07 Ulrich Drepper <drepper@gmail.com>
41635
41636 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41637 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41638 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41639 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41640 clock_gettime.
41641
d53a73ac
UD
416422011-09-06 Ulrich Drepper <drepper@gmail.com>
41643
fc8bffcc
UD
41644 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41645 Forgot to demangle the pointer.
41646
ceaa0c5d
UD
41647 * sysdeps/i386/sysdep.h: Define atom_text_section.
41648 * sysdeps/x86_64/sysdep.h: Likewise.
41649 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41650 section with atom_text_section.
41651 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41652 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41653 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41655 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41656
a77d3c17
UD
41657 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41658 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41659 already be defined. Change to take two parameters and don't assign
41660 result to variable. Adjust all users.
41661 Define INTERNAL_GETTIME if not already defined.
41662 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41663 call.
41664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41665 HAVE_CLOCK_GETTIME_VSYSCALL.
41666 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41667
d53a73ac
UD
41668 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41669 gettimeofday vsyscall, just use time.
41670
a8f84144
AS
416712011-09-06 Andreas Schwab <schwab@redhat.com>
41672
41673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41674 <errno.h>.
41675
ef606249
UD
416762011-09-06 Ulrich Drepper <drepper@gmail.com>
41677
41678 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41679 syscall on x86-64.
41680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41681 syscall.
41682 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41683 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41684 syscall if possible.
41685
6585cb60
UD
416862011-09-05 Ulrich Drepper <drepper@gmail.com>
41687
41688 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41689 e_ident. Don't pass to find_mapsXX.
41690 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41691
a5f524e4
LD
416922011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41693
41694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41695 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41696 * sysdeps/x86_64/multiarch/strchr.S: Update.
41697 Check bit_slow_BSF bit.
41698 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41699 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41700 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41701
554881ef
UD
417022011-09-05 Ulrich Drepper <drepper@gmail.com>
41703
d96de963
UD
41704 [BZ #13134]
41705 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41706 before glibc 2.15.
41707 (tryshell): Define.
41708 (__spawni): Change last parameter to be flag. Test
41709 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41710 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41711 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41712 * posix/spawni.c: Likewise.
41713 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41714 * posix/spawnp.c: Likewise. Change normal version to use
41715 SPAWN_XFLAGS_USE_PATH.
41716 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41717 SPAWN_XFLAGS_TRY_SHELL.
41718
d48e5868
UD
41719 [BZ #13150]
41720 * posix/glob.h: Remove gcc 1.x support.
41721
554881ef
UD
41722 [BZ #13068]
41723 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41724
693fb948
LD
417252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41726
41727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41728 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41729 strrchr-sse2-bsf
41730 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41731 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41732 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41733 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41734 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41736
1b48c537
UD
417372011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41738
49d42c37
UD
41739 * sysdeps/x86_64/wcscmp.S: New file.
41740
1b48c537
UD
41741 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41742 wcscmp-c wcscmp-sse2
41743 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41744 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41745 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41746 * wcsmbs/wcscmp.c: Allow renaming.
41747
15c95c5d
DM
417482011-09-05 David S. Miller <davem@davemloft.net>
41749
41750 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41751 stack slot, rather than the struct return pointer slot.
41752 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41753 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41755 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41756
2f0ad8f3
UD
417572011-09-05 Ulrich Drepper <drepper@gmail.com>
41758
d88ae418
UD
41759 * po/ja.po: Update from translation team.
41760
2f0ad8f3
UD
41761 [BZ #13144]
41762 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41763 kernel in 64-bit binaries.
41764
5f4318d1
DM
417652011-09-01 David S. Miller <davem@davemloft.net>
41766
41767 * elf/elf.h (HWCAP_SPARC_*): Move to..
41768 * sysdeps/sparc/sysdep.h: this new file and add new values.
41769 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41770 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41771 _DL_HWCAP_COUNT to 24.
41772 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41773 entries.
41774 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41775 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41776 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41778 instead of magic constants.
41779 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41780
3ba57516
DM
417812011-08-31 David S. Miller <davem@davemloft.net>
41782
41783 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41785 Reimplement to do errno handling inline.
41786 (SYSCALL_ERROR_HANDLER): New macro.
41787 (__SYSCALL_STRING): Do not do errno handling in asm.
41788 (__CLONE_SYSCALL_STRING): Delete.
41789 (__INTERNAL_SYSCALL_STRING): Delete.
41790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41791 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41792 (PSEUDO): Reimplement to do errno handling inline.
41793 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41794 (SYSCALL_ERROR_HANDLER): New macro.
41795 (__SYSCALL_STRING): Do not do errno handling in asm.
41796 (__CLONE_SYSCALL_STRING): Delete.
41797 (__INTERNAL_SYSCALL_STRING): Delete.
41798 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41799 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41800 i386.
41801 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41802 (inline_syscall*): Add 'err' argument.
41803 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41804 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41805 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41806 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41807
41808 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41809 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41810
2bc17433
AS
418112011-08-30 Andreas Schwab <schwab@redhat.com>
41812
41813 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41814
fbeb5f4d
JO
418152011-08-29 Jiri Olsa <jolsa@redhat.com>
41816
41817 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41818 directive.
41819
ad69cc26
DM
418202011-08-24 David S. Miller <davem@davemloft.net>
41821
41822 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41823
39dd69df
AS
418242011-08-24 Andreas Schwab <schwab@redhat.com>
41825
41826 * elf/Makefile: Add rules to build and run unload8 test.
41827 * elf/unload8.c: New file.
41828 * elf/unload8mod1.c: New file.
41829 * elf/unload8mod1x.c: New file.
41830 * elf/unload8mod2.c: New file.
41831 * elf/unload8mod3.c: New file.
41832
41833 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41834 it wasn't used.
41835
2c0b250a
DM
418362011-08-23 David S. Miller <davem@davemloft.net>
41837
41838 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41839 subtract stack bias.
41840 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41841 %sp not %fp in calculations.
41842 (_JMPBUF_UNWINDS_ADJ): Likewise.
41843
22044b48
DM
41844 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41845 (aio_suspend): Call it to force an exception region around the
41846 AIO_MISC_WAIT() invocation.
41847
2cae4995
AS
418482011-08-23 Andreas Schwab <schwab@redhat.com>
41849
41850 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41851 backslash.
41852
873a772e
AJ
418532011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41854
41855 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41856 protection macro.
41857 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41858 and <dl-machine.h>.
41859 (Elf64_FuncDesc): Remove.
41860
25ad0df1
DM
418612011-08-22 David S. Miller <davem@davemloft.net>
41862
41863 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41864 sigaltstack check, add missing cfi directives.
41865 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41866 missing cfi directives, and sigaltstack handling.
41867
e888bcbe
AS
418682011-08-16 Andreas Schwab <schwab@redhat.com>
41869
41870 [BZ #11724]
41871 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41872 object is seen twice.
41873 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41874
41875 * elf/Makefile (distribute): Add tst-initorder2.c.
41876 (tests): Add tst-initorder2.
41877 (modules-names): Add tst-initorder2a tst-initorder2b
41878 tst-initorder2c tst-initorder2d. Add rules to build them.
41879 ($(objpfx)tst-initorder2.out): New rule.
41880 * elf/tst-initorder2.c: New file.
41881 * elf/tst-initorder2.exp: New file.
41882
87162f46
AS
418832011-08-22 Andreas Schwab <schwab@redhat.com>
41884
70538b7f
AS
41885 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41886
f55ffe58
AS
41887 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41888 dependencies back to end of function.
41889
87162f46
AS
41890 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41891 $(elfobjdir)/ld.so.
41892
91b392a4
UD
418932011-08-21 Ulrich Drepper <drepper@gmail.com>
41894
41895 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41896 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41898 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41899 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41900 of __vdso_gettimeofday.
41901 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41902 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41903 attribute_hidden.
41904 (_libc_vdso_platform_setup): Remove initialization of
41905 __vdso_gettimeofday and __vdso_time.
41906
5c43483f
UD
419072011-08-20 Ulrich Drepper <drepper@gmail.com>
41908
775a77e7
UD
41909 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41910 and fgetc_unlocked.
41911 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41912 getc_unlocked.
89f447ed 41913
49c74ba9
UD
41914 * elf/dl-open.c (add_to_global): Report additions to the global scope
41915 for LD_DEBUG=scopes.
41916 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41917 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41918
5c43483f
UD
41919 [BZ #13114]
41920 * stdio-common/Makefile (tests): Add bug24.
41921 * stdio-common/bug24.c: New file.
41922
a101b025
AJ
419232011-08-19 Andreas Jaeger <aj@suse.de>
41924
41925 [BZ #13114]
41926 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41927 non-existant file when using close-on-exec mode.
41928
c88f1766
UD
419292011-08-20 Ulrich Drepper <drepper@gmail.com>
41930
0276a718
UD
41931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41932 the very first instruction.
41933
c88f1766
UD
41934 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41935 the CFI state in the end.
41936 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41937 inclusion of dl-trampoline.h.
41938 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41939
51ccffa0
AS
419402011-08-19 Andreas Schwab <schwab@redhat.com>
41941
94d7165f
AS
41942 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41943 expectations for long double.
41944
51ccffa0
AS
41945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41946 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41947
fd708658 419482011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41949
41950 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41951 artificual limit depends upon the system page size.
41952
44f0a71e
UD
419532011-08-17 Ulrich Drepper <drepper@gmail.com>
41954
41955 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41956 * resolv/Makefile: Define CFLAGS-libresolv.
41957
8de79a24
AS
419582011-08-17 Andreas Schwab <schwab@redhat.com>
41959
41960 * nss/makedb.c (compute_tables): Make variables used in nested
41961 function static.
41962
27724598
UD
419632011-08-17 Ulrich Drepper <drepper@gmail.com>
41964
c5305d88
UD
41965 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41966 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41967 if buffer was too small.
41968
27724598
UD
41969 * elf/pldd.c (main): Attach to all threads in the process.
41970 Rewrite /proc handling to use *at functions.
41971
076fe015
UD
419722011-08-16 Ulrich Drepper <drepper@gmail.com>
41973
174baab3
UD
41974 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41975 specifies first scope to show.
41976 (dl_open_worker): Update callers. Move printing scope of new
41977 object to before the relocation.
44f0a71e 41978 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41979 * sysdeps/generic/ldsodefs.h: Update declaration.
41980
076fe015
UD
41981 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41982 string for the scope number.
41983
a60df2c3
UD
419842011-08-14 Ulrich Drepper <drepper@gmail.com>
41985
41986 * nscd/servicescache.c (cache_addserv): Make sure written is always
41987 initialized.
41988
5e4287d1
RM
419892011-08-14 Roland McGrath <roland@hack.frob.com>
41990
85ae0589
RM
41991 * sysdeps/i386/i486/bits/atomic.h
41992 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41993 statement expression, so as to suppress "set but not used" warning.
41994 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41995
69f63097
RM
41996 * string/strncat.c (STRNCAT): Use prototype definition.
41997
675456ef
RM
41998 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41999 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42000 -Iprograms here.
42001 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42002 (localedef-modules): Add localedef.
42003 (locale-modules): Add locale.
42004
5e4287d1
RM
42005 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42006 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42007 to avoid a warning.
42008
9c96ff23
DM
420092011-08-14 David S. Miller <davem@davemloft.net>
42010
42011 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42012 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42013
f9ddf089
UD
420142011-08-13 Ulrich Drepper <drepper@gmail.com>
42015
44f0a71e 42016 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42017 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42018 * elf/rtld.c (dl_main): Set l_name of vDSO.
42019 Call _dl_show_scope when DL_DEBUG_SCOPES.
42020 (process_dl_debug): Recognize scopes flag and also set it for all.
42021 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42022 Declare _dl_show_scope.
42023
1dc27704
UD
42024 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42025 (do_dlopen): Pass caller_dlopen to dl_open.
42026 (__libc_dlopen_mode): Initialize caller_dlopen.
42027
f9ddf089
UD
42028 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42029 of libc. Make tolower call locale-independent. Optimize a bit by
42030 using isdigit instead of isalnum.
42031 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42032
9ac533d3
UD
420332011-08-12 Ulrich Drepper <drepper@gmail.com>
42034
42035 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42036 was a dependency or dynamically loaded.
42037
89edf2e9
UD
420382011-08-11 Ulrich Drepper <drepper@gmail.com>
42039
8e999d29
UD
42040 * intl/l10nflist.c: Allow architecture-specific pop function.
42041 * sysdeps/x86_64/l10nflist.c: New file.
42042
89edf2e9
UD
42043 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42044 classification.
42045
14d96785
AS
420462011-08-10 Andreas Schwab <schwab@redhat.com>
42047
42048 * include/dirent.h: Add libc_hidden_proto for scandirat and
42049 scandirat64. Don't declare __scandirat64.
42050 * dirent/scandirat.c: Add libc_hidden_def.
42051 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42052 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42053
6761ac04
DM
420542011-08-10 David S. Miller <davem@davemloft.net>
42055
42056 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42057 enum.
42058 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42059 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42061
c55fbd1e
UD
420622011-08-09 Ulrich Drepper <drepper@gmail.com>
42063
42064 * Versions.def [libc]: Add GLIBC_2.15.
42065 * dirent/Makefile (routines): Add scandirat and scandirat64.
42066 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42067 GLIBC_2.15.
42068 * dirent/dirent.h: Declare scandirat and scandirat64.
42069 * dirent/scandirat.c: New file.
42070 * dirent/scandirat64.c: New file.
42071 * sysdeps/wordsize-64/scandirat.c: New file.
42072 * sysdeps/wordsize-64/scandirat64.c: New file.
42073 * dirent/opendir.c: Define opendirat.
42074 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42075 using scandirat.
42076 * dirent/scandir64.c: Adjust for scandir.c change.
42077 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42078 __scandirat64, and __scandir_cancel_handler.
42079 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42080 additional parameter and use openat instead of open (outside of ld.so).
42081 Add new __opendir as wrapper around __opendirat.
42082 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42083 here without requiring old scandirat implementation.
42084
879165f2
UD
420852011-08-08 Ulrich Drepper <drepper@gmail.com>
42086
42087 * dirent/scandir.c (cancel_handler): Renamed to
42088 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42089 defined. Adjust users.
42090 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42091 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42092
cb7e923b
UD
420932011-08-04 Ulrich Drepper <drepper@gmail.com>
42094
16292edd
UD
42095 * string/test-string.h (IMPL): Use __STRING to expand name and then
42096 stringify it.
42097
cb7e923b
UD
42098 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42099 of cleanups.
42100
cff82933
LD
421012011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42102
42103 * string/Makefile: Update.
42104 (strop-tests): Append strncat.
42105 * string/test-wcscmp.c: New file.
42106 New comprehensive test for wcscmp.
42107 * string/test-strcmp.c: Update.
42108 (WIDE): New define.
42109
9be9bfcc
AS
421102011-07-22 Andreas Schwab <schwab@redhat.com>
42111
42112 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42113 line.
42114
2e96f1c7
AS
421152011-07-26 Andreas Schwab <schwab@redhat.com>
42116
42117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42118 encoding to ACE if AI_IDN.
42119
85188888
JJ
421202011-08-01 Jakub Jelinek <jakub@redhat.com>
42121
42122 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42123 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42124
5fa16e9b
LD
421252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42126
42127 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42128 Fix overflow bug in strncat.
42129 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42130
42131 * string/test-strncat.c: Update.
42132 Add new tests for checking overflow bugs.
42133
421342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42135
42136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42137 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42138 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42139 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42140 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42141 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42142 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42143 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42144 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42145
42146 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42147 (USE_AS_STRCAT): Define.
42148 Add strcat and strncat support.
42149 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42150
8c1a459f
AS
421512011-07-25 Andreas Schwab <schwab@redhat.com>
42152
42153 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42154 __n bigger than INT_MAX+1.
42155 (__strncmp_g): Likewise.
42156
bba33c28
UD
421572011-07-23 Ulrich Drepper <drepper@gmail.com>
42158
798be72d
UD
42159 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42160 * libio/stido.h: Likewise.
42161
8accd4dc
UD
42162 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42163 (AF_NFC): Define.
42164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42165 (AF_NFC): Define.
42166
cbff0d96
UD
42167 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42168 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42169 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42170 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42171 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42172
9191c04a
UD
42173 [BZ #13021]
42174 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42175 installed.
42176
bba33c28
UD
42177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42178 typo.
42179 (_dl_x86_64_save_sse): Likewise.
42180
90f139dd
UD
421812011-07-22 Ulrich Drepper <drepper@gmail.com>
42182
1aae088a
UD
42183 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42184 OSXSAVE.
42185 (_dl_x86_64_save_sse): Likewise.
42186
8e2045f5
UD
42187 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42188
90f139dd
UD
42189 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42190
1d002f25
AS
421912011-07-21 Andreas Schwab <schwab@redhat.com>
42192
42193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42194 change.
42195 (_dl_x86_64_save_sse): Use correct AVX check.
42196
21137f89
UD
421972011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42198
42199 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42200 bug in strncpy/strncat.
42201 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42202
a65c0b7a
UD
422032011-07-21 Ulrich Drepper <drepper@gmail.com>
42204
42205 * string/tester.c (test_strcat): Add tests for different alignments
42206 of source and destination.
42207 (test_strncat): Likewise.
42208
6986b98a
UD
422092011-07-20 Ulrich Drepper <drepper@gmail.com>
42210
90bb2039
UD
42211 [BZ #12852]
42212 * posix/glob.c (glob): Check passed in values before using them in
42213 expressions to avoid some overflows.
42214 (glob_in_dir): Likewise.
42215
5644ef54
UD
42216 [BZ #13007]
42217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42218 check for AVX enablement so that we don't crash with old kernels and
42219 new hardware.
42220 * elf/tst-audit4.c: Add same checks here.
42221 * elf/tst-audit6.c: Likewise.
42222
42223 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42224
bfc9dc9b
AS
422252011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42226
42227 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42228
702e64bb
UD
422292011-07-20 Ulrich Drepper <drepper@gmail.com>
42230
42231 * po/cs.po: Update from translation team.
42232 * po/bg.po: Likewise.
42233
295e904f
MP
422342011-07-12 Marek Polacek <mpolacek@redhat.com>
42235
42236 * misc/sys/cdefs.h: Add support for const attribute.
42237 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42238 to gnu_dev_{major,minor,makedev} functions.
42239
3ff94596
MP
422402011-07-20 Marek Polacek <mpolacek@redhat.com>
42241
42242 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42243
28b59fca
AS
422442011-07-20 Andreas Schwab <schwab@redhat.com>
42245
42246 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42247 strlen results.
42248
19df733e
AK
422492011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42250
42251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42252 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42253 register in order to avoid conflicts with the soft frame pointer
42254 being held in r11 when necessary.
42255 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42256 (INTERNAL_VSYSCALL_NCS): Likewise.
42257
c8835729
MP
422582011-07-14 Marek Polacek <mpolacek@redhat.com>
42259
42260 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42261 * elf/dl-fini.c (_dl_fini): Adjust caller.
42262 * elf/dl-close.c (_dl_close_worker): Likewise.
42263 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42264
b902330c
MP
422652011-07-15 Marek Polacek <mpolacek@redhat.com>
42266
8991e135
MP
42267 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42268 "aux_cache->nlibs < 0".
42269
b902330c
MP
42270 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42271 in the reload-count case.
42272
99710781
LD
422732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42274
42275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42276 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42277 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42278 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42279 * sysdeps/x86_64/multiarch/strcat.S: New file.
42280 * sysdeps/x86_64/multiarch/strncat.S: New file.
42281 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42282 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42283 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42284 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42285 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42286 (USE_AS_STRCAT): Define.
42287 Add strcat and strncat support.
42288 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42289 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42290 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42291 * string/strncat.c: Update.
42292 (USE_AS_STRNCAT): Define.
42293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42294 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42295 and i7.
42296 * sysdeps/x86_64/multiarch/init-arch.h
42297 (bit_Prefer_PMINUB_for_stringop): New.
42298 (index_Prefer_PMINUB_for_stringop): Likewise.
42299 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42300 bit_Prefer_PMINUB_for_stringop.
42301
7dc6bd90
UD
423022011-07-19 Ulrich Drepper <drepper@gmail.com>
42303
42304 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42305 buffer64.
42306 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42307 of casting of buffer.
42308 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42309 buffer32 and buffer64.
42310 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42311 writes instead of casting of buffer.
42312 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42313 buffer32.
42314 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42315 casting of buffer.
42316
e0e72284
AS
423172011-07-19 Andreas Schwab <schwab@redhat.com>
42318
42319 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42320
feb1eb0b
UD
423212011-07-19 Ulrich Drepper <drepper@gmail.com>
42322
42323 * nscd/nscd.c (termination_handler): Don't do anything for a database
42324 if it has not yet been initialized.
42325
298711ff
UD
423262011-07-18 Ulrich Drepper <drepper@gmail.com>
42327
42328 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42329
423302011-07-15 Marek Polacek <mpolacek@redhat.com>
42331
42332 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42333
f9d68389
UD
423342011-07-18 Ulrich Drepper <drepper@gmail.com>
42335
42336 * po/nl.po: Update from translation team.
42337 * po/sv.po: Likewise.
42338
db290cf5
RM
423392011-07-16 Roland McGrath <roland@hack.frob.com>
42340
42341 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42342 now disallowed by GCC.
5c550700 42343
fd5e21c7
RM
42344 * configure.in (use-default-link): Default to yes if a test -shared
42345 link meets our qualifications.
42346 * configure: Regenerated.
42347
5c550700
RM
42348 * config.make.in (output-format): New variable.
42349 * configure.in: Check for ld --print-output-format support.
42350 * configure: Regenerated.
42351 * Makerules ($(common-objpfx)format.lds)
42352 [$(output-format) != unknown]: Just use $(output-format),
42353 instead of the linker-script munging.
42354
9fa2c032
RM
423552011-07-14 Roland McGrath <roland@hack.frob.com>
42356
a6928d51
RM
42357 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42358 of $(common-objpfx)shlib.lds.
42359 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42360
661607b3
RM
42361 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42362 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42363
9fa2c032
RM
42364 * configure.in (-z relro check): Adjust test code to add a large
42365 writable data section after it.
42366 * configure: Regenerated.
42367
defe9061
RM
423682011-07-11 Roland McGrath <roland@hack.frob.com>
42369
42370 * configure.in (-z relro check): Fix test code to make the variable
42371 truly const.
42372 * configure: Regenerated.
42373
319b9ad4
UD
423742011-07-11 Ulrich Drepper <drepper@gmail.com>
42375
42376 * nscd/nscd.h (struct traced_file): Define.
42377 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42378 elements. Add traced_files.
42379 (inotify_fd): Declare.
42380 (register_traced_file): Declare.
42381 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42382 (inotify_fd): Export.
42383 (resolv_conf_descr): Remove.
42384 (nscd_init): Move inotify descriptor creation to main.
42385 Don't register files for notification here.
42386 (register_traced_file): New function.
42387 (invalidate_cache): Don't use reset_res to determine whether to call
42388 res_init, go through the list of registered files.
42389 (main_loop_poll): The inotify descriptors are now stored in the
42390 structures for the traced files.
42391 (main_loop_epoll): Likewise
42392 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42393 to __nss_disable_nscd.
42394 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42395 for a database anymore. Check the records for all the registered
42396 files instead.
42397 * nss/Makefile (libnss_files-routines): Add files-init.
42398 (libnss_db-routines): Add db-init.
42399 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42400 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42401 * nss/nss_db/db-init.c: New file.
42402 * nss/nss_files/files-init.c: New file.
42403 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42404 __nss_lookup_function.
42405 (__nss_lookup_function): Call nss_load_library.
42406 (nss_load_all_libraries): New function.
42407 (__nss_disable_nscd): Take parameter with callback function for files
42408 to register. Set is_nscd. Load all the DSOs for the NSS modules
42409 used for the cached services.
42410 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42411 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42412 options for features to all the files in nscd.
42413
42414 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42415
23bee3e8
RM
424162011-07-10 Roland McGrath <roland@hack.frob.com>
42417
42418 * csu/elf-init.c (__libc_csu_init): Comment typo.
42419
46a5b7f0
UD
424202011-07-09 Ulrich Drepper <drepper@gmail.com>
42421
42422 * po/pl.po: Update from translation team.
42423 * po/ja.po: Likewise.
42424 * po/ru.po: Likewise.
42425 * po/ko.po: Likewise.
42426 * po/fr.po: Likewise.
42427
d30cf5bb
RM
424282011-07-09 Roland McGrath <roland@hack.frob.com>
42429
113ddea4
RM
42430 * configure.in (.ctors/.dtors header and trailer check):
42431 Use an empirical test on a built program.
42432 * configure: Regenerated.
42433
574920b4
RM
42434 * configure.in (-z relro check): Use an empirical test on a built DSO.
42435 Detect, but do not require, on ia64.
42436 * configure: Regenerated.
42437
d30cf5bb
RM
42438 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42439 Update tests that use readelf to use $READELF instead.
42440 * configure: Regenerated.
42441
8538fdb3
UD
424422011-07-08 Ulrich Drepper <drepper@gmail.com>
42443
42444 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42445 if the result is not used.
42446
04d08991
AJ
424472011-07-05 Andreas Jaeger <aj@suse.de>
42448
42449 [BZ#9696]
42450 * stdlib/tst-strtod.c: Add testcase.
42451
de283087
AD
424522011-07-07 Ulrich Drepper <drepper@gmail.com>
42453
4e5f31c8 42454 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42455 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42456 The latter has a higher limit. Take additional parameter to pass to
42457 the new function.
42458 (__pathconf): Pass file to __statfs_link_max.
42459 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42460 __statfs_link_max.
42461 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42462 __statfs_link_max.
42463
de283087
AD
42464 [BZ #12868]
42465 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42466 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42467 Handle Lustre.
42468 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42469 (__statfs_filesize_max): Likewise.
42470 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42471
c75fa153
AJ
424722011-07-05 Andreas Jaeger <aj@suse.de>
42473
42474 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42475
1a544854
UD
424762011-07-06 Marek Polacek <mpolacek@redhat.com>
42477
42478 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42479 `status' variable.
42480 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42481 Likewise.
42482
6f0eec67
UD
424832011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42484
42485 * Makefile (strop-tests): Add strncat.
42486 * string/test-strncat.c: New file.
42487
aae30307
UD
424882011-06-30 Marek Polacek <mpolacek@redhat.com>
42489
42490 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42491
c0cfb5eb
UD
424922011-06-21 Andreas Jaeger <aj@suse.de>
42493
42494 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42495 Copy rule from iconvdata/Makefile.
42496
01636b21
UD
424972011-07-06 Ulrich Drepper <drepper@gmail.com>
42498
42499 [BZ #12922]
42500 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42501 but no long options are defined, just return 'W'.
42502
9895c8bc
UD
425032011-06-22 Marek Polacek <mpolacek@redhat.com>
42504
42505 [BZ #9696]
42506 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42507
5d4cf042
UD
425082011-07-06 Ulrich Drepper <drepper@gmail.com>
42509
42510 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42511 netgroups to read.
960e5535 42512 (innetgr): Likewise.
5d4cf042 42513
751eb97e
RM
425142011-07-05 Roland McGrath <roland@hack.frob.com>
42515
42516 * config.make.in (install_root): Default to $(DESTDIR).
42517
f15f1e45
UD
425182011-07-05 Ulrich Drepper <drepper@gmail.com>
42519
42520 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42521
4e34ac6a
RM
425222011-07-02 Roland McGrath <roland@hack.frob.com>
42523
5e9b6af4
RM
42524 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42525
84f9ea0f
RM
42526 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42527 containing directory rather than embedding absolute directory names.
42528
ea5ee9f7
RM
42529 * scripts/check-local-headers.sh: Rewritten using awk.
42530 Match by word, not by line. Print error messages for matches.
42531 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42532
1b74661a
RM
42533 * Makerules [shlib-lds-flags empty]:
42534 ($(common-objpfx)libc_pic.opts): New target.
42535 ($(common-objpfx)libc_pic.os.clean): New target.
42536 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42537
42538 * config.make.in (OBJCOPY): New variable.
42539 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42540 * configure: Regenerated.
42541
f781ef40
RM
42542 * config.make.in (use-default-link): New variable.
42543 * configure.in (use_default_link): Grok --with-default-link to set it.
42544 * configure: Regenerated.
42545 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42546 (shlib-lds, shlib-lds-flags): Define to empty.
42547
2d4fa81e
RM
42548 * Makerules (shlib-lds): New variable.
42549 (shlib-lds-flags): New variable.
42550 (build-shlib, build-moduile, build-module-asneeded): Use it.
42551 ($(common-objpfx)libc.so): Use $(shlib-lds).
42552 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42553 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42554
31fffa6b
RM
42555 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42556 DT_FLAGS/DT_FLAGS_1 with zero flags.
42557
4e34ac6a
RM
42558 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42559 linker script munging.
42560
fcfc776b
UD
425612011-07-02 Ulrich Drepper <drepper@gmail.com>
42562
42563 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42564 as 128-bit value.
42565 * crypt/sha512.c (sha512_process_block): Perform total addition using
42566 128-bit if possible.
42567 (__sha512_finish_ctx): Likewise.
42568 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42569 as 64-bit value.
42570 * crypt/sha256.c (SWAP64): Define.
42571 (sha256_process_block): Perform total addition using 64-bit if
42572 possible.
42573 (__sha256_finish_ctx): Likewise.
42574
99231d9a
UD
425752011-07-01 Ulrich Drepper <drepper@gmail.com>
42576
42577 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42578 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42579 * nscd/hstcache.c (cache_addhst): Likewise.
42580 * nscd/grpcache.c (cache_addgr): Likewise.
42581 * nscd/aicache.c (addhstaiX): Likewise
42582 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42583
445b4a53
TK
425842011-07-01 Thorsten Kukuk <kukuk@suse.de>
42585
42586 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42588 * nscd/hstcache.c (cache_addhst): Likewise.
42589 * nscd/grpcache.c (cache_addgr): Likewise.
42590 * nscd/aicache.c (addhstaiX): Likewise
42591
6d4d8e8e
AS
425922011-07-01 Andreas Schwab <schwab@redhat.com>
42593
42594 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42595 domain only when needed.
42596
89f654c5
AS
425972011-06-30 Andreas Schwab <schwab@redhat.com>
42598
42599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42600 is always restored.
42601
cf3b23ff
UD
426022011-06-29 Ulrich Drepper <drepper@gmail.com>
42603
42604 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42605 are re-adding the entry.
42606 * nscd/servicescache.c (cache_addserv): Likewise.
42607
751626f9
AJ
426082011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42609
42610 * sysdeps/generic/dl-irel.h: fix protection against multiple
42611 inclusions.
42612 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42613
9113ea1f
UD
426142011-06-28 Ulrich Drepper <drepper@gmail.com>
42615
5c0b8d90
UD
42616 [BZ #12935]
42617 * malloc/memusage.sh: Fix quoting in message.
42618 * debug/xtrace.sh: Likewise.
42619
9113ea1f
UD
42620 * configure.in: Remove support for --experimental-malloc option, make
42621 it the default.
42622 * config.make.in: Likewise.
42623 * malloc/Makefile: Likewise.
42624
a4172181
AS
426252011-06-27 Andreas Schwab <schwab@redhat.com>
42626
42627 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42628 two-byte characters.
42629
78a7eee7
RM
426302011-06-27 Roland McGrath <roland@hack.frob.com>
42631
62bede13
RM
42632 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42633 AC_CACHE_CHECK invocation.
42634 * configure: Regenerated.
42635
78a7eee7
RM
42636 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42637
5ce33a62
UD
426382011-06-27 Ulrich Drepper <drepper@gmail.com>
42639
034807a9
UD
42640 [BZ #12350]
42641 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42642 bit from old_res_options.
42643
4902da17
UD
42644 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42645
5ce33a62
UD
42646 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42647 value type for setfct.
42648
c2344f56
L
426492011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42650
42651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42652 __gettimeofday instead of gettimeofday.
42653
68468076
UD
426542011-06-26 Ulrich Drepper <drepper@gmail.com>
42655
42656 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42657
acb0d739
L
426582011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42659
42660 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42661
42662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42663 info.
42664
8912479f
L
426652011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42666
42667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42668 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42669 strcpy-sse2-unaligned strncpy-sse2-unaligned
42670 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42671 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42672 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42673 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42674 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42675 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42676 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42677 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42678 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42679 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42680 (STRCPY): Support SSE2 and SSSE3 versions.
42681
d5495a11
UD
426822011-06-24 Ulrich Drepper <drepper@gmail.com>
42683
42684 [BZ #12874]
42685 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42686 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42687 kernels which artificially limit size of requests.
42688
0b1cbaae
L
426892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42690
42691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42692 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42693 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42694 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42695 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42696 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42697 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42698 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42699 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42701 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42702 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42703 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42704 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42705 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42707 Enable unaligned load optimization for Intel Core i3, i5 and i7
42708 processors.
42709 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42710 Define.
42711 (index_Fast_Unaligned_Load): Define.
42712 (HAS_FAST_UNALIGNED_LOAD): Define.
42713
07f494a0
MP
427142011-06-23 Marek Polacek <mpolacek@redhat.com>
42715
42716 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42717
fa3fc0fe
UD
427182011-06-22 Ulrich Drepper <drepper@gmail.com>
42719
42720 [BZ #12907]
42721 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42722 until it is clear that the information is realy needed.
42723 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42724
e12df166
AS
427252011-06-22 Andreas Schwab <schwab@redhat.com>
42726
42727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42728
852eb34d
UD
427292011-06-22 Ulrich Drepper <drepper@gmail.com>
42730
84e2a551
UD
42731 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42732 /sys/devices/system/cpu/online if it is usable.
42733
852eb34d
UD
42734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42735 reading the information from the /proc filesystem to once a second.
42736
6e502e19
UD
427372011-06-21 Andreas Jaeger <aj@suse.de>
42738
42739 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42740 NULL after inclusion of kernel headers.
42741
75d39ff2
UD
427422011-06-21 Ulrich Drepper <drepper@gmail.com>
42743
51f9aa6a
UD
42744 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42745 calls to internal_setent.
42746
c0244a9d
UD
42747 [BZ #12885]
42748 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42749 addresses using gethostbyname4_r ignore IPv4 addresses.
42750
c5e3c2ae
UD
42751 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42752 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42753
75d39ff2
UD
42754 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42755
42675c6f
DM
427562011-06-20 David S. Miller <davem@davemloft.net>
42757
42758 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42759 inclusions.
42760 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42761
42762 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42763 (elf_irel): Use it.
42764 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42765 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42766 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42767 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42768 * sysdeps/x86_64/dl-irel.h: Likewise.
42769
42770 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42771 * elf/dl-sym.c: Likewise.
42772
57912a71
UD
427732011-06-15 Ulrich Drepper <drepper@gmail.com>
42774
42775 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42776 need to dereference resplen2.
42777
ee22793d
AS
427782011-06-14 Andreas Schwab <schwab@redhat.com>
42779
42780 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42781
a9e836b0
UD
427822011-06-15 Ulrich Drepper <drepper@gmail.com>
42783
77fb9117
UD
42784 * Makeconfig: Define vardbdir and inst_vardbdir.
42785 * nss/Makefile: Add rules to install db-Makefile.
42786
40c1b22c
UD
42787 * nss/nss_db/db-XXX.c: Cleanup.
42788
9f2da732
UD
42789 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42790 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42791 GLIBC_PRIVATE.
42792 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42793 * nss/makedb.c: Implement -g option to specify that value strings
42794 are generated and should not be added to table iterated over for
42795 get*ent calls.
42796 * nss/nss_db/db-initgroups.c: New file.
42797
82e9a1f7
UD
42798 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42799 interface.
42800
c41af17e
UD
42801 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42802 (internal_getgrouplist): Adjust to name change.
42803 Update use_initgroups_entry if this is not the first call.
42804 * nss/databases.def: Add initgroups entry.
42805
a9e836b0
UD
42806 * nss/makedb.c (compute_tables): Check result of multiple hash table
42807 sizes to minimize maximum chain length.
42808
2666d441
UD
428092011-06-14 Ulrich Drepper <drepper@gmail.com>
42810
42811 * Versions.def: Add entry for libnss_db.
42812 * shlib-versions: Likewise.
42813 * nss/Makefile: Add rules to build libnss_db.
42814 * nss/Versions: Add libnss_db information. Organize libnss_files
42815 entries better.
42816 * nss/db-Makefile: Add gshadow support. Change rules for the new
42817 makedb progra. Some minor improvements to generate smaller files.
42818 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42819 here from...
42820 * nss/makedb.c: ...here.
42821 Improve database format to be smaller and require less memory at
42822 runtime.
42823 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42824 db anymore.
42825 * nss/nss_db/db-netgrp.c: Likewise.
42826 * nss/nss_db/db-open.c: Likewise.
42827 * nss/nss_files/flies-XXX.x: Adjust comments.
42828 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42829 * nss/nss_files/files-grp.c: Likewise.
42830 * nss/nss_files/files-hosts.c: Likewise.
42831 * nss/nss_files/files-network.c: Likewise.
42832 * nss/nss_files/files-proto.c: Likewise.
42833 * nss/nss_files/files-pwd.c: Likewise.
42834 * nss/nss_files/files-rpc.c: Likewise.
42835 * nss/nss_files/files-service.c: Likewise.
42836 * nss/nss_files/files-sgrp.c: Likewise.
42837 * nss/nss_files/files-spwd.c: Likewise.
42838 * nss/nss_db/db-alias.c: Removed.
42839 * nss/nss_db/dummy-db.h: Removed.
42840
9ee76b5a
UD
428412011-06-02 Ulrich Drepper <drepper@gmail.com>
42842
42843 * nss/makedb.c: Rewritten to not use database library.
42844 * nss/Makefile: Update to build new makedb program.
42845
c71ca1f8
AJ
428462011-06-14 Andreas Jaeger <aj@suse.de>
42847
42848 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42849 memset declaration.
42850
3154bfb8
UD
428512011-06-10 Andreas Schwab <schwab@redhat.com>
42852
42853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42854 tmpbuf.
42855
b350afab
RM
428562011-06-10 Roland McGrath <roland@hack.frob.com>
42857
decd4e50
RM
42858 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42859 * elf/Makefile ($(objpfx)ld.so): Likewise.
42860
5615eaf2
RM
42861 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42862 Don't list ld.so twice in dependencies.
42863
42864 * posix/bug-regex31.c: Include <stdlib.h>.
42865
42866 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42867
42868 * nis/nss_compat/compat-spwd.c
42869 (getspent_next_nss_netgr): Remove unused variable.
42870 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42871
42872 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42873 nonmembers" output to use the right array.
42874
42875 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42876
42877 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42878
42879 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42880 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42881 * catgets/gencat.c (read_input_file): Likewise.
42882 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42883
42884 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42885 variable definition inside #if's controlling its use.
42886
42887 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42888
42889 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42890
42891 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42892
42893 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42894 unreachable code.
42895
42896 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42897
b68e08db
RM
42898 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42899 * configure: Regenerated.
42900
b350afab
RM
42901 * Makerules: Revert last change.
42902 * elf/Makefile: Likewise.
42903
28368601
RM
429042011-06-09 Roland McGrath <roland@hack.frob.com>
42905
42906 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42907 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42908 (reloc-link): Likewise.
42909
11988f8f
UD
429102011-06-09 Ulrich Drepper <drepper@gmail.com>
42911
42912 * elf/Makefile: Add rules to build pldd.
42913 * elf/pldd.c: New file.
42914 * elf/pldd-xx.c: New file.
42915
e80fab37
UD
429162011-06-07 Ulrich Drepper <drepper@gmail.com>
42917
42918 * version.h: Update for 2.15 development version.
42919
9b849836
DM
429202011-06-07 David S. Miller <davem@davemloft.net>
42921
42922 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42923 ifuncs.
42924 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42925 elf_machine_lazy_rel): Likewise.
42926 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42927 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42928 elf_machine_lazy_rel): Likewise.
42929 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42930 dl_hwcap via passed in argument.
42931 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42932 Likewise.
42933
5a31b283
AK
429342011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42935
42936 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42937
069e52f8
RM
429382011-06-06 Roland McGrath <roland@hack.frob.com>
42939
42940 [BZ #12849]
42941 * manual/fdl-1.1.texi: New file, verbatim from:
42942 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42943 * manual/lgpl-2.1.texi: New file, verbatim from:
42944 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42945 * manual/Makefile (licenses): New variable, list those new file names.
42946 (texis): Use it.
42947 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42948
42949 * manual/fdl.texi: File removed.
42950 * manual/lesser.texi: File removed.
42951 * manual/libc.texinfo (Copying, Documentation License):
42952 Use new @include file names, put @appendix directive before @include.
42953
f16846a5
JJ
429542011-06-04 Jakub Jelinek <jakub@redhat.com>
42955
42956 [BZ #12841]
42957 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42958 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42959 (mq_open): Add __NTH.
42960
3d29045b
L
429612011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42962
42963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42964 Assume Intel Core i3/i5/i7 processor if AVX is available.
42965
8c297311
UD
429662011-05-31 Ulrich Drepper <drepper@gmail.com>
42967
42968 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42969 typo.
42970
c8fc0c91
UD
429712011-05-31 Andreas Schwab <schwab@redhat.com>
42972
42973 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42974 memory. Use alloca_account. Fix memory leak when retrying.
42975
5b27a807
UD
429762011-05-31 Ulrich Drepper <drepper@gmail.com>
42977
356f8bc6
UD
42978 * version.h (RELEASE): Bump for 2.14 release.
42979 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42980
5b27a807
UD
42981 * config.make.in (RANLIB): Remove entry.
42982
01f16ab0
UD
429832011-05-30 Ulrich Drepper <drepper@gmail.com>
42984
41fce8bd
UD
42985 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42986 (libc.pot): Work around missing support for .ksh extension in xgettext.
42987
4769ae77
UD
42988 [BZ #12684]
42989 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42990 if both request failed.
42991 (send_dg): In case of server errors clear resplen or *resplen2.
42992
6b1e7d19
UD
42993 [BZ #12454]
42994 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42995 when there are multiple maps.
42996 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42997 (_dl_fini): Remove test here.
42998
01f16ab0
UD
42999 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43000
b1ebd700
UD
430012011-05-29 Ulrich Drepper <drepper@gmail.com>
43002
7ae22829
UD
43003 [BZ #12350]
43004 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43005 bit from old_res_options.
43006 (gaih_inet): Likewise.
43007
553149f6 43008 [BZ #11099]
18a84741 43009 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43010 as signed.
43011
652ffab1
UD
43012 * resolv/res_init.c (res_setoptions): Make the code more compact.
43013
16985fd0
UD
43014 [BZ #11558]
43015 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43016 set RES_USEVC.
43017
0464f746
UD
43018 [BZ #11634]
43019 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43020
7d17596c
UD
43021 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43022
cf6bbbd7
UD
43023 [BZ #11781]
43024 * malloc/malloc.h: Declare malloc hook variables as volatile.
43025
13f1ab36
UD
43026 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43027 in last patch.
43028
b1ebd700
UD
43029 [BZ #11799]
43030 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43031 raise in the comment.
80e2212d
UD
43032 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43033 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43034 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43035
ce67228d
UD
430362011-05-28 Ulrich Drepper <drepper@gmail.com>
43037
8887a920
UD
43038 [BZ #12811]
43039 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43040 grow the buffers more if it already has to be sufficient.
43041 (build_wcs_upper_buffer): Likewise.
43042 * posix/regexec.c (check_matching): Likewise.
43043 (clean_state_log_if_needed): Likewise.
43044 (extend_buffers): Don't enlarge buffers beyond size of the input
43045 buffer.
43046 Patches mostly by Emil Wojak <emil@wojak.eu>.
43047 * posix/bug-regex32.c: New file.
43048 * posix/Makefile (tests): Add bug-regex32.
43049
4f031072
UD
43050 * locale/findlocale.c (_nl_find_locale): Return right away if
43051 _nl_explode_name failed.
43052 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43053
d0478f0c
UD
43054 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43055
de81b246
UD
43056 * debug/xtrace.sh: Unify messages.
43057 * malloc/memusage.sh: Likewise.
43058
c738465a
UD
43059 [BZ #12813]
43060 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43061 time symbol from vDSO. Substitute with vsyscall if not available.
43062 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43063 __vdso_time.
43064
f1f929d7
UD
43065 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43066 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43067 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43068 Add sendmmsg and internal_sendmmsg.
43069 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43070 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43071 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43072
ce67228d
UD
43073 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43074 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43075 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43076
e57420c6
UD
430772011-05-27 Ulrich Drepper <drepper@gmail.com>
43078
a8509ca5
UD
43079 [BZ #12813]
43080 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43081 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43082 available.
43083 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43084 __vdso_getcpu.
43085
e57420c6
UD
43086 [BZ #12814]
43087 * iconvdata/Makefile (tests): Add bug-iconv9.
43088 * iconvdata/bug-iconv9.c: New file.
43089
4d07db15
AS
430902011-05-27 Andreas Schwab <schwab@redhat.com>
43091
43092 [BZ #12814]
43093 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43094
ea486f69
JJ
430952011-05-25 Jakub Jelinek <jakub@redhat.com>
43096
43097 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43098 (struct user_regs_struct): Change intcs field back to cs.
43099
6f038433
UD
431002011-05-25 Ulrich Drepper <drepper@gmail.com>
43101
43102 * po/ja.po: Update from translation team.
43103
67f86a25
UD
431042011-05-23 Ulrich Drepper <drepper@gmail.com>
43105
43106 [BZ #12795]
43107 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43108 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43109
def7fbd6
AS
431102011-05-20 Andreas Schwab <schwab@redhat.com>
43111
43112 * stdlib/longlong.h: Update from GCC.
43113
f50ef8f1
AS
431142011-05-23 Andreas Schwab <schwab@redhat.com>
43115
43116 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43117 parameter name.
43118 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43119 Add parameter name.
43120 (__sysconf): Pass it down.
43121
de7ce8f1
UD
431222011-05-22 Ulrich Drepper <drepper@gmail.com>
43123
f2962a71
UD
43124 [BZ #12671]
43125 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43126 some situations.
43127 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43128 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43129 add in in __libc_use_alloca calls. Adjust callers.
43130 (glob): Use malloc in some situations.
43131
de7ce8f1
UD
43132 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43133 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43134 pltexit.
43135
aec84f53
UD
431362011-05-21 Ulrich Drepper <drepper@gmail.com>
43137
05bb4a68
UD
43138 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43139 and CLOCK_BOOTTIME_ALARM.
43140
7ea72f99
UD
43141 [BZ #12782]
43142 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43143 is returned.
43144
7e4afad5
UD
43145 * string/_strerror.c (__strerror_r): Print negative errors as signed
43146 numbers.
43147
8e211fec
UD
43148 [BZ #12777]
43149 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43150 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43151 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43152
f7d82dc9
UD
43153 * configure.in: Fix typo in redirection and correct removal of test
43154 files in two cases.
43155
cc9e536d
UD
43156 [BZ #12788]
43157 * locale/setlocale.c (new_composite_name): Fix test to check for
43158 identical name of all categories.
43159
aec84f53
UD
43160 [BZ #12792]
43161 * libio/filedoalloc.c (local_isatty): New function.
43162 (_IO_file_doallocate): Use local_isatty.
43163 * stdio-common/perror.c (perror): In case a new stream is used
43164 forward the stream error.
43165 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43166 error flag.
43167
78e64fdc
RT
431682011-05-20 Ulrich Drepper <drepper@gmail.com>
43169
34a9094f
UD
43170 [BZ #11869]
43171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43172 alloca.
43173 * include/alloca.h (extend_alloca_account): Define.
43174
78e64fdc
RT
43175 [BZ #11857]
43176 * posix/regex.h: Fix comments with documentation of user-accessible
43177 fields after compilation and describe correct free'ing of pattern
43178 after re_compile_pattern.
43179 Patch by Reuben Thomas <rrt@sc3d.org>.
43180
457bddfc
RA
431812011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43182
43183 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43184 and -mno-altivec to prevent the compiler from using Altivec and/or
43185 VSX instructions when the corresponding registers are not available.
43186
a4527b51
AS
431872011-05-19 Andreas Schwab <schwab@redhat.com>
43188
43189 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43190
ed690b2f
UD
431912011-05-19 Ulrich Drepper <drepper@gmail.com>
43192
43193 * libio/freopen.c (freopen): Use __dup2, not dup2.
43194 * libio/freopen64.c (freopen64): Likewise.
43195
8db73634
L
431962011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43197
43198 [BZ #12775]
43199 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43200 * math/Makefile (tests): Add test-powl.
43201 (CFLAGS-test-powl.c): Define.
43202 * math/test-powl.c: New file.
43203
0a197a9d
L
432042011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43205
43206 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43207
ee30c380
UD
432082011-05-17 Ulrich Drepper <drepper@gmail.com>
43209
43210 [BZ #11837]
43211 * iconvdata/gb18030.c: Update to GB18020-2005.
43212
6ce75379
UD
432132011-05-16 Ulrich Drepper <drepper@gmail.com>
43214
a4b89fd8
AR
43215 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43216 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43217 Patch by Aharon Robbins <arnold@skeeve.com>.
43218
ea389b12
UD
43219 [BZ #11892]
43220 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43221 on the stack.
43222
68a3f91f
UD
43223 [BZ #11895]
43224 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43225 through underflows.
43226
15cc7dd1
UD
43227 [BZ #12766]
43228 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43229 point to strings before performing equality test for error_one_per_line
43230 mode.
43231
f3799213
UD
43232 [BZ #11697]
43233 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43234
d79a9c94
UD
43235 [BZ #11820]
43236 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43237 (struct user_fpregs_struct): Avoid __uint*_t types.
43238
56e5eb46
UD
43239 [BZ #6420]
43240 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43241 symbol info. Use it instead of calling _dl_addr locally.
43242 (lock_and_info): New function.
43243 (tr_freehook): Call lock_and_info and pass symbol info as additional
43244 parameter to tr_where.
43245 (tr_mallochook): Likewise.
43246 (tr_reallochook): Likewise.
43247 (tr_memalignhook): Likewise.
43248
6ce75379
UD
43249 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43250 used and couldn't be at all thread-safe.
43251
f8a3b5bf
UD
432522011-05-15 Ulrich Drepper <drepper@gmail.com>
43253
94b7cc37
UD
43254 * libio/freopen.c (freopen): Don't close old file descriptor
43255 before the new one is opened. Instead dup the new file descriptor
43256 to the old one after the new stream is created.
43257 * libio/freopen64.c (freopen64): Likewise.
43258 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43259 * libio/fileops.c (_IO_new_file_close_it): Handle new
43260 _IO_FLAGS2_NOCLOSE flag.
43261 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43262 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43263 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43264 _IO_FLAGS2_NOCLOSE flag.
43265 * include/unistd.h: Add hidden_proto for dup3.
43266 Define __have_dup3.
43267 * io/dup3.c: Define hidden symbol.
43268 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43269
bd25564e
UD
43270 [BZ #7101]
43271 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43272 when an incomplete long option is used.
43273 * posix/tst-getopt_long1.c: New file.
43274 * posix/Makefile (tests): Add tst-getopt_long1.
43275
c84cfef4
UD
43276 [BZ #10138]
43277 * scripts/config.guess: Update from autoconf-2.68.
43278 * scripts/config.sub: Likewise.
43279
3b85df27
UD
43280 [BZ #10157]
43281 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43282 tests into ...
43283 (has_cpuclock): ...this. New function.
43284 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43285 macro here based on has_cpuclock code.
43286
15a856b1
UD
43287 [BZ #10149]
43288 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43289 First byte (not low byte) is now always NUL.
43290 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43291
05f399e6
UD
43292 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43293 Use non-cancelable interfaces.
43294
10a52685 43295 [BZ #9809]
94ecc67d
UD
43296 * locale/iso-639.def: Add entry for Sorani.
43297
f8a3b5bf
UD
43298 [BZ #11901]
43299 * include/stdlib.h: Move include protection to the right place.
43300 Define abort_msg_s. Declare __abort_msg with it.
43301 * stdlib/abort.c (__abort_msg): Adjust type.
43302 * assert/assert.c (__assert_fail_base): New function. Majority
43303 of code from __assert_fail. Allocate memory for __abort_msg with
43304 mmap.
43305 (__assert_fail): Now call __assert_fail_base.
43306 * assert/assert-perr.c: Remove bulk of implementation. Use
43307 __assert_fail_base.
43308 * include/assert.hL Declare __assert_fail_base.
43309 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43310 mmap.
43311 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43312
1af4e298
UD
433132011-05-14 Ulrich Drepper <drepper@gmail.com>
43314
f8a3b5bf 43315 [BZ #11952]
d26dfc60
MG
43316 [BZ #12453]
43317 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43318 until all modules are registered in the DTV.
43319 * elf/Makefile: Add rules to build and run tst-tls19.
43320 * elf/tst-tls19.c: New file.
43321 * elf/tst-tls19mod1.c: New file.
43322 * elf/tst-tls19mod2.c: New file.
43323 * elf/tst-tls19mod3.c: New file.
43324 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43325
2fc54d6f
UD
43326 [BZ #12083]
43327 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43328 correctly.
43329
98d76b46
UD
43330 [BZ #12601]
43331 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43332 two-byte sequence errors.
43333 * iconvdata/Makefile (tests): Add bug-iconv8.
43334 * iconvdata/bug-iconv8.c: New file.
43335
da3c19ef
UD
43336 [BZ #12626]
43337 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43338 buf2 definition.
43339
ca408c15
UD
43340 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43341
d6f67f7d
UD
43342 [BZ #12432]
43343 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43344 (dummy_getcfa): New function.
43345 (init): Get _Unwind_GetCFA address, use dummy if not found.
43346 (backtrace_helper): In recursion check, also check whether CFA changes.
43347 (__backtrace): Completely initialize arg.
43348
1af4e298 43349 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43350 storing incomplete byte sequence in state object. Avoid testing for
43351 guaranteed too small input if we know there is enough data available.
1af4e298 43352
da62f81b
AS
433532011-05-11 Andreas Schwab <schwab@redhat.com>
43354
43355 * Makeconfig (+link-pie): Indent.
43356 * Rules (binaries-pie): Define if $(have-fpie) and
43357 $(build-shared).
43358 (binaries-shared): Also filter out $(binaries-pie).
43359 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43360 * nscd/Makefile (others-pie): Add nscd.
43361 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43362 ($(objpfx)nscd): Remove command override.
43363 * login/Makefile (others-pie): Add pt_chown.
43364 ($(objpfx)pt_chown): Remove command override.
43365 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43366 remove command overrides.
43367
fcabc0f8
UD
433682011-05-13 Ulrich Drepper <drepper@gmail.com>
43369
20030ae6
UD
43370 * libio/tst_putwc.c: Fix error messages.
43371
fcabc0f8
UD
43372 [BZ #12724]
43373 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43374 currently writing and seek to current position when not.
43375 * libio/Makefile (tests): Add bug-fclose1.
43376 * libio/bug-fclose1.c: New file.
43377
320a5dc0
PB
433782011-05-12 Ulrich Drepper <drepper@gmail.com>
43379
43380 [BZ #12511]
43381 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43382 don't set DF_1_NODELETE here.
43383 (do_lookup_x): When entering new entry test for copy relocation
43384 and if necessary set DF_1_NODELETE flag.
43385 * elf/tst-unique4.cc: New file.
43386 * elf/tst-unique4.h: New file.
43387 * elf/tst-unique4lib.cc: New file.
43388 * elf/Makefile: Add rules to build and run tst-unique4.
43389 Patch by Piotr Bury <pbury@goahead.com>.
43390
22836f52
UD
433912011-05-11 Ulrich Drepper <drepper@gmail.com>
43392
f574184a
UD
43393 [BZ #12052]
43394 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43395
e1fb097f
UD
43396 [BZ #12625]
43397 * misc/mntent_r.c (addmntent): Flush the stream after the output
43398
22836f52
UD
43399 [BZ #12393]
43400 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43401 (is_trusted_path_normalize): Skip initial colon. Append slash
43402 to empty buffer. Duplicate is_trusted_path code but allow
43403 constructed patch to be prefix.
43404 (is_dst): Allow $ORIGIN followed by /.
43405 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43406 Correct testing of result of is_trusted_path_normalize
43407 (decompose_rpath): Fix warning.
43408
7b3b0b2a
UD
434092011-05-10 Ulrich Drepper <drepper@gmail.com>
43410
43411 [BZ #11257]
43412 * grp/initgroups.c (internal_getgrouplist): When we found the service
43413 list through the initgroups entry in nsswitch.conf do not always
43414 continue on a successful lookup. Don't always use the
eac80ce2 43415 __nss_group_database value if it is set.
7b3b0b2a
UD
43416 * nss/nsswitch.conf (initgroups): Change action for successful db
43417 lookup to continue for compatibility.
43418
2a81eaa5
UD
434192011-05-09 Ulrich Drepper <drepper@gmail.com>
43420
be97a69e
UD
43421 [BZ #11532]
43422 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43423 and CP774 modules.
43424 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43425 and CP774 modules.
43426 * iconvdata/tst-tables.sh: Likewise.
43427 * iconvdata/cp770.c: New file.
43428 * iconvdata/cp771.c: New file.
43429 * iconvdata/cp772.c: New file.
43430 * iconvdata/cp773.c: New file.
43431 * iconvdata/cp774.c: New file.
43432 * iconvdata/testdata/CP770: New file.
43433 * iconvdata/testdata/CP770..UTF8: New file.
43434 * iconvdata/testdata/CP771: New file.
43435 * iconvdata/testdata/CP771..UTF8: New file.
43436 * iconvdata/testdata/CP772: New file.
43437 * iconvdata/testdata/CP772..UTF8: New file.
43438 * iconvdata/testdata/CP773: New file.
43439 * iconvdata/testdata/CP773..UTF8: New file.
43440 * iconvdata/testdata/CP774: New file.
43441 * iconvdata/testdata/CP774..UTF8: New file.
43442
43443 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43444 END CHARMAP line.
43445 * iconvdata/gen-8bit-gap.sh: Likewise.
43446 * iconvdata/gen-8bit.sh: Likewise.
43447
c1e9e399
UD
43448 * locale/iso-639.def: Add ary entry.
43449
24c55fb3 43450 [BZ #11258]
96b4b1b0
UD
43451 * locale/C-translit.h.in: Add U20A1 transliteration.
43452
bdc2f971
KB
43453 [BZ #12178]
43454 * locale/iso-639.def: Add wae entry.
43455 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43456
2952b117
UD
43457 [BZ #12545]
43458 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43459 for n.
43460
2a81eaa5
UD
43461 [BZ #12711]
43462 * locale/C-translit.h.in: Add entry for U20B9.
43463 Patch by pravin.d.s@gmail.com.
43464
28377d1b
UD
434652011-05-08 Ulrich Drepper <drepper@gmail.com>
43466
7fb90fb8
UD
43467 [BZ #12713]
43468 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43469 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43470 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43471 in rtld. Use *stat64.
7fb90fb8 43472 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43473 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43474 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43475 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43476 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43477 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43478 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43479 __fstatat64 macros.
7fb90fb8
UD
43480 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43481 * dirent/rewinddir.c: Add libc_hidden_def.
43482 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43483 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43484
28377d1b
UD
43485 * include/dirent.h (__alloc_dir): Add flags parameter.
43486 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43487 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43488 __alloc_dir.
43489 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43490 from fdopendir if O_CLOEXEC is already set.
43491
66bdbaa4
AM
434922011-03-15 Alan Modra <amodra@gmail.com>
43493
43494 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43495 l_tls_firstbyte_offset non-zero. Save padding offset in
43496 l_tls_firstbyte_offset for later use.
43497 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43498 freeing static tls block.
43499
95721191
JN
435002011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43501
43502 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43503 where #ifdef was intended. The intent is to prevent ARG_MAX from
43504 being defined by the kernel headers.
43505
f87dfb1f
UD
435062011-05-07 Ulrich Drepper <drepper@gmail.com>
43507
43508 [BZ #12734]
43509 * resolv/resolv.h: Define RES_NOTLDQUERY.
43510 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43511 no-tld-query and set RES_NOTLDQUERY.
43512 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43513 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43514 modern BIND to search name as TLD unless forbidden.
43515
47c3cd7a
UD
435162011-05-07 Petr Baudis <pasky@suse.cz>
43517 Ulrich Drepper <drepper@gmail.com>
43518
43519 [BZ #12393]
43520 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43521 (is_trusted_path): ...to here.
c1e9ea35 43522 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43523 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43524 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43525
8a35c912
PP
435262011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43527
43528 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43529 __BEGIN/__END_DECLS.
43530
acd41f47
UD
435312011-05-06 Ulrich Drepper <drepper@gmail.com>
43532
43533 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43534 NSS_STATUS_NOTFOUND if no record was found.
43535
597df647
AS
435362011-05-05 Andreas Schwab <schwab@redhat.com>
43537
43538 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43539 (headers-not-in-tirpc): Remove rpc/netdb.h
43540 * resolv/netdb.h: Revert last change.
43541
b9af1301
PP
435422011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43543
43544 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43545 circular dependency between libgcc.a and libc.a.
43546
4e34d5f5
AS
435472011-05-05 Andreas Schwab <schwab@redhat.com>
43548
43549 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43550 * nis/Makefile: Don't install rpcsvc/*.
43551 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43552 instead of <rpc/types.h>.
43553 (MAXHOSTNAMELEN): Define.
43554
00ee369c
AS
435552011-05-03 Andreas Schwab <schwab@redhat.com>
43556
43557 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43558
0b592a30
MB
435592011-04-28 Maciej Babinski <mbabinski@google.com>
43560
43561 [BZ #12714]
43562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43563 gethostbyname4_r when IPv6 results are possible.
43564
6e04cbbe
UD
435652011-05-02 Ulrich Drepper <drepper@gmail.com>
43566
43567 [BZ #12723]
43568 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43569 _PC_PIPE_BUF handling.
43570
e4ecafe0
BH
435712011-04-30 Bruno Haible <bruno@clisp.org>
43572
43573 [BZ #12717]
43574 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43575 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43576 to 'int'.
43577 * inet/getnameinfo.c (getnameinfo): Likewise.
43578
125ee683
UD
435792011-04-29 Ulrich Drepper <drepper@gmail.com>
43580
43581 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43582 to groups setting in database lookup.
43583 * nss/nsswitch.conf: Add initgroups entry.
43584
b722481a
EB
435852011-04-22 Ulrich Drepper <drepper@gmail.com>
43586
43587 [BZ #12685]
43588 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43589 mode string.
43590 Patch by Eric Blake <eblake@redhat.com>.
43591
4df46dbd
L
435922011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43593
43594 * sunrpc/Makefile (need-export-routines): Add svc_run.
43595 (routines): Remove svc_run.
43596 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43597 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43598 * sunrpc/svc_run.c (svc_run): Likewise.
43599 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43600
e84142d2
UD
436012011-04-21 Ulrich Drepper <drepper@gmail.com>
43602
43603 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43604 problem in reallocation in last patch.
43605
877175d8
UD
436062011-04-20 Ulrich Drepper <drepper@gmail.com>
43607
43608 * sunrpc/Makefile: Move inclusion of Rules.
43609
ab8eed78
UD
436102011-04-19 Ulrich Drepper <drepper@gmail.com>
43611
43612 * nss/nss_files/files-initgroups.c: New file.
43613 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43614 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43615 _nss_files_initgroups_dyn.
43616
e3d8f584
RS
436172011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43618
43619 * elf/elf.h (R_ARM_IRELATIVE): Define.
43620
af190f45
UD
436212011-04-19 Ulrich Drepper <drepper@gmail.com>
43622
43623 * po/ru.po: Update from translation team.
43624
53cf59ef
UD
436252011-04-17 Ulrich Drepper <drepper@gmail.com>
43626
43627 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43628 dependencies.
43629
4c559bcd
MF
436302011-02-06 Mike Frysinger <vapier@gentoo.org>
43631
43632 [BZ #12653]
43633 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43634 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43635 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43636 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43637 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43638
4420675c
AS
436392011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43640
43641 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43642 differing bytes.
43643 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43646
75ea32ab
UD
436472011-04-17 Ulrich Drepper <drepper@gmail.com>
43648
43649 [BZ #12420]
43650 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43651 storing it.
43652 * stdlib/bug-getcontext.c: New file.
43653 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43654
27390476
AK
436552011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43656
43657 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43658 instructions into .machine "z9-109".
43659 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43660 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43661
10442705
AK
436622011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43663
43664 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43665 between environment variables and auxiliary vector.
43666
7b57bfe5
UD
436672011-04-16 Ulrich Drepper <drepper@gmail.com>
43668
43669 * Makefile: Add rules to build linkobj/libc.so.
43670 * include/libc-symbols.h: Define libc_hidden_nolink.
43671 * include/rpc/auth.h: Mark functions which are to be hidden.
43672 * include/rpc/auth_des.h: Likewise.
43673 * include/rpc/auth_unix.h: Likewise.
43674 * include/rpc/clnt.h: Likewise.
43675 * include/rpc/des_crypt.h: Likewise.
43676 * include/rpc/key_prot.h: Likewise.
43677 * include/rpc/pmap_clnt.h: Likewise.
43678 * include/rpc/pmap_prot.h: Likewise.
43679 * include/rpc/pmap_rmt.h: Likewise.
43680 * include/rpc/rpc_msg.h: Likewise.
43681 * include/rpc/svc.h: Likewise.
43682 * include/rpc/svc_auth.h: Likewise.
43683 * include/rpc/xdr.h: Likewise.
43684 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43685 * nss/Makefile: Likewise.
43686 * sunrpc/Makefile: Don't install headers. Build library with normal
43687 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43688 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43689 for the compat linking library. Remove use of INTDEF/INTUSE.
43690 * sunrpc/auth_none.c: Likewise.
43691 * sunrpc/auth_unix.c: Likewise.
43692 * sunrpc/authdes_prot.c: Likewise.
43693 * sunrpc/authuxprot.c: Likewise.
43694 * sunrpc/clnt_gen.c: Likewise.
43695 * sunrpc/clnt_perr.c: Likewise.
43696 * sunrpc/clnt_raw.c: Likewise.
43697 * sunrpc/clnt_simp.c: Likewise.
43698 * sunrpc/clnt_tcp.c: Likewise.
43699 * sunrpc/clnt_udp.c: Likewise.
43700 * sunrpc/clnt_unix.c: Likewise.
43701 * sunrpc/des_crypt.c: Likewise.
43702 * sunrpc/des_soft.c: Likewise.
43703 * sunrpc/get_myaddr.c: Likewise.
43704 * sunrpc/key_call.c: Likewise.
43705 * sunrpc/key_prot.c: Likewise.
43706 * sunrpc/netname.c: Likewise.
43707 * sunrpc/pm_getmaps.c: Likewise.
43708 * sunrpc/pm_getport.c: Likewise.
43709 * sunrpc/pmap_clnt.c: Likewise.
43710 * sunrpc/pmap_prot.c: Likewise.
43711 * sunrpc/pmap_prot2.c: Likewise.
43712 * sunrpc/pmap_rmt.c: Likewise.
43713 * sunrpc/publickey.c: Likewise.
43714 * sunrpc/rpc_cmsg.c: Likewise.
43715 * sunrpc/rpc_common.c: Likewise.
43716 * sunrpc/rpc_dtable.c: Likewise.
43717 * sunrpc/rpc_prot.c: Likewise.
43718 * sunrpc/rpc_thread.c: Likewise.
43719 * sunrpc/rtime.c: Likewise.
43720 * sunrpc/svc.c: Likewise.
43721 * sunrpc/svc_auth.c: Likewise.
43722 * sunrpc/svc_authux.c: Likewise.
43723 * sunrpc/svc_raw.c: Likewise.
43724 * sunrpc/svc_run.c: Likewise.
43725 * sunrpc/svc_simple.c: Likewise.
43726 * sunrpc/svc_tcp.c: Likewise.
43727 * sunrpc/svc_udp.c: Likewise.
43728 * sunrpc/svc_unix.c: Likewise.
43729 * sunrpc/svcauth_des.c: Likewise.
43730 * sunrpc/xcrypt.c: Likewise.
43731 * sunrpc/xdr.c: Likewise.
43732 * sunrpc/xdr_array.c: Likewise.
43733 * sunrpc/xdr_float.c: Likewise.
43734 * sunrpc/xdr_intXX_t.c: Likewise.
43735 * sunrpc/xdr_mem.c: Likewise.
43736 * sunrpc/xdr_rec.c: Likewise.
43737 * sunrpc/xdr_ref.c: Likewise.
43738 * sunrpc/xdr_sizeof.c: Likewise.
43739 * sunrpc/xdr_stdio.c: Likewise.
43740
e6c61494
UD
437412011-04-10 Ulrich Drepper <drepper@gmail.com>
43742
43743 [BZ #12650]
43744 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43745 * sysdeps/ia64/dl-tls.h: Likewise.
43746 * sysdeps/powerpc/dl-tls.h: Likewise.
43747 * sysdeps/s390/dl-tls.h: Likewise.
43748 * sysdeps/sh/dl-tls.h: Likewise.
43749 * sysdeps/sparc/dl-tls.h: Likewise.
43750 * sysdeps/x86_64/dl-tls.h: Likewise.
43751 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43752
34fe483e
AS
437532011-03-14 Andreas Schwab <schwab@redhat.com>
43754
43755 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43756 rpath element also skip the following colon.
43757 (expand_dynamic_string_token): Add is_path parameter and pass
43758 down to DL_DST_REQUIRED and _dl_dst_substitute.
43759 (decompose_rpath): Call expand_dynamic_string_token with
43760 non-zero is_path. Ignore empty rpaths.
43761 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43762 with zero is_path.
43763
f12a32e6
AS
437642011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43765
43766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43767 Make cancelable.
43768
38a7d692
UD
437692011-04-09 Ulrich Drepper <drepper@gmail.com>
43770
43771 [BZ #12655]
43772 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43773 Patch by Filipe David Manana <fdmanana@apache.org>.
43774
e451d22b
AS
437752011-04-07 Andreas Schwab <schwab@redhat.com>
43776
43777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43778 Maintain aligned stack.
43779 (CHECK_RSP): Remove unused macro.
43780
dedc7c7b
UD
437812011-04-03 Ulrich Drepper <drepper@gmail.com>
43782
43783 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43784 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43785
94521213
UD
437862011-04-02 Ulrich Drepper <drepper@gmail.com>
43787
43788 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43789
8cb700c0 43790 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43791
0354e355
L
437922011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43793
43794 [BZ #12518]
43795 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43796 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43797 * sysdeps/x86_64/memmove.c: New file.
43798 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43799 (memcpy): Renamed to ...
43800 (__new_memcpy): This.
43801 (memcpy): Provide GLIBC_2_14 memcpy.
43802 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43803 (memcpy): Provide GLIBC_2_2_5 memcpy.
43804
8593482f
UD
438052011-04-01 Ulrich Drepper <drepper@gmail.com>
43806
43807 [BZ #12631]
43808 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43809
81a5726b
AS
438102011-03-30 Andreas Schwab <schwab@redhat.com>
43811
43812 * misc/syncfs.c: New file.
43813 * misc/Makefile (routines): Add syncfs.
43814 * posix/unistd.h: Declare syncfs.
43815 * sysdeps/unix/syscalls.list: Add syncfs.
43816
00e5419f
AS
438172011-04-01 Andreas Schwab <schwab@redhat.com>
43818
43819 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43820 open_by_handle_at.
43821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43822 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43824 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43826 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43827 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43828
748876bf
UD
438292011-04-01 Ulrich Drepper <drepper@gmail.com>
43830
658e451d
UD
43831 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43832 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43833 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43835 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43837 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43838
748876bf
UD
43839 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43840 sync_file_range.c with -fexceptions.
43841 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43842 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43843 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43844 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43845 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43846 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43848 sync_file_range as cancellation point
43849 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43850 now a wrapper around __call_sync_file_range with cancellation handling.
43851 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43852 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43853 function name to __call_sync_file_range.
43854 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43855 Add call_sync_file_range.
748876bf 43856
6e63d5e1
AS
438572011-04-01 Andreas Schwab <schwab@redhat.com>
43858
43859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43860 bits/timex.h.
6e63d5e1 43861
46998f74
UD
438622011-04-01 Ulrich Drepper <drepper@gmail.com>
43863
4c1423ed
UD
43864 * iconv/iconv.h: Fix typo in comment.
43865 * io/fcntl.h: Likewise.
43866 * libio/stdio.h: Likewise.
43867 * posix/spawn.h: Likewise.
43868 * posix/unistd.h: Likewise.
43869 * stdlib/stdlib.h: Likewise.
43870 * time/time.h: Likewise.
43871 * wcsmbs/wchar.h: Likewise.
43872
158648c0
UD
43873 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43874 open_by_handle): Add.
43875 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43876 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43877 Augment a few comments.
43878 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43879 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43880 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43881 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43883 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43884 open_by_handle.
43885
46998f74
UD
43886 * io/fcntl.h (AT_EMPTY_PATH): Define.
43887
83fe108b
UD
438882011-03-30 Ulrich Drepper <drepper@gmail.com>
43889
43890 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43891 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43892 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43893 to...
43894 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43895 * Versions.def: Add GLIBC_2.14.
43896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43897 Export.
83fe108b 43898
bb242059
UD
438992011-03-22 Ulrich Drepper <drepper@gmail.com>
43900
43901 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43902 round counter.
43903 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43904
c97a1282
L
439052011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43906
43907 [BZ #12597]
43908 * string/test-strncmp.c (do_page_test): New function.
43909 (check2): Likewise.
43910 (test_main): Call check2.
43911 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43912
2a115601
UD
439132011-03-20 Ulrich Drepper <drepper@gmail.com>
43914
43915 [BZ #12587]
43916 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43917 Handle cache information in CPU leaf 4.
43918 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43919
8126d904
UD
439202011-03-18 Ulrich Drepper <drepper@gmail.com>
43921
042c49c6 43922 [BZ #12583]
8126d904
UD
43923 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43924 character representation.
43925 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43926
ccfe366e
RA
439272011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43928
43929 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43930 END(__isnan) to END(__isnanf) to match function entry point/label
43931 EALIGN(__isnanf,...).
43932
c6e13027
JJ
439332011-03-10 Jakub Jelinek <jakub@redhat.com>
43934
43935 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43936
33f85a3f
UD
439372011-03-10 Ulrich Drepper <drepper@gmail.com>
43938
028478fa
UD
43939 [BZ #12510]
43940 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43941 copy from the symbol referenced in the relocation to initialize the
43942 used variable.
43943 Patch by Piotr Bury <pbury@goahead.com>.
43944 * elf/Makefile: Add rules to build and tst-unique3.
43945 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43946 * elf/tst-unique3.cc: New file.
43947 * elf/tst-unique3.h: New file.
43948 * elf/tst-unique3lib.cc: New file.
43949 * elf/tst-unique3lib2.cc: New file.
43950
33f85a3f
UD
43951 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43952
03592fc7
MF
439532011-03-10 Mike Frysinger <vapier@gentoo.org>
43954
43955 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43956 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43957 to _start.
03592fc7 43958
6a5ee102
UD
439592011-03-06 Ulrich Drepper <drepper@gmail.com>
43960
43961 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43962 to-be-loaded object along a path to loader is ld.so.
43963
7e4ba49c
HJ
439642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43965 Ulrich Drepper <drepper@gmail.com>
43966
43967 * sysdeps/x86_64/memset.S: After aligning destination, code
43968 branches to different locations depending on the value of
43969 misalignment, when multiarch is enabled. Fix this.
43970
439712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43972
43973 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43974 Set _x86_64_preferred_memory_instruction for AMD processsors.
43975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43976 Set bit_Prefer_SSE_for_memop for AMD processors.
43977
13a804de
UD
439782011-03-04 Ulrich Drepper <drepper@gmail.com>
43979
43980 * libio/fmemopen.c (fmemopen): Optimize a bit.
43981
9d25c392
AS
439822011-03-03 Andreas Schwab <schwab@redhat.com>
43983
43984 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43985
a5543c6a
RM
439862011-03-03 Roland McGrath <roland@redhat.com>
43987
43988 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43989
012d35f7
DM
439902011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43991
7e4ba49c 43992 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43993 __bzero_ultra1 instead of __memset_ultra1.
43994
4bff6e01
AS
439952011-02-23 Andreas Schwab <schwab@redhat.com>
43996 Ulrich Drepper <drepper@gmail.com>
43997
43998 [BZ #12509]
43999 * include/link.h (struct link_map): Add l_orig_initfini.
44000 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44001 returning unsuccessfully.
44002 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44003 close of a file loaded at startup, restore the original l_initfini
44004 list.
44005 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44006 list, store the pointer.
44007 * elf/Makefile ($(objpfx)noload-mem): New rule.
44008 (noload-ENV): Define.
44009 (tests): Add $(objpfx)noload-mem.
44010 * elf/noload.c: Include <memcheck.h>.
44011 (main): Call mtrace. Close all opened handles.
44012
f2092faf
AS
440132011-02-17 Andreas Schwab <schwab@redhat.com>
44014
44015 [BZ #12454]
44016 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44017 dependencies are missing.
44018
6c8a2e88
ST
440192011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44020
f2092faf 44021 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44022 Hurd needs munmap.
44023 * sysdeps/mach/hurd/ifreq.h: New file.
44024
84a42118
PB
440252011-01-27 Petr Baudis <pasky@suse.cz>
44026 Ulrich Drepper <drepper@gmail.com>
44027
071f805e 44028 [BZ 12445]#
84a42118
PB
44029 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44030 to extend_alloca().
44031 * stdio-common/bug23.c: New file.
44032 * stdio-common/Makefile (tests): Add bug23.
44033
e23fe25b
AS
440342010-09-28 Andreas Schwab <schwab@redhat.com>
44035 Ulrich Drepper <drepper@gmail.com>
44036
44037 [BZ #12489]
44038 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44039 before performing relro protection. At old place add assertion
44040 to make sure nothing changed.
44041
d3f02e10
NS
440422011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44043 Glauber de Oliveira Costa <glommer@gmail.com>
44044
44045 * elf/elf.h: Add new ARM TLS relocs.
44046
d55fd7a5
RA
440472011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44048
44049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44050 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44051 cast from r3.
44052 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44053 'tests' variable.
44054 * sysdeps/wordsize-64/tst-writev.c: New file.
44055
2206397e
RA
440562011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44057
44058 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44059 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44060 insns in _dl_start to prevent a TOC reference before relocs are
44061 resolved.
44062
e9433893
UD
440632011-02-15 Ulrich Drepper <drepper@gmail.com>
44064
44065 [BZ #12469]
44066 * Makeconfig: Remove RANLIB definition.
44067 * Makerules: Don't use RANLIB.
44068 * aclocal.m4: Remove ranlib test.
44069 * configure.in: No need to check for ranlib.
44070 * elf/rtld-Rules: Don't use RANLIB.
44071
f75286c6
ST
440722011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44073
8e31c82d
ST
44074 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44075 protection macro.
44076 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44077 inclusion protection macro.
44078
f75286c6
ST
44079 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44080 SIGRTMIN and SIGRTMAX and print information in that case only when
44081 SIGRTMIN is defined.
44082
c1d0e639
JJ
440832011-02-11 Jakub Jelinek <jakub@redhat.com>
44084
44085 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44086 arginfo fn returning -1.
44087
44088 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44089 and thousands string is zero terminated.
44090
edf9294e
AS
440912011-02-03 Andreas Schwab <schwab@redhat.com>
44092
44093 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44094 sysdeps/unix/sysv/linux/bits/socket.h.
44095
2b7e92df
ST
440962011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44097
edf9294e
AS
44098 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44099 (__CPU_COUNT): Remove old macros.
44100 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44101 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44102 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44103 (__sched_cpualloc, __sched_cpufree): Add declarations.
44104
a4c7ea7b
UD
441052011-02-05 Ulrich Drepper <drepper@gmail.com>
44106
44107 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44108 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44109 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44110 (readdhstai): Return value of addhstaiX call.
44111 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44112 (addgrbyX): Return value returned by cache_addgr.
44113 (readdgrbyname): Return value returned by addgrbyX.
44114 (readdgrbygid): Likewise.
44115 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44116 (addpwbyX): Return value returned by cache_addpw.
44117 (readdpwbyname): Return value returned by addhstbyX.
44118 (readdpwbyuid): Likewise.
44119 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44120 (addservbyX): Return value returned by cache_addserv.
44121 (readdservbyname): Return value returned by addservbyX:
44122 (readdservbyport): Likewise.
44123 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44124 (addhstbyX): Return value returned by cache_addhst.
44125 (readdhstbyname): Return value returned by addhstbyX.
44126 (readdhstbyaddr): Likewise.
44127 (readdhstbynamev6): Likewise.
44128 (readdhstbyaddrv6): Likewise.
44129 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44130 (readdinitgroups): Return value returned by addinitgroupsX.
44131 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44132 (prune_cache): Keep track of timeout value of re-added entries.
44133 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44134 * nscd/nscd.h: Adjust prototypes of readd* functions.
44135
a0bf67cc
RM
441362011-02-04 Roland McGrath <roland@redhat.com>
44137
44138 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44139 (nis_stats): Likewise.
44140 * nis/nis_modify.c (nis_modify): Likewise.
44141 * nis/nis_remove.c (nis_remove): Likewise.
44142 * nis/nis_add.c (nis_add): Likewise.
44143
44144 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44145
44146 * posix/fnmatch_loop.c: Add some consts.
44147
44148 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44149
435b95eb
L
441502011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44151
44152 [BZ #12460]
44153 * config.make.in (config-cflags-novzeroupper): Define.
44154 * configure.in: Substitute libc_cv_cc_novzeroupper.
44155 * elf/Makefile (AVX-CFLAGS): Define.
44156 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44157 (CFLAGS-tst-auditmod4a.c): Likewise.
44158 (CFLAGS-tst-auditmod4b.c): Likewise.
44159 (CFLAGS-tst-auditmod6b.c): Likewise.
44160 (CFLAGS-tst-auditmod6c.c): Likewise.
44161 (CFLAGS-tst-auditmod7b.c): Likewise.
44162 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44163
8517b15e
UD
441642011-02-02 Ulrich Drepper <drepper@gmail.com>
44165
44166 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44167 function to the callback.
44168 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44169
10a656fe
AS
441702011-02-02 Andreas Schwab <schwab@redhat.com>
44171
44172 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44173 of errno.
44174
968dad0a
UD
441752011-01-19 Ulrich Drepper <drepper@gmail.com>
44176
9f94d2ea 44177 [BZ #11724]
968dad0a
UD
44178 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44179 of constructors.
44180 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44181 of destructors.
44182 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44183
44184 [BZ #11724]
44185 * elf/Makefile: Add rules to build and run new test.
44186 * elf/tst-initorder.c: New file.
44187 * elf/tst-initorder.exp: New file.
44188 * elf/tst-initordera1.c: New file.
44189 * elf/tst-initordera2.c: New file.
44190 * elf/tst-initordera3.c: New file.
44191 * elf/tst-initordera4.c: New file.
44192 * elf/tst-initorderb1.c: New file.
44193 * elf/tst-initorderb2.c: New file.
44194 * elf/tst-order-a1.c: New file.
44195 * elf/tst-order-a2.c: New file.
44196 * elf/tst-order-a3.c: New file.
44197 * elf/tst-order-a4.c: New file.
44198 * elf/tst-order-b1.c: New file.
44199 * elf/tst-order-b2.c: New file.
44200 * elf/tst-order-main.c: New file.
44201 New test case by George Gensure <werkt0@gmail.com>.
44202
86e92359
UD
442032010-10-01 Andreas Schwab <schwab@redhat.com>
44204
44205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44206 decoding ACE if AI_CANONIDN.
44207
5d5732b0
UD
442082011-01-18 Ulrich Drepper <drepper@gmail.com>
44209
44210 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44211
a77e8cbc
UD
442122011-01-17 Ulrich Drepper <drepper@gmail.com>
44213
6392473f
UD
44214 * version.h (RELEASE): Bump for 2.13 release.
44215 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44216
620a0529
UD
44217 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44218
18ba70a5
UD
44219 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44220 MADV_NOHUGEPAGE.
32465c3e
UD
44221 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44222 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44223 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44224 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44225 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44227
c0dafcf1
UD
44228 * posix/getconf.c: Update copyright year.
44229 * catgets/gencat.c: Likewise.
44230 * csu/version.c: Likewise.
44231 * debug/catchsegv.sh: Likewise.
44232 * debug/xtrace.sh: Likewise.
44233 * elf/ldconfig.c: Likewise.
44234 * elf/ldd.bash.in: Likewise.
44235 * elf/sprof.c (print_version): Likewise.
44236 * iconv/iconv_prog.c: Likewise.
44237 * iconv/iconvconfig.c: Likewise.
44238 * locale/programs/locale.c: Likewise.
44239 * locale/programs/localedef.c: Likewise.
44240 * malloc/memusage.sh: Likewise.
44241 * malloc/mtrace.pl: Likewise.
44242 * nscd/nscd.c (print_version): Likewise.
44243 * nss/getent.c: Likewise.
44244
a77e8cbc
UD
44245 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44246 PF_CAIF, and PF_ALG.
44247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44248
77e8bddf
AS
442492011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44250
1f20b93a
AS
44251 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44252 (modules-names): Use them.
44253 (ifunc-test-modules, ifunc-pie-tests): Define.
44254 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44255 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44256 (test-extras): Likewise.
44257 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44258 $(compile-command.c).
44259 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44260 (all-built-dso): Define.
44261 (check-textrel.out, check-execstack.out): Depend on it.
44262
77e8bddf
AS
44263 * configure.in: Don't override --enable-multi-arch.
44264
bc425b33
UD
442652011-01-15 Ulrich Drepper <drepper@gmail.com>
44266
44267 [BZ #6812]
44268 * nscd/hstcache.c (tryagain): Define.
44269 (cache_addhst): Return tryagain not notfound for temporary errors.
44270 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44271 failed.
44272
794c3ad3
UD
442732011-01-14 Ulrich Drepper <drepper@gmail.com>
44274
70181fdd
UD
44275 [BZ #10563]
44276 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44277 to make the syscall.
44278 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44279
794c3ad3
UD
44280 [BZ #12378]
44281 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44282 and fall back to matching as normal character if the string ends before
44283 the matching ']' is found. This is what POSIX requires.
44284 * posix/testfnm.c: Adjust test result.
44285 * posix/globtest.sh: Adjust test result. Add new test.
44286 * posix/tst-fnmatch.input: Likewise.
44287 * posix/tst-fnmatch2.c: Add new test.
44288
68dc9497
AS
442892010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44290
44291 * elf/Makefile (check-execstack): Revert last change. Depend on
44292 check-execstack.h.
44293 (check-execstack.h): New target.
44294 (generated): Add check-execstack.h.
44295 * elf/check-execstack.c: Include "check-execstack.h".
44296 (main): Revert last change.
44297 (handle_file): Return zero if GNU_STACK is absent and
44298 DEFAULT_STACK_PERMS doesn't include PF_X.
44299
451f001b
UD
443002011-01-13 Ulrich Drepper <drepper@gmail.com>
44301
cfa28e56
UD
44302 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44303 in child fails because the descriptor is already closed.
8cf8ce17
UD
44304 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44305 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44306 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44307
1086d70d
UD
44308 [BZ #12397]
44309 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44310 syscall.
44311
451f001b
UD
44312 [BZ #10484]
44313 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44314 temporary buffer used to handle multi lookups locally.
a85b5cb4 44315 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44316
08769175
UD
443172011-01-12 Ulrich Drepper <drepper@gmail.com>
44318
44319 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44320 loader is ld.so.
44321
5e49c52e
UD
443222011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44323
44324 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44325 alignment for SSE2.
44326
60522a5f
UD
443272011-01-12 Ulrich Drepper <drepper@gmail.com>
44328
44329 [BZ #12394]
44330 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44331 characters. When rounding increased number of integer digits recompute
44332 number of groups.
44333 * stdio-common/tst-grouping.c: New file.
44334 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44335
f257bbd7
UD
443362011-01-09 Ulrich Drepper <drepper@gmail.com>
44337
44338 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44339 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44340
44341 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44342 void.
44343 * bits/select.h: Likewise.
44344
fa9c15cb
UD
443452011-01-08 Ulrich Drepper <drepper@gmail.com>
44346
44347 * po/ja.po: Update from translation team.
44348
16c2895f
DM
443492011-01-04 David S. Miller <davem@sunset.davemloft.net>
44350
44351 [BZ #11155]
44352 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44353 implementation just like for lxstat, fxstatat, et al.
44354
2543fef2
JM
443552010-12-27 Jim Meyering <meyering@redhat.com>
44356
44357 [BZ #12348]
44358 * posix/regexec.c (build_trtable): Return failure indication upon
44359 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44360
98727dbe
UD
443612010-12-25 Ulrich Drepper <drepper@gmail.com>
44362
5bd6dc5c
UD
44363 [BZ #12201]
44364 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44365 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44366 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44367 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44368
97983464
UD
44369 [BZ #12207]
44370 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44371
98727dbe
UD
44372 [BZ #12204]
44373 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44374 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44375
4a531bb0
L
443762010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44377
44378 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44379 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44380 script has SORT_BY_INIT_PRIORITY.
44381 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44382 NO_CTORS_DTORS_SECTIONS is defined.
44383 * elf/soinit.c: Likewise.
44384 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44385 NO_CTORS_DTORS_SECTIONS is defined.
44386 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44387 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44388 * sysdeps/sh/init-first.c: Likewise.
44389 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44390
07eb4b71
UD
443912010-12-24 Ulrich Drepper <drepper@gmail.com>
44392
44393 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44394 always use the slow path.
44395
30950a5f
RA
443962010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44397
44398 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44399 similar rule which adds the sysdep directories to the header search in
44400 order to pick up the correct platform stackinfo.h.
44401 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44402 perform test if it is, otherwise return successfully without testing.
44403 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44404 DEFAULT_STACK_PERMS define in stackinfo.h.
44405 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44406 defined in stackinfo.h.
44407 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44408 DEFAULT_STACK_PERMS defined in stackinfo.h.
44409 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44410 * sysdeps/ia64/stackinfo.h: Likewise.
44411 * sysdeps/s390/stackinfo.h: Likewise.
44412 * sysdeps/sh/stackinfo.h: Likewise.
44413 * sysdeps/sparc/stackinfo.h: Likewise.
44414 * sysdeps/x86_64/stackinfo.h: Likewise.
44415 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44416 PF_X for powerpc64. Retain PF_X for powerpc32.
44417
db753e2c
UD
444182010-12-19 Ulrich Drepper <drepper@gmail.com>
44419
14b697f7
UD
44420 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44421 accurately.
db753e2c
UD
44422 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44423 GETDENTS_64BIT_ALIGNED.
44424
28300719
UD
444252010-12-14 Ulrich Drepper <dreper@gmail.com>
44426
14b697f7 44427 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44428
4f197237
AS
444292010-12-10 Andreas Schwab <schwab@redhat.com>
44430
dbb0472f
AS
44431 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44432 _GNU_SOURCE.
44433
4f197237
AS
44434 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44435 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44436 Remove __restrict.
44437 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44438 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44439
fb88ac72
UD
444402010-12-09 Ulrich Drepper <drepper@gmail.com>
44441
44442 [BZ #11655]
44443 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44444 are initialized.
44445
42acbb92
JJ
444462010-12-09 Jakub Jelinek <jakub@redhat.com>
44447
44448 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44449
c038d98d
UD
444502010-12-03 Ulrich Drepper <drepper@gmail.com>
44451
44452 * po/it.po: Update from translation team.
44453
3a4a2499
L
444542010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44455
44456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44457 unused codes.
44458
1e24cf6e
UD
444592010-11-30 Ulrich Drepper <drepper@gmail.com>
44460
44461 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44462
a7690819
AS
444632010-11-24 Andreas Schwab <schwab@redhat.com>
44464
44465 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44466 specially.
44467 (gaih_getanswer_slice): Likewise.
44468
3bf8d1b1
JJ
444692010-10-20 Jakub Jelinek <jakub@redhat.com>
44470
44471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44472
6db52fbb
PB
444732010-05-31 Petr Baudis <pasky@suse.cz>
44474
44475 [BZ #11149]
44476 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44477 silently even in the chroot mode.
44478
eaca7569
UD
444792010-11-22 Ulrich Drepper <drepper@gmail.com>
44480
44481 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44482 last patch a bit. Pretty printing
44483
3056dcdb
UD
444842010-05-31 Petr Baudis <pasky@suse.cz>
44485
44486 [BZ #10085]
44487 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44488 initialization of skip_initgroups_dyn.
44489
cf7c9078
UD
444902010-11-19 Ulrich Drepper <drepper@gmail.com>
44491
44492 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44493 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44494
a1fb5e3e
UD
444952010-11-16 Ulrich Drepper <drepper@gmail.com>
44496
44497 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44498
3540d66b
AS
444992010-11-11 Andreas Schwab <schwab@redhat.com>
44500
44501 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44502 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44503 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44504 ($(objpfx)tst-fnmatch-mem): New rule.
44505 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44506 * posix/tst-fnmatch.c (main): Call mtrace.
44507
13b69574
L
445082010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44509
44510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44511 Support Intel processor model 6 and model 0x2c.
44512
da93d214
LM
445132010-11-10 Luis Machado <luisgpm@br.ibm.com>
44514
44515 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44516 signed comparison.
44517
8ca52c6e
L
445182010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44519
44520 [BZ #12205]
44521 * string/test-strncasecmp.c (check_result): New function.
44522 (do_one_test): Use it.
44523 (check1): New function.
44524 (test_main): Use it.
44525 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44526 Support strcasecmp and strncasecmp.
44527
69da074d
UD
445282010-11-08 Ulrich Drepper <drepper@gmail.com>
44529
44530 [BZ #12194]
44531 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44532 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44533
ff02d528
L
445342010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44535
44536 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44537 IFUNC support.
44538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44539 memset-x86-64.
44540 * sysdeps/x86_64/multiarch/bzero.S: New file.
44541 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44542 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44543 * sysdeps/x86_64/multiarch/memset.S: New file.
44544 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44546 Set bit_Prefer_SSE_for_memop for Intel processors.
44547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44548 Define.
44549 (index_Prefer_SSE_for_memop): Define.
44550 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44551
344d0b54
LM
445522010-11-04 Luis Machado <luisgpm@br.ibm.com>
44553
44554 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44555 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44556
c0dde15b
UD
445572010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44558
44559 [BZ #12191]
44560 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44561 (__x86_64_raw_data_cache_size_half): Likewise.
44562 (__x86_64_raw_shared_cache_size): Likewise.
44563 (__x86_64_raw_shared_cache_size_half): Likewise.
44564
44565 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44566 (__x86_64_raw_data_cache_size_half): Likewise.
44567 (__x86_64_raw_shared_cache_size): Likewise.
44568 (__x86_64_raw_shared_cache_size_half): Likewise.
44569 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44570 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44571 and __x86_64_raw_shared_cache_size_half. Round
44572 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44573 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44574 to multiple of 256 bytes.
44575
0e516e0e
MS
445762010-11-03 Ulrich Drepper <drepper@gmail.com>
44577
44578 [BZ #12167]
44579 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44580 of inacessible symlinks. Verify result of symlink before returning it.
44581 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44582 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44583
0e012e87
ER
445842010-10-28 Erich Ritz <erichritz@gmail.com>
44585
44586 * math/math.h (isinf): Fix typo in comment.
44587
de0ff7bc
UD
445882010-11-01 Ulrich Drepper <drepper@gmail.com>
44589
44590 * po/da.po: Update from translation team.
44591
fa41c84d
UD
445922010-10-26 Ulrich Drepper <drepper@gmail.com>
44593
44594 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44595 is added to the list.
44596
f0967738
AK
445972010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44598 Ulrich Drepper <drepper@gmail.com>
44599
44600 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44601 the global list here. Move code to...
44602 (_dl_add_to_namespace_list): ...here. New function.
44603 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44604 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44605 * elf/dl-load.c (lose): Don't remove the element from the list.
44606 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44607 (_dl_map_object): Likewise.
44608
446092010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44610
44611 [BZ #12159]
44612 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44613 into all bytes of SSE register.
44614 Patch by Richard Li <richardpku@gmail.com>.
44615
f0967738 446162010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44617
44618 [BZ #12140]
44619 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44620 perturbing.
44621
d0b9e94f
MB
446222010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44623
44624 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44625 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44626 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44627 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44629 submachine.
44630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44631
8e9f92e9
AS
446322010-10-22 Andreas Schwab <schwab@redhat.com>
44633
44634 * include/dlfcn.h (__RTLD_SECURE): Define.
44635 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44636 mode & __RTLD_SECURE instead.
44637 (open_path): Rename preloaded parameter to secure.
44638 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44639 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44640 * elf/dl-deps.c (openaux): Likewise.
44641 * elf/rtld.c (struct map_args): Remove is_preloaded.
44642 (map_doit): Don't use it.
44643 (dl_main): Likewise.
44644 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44645 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44646
bc96fbda
AS
446472010-09-09 Andreas Schwab <schwab@redhat.com>
44648
44649 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44650 (sysd-rules-targets): Remove duplicates.
44651 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44652 rtld-%.$o dependency.
44653
22cd1c9b
AS
446542010-10-18 Andreas Schwab <schwab@redhat.com>
44655
44656 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44657 _dl_map_object do it.
44658
18edac48
UD
446592010-10-19 Ulrich Drepper <drepper@gmail.com>
44660
44661 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44662 fast fma builtins, define the macros in the C99 standard.
44663 (FP_FAST_FMAF): Likewise.
44664 (FP_FAST_FMAL): Likewise.
44665 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44666
44667 * bits/mathdef.h: Update copyright year.
44668 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44669
d2050124
MM
446702010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44671
44672 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44673 builtins, define the macros in the C99 standard.
44674 (FP_FAST_FMAF): Likewise.
44675 (FP_FAST_FMAL): Likewise.
44676 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44677 multiply/add.
44678 (FP_FAST_FMAF): Likewise.
44679
475facd1
JJ
446802010-10-15 Jakub Jelinek <jakub@redhat.com>
44681
44682 [BZ #3268]
44683 * math/libm-test.inc (fma_test): Some new testcases.
44684 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44685 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44686 y and infinite z. Do multiplication by C already in long double.
44687 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44689 y and infinite z. Do bitwise or of inexact bit into u.d.
44690 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44691 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44692 * sysdeps/i386/fpu/s_fma.S: Removed.
44693 * sysdeps/i386/fpu/s_fmal.S: Removed.
44694
7c08a05c
JJ
446952010-10-16 Jakub Jelinek <jakub@redhat.com>
44696
44697 [BZ #3268]
44698 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44700 computation is not scheduled after fetestexcept. Fix value
44701 of minimum denormal long double.
44702
f3f7372d
JJ
447032010-10-14 Jakub Jelinek <jakub@redhat.com>
44704
44705 [BZ #3268]
44706 * math/libm-test.inc (fma_test): Add some more tests.
44707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44708 correctly.
44709
14d43591
AS
447102010-10-15 Andreas Schwab <schwab@redhat.com>
44711
44712 * scripts/data/localplt-s390-linux-gnu.data: New file.
44713 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44714
5e908464
JJ
447152010-10-13 Jakub Jelinek <jakub@redhat.com>
44716
44717 [BZ #3268]
44718 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44719 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44720 instead of dbl-64.
44721 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44722 inlines.
44723 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44725 if one of x and y is very large and the other is subnormal.
44726 * sysdeps/s390/fpu/s_fmaf.c: New file.
44727 * sysdeps/s390/fpu/s_fma.c: New file.
44728 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44729 * sysdeps/powerpc/fpu/s_fma.S: New file.
44730 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44731 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44732 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44733
447342010-10-12 Jakub Jelinek <jakub@redhat.com>
44735
44736 [BZ #3268]
44737 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44738 fma tests.
44739 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44740 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44741 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44742 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44743 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44744 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44745 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44746
b833d51f
UD
447472010-10-12 Ulrich Drepper <drepper@redhat.com>
44748
44749 [BZ #12078]
44750 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44751 * posix/bug-regex31.input: Add test case.
44752
1751705d
UD
447532010-10-11 Ulrich Drepper <drepper@gmail.com>
44754
e9b9cbf5
UD
44755 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44756 * posix/bug-regex31.input: New file.
44757
44758 [BZ #12078]
44759 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44760 (parse_sub_exp): Fix last change, use postorder.
44761
ef06edbe
UD
44762 * posix/bug-regex31.c: New file.
44763 * posix/Makefile: Add rules to build and run bug-regex31.
44764
a129c80d
UD
44765 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44766
44767 [BZ #12078]
44768 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44769
b76b818e
UD
44770 [BZ #12108]
44771 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44772 to have entries in sys_siglist.
44773
1751705d
UD
44774 [BZ #12093]
44775 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44776 be NULL.
44777
9ff8d36f
JJ
447782010-10-07 Jakub Jelinek <jakub@redhat.com>
44779
44780 [BZ #3268]
44781 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44782 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44783 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44784 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44785 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44786 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44787 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44788 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44789 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44790 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44791 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44792 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44793 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44794 * math/ftestexcept.c (fetestexcept): Likewise.
44795 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44796 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44797 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44798 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44799 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44800 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44801 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44802
af325969
UD
448032010-10-11 Ulrich Drepper <drepper@gmail.com>
44804
c579b202 44805 [BZ #12107]
af325969
UD
44806 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44807 newline.
44808
67a67b95
UD
448092010-10-06 Ulrich Drepper <drepper@gmail.com>
44810
44811 * string/bug-strstr1.c: New file.
44812 * string/Makefile: Add rules to build and run bug-strstr1.
44813
5fb308bc
EB
448142010-10-05 Eric Blake <eblake@redhat.com>
44815
44816 [BZ #12092]
44817 * string/str-two-way.h (two_way_long_needle): Always clear memory
44818 when skipping input due to the shift table.
44819
45db99c7
UD
448202010-10-03 Ulrich Drepper <drepper@gmail.com>
44821
3b111893
UD
44822 [BZ #12005]
44823 * malloc/mcheck.c: Handle large requests.
44824
45db99c7
UD
44825 [BZ #12077]
44826 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44827 for strncmp and strncasecmp.
44828 * string/stratcliff.c: Add tests for strcmp and strncmp.
44829 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44830
cf7a1eb8
NI
448312010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44832
44833 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44834 __set_fpscr.
44835
6484ba5e
AJ
448362010-09-30 Andreas Jaeger <aj@suse.de>
44837
44838 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44839 (CGROUP_SUPER_MAGIC): Define.
44840 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44841 Handle btrfs and cgroup file systems.
44842 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44843 Likewise.
44844
91c42559
LM
448452010-09-27 Luis Machado <luisgpm@br.ibm.com>
44846
44847 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44848 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44849
87a97932
AK
448502010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44851
44852 [BZ #12067]
44853 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44854 trying to locate the ELF header.
44855
c21cc9bc
AS
448562010-09-27 Andreas Schwab <schwab@redhat.com>
44857
44858 [BZ #11611]
44859 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44860 Mask out sign-bit copies when constructing f_fsid.
44861
315970f6
PB
448622010-09-24 Petr Baudis <pasky@suse.cz>
44863
44864 * debug/stack_chk_fail_local.c: Add missing licence exception.
44865 * debug/warning-nop.c: Likewise.
44866
1ac7a2c7
JM
448672010-09-15 Joseph Myers <joseph@codesourcery.com>
44868
44869 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44870 implementing getdents64 using getdents syscall, set d_type if
44871 __ASSUME_GETDENTS32_D_TYPE.
44872
56801c50
AS
448732010-09-16 Andreas Schwab <schwab@redhat.com>
44874
44875 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44876 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44877
dda51327
UD
448782010-09-21 Ulrich Drepper <drepper@redhat.com>
44879
44880 [BZ #12037]
44881 * posix/unistd.h: Undo change of feature selection for ftruncate from
44882 2010-01-11.
44883
8ffcee4a
UD
448842010-09-20 Ulrich Drepper <drepper@redhat.com>
44885
a545ecd9 44886 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44887 detection.
44888
e24f0a8b
AS
448892010-09-20 Andreas Schwab <schwab@redhat.com>
44890
44891 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44892 fanotify_mark.
44893 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44894
7291c56f
AS
448952010-09-14 Andreas Schwab <schwab@redhat.com>
44896
44897 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44898 variables after CHECK_SP call.
44899 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44900
bc5fb037
AS
449012010-09-13 Andreas Schwab <schwab@redhat.com>
44902 Ulrich Drepper <drepper@redhat.com>
44903
44904 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44905 re-relocationg ld.so.
44906 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44907 _dl_init_paths call.
44908 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44909 here anymore.
44910
e66e7419
UD
449112010-09-14 Ulrich Drepper <drepper@redhat.com>
44912
44913 * resolv/res_init.c (__res_vinit): Count the default server we added.
44914
c044aa75
CLT
449152010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44916 Ulrich Drepper <drepper@redhat.com>
44917
44918 [BZ #11968]
44919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44920 (____longjmp_chk): Use %ebx for saving value across system call.
44921 Add unwind info.
44922
32cf4069
AS
449232010-09-06 Andreas Schwab <schwab@redhat.com>
44924
44925 * manual/Makefile: Don't mix pattern rules with normal rules.
44926
817328ee
AS
449272010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44928
44929 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44930 operation.
44931 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44932 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44933 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44934 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44935 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44936 Likewise.
44937
29fddf61
UD
449382010-09-04 Ulrich Drepper <drepper@redhat.com>
44939
44940 [BZ #11979]
44941 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44942 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44943
0959ffc9
UD
449442010-09-02 Ulrich Drepper <drepper@redhat.com>
44945
44946 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44947 * sysdeps/x86_64/addmul_1.S: Likewise.
44948 * sysdeps/x86_64/lshift.S: Likewise.
44949 * sysdeps/x86_64/mul_1.S: Likewise.
44950 * sysdeps/x86_64/rshift.S: Likewise.
44951 * sysdeps/x86_64/sub_n.S: Likewise.
44952 * sysdeps/x86_64/submul_1.S: Likewise.
44953
ece29840
ST
449542010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44955
0959ffc9
UD
44956 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44957 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44958 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44959 * bits/sched.h [__need_schedparam]
ece29840 44960 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44961 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44962 (__defined_schedparam): Define to 1.
ece29840
ST
44963 (__sched_param): New structure, identical to sched_param.
44964 (__need_schedparam): Undefine.
44965
e53a31fe
MF
449662010-08-31 Mike Frysinger <vapier@gentoo.org>
44967
fdc0c10d
MF
44968 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44969 (epoll_create1): Declare.
44970
e53a31fe
MF
44971 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44972
a726d796
AS
449732010-08-31 Andreas Schwab <schwab@redhat.com>
44974
44975 [BZ #7066]
44976 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44977 shifting retval into place.
44978
2f3e3dc7
UD
449792010-09-01 Ulrich Drepper <drepper@redhat.com>
44980
f2933da9
UD
44981 * nis/rpcsvc/nis.h: Update copyright notice.
44982 * nis/rpcsvc/nis.x: Likewise.
44983 * nis/rpcsvc/nis_callback.h: Likewise.
44984 * nis/rpcsvc/nis_callback.x: Likewise.
44985 * nis/rpcsvc/nis_object.x: Likewise.
44986 * nis/rpcsvc/nis_tags.h: Likewise.
44987 * nis/rpcsvc/yp.h: Likewise.
44988 * nis/rpcsvc/yp.x: Likewise.
44989 * nis/rpcsvc/ypupd.h: Likewise.
44990 * nis/yp_xdr.c: Likewise.
44991 * nis/ypupdate_xdr.c: Likewise.
44992
2f3e3dc7
UD
44993 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44994 mainly the body of pmap_getport. Add parameters to specify timeouts.
44995 (pmap_getport): Use __libc_rpc_getport.
44996 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44997 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44998 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44999
f3dcc2f9
AS
450002010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45001
45002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45003 fanotify_mark.
45004
6d34eb5b
RM
450052010-08-27 Roland McGrath <roland@redhat.com>
45006
45007 * sysdeps/i386/i686/multiarch/Makefile
45008 (CFLAGS-varshift.c): New variable.
45009
9ea3de11
UD
450102010-08-27 Ulrich Drepper <drepper@redhat.com>
45011
c96d23fc
UD
45012 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45013 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45014
9ea3de11
UD
45015 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45016
45017 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45018
623aac7f
L
450192010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45020
45021 * sysdeps/x86_64/strlen.S: Unroll the loop.
45022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45023 strlen-sse2 strlen-sse2-bsf.
45024 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45025 __strlen_no_bsf if bit_Slow_BSF is set.
45026 (__strlen_sse42): Removed.
45027 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45028 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45029
8b2b7715
RM
450302010-08-25 Roland McGrath <roland@redhat.com>
45031
45032 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45033 * sysdeps/x86_64/multiarch/varshift.c: New file.
45034 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45035 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45036 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45037 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45038
e73015f2
L
450392010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45040
45041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45042 strlen-sse2 strlen-sse2-bsf.
45043 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45044 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45045 (__strlen_sse2): Removed.
45046 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45047 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45049 bit_Slow_BSF for Atom.
45050 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45051 (index_Slow_BSF): Define.
45052 (HAS_SLOW_BSF): Define.
45053
df24a73e
UD
450542010-08-25 Ulrich Drepper <drepper@redhat.com>
45055
45056 [BZ #10851]
45057 * resolv/res_init.c (__res_vinit): When no server address at all
45058 is given default to loopback.
45059
f2ac4868
RM
450602010-08-24 Roland McGrath <roland@redhat.com>
45061
09055553
RM
45062 * configure.in: Remove config-name.h generation.
45063 * configure: Regenerated.
45064 * config-name.in: File removed.
45065 * scripts/config-uname.sh: New file.
45066 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45067 ($(objdir)config-name.h): New target.
45068
f2ac4868
RM
45069 * sunrpc/rpc_parse.h: Avoid nested comment.
45070
73f27d5e
RH
450712010-08-24 Richard Henderson <rth@redhat.com>
45072 Ulrich Drepper <drepper@redhat.com>
45073 H.J. Lu <hongjiu.lu@intel.com>
45074
45075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45077 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45078 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45079 _mm_alignr_epi8 with _mm_loadu_si128.
45080 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45081 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45082 (__m128i_shift_right): Removed.
45083 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45084 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45085 * sysdeps/x86_64/multiarch/varshift.h: New file.
45086 * sysdeps/x86_64/multiarch/varshift.S: New file.
45087
84b9230c
MF
450882010-08-21 Mike Frysinger <vapier@gentoo.org>
45089
45090 * configure.in: Move assembler checks to before sysdep dir checking.
45091
9bbd0ddc
PB
450922010-08-20 Petr Baudis <pasky@suse.cz>
45093
45094 * LICENSES: Sync the sunrpc license.
45095
9da4bb31
UD
450962010-08-19 Ulrich Drepper <drepper@redhat.com>
45097
a7ab6ec8
UD
45098 * sunrpc/auth_des.c: Update copyright notice once again.
45099 * sunrpc/auth_none.c: Likewise.
45100 * sunrpc/auth_unix.c: Likewise.
45101 * sunrpc/authdes_prot.c: Likewise.
45102 * sunrpc/authuxprot.c: Likewise.
45103 * sunrpc/bindrsvprt.c: Likewise.
45104 * sunrpc/clnt_gen.c: Likewise.
45105 * sunrpc/clnt_perr.c: Likewise.
45106 * sunrpc/clnt_raw.c: Likewise.
45107 * sunrpc/clnt_simp.c: Likewise.
45108 * sunrpc/clnt_tcp.c: Likewise.
45109 * sunrpc/clnt_udp.c: Likewise.
45110 * sunrpc/clnt_unix.c: Likewise.
45111 * sunrpc/des_crypt.c: Likewise.
45112 * sunrpc/des_soft.c: Likewise.
45113 * sunrpc/get_myaddr.c: Likewise.
45114 * sunrpc/getrpcport.c: Likewise.
45115 * sunrpc/key_call.c: Likewise.
45116 * sunrpc/key_prot.c: Likewise.
45117 * sunrpc/openchild.c: Likewise.
45118 * sunrpc/pm_getmaps.c: Likewise.
45119 * sunrpc/pm_getport.c: Likewise.
45120 * sunrpc/pmap_clnt.c: Likewise.
45121 * sunrpc/pmap_prot.c: Likewise.
45122 * sunrpc/pmap_prot2.c: Likewise.
45123 * sunrpc/pmap_rmt.c: Likewise.
45124 * sunrpc/rpc/auth.h: Likewise.
45125 * sunrpc/rpc/auth_unix.h: Likewise.
45126 * sunrpc/rpc/clnt.h: Likewise.
45127 * sunrpc/rpc/des_crypt.h: Likewise.
45128 * sunrpc/rpc/key_prot.h: Likewise.
45129 * sunrpc/rpc/netdb.h: Likewise.
45130 * sunrpc/rpc/pmap_clnt.h: Likewise.
45131 * sunrpc/rpc/pmap_prot.h: Likewise.
45132 * sunrpc/rpc/pmap_rmt.h: Likewise.
45133 * sunrpc/rpc/rpc.h: Likewise.
45134 * sunrpc/rpc/rpc_des.h: Likewise.
45135 * sunrpc/rpc/rpc_msg.h: Likewise.
45136 * sunrpc/rpc/svc.h: Likewise.
45137 * sunrpc/rpc/svc_auth.h: Likewise.
45138 * sunrpc/rpc/types.h: Likewise.
45139 * sunrpc/rpc/xdr.h: Likewise.
45140 * sunrpc/rpc_clntout.c: Likewise.
45141 * sunrpc/rpc_cmsg.c: Likewise.
45142 * sunrpc/rpc_common.c: Likewise.
45143 * sunrpc/rpc_cout.c: Likewise.
45144 * sunrpc/rpc_dtable.c: Likewise.
45145 * sunrpc/rpc_hout.c: Likewise.
45146 * sunrpc/rpc_main.c: Likewise.
45147 * sunrpc/rpc_parse.c: Likewise.
45148 * sunrpc/rpc_parse.h: Likewise.
45149 * sunrpc/rpc_prot.c: Likewise.
45150 * sunrpc/rpc_sample.c: Likewise.
45151 * sunrpc/rpc_scan.c: Likewise.
45152 * sunrpc/rpc_scan.h: Likewise.
45153 * sunrpc/rpc_svcout.c: Likewise.
45154 * sunrpc/rpc_tblout.c: Likewise.
45155 * sunrpc/rpc_util.c: Likewise.
45156 * sunrpc/rpc_util.h: Likewise.
45157 * sunrpc/rpcinfo.c: Likewise.
45158 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45159 * sunrpc/rpcsvc/key_prot.x: Likewise.
45160 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45161 * sunrpc/rpcsvc/mount.x: Likewise.
45162 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45163 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45164 * sunrpc/rpcsvc/rex.x: Likewise.
45165 * sunrpc/rpcsvc/rstat.x: Likewise.
45166 * sunrpc/rpcsvc/rusers.x: Likewise.
45167 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45168 * sunrpc/rpcsvc/spray.x: Likewise.
45169 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45170 * sunrpc/rtime.c: Likewise.
45171 * sunrpc/svc.c: Likewise.
45172 * sunrpc/svc_auth.c: Likewise.
45173 * sunrpc/svc_authux.c: Likewise.
45174 * sunrpc/svc_raw.c: Likewise.
45175 * sunrpc/svc_run.c: Likewise.
45176 * sunrpc/svc_simple.c: Likewise.
45177 * sunrpc/svc_tcp.c: Likewise.
45178 * sunrpc/svc_udp.c: Likewise.
45179 * sunrpc/svc_unix.c: Likewise.
45180 * sunrpc/svcauth_des.c: Likewise.
45181 * sunrpc/xcrypt.c: Likewise.
45182 * sunrpc/xdr.c: Likewise.
45183 * sunrpc/xdr_array.c: Likewise.
45184 * sunrpc/xdr_float.c: Likewise.
45185 * sunrpc/xdr_mem.c: Likewise.
45186 * sunrpc/xdr_rec.c: Likewise.
45187 * sunrpc/xdr_ref.c: Likewise.
45188 * sunrpc/xdr_sizeof.c: Likewise.
45189 * sunrpc/xdr_stdio.c: Likewise.
45190
9da4bb31
UD
45191 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45192 handling.
45193
bdaa77bc
AS
451942010-08-19 Andreas Schwab <schwab@redhat.com>
45195
45196 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45197
fe2f79db
LM
451982010-08-19 Luis Machado <luisgpm@br.ibm.com>
45199
45200 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45201 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45202 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45203 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45204 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45205 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45206 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45207 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45208 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45209 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45210 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45211 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45212 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45213 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45214
b9b42ee0
AB
452152010-07-26 Anton Blanchard <anton@samba.org>
45216
45217 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45218 * malloc/arena.c (heap_trim): Likewise.
45219
1c06ba31
UD
452202010-08-16 Ulrich Drepper <drepper@redhat.com>
45221
45222 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45223 here. Not...
45224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45225 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45226
f8392f40
L
452272010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45228
45229 * sysdeps/i386/elf/Makefile: New file.
45230
3162f12e
AS
452312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45232
45233 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45234 from fanotify_init.
45235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45237
28c90b2c
UD
452382010-08-15 Ulrich Drepper <drepper@redhat.com>
45239
45240 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45241 of strncasecmp_l.
1feccb6c 45242 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45243
ca6bb004
UD
452442010-08-14 Ulrich Drepper <drepper@redhat.com>
45245
e9f82e0d
UD
45246 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45247 strncase_l-nonascii.
45248 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45249 Add strncase_l-ssse3.
45250 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45251 * sysdeps/x86_64/strcmp.S: Likewise.
45252 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45253 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45254 * sysdeps/x86_64/strncase.S: New file.
45255 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45256 * sysdeps/x86_64/strncase_l.S: New file.
45257 * string/Makefile (strop-tests): Add strncasecmp.
45258 * string/test-strncasecmp.c: New file.
45259
45260 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45261 warning.
45262
ca6bb004
UD
45263 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45264 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45265
052fa7b3
AS
452662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45267
45268 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45269
962dba78
UD
452702010-08-12 Ulrich Drepper <drepper@redhat.com>
45271
45272 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45273 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45274 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45275
bebff237
AM
452762010-05-01 Alan Modra <amodra@gmail.com>
45277
45278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45279 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45280 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45281 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45282 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45283 tidying. Don't tail-call __sigjmp_save for static lib.
45284 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45285 save location.
45286 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45287 (CALL_MCOUNT): Add eh info, and nop after bl.
45288 (TAIL_CALL_SYSCALL_ERROR): New macro.
45289 (PSEUDO_RET): Use it.
45290 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45291 Correct save location of integer regs and cr.
45292 (_dl_profile_resolve): Correct cr save location. Delete nops
45293 after bl when SHARED. Reduce cfi size a little by better
45294 placement of cfi directives.
45295 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45296 make a stack frame. Instead use parm save area as a temp.
45297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45298 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45300 Don't make a stack frame for parent, use parm save area.
45301 Increase child stack frame to 112 bytes. Don't save unused reg,
45302 and adjust reg usage. Set up cfi on error recovery and
45303 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45305 (__makecontext): Add dummy nop after jump to exit.
45306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45307 Use correct parm save area and cr save, reduce stack frame.
45308 Correct cfi for possible PSEUDO_RET frame setup.
45309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45310 Branch to local label emitted by PSEUDO_RET rather than
45311 __syscall_error.
45312
02637374
AS
453132010-08-12 Andreas Schwab <schwab@redhat.com>
45314
45315 [BZ #11904]
45316 * locale/programs/locale.c (print_assignment): New function.
45317 (show_locale_vars): Use it.
45318
c3e2f19b
UD
453192010-08-11 Ulrich Drepper <drepper@redhat.com>
45320
3cdaa6ad
UD
45321 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45322 field.
45323 (struct statfs64): Likewise.
45324 (_STATFS_F_FLAGS): Define.
45325 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45326 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45327 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45328 (ST_VALID): Define locally.
45329 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45330 __statvfs_getflags, use the provided value.
45331 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45332 __ASSUME_STATFS_F_FLAGS.
45333
754f7da3
UD
45334 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45335
10b3bedc
UD
45336 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45337 Add sys/fanotify.h.
45338 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45339 fanotify_mask for GLIBC_2.13.
45340 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45341 fanotify_init and fanotify_mark.
45342 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45343 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45344
c08fb0d7
UD
45345 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45346 Add prlimit.
45347 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45348 prlimit64 for GLIBC_2.13.
45349 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45350 prlimit64.
45351 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45352 syscall.
45353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45354 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45355 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45356 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45357 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45358 add prlimit alias.
45359 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45360
15bac72b
UD
45361 [BZ #11903]
45362 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45363 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45364
c3e2f19b
UD
45365 * nss/Makefile: Add rules to build and run tst-nss-test1.
45366 * shlib-versions: Add entry for libnss_test1.
45367 * nss/nss_test1.c: New file.
45368 * nss/tst-nss-test1.c: New file.
45369
45370 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45371 (__nss_configure_lookup): Set appropriate entry in
45372 __nss_configure_lookup to true.
45373 * nss/nsswitch.h: Define enum with indeces of databases in
45374 databases and __nss_database_custom arrays. Declare
45375 __nss_database_custom.
45376 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45377 to avoid using nscd when custom rules are installed.
45378 * nss/getXXbyYY_r.c: Likewise.
45379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45380
45381 * nss/nss_files/files-parse.c: Whitespace fixes.
45382
f15ce4d8
UD
453832010-08-09 Ulrich Drepper <drepper@redhat.com>
45384
45385 [BZ #11883]
45386 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45387 * posix/fnmatch_loop.c: Likewise.
45388
d22e4cc9
AK
453892010-07-17 Andi Kleen <ak@linux.intel.com>
45390
45391 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45392 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45393 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45394 * Versions.def [GLIBC_2.13]: Add.
45395
805bc17d
UD
453962010-08-06 Ulrich Drepper <drepper@redhat.com>
45397
45398 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45399 Also fail if tpwd after pwuid call is NULL.
45400
5a42321d
ST
454012010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45402
45403 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45404 when converting to ms.
45405
fd3ebeda
ST
454062010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45407
45408 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45409 EOPNOTSUPP errors with ENOTTY.
45410 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45411 EOPNOTSUPP errors with ENOTTY.
45412
73507d3a
UD
454132010-07-31 Ulrich Drepper <drepper@redhat.com>
45414
45415 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45416 Add strcasecmp_l-ssse3.
45417 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45418 strcasecmp.
45419 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45420 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45421 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45422
fe36dd02
UD
454232010-07-30 Ulrich Drepper <drepper@redhat.com>
45424
66f6765a
UD
45425 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45426
42e08a54
UD
45427 * string/Makefile (strop-tests): Add strcasecmp.
45428 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45429 strcasecmp_l-nonascii.
45430 (gen-as-const-headers): Add locale-defines.sym.
45431 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45432 * sysdeps/x86_64/strcasecmp.S: New file.
45433 * sysdeps/x86_64/strcasecmp_l.S: New file.
45434 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45435 * sysdeps/x86_64/locale-defines.sym: New file.
45436 * string/test-strcasecmp.c: New file.
45437
fe36dd02
UD
45438 * string/test-strcasestr.c: Test both ends of the range of characters.
45439 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45440
48cbc0d6
RM
454412010-07-29 Roland McGrath <roland@redhat.com>
45442
76e6d6bc 45443 [BZ #11856]
48cbc0d6
RM
45444 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45445
880113d9
UD
454462010-07-27 Ulrich Drepper <drepper@redhat.com>
45447
45448 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45449 for ld.so.
45450
deb9cabb
AS
454512010-07-27 Andreas Schwab <schwab@redhat.com>
45452
45453 * manual/memory.texi (Malloc Tunable Parameters): Document
45454 M_PERTURB.
45455
1c7570ff
RM
454562010-07-26 Roland McGrath <roland@redhat.com>
45457
45458 [BZ #11840]
45459 * configure.in (-fgnu89-inline check): Set and substitute
45460 gnu89_inline, not libc_cv_gnu89_inline.
45461 * configure: Regenerated.
45462 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45463
24fb0f88
UD
454642010-07-26 Ulrich Drepper <drepper@redhat.com>
45465
45466 * string/test-strnlen.c: New file.
45467 * string/Makefile (strop-tests): Add strnlen.
45468 * string/tester.c (test_strnlen): Add a few more test cases.
45469 * string/tst-strlen.c: Better error reporting.
45470
45471 * sysdeps/x86_64/strnlen.S: New file.
45472
8e96b93a
UD
454732010-07-24 Ulrich Drepper <drepper@redhat.com>
45474
45475 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45476 lower-latency instructions.
45477
dbc676d4
UD
454782010-07-23 Ulrich Drepper <drepper@redhat.com>
45479
45480 * string/test-strcasestr.c: New file.
45481 * string/test-strstr.c: New file.
45482 * string/Makefile (strop-tests): Add strstr and strcasestr.
45483 * string/str-two-way.h: Don't undefine MAX.
45484 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45485
f6a31e0e
AS
454862010-07-21 Andreas Schwab <schwab@redhat.com>
45487
45488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45489 strcasestr-nonascii.
45490 (CFLAGS-strcasestr-nonascii.c): Define.
45491 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45492 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45493 Remove unused attribute.
45494
5dbc3b6c
RM
454952010-07-20 Roland McGrath <roland@redhat.com>
45496
45497 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45498 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45499 ld.so.cache was broken. With it, there is no way to disable dsocaps
45500 like LD_HWCAP_MASK can disable hwcaps.
45501
23d101d8
EPM
455022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45503
45504 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45505
cc9f2e47
UD
455062010-07-16 Ulrich Drepper <drepper@redhat.com>
45507
45508 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45509 call in strcasestr.
45510 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45511 __strcasestr_sse42_nonascii.
45512 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45513 strcasestr-nonascii.c.
45514 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45515
77c1b069
LM
455162010-06-15 Luis Machado <luisgpm@br.ibm.com>
45517
45518 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45519 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45520 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45521 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45522
440566c3
UD
455232010-07-09 Ulrich Drepper <drepper@redhat.com>
45524
45525 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45526 fcntl.
45527
5be9d05d
AS
455282010-07-06 Andreas Schwab <schwab@redhat.com>
45529
c30b7ee2 45530 [BZ #11577]
5be9d05d
AS
45531 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45532 dl_signal_cerror.
45533
8a492a67
UD
455342010-07-06 Ulrich Drepper <drepper@redhat.com>
45535
45536 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45537 _PC_PIPE_BUF using F_GETPIPE_SZ.
45538
713df3d5
RM
455392010-07-05 Roland McGrath <roland@redhat.com>
45540
45541 * manual/arith.texi (Rounding Functions): Fix rint description
45542 implicit in round description.
45543
702e8f14
UD
455442010-07-02 Ulrich Drepper <drepper@redhat.com>
45545
45546 * elf/Makefile: Fix linking for a few tests to make recent linker
45547 happy.
45548
52ed8be9
AS
455492010-06-30 Andreas Schwab <schwab@redhat.com>
45550
45551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45552 $(common-objpfx)libc_nonshared.a.
45553
f47c9a11
LM
455542010-06-21 Luis Machado <luisgpm@br.ibm.com>
45555
45556 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45557 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45558 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45559 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45560 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45561 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45562 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45563 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45578 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45579 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45580 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45581 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45582 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45583 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45584 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45585 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45586 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45587 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45588 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45589 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45604
6fb8cbcb
L
456052010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45606
45607 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45608 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45609 * string/memmove.c (memmove): Renamed to ...
45610 (MEMMOVE): ...this. Default to memmove.
45611 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45612 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45613 (END_CHK): Define.
45614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45615 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45616 mempcpy-ssse3-back memmove-ssse3-back.
45617 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45618 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45619 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45620 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45621 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45622 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45623 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45624 * sysdeps/x86_64/multiarch/memmove.c: New file.
45625 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45626 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45627 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45628 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45629 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45631 Define.
45632 (index_Fast_Copy_Backward): Define.
45633 (HAS_ARCH_FEATURE): Define.
45634 (HAS_FAST_REP_STRING): Define.
45635 (HAS_FAST_COPY_BACKWARD): Define.
45636
4e733bac 456372010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45638
45639 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45640 Restore proper fallback handling.
45641
63c4ed22
UD
456422010-06-19 Ulrich Drepper <drepper@redhat.com>
45643
ac2b484c
UD
45644 [BZ #11701]
45645 * posix/group_member.c (__group_member): Correct checking loop.
45646
63c4ed22
UD
45647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45648 OOM in getpwuid_r correctly. Return error number when the caller
45649 should return, otherwise -1.
45650 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45651 call returning > 0 value.
45652 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45653
765ade4b
AS
456542010-06-07 Andreas Schwab <schwab@redhat.com>
45655
45656 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45657 libc_nonshared.a from targets in modules-names.
45658
80da2e09
KS
456592010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45660
45661 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45662 requires it.
45663
158db122
LM
456642010-06-10 Luis Machado <luisgpm@br.ibm.com>
45665
45666 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45667 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45669 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45670
caa78cf8
AS
456712010-06-02 Andreas Schwab <schwab@redhat.com>
45672
45673 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45674
b2ef2c01
UD
456752010-06-14 Ulrich Drepper <drepper@redhat.com>
45676
45677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45678 and F_GETPIPE_SZ.
45679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45684 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45685
fbd643b6
RM
456862010-06-14 Roland McGrath <roland@redhat.com>
45687
45688 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45689
f32f2869
JJ
456902010-06-07 Jakub Jelinek <jakub@redhat.com>
45691
45692 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45693 __REDIRECT followed by __THROW.
45694 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45695 * posix/getopt.h (getopt): Likewise.
45696
2a50c078
EPM
456972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45698
45699 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45700 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45701 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45702 in AT_FLAGS.
45703 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45704 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45705
eb5ad2eb
LM
457062010-05-28 Luis Machado <luisgpm@br.ibm.com>
45707
45708 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45709
3c88fe1e
L
457102010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45711
45712 [BZ #11640]
45713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45714 Properly check family and model.
45715
d2f73151
TY
457162010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45717
45718 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45719
ebd2e13d
LM
457202010-05-24 Luis Machado <luisgpm@br.ibm.com>
45721
45722 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45723
b32b8b45
UD
457242010-05-21 Ulrich Drepper <drepper@redhat.com>
45725
45726 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45727 symbol reference.
45728
9acbe24d
AS
457292010-05-19 Andreas Schwab <schwab@redhat.com>
45730
45731 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45732 symbol reference.
45733
f0ccf6ea
AS
457342010-05-21 Andreas Schwab <schwab@redhat.com>
45735
3d04ff3a
AS
45736 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45737 and internal_recvmmsg.
45738 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45739 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45740 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45741 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45742
f0ccf6ea
AS
45743 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45744 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45745 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45746
5b08ac57
AS
457472010-05-20 Andreas Schwab <schwab@redhat.com>
45748
45749 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45750
4828935d
LM
457512010-05-17 Luis Machado <luisgpm@br.ibm.com>
45752
45753 POWER7 optimizations.
45754 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45755 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45756
373d545e
UD
457572010-05-19 Ulrich Drepper <drepper@redhat.com>
45758
45759 * version.h: Update for 2.13 development version.
45760
21a2b1ae
AS
457612010-05-12 Andrew Stubbs <ams@codesourcery.com>
45762
45763 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45764 exceptions. Return 0.
45765
3f7dcb2b
RM
457662010-05-07 Roland McGrath <roland@redhat.com>
45767
45768 * elf/ldconfig.c (main): Add a const.
45769
5f24d53a 457702010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45771
a160f8d8
UD
45772 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45773 (args_options): Add no-idn option.
45774 (ahosts_keys_int): Add idn_flags to ai_flags.
45775 (parse_option): Handle 'i' option to clear idn_flags.
45776
5f24d53a
UD
45777 * malloc/malloc.c (_int_free): Possible race in the most recently
45778 added check. Only act on the data if no current modification
45779 happened.
265bb1ce
UD
45780
45781See ChangeLog.17 for earlier changes.